fix: 更新 core-js 3.21.0版本至 3.49.0

This commit is contained in:
aos
2026-05-18 16:36:08 +08:00
parent 56ec52a951
commit d4f6010f7a
3 changed files with 13 additions and 9 deletions
+5
View File
@@ -10,11 +10,16 @@
### 安装教程
> tips:请使用 Node.js v16 或以下版本,Node.js v18 以上版本不支持。
1. npm install (安装 node_modules 模块)
2. npm run serve (运行)
3. npm run build (打包)
4. npm update (用于更新包到基于规范范围的最新版本)
> 注:在新版本的npm中,默认情况下,npm install遇到冲突的peerDependencies时将失败。
> 可使用:npm install --legacy-peer-deps
#### 使用说明
##### 使用教程
+7 -8
View File
@@ -11,7 +11,7 @@
"@tinymce/tinymce-vue": "^4.0.5",
"axios": "^0.25.0",
"clipboard": "^2.0.10",
"core-js": "^3.21.0",
"core-js": "^3.49.0",
"cos-js-sdk-v5": "^1.4.6",
"element-plus": "^1.3.0-beta.10",
"file-saver": "^2.0.5",
@@ -5184,10 +5184,9 @@
}
},
"node_modules/core-js": {
"version": "3.21.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.21.0.tgz",
"integrity": "sha512-YUdI3fFu4TF/2WykQ2xzSiTQdldLB4KVuL9WeAy5XONZYt5Cun/fpQvctoKbCgvPhmzADeesTk/j2Rdx77AcKQ==",
"deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.",
"version": "3.49.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.49.0.tgz",
"integrity": "sha512-es1U2+YTtzpwkxVLwAFdSpaIMyQaq0PBgm3YD1W3Qpsn1NAmO3KSgZfu+oGSWVu6NvLHoHCV/aYcsE5wiB7ALg==",
"hasInstallScript": true,
"funding": {
"type": "opencollective",
@@ -20851,9 +20850,9 @@
}
},
"core-js": {
"version": "3.21.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.21.0.tgz",
"integrity": "sha512-YUdI3fFu4TF/2WykQ2xzSiTQdldLB4KVuL9WeAy5XONZYt5Cun/fpQvctoKbCgvPhmzADeesTk/j2Rdx77AcKQ=="
"version": "3.49.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.49.0.tgz",
"integrity": "sha512-es1U2+YTtzpwkxVLwAFdSpaIMyQaq0PBgm3YD1W3Qpsn1NAmO3KSgZfu+oGSWVu6NvLHoHCV/aYcsE5wiB7ALg=="
},
"core-js-compat": {
"version": "3.20.3",
+1 -1
View File
@@ -12,7 +12,7 @@
"@tinymce/tinymce-vue": "^4.0.5",
"axios": "^0.25.0",
"clipboard": "^2.0.10",
"core-js": "^3.21.0",
"core-js": "^3.49.0",
"cos-js-sdk-v5": "^1.4.6",
"element-plus": "^1.3.0-beta.10",
"file-saver": "^2.0.5",