chore(@vant/popperjs): remove @babel/runtime

This commit is contained in:
chenjiahan 2021-04-13 11:24:30 +08:00 committed by neverland
parent 9c5ad689eb
commit 93559a5741
3 changed files with 3 additions and 14 deletions

View File

@ -1,12 +1,14 @@
{ {
"root": true, "root": true,
"extends": ["@vant"], "extends": ["@vant"],
"rules": {
"prefer-object-spread": "off"
},
"overrides": [ "overrides": [
{ {
"files": ["src/**/*"], "files": ["src/**/*"],
"excludedFiles": ["**/test/*", "**/demo/*"], "excludedFiles": ["**/test/*", "**/demo/*"],
"rules": { "rules": {
"prefer-object-spread": "off",
// since we target ES2015 for baseline support, we need to forbid object // since we target ES2015 for baseline support, we need to forbid object
// rest spread usage (both assign and destructure) // rest spread usage (both assign and destructure)
"no-restricted-syntax": [ "no-restricted-syntax": [

View File

@ -23,7 +23,6 @@
"@popperjs/core": "^2.9.2" "@popperjs/core": "^2.9.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/runtime": "7.x",
"@rollup/plugin-babel": "^5.2.1", "@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-node-resolve": "^10.0.0", "@rollup/plugin-node-resolve": "^10.0.0",
"release-it": "^14.2.2", "release-it": "^14.2.2",

View File

@ -30,13 +30,6 @@
chalk "^2.0.0" chalk "^2.0.0"
js-tokens "^4.0.0" js-tokens "^4.0.0"
"@babel/runtime@7.x":
version "7.12.5"
resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.12.5.tgz?cache=0&sync_timestamp=1604443606981&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fruntime%2Fdownload%2F%40babel%2Fruntime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e"
integrity sha1-QQ5+SHRB4bNgwpvnFdhw2bmFiC4=
dependencies:
regenerator-runtime "^0.13.4"
"@babel/types@^7.12.5": "@babel/types@^7.12.5":
version "7.12.7" version "7.12.7"
resolved "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.12.7.tgz?cache=0&sync_timestamp=1605904888635&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftypes%2Fdownload%2F%40babel%2Ftypes-7.12.7.tgz#6039ff1e242640a29452c9ae572162ec9a8f5d13" resolved "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.12.7.tgz?cache=0&sync_timestamp=1605904888635&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftypes%2Fdownload%2F%40babel%2Ftypes-7.12.7.tgz#6039ff1e242640a29452c9ae572162ec9a8f5d13"
@ -1504,11 +1497,6 @@ rechoir@^0.6.2:
dependencies: dependencies:
resolve "^1.1.6" resolve "^1.1.6"
regenerator-runtime@^0.13.4:
version "0.13.7"
resolved "https://registry.npm.taobao.org/regenerator-runtime/download/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55"
integrity sha1-ysLazIoepnX+qrrriugziYrkb1U=
registry-auth-token@^4.0.0: registry-auth-token@^4.0.0:
version "4.2.1" version "4.2.1"
resolved "https://registry.npm.taobao.org/registry-auth-token/download/registry-auth-token-4.2.1.tgz#6d7b4006441918972ccd5fedcd41dc322c79b250" resolved "https://registry.npm.taobao.org/registry-auth-token/download/registry-auth-token-4.2.1.tgz#6d7b4006441918972ccd5fedcd41dc322c79b250"