🌐 AI搜索 & 代理 主页
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .bundlewatch.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@
"files": [
{
"path": "./dist/bootstrap-vue-icons.js",
"maxSize": "105 kB"
"maxSize": "110 kB"
},
{
"path": "./dist/bootstrap-vue-icons.min.js",
"maxSize": "100 kB"
"maxSize": "105 kB"
},
{
"path": "./dist/bootstrap-vue-icons.common.js",
"maxSize": "110 kB"
"maxSize": "120 kB"
},
{
"path": "./dist/bootstrap-vue-icons.common.min.js",
"maxSize": "105 kB"
"maxSize": "110 kB"
},
{
"path": "./dist/bootstrap-vue-icons.esm.js",
"maxSize": "110 kB"
"maxSize": "115 kB"
},
{
"path": "./dist/bootstrap-vue-icons.esm.min.js",
"maxSize": "105 kB"
"maxSize": "110 kB"
},
{
"path": "./dist/bootstrap-vue-icons.css",
Expand All @@ -42,19 +42,19 @@
},
{
"path": "./dist/bootstrap-vue.common.js",
"maxSize": "310 kB"
"maxSize": "320 kB"
},
{
"path": "./dist/bootstrap-vue.common.min.js",
"maxSize": "195 kB"
"maxSize": "200 kB"
},
{
"path": "./dist/bootstrap-vue.esm.js",
"maxSize": "310 kB"
"maxSize": "320 kB"
},
{
"path": "./dist/bootstrap-vue.esm.min.js",
"maxSize": "195 kB"
"maxSize": "200 kB"
},
{
"path": "./dist/bootstrap-vue.css",
Expand Down
2 changes: 1 addition & 1 deletion docs/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const bootstrapVersionMajor = bootstrapVersion.replace(majorRE, '$1')
export const bootstrapIconsVersion = parseFullVersion(devDependencies['bootstrap-icons'])
export const bootstrapIconsVersionMinor = bootstrapIconsVersion.replace(minorRE, '$1')
export const bootstrapIconsVersionMajor = bootstrapIconsVersion.replace(majorRE, '$1')
export const bootstrapIconsCount = 1000
export const bootstrapIconsCount = 1100

export const popperVersion = parseVersion(dependencies['popper.js'])
export const popperVersionMinor = popperVersion.replace(minorRE, '$1')
Expand Down
12 changes: 5 additions & 7 deletions docs/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ export const kebabCase = str => {

// Parse a fully qualified version from a string
export const parseVersion = version => {
const matches = version.match(/([0-9]+\.[0-9]+\.[0-9]+)/)
const matchesCount = matches.length
return matchesCount > 0 ? matches[matchesCount - 1] : ''
const matches = version.match(/([0-9]+\.[0-9]+\.[0-9]+)/) || []
return matches.length > 0 ? matches[0] : ''
}

// Parse a fully qualified version from a string (including alpha/beta/etc
// Parse a fully qualified version from a string (including alpha/beta/etc.)
export const parseFullVersion = version => {
const matches = version.match(/([0-9]+\.[0-9]+\.[0-9]+(?:-[a-z]+[.-]?[0-9]+))/)
const matchesCount = matches.length
return matchesCount > 0 ? matches[matchesCount - 1] : ''
const matches = version.match(/([0-9]+\.[0-9]+\.[0-9]+(-[a-z]+[.-]?[0-9]+)?)/) || []
return matches.length > 0 ? matches[0] : ''
}

export const parseUrl = value => {
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,32 +99,32 @@
"vue-functional-data-merge": "^3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/cli": "^7.11.5",
"@babel/core": "^7.11.5",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"@babel/standalone": "^7.11.4",
"@nuxt/content": "^1.7.0",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/standalone": "^7.11.5",
"@nuxt/content": "^1.7.1",
"@nuxtjs/google-analytics": "^2.4.0",
"@nuxtjs/pwa": "^3.0.2",
"@nuxtjs/robots": "^2.4.2",
"@nuxtjs/sitemap": "^2.4.0",
"@testing-library/jest-dom": "^5.11.4",
"@vue/test-utils": "^1.0.4",
"@vue/test-utils": "^1.0.5",
"autoprefixer": "^9.8.6",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-plugin-istanbul": "^6.0.0",
"bootstrap-icons": "^1.0.0-alpha5",
"bootstrap-icons": "^1.0.0",
"bundlewatch": "^0.2.7",
"clean-css-cli": "^4.3.0",
"codemirror": "^5.57.0",
"codesandbox": "^2.1.16",
"core-js": ">=2.6.5 <3.0.0",
"cross-env": "^7.0.2",
"eslint": "^7.7.0",
"eslint": "^7.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-config-vue": "^2.0.2",
Expand All @@ -149,11 +149,11 @@
"marked": "^1.1.1",
"node-sass": "^4.14.1",
"nuxt": "^2.14.4",
"postcss-cli": "^7.1.1",
"postcss-cli": "^7.1.2",
"prettier": "1.14.3",
"regenerator-runtime": "^0.13.7",
"require-context": "^1.1.0",
"rollup": "^2.26.6",
"rollup": "^2.26.9",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
Expand Down
18 changes: 11 additions & 7 deletions src/icons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ installed by default. You do not need `bootstrap-icons` as a dependency.
- Bootstrap Icons `v1.0.0-alpha3` icons were added in BootstrapVue release `v2.8.0`.
- Bootstrap Icons `v1.0.0-alpha4` icons were added in BootstrapVue release `v2.15.0`.
- Bootstrap Icons `v1.0.0-alpha5` icons were added in BootstrapVue release `v2.16.0`.
- Bootstrap Icons `v1.0.0` icons were added in BootstrapVue release `v2.17.0`.

<div class="alert alert-info small">
<p class="mb-2">
Expand All @@ -22,20 +23,23 @@ installed by default. You do not need `bootstrap-icons` as a dependency.
</p>
<ul class="mb-0">
<li>
<strong>Alpha 3 changes:</strong> In addition to over 200 new icons, some icons have
changed names &mdash; <code>document-*</code> icons renamed <code>file-*</code>;
<strong><code>v1.0.0-alpha3</code> changes:</strong> In addition to over 200 new icons,
some icons have changed names &mdash; <code>document-*</code> icons renamed <code>file-*</code>;
<code>alert-*</code> icons renamed <code>exclamation-*</code>; <code>columns-gutters</code>
renamed <code>columns-gap</code> and <code>diamond</code> renamed <code>gem</code> (because of
new <code>diamond-*</code> shape icons).
</li>
<li>
<strong>Alpha 4 changes:</strong> In addition to over 140 new icons, some icons have changed
names &mdash; <code>arrow-up-down</code> renamed <code>arrow-down-up</code> and
<code>people-circle</code> renamed <code>person-circle</code>.
<strong><code>v1.0.0-alpha4</code> changes:</strong> In addition to over 140 new icons,
some icons have changed names &mdash; <code>arrow-up-down</code> renamed
<code>arrow-down-up</code> and <code>people-circle</code> renamed <code>person-circle</code>.
</li>
<li>
<strong>Alpha 5 changes:</strong> In addition to over 300 new icons, some icons have changed
names &mdash; <code>camera</code> renamed <code>camera2</code>.
<strong><code>v1.0.0-alpha5</code> changes:</strong> In addition to over 300 new icons,
some icons have changed names &mdash; <code>camera</code> renamed <code>camera2</code>.
</li>
<li>
<strong><code>v1.0.0</code> changes:</strong> Over 90 new icons were added and over 400 redrawn.
</li>
</ul>
</div>
Expand Down
Loading