From 26f4a964e53cedc3e329110f846a645e8b62ad8c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:57:30 +0800 Subject: [PATCH] fix(deps): update dependency browserslist to v4.24.3 (#6633) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: caohuilin --- packages/cli/uni-builder/package.json | 2 +- .../docs/en/components/upgrade-faq.mdx | 0 .../docs/en/guides/get-started/upgrade.mdx | 4 + .../docs/zh/components/upgrade-faq.mdx | 0 .../docs/zh/guides/get-started/upgrade.mdx | 4 + pnpm-lock.yaml | 81 +++++++++++++------ scripts/prebundle/package.json | 2 +- 7 files changed, 67 insertions(+), 26 deletions(-) create mode 100644 packages/document/main-doc/docs/en/components/upgrade-faq.mdx create mode 100644 packages/document/main-doc/docs/zh/components/upgrade-faq.mdx diff --git a/packages/cli/uni-builder/package.json b/packages/cli/uni-builder/package.json index 8a17bc718629..0103fe67a78f 100644 --- a/packages/cli/uni-builder/package.json +++ b/packages/cli/uni-builder/package.json @@ -58,7 +58,7 @@ "babel-plugin-import": "1.13.8", "babel-plugin-styled-components": "1.13.3", "babel-plugin-transform-react-remove-prop-types": "0.4.24", - "browserslist": "4.24.2", + "browserslist": "4.24.3", "cssnano": "6.0.1", "glob": "^9.3.5", "html-minifier-terser": "^7.2.0", diff --git a/packages/document/main-doc/docs/en/components/upgrade-faq.mdx b/packages/document/main-doc/docs/en/components/upgrade-faq.mdx new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/packages/document/main-doc/docs/en/guides/get-started/upgrade.mdx b/packages/document/main-doc/docs/en/guides/get-started/upgrade.mdx index f5147af4dacf..c407aa734080 100644 --- a/packages/document/main-doc/docs/en/guides/get-started/upgrade.mdx +++ b/packages/document/main-doc/docs/en/guides/get-started/upgrade.mdx @@ -28,6 +28,10 @@ You can see that the dependencies in the project's `package.json` have been upda If the `upgrade` command is not declared in the project's `package.json`, you can execute `npx modern upgrade` as an equivalent alternative. ::: +import UpgradeFaq from '@site-docs-en/components/upgrade-faq'; + + + ## Upgrade to a specified version All packages of Modern.js are currently released with a **uniform version number**. diff --git a/packages/document/main-doc/docs/zh/components/upgrade-faq.mdx b/packages/document/main-doc/docs/zh/components/upgrade-faq.mdx new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/packages/document/main-doc/docs/zh/guides/get-started/upgrade.mdx b/packages/document/main-doc/docs/zh/guides/get-started/upgrade.mdx index 4b650fecc968..dc00a23b96eb 100644 --- a/packages/document/main-doc/docs/zh/guides/get-started/upgrade.mdx +++ b/packages/document/main-doc/docs/zh/guides/get-started/upgrade.mdx @@ -28,6 +28,10 @@ import { PackageManagerTabs } from '@theme'; 如果项目的 package.json 中没有声明 upgrade 命令,你可以执行 `npx modern upgrade`,效果是等价的。 ::: +import UpgradeFaq from '@site-docs/components/upgrade-faq'; + + + ## 指定版本升级 Modern.js 所有的官方包目前都使用**统一版本号**进行发布。 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 025f87dafd34..5b7ebf3e5c43 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -707,8 +707,8 @@ importers: specifier: 0.4.24 version: 0.4.24 browserslist: - specifier: 4.24.2 - version: 4.24.2 + specifier: 4.24.3 + version: 4.24.3 cssnano: specifier: 6.0.1 version: 6.0.1(postcss@8.4.49) @@ -4378,8 +4378,8 @@ importers: specifier: 1.2.2 version: 1.2.2 browserslist: - specifier: 4.24.2 - version: 4.24.2 + specifier: 4.24.3 + version: 4.24.3 chalk: specifier: 4.1.2 version: 4.1.2 @@ -13599,6 +13599,11 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + browserslist@4.24.3: + resolution: {integrity: sha512-1CPmv8iobE2fyRMV97dAcMVegvvWKxmq94hkLiAkUGwKVTyDLw33K+ZxiFrREKmmps4rIw6grcCFCnTMSZ/YiA==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + bs-logger@0.2.6: resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} engines: {node: '>= 6'} @@ -13716,6 +13721,9 @@ packages: caniuse-lite@1.0.30001680: resolution: {integrity: sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==} + caniuse-lite@1.0.30001689: + resolution: {integrity: sha512-CmeR2VBycfa+5/jOfnp/NpWPGd06nf1XYiefUvhXFfZE4GkRc9jv+eGPS4nT558WS/8lYCzV8SlANCIPvbWP1g==} + ccount@1.1.0: resolution: {integrity: sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==} @@ -14805,6 +14813,9 @@ packages: electron-to-chromium@1.5.49: resolution: {integrity: sha512-ZXfs1Of8fDb6z7WEYZjXpgIRF6MEu8JdeGA0A40aZq6OQbS+eJpnnV49epZRna2DU/YsEjSQuGtQPPtvt6J65A==} + electron-to-chromium@1.5.73: + resolution: {integrity: sha512-8wGNxG9tAG5KhGd3eeA0o6ixhiNdgr0DcHWm85XPCphwZgD1lIEoi6t3VERayWao7SF7AAZTw6oARGJeVjH8Kg==} + elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} @@ -17773,6 +17784,9 @@ packages: node-releases@2.0.18: resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} + node-releases@2.0.19: + resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} + nopt@5.0.0: resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==} engines: {node: '>=6'} @@ -22256,7 +22270,7 @@ snapshots: dependencies: '@babel/compat-data': 7.23.5 '@babel/helper-validator-option': 7.23.5 - browserslist: 4.24.2 + browserslist: 4.24.3 lru-cache: 5.1.1 semver: 6.3.1 @@ -22264,7 +22278,7 @@ snapshots: dependencies: '@babel/compat-data': 7.25.8 '@babel/helper-validator-option': 7.25.7 - browserslist: 4.24.2 + browserslist: 4.24.3 lru-cache: 5.1.1 semver: 6.3.1 @@ -22272,7 +22286,7 @@ snapshots: dependencies: '@babel/compat-data': 7.26.0 '@babel/helper-validator-option': 7.25.9 - browserslist: 4.24.2 + browserslist: 4.24.3 lru-cache: 5.1.1 semver: 6.3.1 @@ -25281,7 +25295,7 @@ snapshots: '@modern-js/utils@2.58.1': dependencies: '@swc/helpers': 0.5.3 - caniuse-lite: 1.0.30001674 + caniuse-lite: 1.0.30001680 lodash: 4.17.21 rslog: 1.2.3 @@ -25295,7 +25309,7 @@ snapshots: '@modern-js/utils@2.60.6': dependencies: '@swc/helpers': 0.5.13 - caniuse-lite: 1.0.30001674 + caniuse-lite: 1.0.30001680 lodash: 4.17.21 rslog: 1.2.3 @@ -27109,7 +27123,7 @@ snapshots: dependencies: '@module-federation/runtime-tools': 0.0.8 '@rspack/binding': 0.5.9 - browserslist: 4.24.2 + browserslist: 4.24.3 enhanced-resolve: 5.12.0 events: 3.3.0 graceful-fs: 4.2.10 @@ -29467,7 +29481,7 @@ snapshots: autoprefixer@10.4.20(postcss@8.4.49): dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 caniuse-lite: 1.0.30001664 fraction.js: 4.3.7 normalize-range: 0.1.2 @@ -29813,7 +29827,7 @@ snapshots: browserslist-to-es-version@1.0.0: dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 browserslist@4.24.2: dependencies: @@ -29822,6 +29836,13 @@ snapshots: node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.2) + browserslist@4.24.3: + dependencies: + caniuse-lite: 1.0.30001689 + electron-to-chromium: 1.5.73 + node-releases: 2.0.19 + update-browserslist-db: 1.1.1(browserslist@4.24.3) + bs-logger@0.2.6: dependencies: fast-json-stable-stringify: 2.1.0 @@ -29934,7 +29955,7 @@ snapshots: caniuse-api@3.0.0: dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 caniuse-lite: 1.0.30001680 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 @@ -29947,6 +29968,8 @@ snapshots: caniuse-lite@1.0.30001680: {} + caniuse-lite@1.0.30001689: {} + ccount@1.1.0: {} ccount@2.0.1: {} @@ -30395,15 +30418,15 @@ snapshots: core-js-compat@3.34.0: dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 core-js-compat@3.36.1: dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 core-js-compat@3.38.1: dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 core-js-pure@3.26.0: {} @@ -31075,6 +31098,8 @@ snapshots: electron-to-chromium@1.5.49: {} + electron-to-chromium@1.5.73: {} + elliptic@6.5.4: dependencies: bn.js: 4.12.0 @@ -35392,6 +35417,8 @@ snapshots: node-releases@2.0.18: {} + node-releases@2.0.19: {} + nopt@5.0.0: dependencies: abbrev: 1.1.1 @@ -35915,7 +35942,7 @@ snapshots: postcss-colormin@6.0.0(postcss@8.4.49): dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 caniuse-api: 3.0.0 colord: 2.9.2 postcss: 8.4.49 @@ -35923,7 +35950,7 @@ snapshots: postcss-convert-values@6.0.0(postcss@8.4.49): dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 postcss: 8.4.49 postcss-value-parser: 4.2.0 @@ -36033,7 +36060,7 @@ snapshots: postcss-merge-rules@6.0.1(postcss@8.4.49): dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 caniuse-api: 3.0.0 cssnano-utils: 4.0.0(postcss@8.4.49) postcss: 8.4.49 @@ -36053,7 +36080,7 @@ snapshots: postcss-minify-params@6.0.0(postcss@8.4.49): dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 cssnano-utils: 4.0.0(postcss@8.4.49) postcss: 8.4.49 postcss-value-parser: 4.2.0 @@ -36144,7 +36171,7 @@ snapshots: postcss-normalize-unicode@6.0.0(postcss@8.4.49): dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 postcss: 8.4.49 postcss-value-parser: 4.2.0 @@ -36170,7 +36197,7 @@ snapshots: postcss-reduce-initial@6.0.0(postcss@8.4.49): dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 caniuse-api: 3.0.0 postcss: 8.4.49 @@ -37495,7 +37522,7 @@ snapshots: reduce-configs@1.0.0: dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 reduce-configs@1.1.0: {} @@ -38712,7 +38739,7 @@ snapshots: stylehacks@6.0.0(postcss@8.4.49): dependencies: - browserslist: 4.24.2 + browserslist: 4.24.3 postcss: 8.4.49 postcss-selector-parser: 6.1.2 @@ -39725,6 +39752,12 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 + update-browserslist-db@1.1.1(browserslist@4.24.3): + dependencies: + browserslist: 4.24.3 + escalade: 3.2.0 + picocolors: 1.1.1 + upper-case@2.0.2: dependencies: tslib: 2.8.1 diff --git a/scripts/prebundle/package.json b/scripts/prebundle/package.json index 6b67cd963ed4..2d2f75273b98 100644 --- a/scripts/prebundle/package.json +++ b/scripts/prebundle/package.json @@ -39,7 +39,7 @@ "@types/signale": "1.4.7", "@types/url-join": "4.0.3", "address": "1.2.2", - "browserslist": "4.24.2", + "browserslist": "4.24.3", "chalk": "4.1.2", "chokidar": "3.6.0", "commander": "10.0.1",