Commit b951c3f2 by xuzhenzhao

version(custom): next 12

parent 5d22df37
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
"jest": "^28.1.3", "jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3", "jest-environment-jsdom": "^28.1.3",
"rollup": "^2.78.1", "rollup": "^2.78.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1", "rollup-plugin-typescript2": "^0.32.1",
"ts-jest": "^28.0.7", "ts-jest": "^28.0.7",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
......
...@@ -3,6 +3,7 @@ import json from '@rollup/plugin-json'; ...@@ -3,6 +3,7 @@ import json from '@rollup/plugin-json';
import commonjs from '@rollup/plugin-commonjs'; import commonjs from '@rollup/plugin-commonjs';
import {nodeResolve} from '@rollup/plugin-node-resolve'; import {nodeResolve} from '@rollup/plugin-node-resolve';
import {babel} from '@rollup/plugin-babel'; import {babel} from '@rollup/plugin-babel';
import { terser } from "rollup-plugin-terser";
export default [ export default [
{ {
...@@ -21,6 +22,7 @@ export default [ ...@@ -21,6 +22,7 @@ export default [
babel({ babel({
babelHelpers: 'inline' babelHelpers: 'inline'
}), }),
terser()
], ],
external: ['axios', 'js-cookie', 'blueimp-md5', 'qs'] external: ['axios', 'js-cookie', 'blueimp-md5', 'qs']
}, },
...@@ -50,6 +52,7 @@ export default [ ...@@ -50,6 +52,7 @@ export default [
babel({ babel({
babelHelpers: 'inline' babelHelpers: 'inline'
}), }),
terser()
], ],
external: ['axios', 'js-cookie', 'blueimp-md5', 'qs'] external: ['axios', 'js-cookie', 'blueimp-md5', 'qs']
} }
......
...@@ -32,14 +32,13 @@ importers: ...@@ -32,14 +32,13 @@ importers:
'@types/qs': ^6.9.7 '@types/qs': ^6.9.7
axios: ^0.27.2 axios: ^0.27.2
blueimp-md5: ^2.19.0 blueimp-md5: ^2.19.0
consola: ^2.15.3
jest: ^28.1.3 jest: ^28.1.3
jest-environment-jsdom: ^28.1.3 jest-environment-jsdom: ^28.1.3
js-cookie: ^3.0.1 js-cookie: ^3.0.1
mathjs: ^11.0.1 mathjs: ^11.0.1
qs: ^6.11.0 qs: ^6.11.0
regenerator-runtime: ^0.13.9
rollup: ^2.78.1 rollup: ^2.78.1
rollup-plugin-terser: ^7.0.2
rollup-plugin-typescript2: ^0.32.1 rollup-plugin-typescript2: ^0.32.1
ts-jest: ^28.0.7 ts-jest: ^28.0.7
ts-node: ^10.9.1 ts-node: ^10.9.1
...@@ -50,11 +49,9 @@ importers: ...@@ -50,11 +49,9 @@ importers:
dependencies: dependencies:
axios: 0.27.2 axios: 0.27.2
blueimp-md5: 2.19.0 blueimp-md5: 2.19.0
consola: 2.15.3
js-cookie: 3.0.1 js-cookie: 3.0.1
mathjs: 11.0.1 mathjs: 11.0.1
qs: 6.11.0 qs: 6.11.0
regenerator-runtime: 0.13.9
devDependencies: devDependencies:
'@babel/core': 7.18.10 '@babel/core': 7.18.10
'@babel/preset-env': 7.18.10_@babel+core@7.18.10 '@babel/preset-env': 7.18.10_@babel+core@7.18.10
...@@ -72,6 +69,7 @@ importers: ...@@ -72,6 +69,7 @@ importers:
jest: 28.1.3_ubchvo7cxgdavyfa6mg2b5a4oe jest: 28.1.3_ubchvo7cxgdavyfa6mg2b5a4oe
jest-environment-jsdom: 28.1.3 jest-environment-jsdom: 28.1.3
rollup: 2.78.1 rollup: 2.78.1
rollup-plugin-terser: 7.0.2_rollup@2.78.1
rollup-plugin-typescript2: 0.32.1_accrhai6qopda76wnqb3pkewpq rollup-plugin-typescript2: 0.32.1_accrhai6qopda76wnqb3pkewpq
ts-jest: 28.0.7_m5noci3hdgjcbp5i3skppiufvq ts-jest: 28.0.7_m5noci3hdgjcbp5i3skppiufvq
ts-node: 10.9.1_cvilj4l3ytrlnvtlqw3tscihve ts-node: 10.9.1_cvilj4l3ytrlnvtlqw3tscihve
...@@ -1716,6 +1714,13 @@ packages: ...@@ -1716,6 +1714,13 @@ packages:
engines: {node: '>=6.0.0'} engines: {node: '>=6.0.0'}
dev: true dev: true
/@jridgewell/source-map/0.3.2:
resolution: {integrity: sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==}
dependencies:
'@jridgewell/gen-mapping': 0.3.2
'@jridgewell/trace-mapping': 0.3.14
dev: true
/@jridgewell/sourcemap-codec/1.4.14: /@jridgewell/sourcemap-codec/1.4.14:
resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==}
dev: true dev: true
...@@ -2517,6 +2522,10 @@ packages: ...@@ -2517,6 +2522,10 @@ packages:
dependencies: dependencies:
delayed-stream: 1.0.0 delayed-stream: 1.0.0
/commander/2.20.3:
resolution: {integrity: sha1-/UhehMA+tIgcIHIrpIA16FMa6zM=}
dev: true
/commondir/1.0.1: /commondir/1.0.1:
resolution: {integrity: sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=} resolution: {integrity: sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=}
dev: true dev: true
...@@ -2531,6 +2540,7 @@ packages: ...@@ -2531,6 +2540,7 @@ packages:
/consola/2.15.3: /consola/2.15.3:
resolution: {integrity: sha1-LhH5jWpL5x/3LgvfB70j4Sy2FVA=} resolution: {integrity: sha1-LhH5jWpL5x/3LgvfB70j4Sy2FVA=}
dev: true
/convert-source-map/1.8.0: /convert-source-map/1.8.0:
resolution: {integrity: sha1-8zc8MtIbTXgN2ABFFGhPt5HKQ2k=} resolution: {integrity: sha1-8zc8MtIbTXgN2ABFFGhPt5HKQ2k=}
...@@ -4128,6 +4138,15 @@ packages: ...@@ -4128,6 +4138,15 @@ packages:
string-length: 4.0.2 string-length: 4.0.2
dev: true dev: true
/jest-worker/26.6.2:
resolution: {integrity: sha1-f3LLxNZDw2Xie5/XdfnQ6qnHqO0=}
engines: {node: '>= 10.13.0'}
dependencies:
'@types/node': 18.6.5
merge-stream: 2.0.0
supports-color: 7.2.0
dev: true
/jest-worker/28.1.3: /jest-worker/28.1.3:
resolution: {integrity: sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g==} resolution: {integrity: sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
...@@ -4813,6 +4832,12 @@ packages: ...@@ -4813,6 +4832,12 @@ packages:
engines: {node: '>=8'} engines: {node: '>=8'}
dev: true dev: true
/randombytes/2.1.0:
resolution: {integrity: sha1-32+ENy8CcNxlzfYpE0mrekc9Tyo=}
dependencies:
safe-buffer: 5.2.1
dev: true
/react-is/18.2.0: /react-is/18.2.0:
resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
dev: true dev: true
...@@ -4976,6 +5001,18 @@ packages: ...@@ -4976,6 +5001,18 @@ packages:
glob: 7.2.3 glob: 7.2.3
dev: true dev: true
/rollup-plugin-terser/7.0.2_rollup@2.78.1:
resolution: {integrity: sha1-6Pu6SGmYGy3DWufopQLVxsBNMk0=}
peerDependencies:
rollup: ^2.0.0
dependencies:
'@babel/code-frame': 7.18.6
jest-worker: 26.6.2
rollup: 2.78.1
serialize-javascript: 4.0.0
terser: 5.14.2
dev: true
/rollup-plugin-typescript2/0.32.1_accrhai6qopda76wnqb3pkewpq: /rollup-plugin-typescript2/0.32.1_accrhai6qopda76wnqb3pkewpq:
resolution: {integrity: sha512-RanO8bp1WbeMv0bVlgcbsFNCn+Y3rX7wF97SQLDxf0fMLsg0B/QFF005t4AsGUcDgF3aKJHoqt4JF2xVaABeKw==} resolution: {integrity: sha512-RanO8bp1WbeMv0bVlgcbsFNCn+Y3rX7wF97SQLDxf0fMLsg0B/QFF005t4AsGUcDgF3aKJHoqt4JF2xVaABeKw==}
peerDependencies: peerDependencies:
...@@ -5070,6 +5107,12 @@ packages: ...@@ -5070,6 +5107,12 @@ packages:
lru-cache: 6.0.0 lru-cache: 6.0.0
dev: true dev: true
/serialize-javascript/4.0.0:
resolution: {integrity: sha1-tSXhI4SJpez8Qq+sw/6Z5mb0sao=}
dependencies:
randombytes: 2.1.0
dev: true
/set-blocking/2.0.0: /set-blocking/2.0.0:
resolution: {integrity: sha1-BF+XgtARrppoA93TgrJDkrPYkPc=} resolution: {integrity: sha1-BF+XgtARrppoA93TgrJDkrPYkPc=}
dev: true dev: true
...@@ -5151,6 +5194,13 @@ packages: ...@@ -5151,6 +5194,13 @@ packages:
source-map: 0.6.1 source-map: 0.6.1
dev: true dev: true
/source-map-support/0.5.21:
resolution: {integrity: sha1-BP58f54e0tZiIzwoyys1ufY/bk8=}
dependencies:
buffer-from: 1.1.2
source-map: 0.6.1
dev: true
/source-map/0.6.1: /source-map/0.6.1:
resolution: {integrity: sha1-dHIq8y6WFOnCh6jQu95IteLxomM=} resolution: {integrity: sha1-dHIq8y6WFOnCh6jQu95IteLxomM=}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
...@@ -5337,6 +5387,17 @@ packages: ...@@ -5337,6 +5387,17 @@ packages:
supports-hyperlinks: 2.2.0 supports-hyperlinks: 2.2.0
dev: true dev: true
/terser/5.14.2:
resolution: {integrity: sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==}
engines: {node: '>=10'}
hasBin: true
dependencies:
'@jridgewell/source-map': 0.3.2
acorn: 8.8.0
commander: 2.20.3
source-map-support: 0.5.21
dev: true
/test-exclude/6.0.0: /test-exclude/6.0.0:
resolution: {integrity: sha1-BKhphmHYBepvopO2y55jrARO8V4=} resolution: {integrity: sha1-BKhphmHYBepvopO2y55jrARO8V4=}
engines: {node: '>=8'} engines: {node: '>=8'}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment