Skip to content

Commit b7b5343

Browse files
wip(core): force semver & lru-cache versions and remove devDependencies
1 parent 0072408 commit b7b5343

File tree

3 files changed

+30
-25
lines changed

3 files changed

+30
-25
lines changed

build/webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ ${ pkg.name } v${ pkg.version }
139139
'safe-buffer': require.resolve('safe-buffer'),
140140
//'es-abstract': require.resolve('es-abstract'),
141141

142+
'semver': require.resolve('semver'),
143+
'lru-cache': require.resolve('lru-cache'),
144+
142145
'@babel/parser': require.resolve('@babel/parser'),
143146
'@babel/template': require.resolve('@babel/template'),
144147
'@babel/traverse': require.resolve('@babel/traverse'),

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,21 @@
3333
"postbump": "yarn run pushDocs && yarn run build && yarn run tests"
3434
}
3535
},
36-
"devDependencies": {
36+
"dependencies": {
37+
"@babel/code-frame": "^7.12.13",
3738
"@babel/core": "^7.13.1",
39+
"@babel/parser": "^7.13.4",
3840
"@babel/plugin-proposal-dynamic-import": "^7.12.17",
3941
"@babel/plugin-transform-arrow-functions": "^7.13.0",
4042
"@babel/plugin-transform-modules-commonjs": "^7.13.0",
4143
"@babel/plugin-transform-runtime": "^7.13.7",
4244
"@babel/preset-env": "^7.13.5",
43-
"@babel/code-frame": "^7.12.13",
44-
"@babel/parser": "^7.13.4",
4545
"@types/babel__code-frame": "^7.0.2",
4646
"@types/babel__core": "^7.1.12",
4747
"@types/babel__traverse": "^7.11.0",
48+
"@vue/compiler-dom": "^3.0.6",
4849
"@vue/compiler-sfc": "^3.0.6",
50+
"@vue/shared": "^3.0.6",
4951
"assert": "^2.0.0",
5052
"babel-loader": "^8.2.2",
5153
"bn.js": "5",
@@ -56,6 +58,7 @@
5658
"crypto-browserify": "^3.12.0",
5759
"duplicate-package-checker-webpack-plugin": "^3.0.0",
5860
"jest": "^26.6.3",
61+
"lru-cache": "^6.0.0",
5962
"path-browserify": "^1.0.1",
6063
"process": "^0.11.10",
6164
"puppeteer": "^7.1.0",
@@ -71,10 +74,9 @@
7174
"util": "^0.12.3",
7275
"vm-browserify": "^1.1.2",
7376
"vue": "3.0.4",
74-
"@vue/compiler-dom": "^3.0.6",
75-
"@vue/shared": "^3.0.6",
7677
"webpack": "^5.24.2",
7778
"webpack-bundle-analyzer": "^4",
78-
"webpack-cli": "^4.5.0"
79+
"webpack-cli": "^4.5.0",
80+
"semver": "^7.3.4"
7981
}
8082
}

yarn.lock

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@
8989
"@babel/helper-annotate-as-pure" "^7.12.13"
9090
regexpu-core "^4.7.1"
9191

92-
"@babel/helper-define-polyfill-provider@^0.1.2":
93-
version "0.1.2"
94-
resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.1.2.tgz#619f01afe1deda460676c25c463b42eaefdb71a2"
95-
integrity sha512-hWeolZJivTNGHXHzJjQz/NwDaG4mGXf22ZroOP8bQYgvHNzaQ5tylsVbAcAS2oDjXBwpu8qH2I/654QFS2rDpw==
92+
"@babel/helper-define-polyfill-provider@^0.1.4":
93+
version "0.1.4"
94+
resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.1.4.tgz#b618b087c6a0328127e5d53576df818bcee2b15f"
95+
integrity sha512-K5V2GaQZ1gpB+FTXM4AFVG2p1zzhm67n9wrQCJYNzvuLzQybhJyftW7qeDd2uUxPDNdl5Rkon1rOAeUeNDZ28Q==
9696
dependencies:
9797
"@babel/helper-compilation-targets" "^7.13.0"
9898
"@babel/helper-module-imports" "^7.12.13"
@@ -1745,28 +1745,28 @@ babel-plugin-jest-hoist@^26.6.2:
17451745
"@types/babel__traverse" "^7.0.6"
17461746

17471747
babel-plugin-polyfill-corejs2@^0.1.4:
1748-
version "0.1.6"
1749-
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.1.6.tgz#947a1227efa1a14ce09ac5fafc66ce8e039071e2"
1750-
integrity sha512-1PfghLDuzX5lFY6XXO0hrfxwYf0LD9YajMWeQBGNaPNLQ35paV7YB4hlFW+HfwFS5kcp4rtPI/237xLfQ1ah8A==
1748+
version "0.1.8"
1749+
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.1.8.tgz#54ef37b1c4b2311e515029e8f1f07bbd4d7a5321"
1750+
integrity sha512-kB5/xNR9GYDuRmVlL9EGfdKBSUVI/9xAU7PCahA/1hbC2Jbmks9dlBBYjHF9IHMNY2jV/G2lIG7z0tJIW27Rog==
17511751
dependencies:
17521752
"@babel/compat-data" "^7.13.0"
1753-
"@babel/helper-define-polyfill-provider" "^0.1.2"
1753+
"@babel/helper-define-polyfill-provider" "^0.1.4"
17541754
semver "^6.1.1"
17551755

17561756
babel-plugin-polyfill-corejs3@^0.1.3:
1757-
version "0.1.4"
1758-
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.1.4.tgz#2ae290200e953bade30907b7a3bebcb696e6c59d"
1759-
integrity sha512-ysSzFn/qM8bvcDAn4mC7pKk85Y5dVaoa9h4u0mHxOEpDzabsseONhUpR7kHxpUinfj1bjU7mUZqD23rMZBoeSg==
1757+
version "0.1.6"
1758+
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.1.6.tgz#ed1b02fba4885e0892e06094e27865f499758d27"
1759+
integrity sha512-IkYhCxPrjrUWigEmkMDXYzM5iblzKCdCD8cZrSAkQOyhhJm26DcG+Mxbx13QT//Olkpkg/AlRdT2L+Ww4Ciphw==
17601760
dependencies:
1761-
"@babel/helper-define-polyfill-provider" "^0.1.2"
1761+
"@babel/helper-define-polyfill-provider" "^0.1.4"
17621762
core-js-compat "^3.8.1"
17631763

17641764
babel-plugin-polyfill-regenerator@^0.1.2:
1765-
version "0.1.3"
1766-
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.1.3.tgz#350f857225fc640ae1ec78d1536afcbb457db841"
1767-
integrity sha512-hRjTJQiOYt/wBKEc+8V8p9OJ9799blAJcuKzn1JXh3pApHoWl1Emxh2BHc6MC7Qt6bbr3uDpNxaYQnATLIudEg==
1765+
version "0.1.5"
1766+
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.1.5.tgz#f42a58fd86a1c97fbe3a2752d80a4a3e017203e1"
1767+
integrity sha512-EyhBA6uN94W97lR7ecQVTvH9F5tIIdEw3ZqHuU4zekMlW82k5cXNXniiB7PRxQm06BqAjVr4sDT1mOy4RcphIA==
17681768
dependencies:
1769-
"@babel/helper-define-polyfill-provider" "^0.1.2"
1769+
"@babel/helper-define-polyfill-provider" "^0.1.4"
17701770

17711771
babel-preset-current-node-syntax@^1.0.0:
17721772
version "1.0.1"
@@ -6329,9 +6329,9 @@ string-length@^4.0.1:
63296329
strip-ansi "^6.0.0"
63306330

63316331
string-width@^4.1.0, string-width@^4.2.0:
6332-
version "4.2.0"
6333-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
6334-
integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==
6332+
version "4.2.1"
6333+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.1.tgz#1933ce1f470973d224368009bd1316cad81d5f4f"
6334+
integrity sha512-LL0OLyN6AnfV9xqGQpDBwedT2Rt63737LxvsRxbcwpa2aIeynBApG2Sm//F3TaLHIR1aJBN52DWklc06b94o5Q==
63356335
dependencies:
63366336
emoji-regex "^8.0.0"
63376337
is-fullwidth-code-point "^3.0.0"

0 commit comments

Comments
 (0)