Commit e6891b70 authored by rockyl's avatar rockyl

增加zeroing-template-fill

parent fef8a31c
import decamelize from 'decamelize';
import babel from '@babel/core'; import babel from '@babel/core';
import { divideCode } from 'zeroing-code-divider'; import { divideCode } from 'zeroing-code-divider';
import { generateLibraryScriptEl, generateJsScriptEl, fillTemplate } from 'zeroing-template-fill';
/** /**
* Created by rockyl on 2019-11-30. * Created by rockyl on 2019-11-30.
...@@ -44,8 +44,13 @@ const replaceFields = ['pageTitle', 'containerId']; ...@@ -44,8 +44,13 @@ const replaceFields = ['pageTitle', 'containerId'];
const TAG = 'zeroing-pack'; const TAG = 'zeroing-pack';
async function pack(data, options) { async function pack(data, options) {
let dependencies = data.dependencies;
let getPackages = options.getPackages;
const {libraryScriptElMap, analyseResult} = await generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/');
let version = Date.now() + Math.floor(Math.random() * 1000); let version = Date.now() + Math.floor(Math.random() * 1000);
pageTemplate(data, data.options, version); pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);
const newData = await packData(data, options); const newData = await packData(data, options);
return { return {
...@@ -56,7 +61,8 @@ async function pack(data, options) { ...@@ -56,7 +61,8 @@ async function pack(data, options) {
function fillTpl(data, params) { function fillTpl(data, params) {
const {options} = data; const {options} = data;
fillTemplate(options.newTpl, options, params); params.scripts = params.scripts.map(item => generateJsScriptEl(item)).join('\n');
options.newTpl = fillTemplate(options.newTpl, params);
const newTpl = options.newTpl; const newTpl = options.newTpl;
delete options.newTpl; delete options.newTpl;
...@@ -85,6 +91,7 @@ async function packData(data, {debug, packedAssets, getPackages}) { ...@@ -85,6 +91,7 @@ async function packData(data, {debug, packedAssets, getPackages}) {
debug, debug,
uglify, compile, uglify, compile,
getPackages, getPackages,
dependencies: data.dependencies,
}); });
return { return {
...@@ -115,23 +122,16 @@ function deleteUnusedData(processes) { ...@@ -115,23 +122,16 @@ function deleteUnusedData(processes) {
} }
} }
function pageTemplate(tpl, options, version) { function pageTemplate(tpl, options, version, analyseResult, libraryScriptElMap) {
const params = { const params = {
version, version,
libraries: libraryScriptElMap,
}; };
for (let field of replaceFields) { for (let field of replaceFields) {
params[field] = options[field]; params[field] = options[field];
} }
fillTemplate(options.tpl, options, params);
}
function fillTemplate(tpl, options, params) {
for (let field in params) {
const pattern = decamelize(field).toUpperCase();
tpl = tpl.replace(new RegExp(`\\$${pattern}\\$`, 'g'), params[field]);
}
options.newTpl = tpl; options.newTpl = fillTemplate(options.tpl, params, analyseResult);
} }
export { fillTpl, pack }; export { fillTpl, pack };
......
{"version":3,"file":"index.es.js","sources":["../src/code-process.js","../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-11-30.\n */\n\nimport babel from '@babel/core';\n\nconst UglifyJS = require('uglify-js');\n\nexport async function compile(source, debug = false) {\n\tconst {code, map} = await babel.transformAsync(source, {\n\t\tpresets: [\n\t\t\t['@babel/env', {}]\n\t\t],\n\t\tbabelrc: false,\n\t\tsourceMaps: debug,\n\t});\n\n\tconst result = {\n\t\tcode,\n\t};\n\tif (map) {\n\t\tresult.sourcemap = map.mappings;\n\t}\n\treturn result;\n}\n\nexport function uglify(source){\n\tconst uglifyResult = UglifyJS.minify(source, {\n\t});\n\tif (!uglifyResult.error) {\n\t\treturn uglifyResult.code;\n\t}\n}","/**\n * Created by rockyl on 2019-11-13.\n *\n * 项目打包\n */\n\nimport decamelize from 'decamelize'\nimport {uglify, compile} from \"./code-process\";\nimport {divideCode} from 'zeroing-code-divider';\n\nconst replaceFields = ['pageTitle', 'containerId'];\nconst TAG = 'zeroing-pack';\n\nexport async function pack(data, options) {\n\tlet version = Date.now() + Math.floor(Math.random() * 1000);\n\tpageTemplate(data, data.options, version);\n\tconst newData = await packData(data, options);\n\n\treturn {\n\t\tversion,\n\t\tdata: newData,\n\t}\n}\n\nexport function fillTpl(data, params) {\n\tconst {options} = data;\n\tfillTemplate(options.newTpl, options, params);\n\n\tconst newTpl = options.newTpl;\n\tdelete options.newTpl;\n\treturn newTpl;\n}\n\nasync function packData(data, {debug, packedAssets, getPackages}) {\n\tlet newData = {};\n\tnewData.options = data.options;\n\tnewData.views = data.views;\n\tnewData.assets = packedAssets || data.assets;\n\tnewData.dataMapping = data.dataMapping;\n\tnewData.processes = data.processes;\n\tnewData.customs = data.customs;\n\n\tdelete newData.options.tpl;\n\tdeleteUnusedData(newData.processes);\n\n\tconsole.log(TAG, 'start');\n\n\tconst {\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t} = await divideCode(newData, {\n\t\tdebug,\n\t\tuglify, compile,\n\t\tgetPackages,\n\t});\n\n\treturn {\n\t\tdata: JSON.stringify(newData),\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t};\n}\n\nconst unusedFields = ['design'];\n\nfunction deleteUnusedData(processes) {\n\tfor (let process of processes) {\n\t\tif (process.sub) {\n\t\t\tfor (let uuid in process.sub) {\n\t\t\t\tlet subProcess = process.sub[uuid];\n\t\t\t\tfor (let field of unusedFields) {\n\t\t\t\t\tif (subProcess.hasOwnProperty(field)) {\n\t\t\t\t\t\tdelete subProcess[field];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.metas && process.metas.length > 0) {\n\t\t\tdeleteUnusedData(process.metas);\n\t\t}\n\t}\n}\n\nfunction pageTemplate(tpl, options, version) {\n\tconst params = {\n\t\tversion,\n\t};\n\tfor (let field of replaceFields) {\n\t\tparams[field] = options[field];\n\t}\n\tfillTemplate(options.tpl, options, params);\n}\n\nfunction fillTemplate(tpl, options, params) {\n\tfor (let field in params) {\n\t\tconst pattern = decamelize(field).toUpperCase();\n\t\ttpl = tpl.replace(new RegExp(`\\\\$${pattern}\\\\$`, 'g'), params[field]);\n\t}\n\n\toptions.newTpl = tpl;\n}\n"],"names":[],"mappings":";;;;AAAA;;;AAGA,AAEA;AACA,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;;A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js"],"sourcesContent":["/**\n * Created by rockyl on 2019-11-30.\n */\n\nimport babel from '@babel/core';\n\nconst UglifyJS = require('uglify-js');\n\nexport async function compile(source, debug = false) {\n\tconst {code, map} = await babel.transformAsync(source, {\n\t\tpresets: [\n\t\t\t['@babel/env', {}]\n\t\t],\n\t\tbabelrc: false,\n\t\tsourceMaps: debug,\n\t});\n\n\tconst result = {\n\t\tcode,\n\t};\n\tif (map) {\n\t\tresult.sourcemap = map.mappings;\n\t}\n\treturn result;\n}\n\nexport function uglify(source){\n\tconst uglifyResult = UglifyJS.minify(source, {\n\t});\n\tif (!uglifyResult.error) {\n\t\treturn uglifyResult.code;\n\t}\n}","/**\n * Created by rockyl on 2019-11-13.\n *\n * 项目打包\n */\n\nimport {uglify, compile} from \"./code-process\";\nimport {divideCode} from 'zeroing-code-divider';\nimport {generateLibraryScriptEl, fillTemplate, generateJsScriptEl} from 'zeroing-template-fill';\n\nconst replaceFields = ['pageTitle', 'containerId'];\nconst TAG = 'zeroing-pack';\n\nexport async function pack(data, options) {\n\tlet dependencies = data.dependencies;\n\tlet getPackages = options.getPackages;\n\n\tconst {libraryScriptElMap, analyseResult} = await generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/');\n\n\tlet version = Date.now() + Math.floor(Math.random() * 1000);\n\tpageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);\n\tconst newData = await packData(data, options);\n\n\treturn {\n\t\tversion,\n\t\tdata: newData,\n\t}\n}\n\nexport function fillTpl(data, params) {\n\tconst {options} = data;\n\tparams.scripts = params.scripts.map(item => generateJsScriptEl(item)).join('\\n');\n\toptions.newTpl = fillTemplate(options.newTpl, params);\n\n\tconst newTpl = options.newTpl;\n\tdelete options.newTpl;\n\treturn newTpl;\n}\n\nasync function packData(data, {debug, packedAssets, getPackages}) {\n\tlet newData = {};\n\tnewData.options = data.options;\n\tnewData.views = data.views;\n\tnewData.assets = packedAssets || data.assets;\n\tnewData.dataMapping = data.dataMapping;\n\tnewData.processes = data.processes;\n\tnewData.customs = data.customs;\n\n\tdelete newData.options.tpl;\n\tdeleteUnusedData(newData.processes);\n\n\tconsole.log(TAG, 'start');\n\n\tconst {\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t} = await divideCode(newData, {\n\t\tdebug,\n\t\tuglify, compile,\n\t\tgetPackages,\n\t\tdependencies: data.dependencies,\n\t});\n\n\treturn {\n\t\tdata: JSON.stringify(newData),\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t};\n}\n\nconst unusedFields = ['design'];\n\nfunction deleteUnusedData(processes) {\n\tfor (let process of processes) {\n\t\tif (process.sub) {\n\t\t\tfor (let uuid in process.sub) {\n\t\t\t\tlet subProcess = process.sub[uuid];\n\t\t\t\tfor (let field of unusedFields) {\n\t\t\t\t\tif (subProcess.hasOwnProperty(field)) {\n\t\t\t\t\t\tdelete subProcess[field];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.metas && process.metas.length > 0) {\n\t\t\tdeleteUnusedData(process.metas);\n\t\t}\n\t}\n}\n\nfunction pageTemplate(tpl, options, version, analyseResult, libraryScriptElMap) {\n\tconst params = {\n\t\tversion,\n\t\tlibraries: libraryScriptElMap,\n\t};\n\tfor (let field of replaceFields) {\n\t\tparams[field] = options[field];\n\t}\n\n\toptions.newTpl = fillTemplate(options.tpl, params, analyseResult);\n}\n"],"names":[],"mappings":";;;;AAAA;;;AAGA,AAEA;AACA,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;;AAEtC,AAAO,eAAe,OAAO,CAAC,MAAM,EAAE,KAAK,GAAG,KAAK,EAAE;CACpD,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,MAAM,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE;EACtD,OAAO,EAAE;GACR,CAAC,YAAY,EAAE,EAAE,CAAC;GAClB;EACD,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Y;EAC/B,CAAC,CAAC;;CAEH,OAAO;EACN,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;EAC7B,oBAAoB;EACpB,cAAc;EACd,mBAAmB;EACnB,CAAC;CACF;;AAED,MAAM,YAAY,GAAG,CAAC,QAAQ,CAAC,CAAC;;AAEhC,SAAS,gBAAgB,CAAC,SAAS,EAAE;CACpC,KAAK,IAAI,OAAO,IAAI,SAAS,EAAE;EAC9B,IAAI,OAAO,CAAC,GAAG,EAAE;GAChB,KAAK,IAAI,IAAI,IAAI,OAAO,CAAC,GAAG,EAAE;IAC7B,IAAI,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACnC,KAAK,IAAI,KAAK,IAAI,YAAY,EAAE;KAC/B,IAAI,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE;MACrC,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;MACzB;KACD;IACD;GACD;EACD,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;GAC9C,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;GAChC;EACD;CACD;;AAED,SAAS,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE;CAC/E,MAAM,MAAM,GAAG;EACd,OAAO;EACP,SAAS,EAAE,kBAAkB;EAC7B,CAAC;CACF,KAAK,IAAI,KAAK,IAAI,aAAa,EAAE;EAChC,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;EAC/B;;CAED,OAAO,CAAC,MAAM,GAAG,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;CAClE;;;;"}
\ No newline at end of file \ No newline at end of file
...@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true }); ...@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var decamelize = _interopDefault(require('decamelize'));
var babel = _interopDefault(require('@babel/core')); var babel = _interopDefault(require('@babel/core'));
var zeroingCodeDivider = require('zeroing-code-divider'); var zeroingCodeDivider = require('zeroing-code-divider');
var zeroingTemplateFill = require('zeroing-template-fill');
/** /**
* Created by rockyl on 2019-11-30. * Created by rockyl on 2019-11-30.
...@@ -50,8 +50,13 @@ const replaceFields = ['pageTitle', 'containerId']; ...@@ -50,8 +50,13 @@ const replaceFields = ['pageTitle', 'containerId'];
const TAG = 'zeroing-pack'; const TAG = 'zeroing-pack';
async function pack(data, options) { async function pack(data, options) {
let dependencies = data.dependencies;
let getPackages = options.getPackages;
const {libraryScriptElMap, analyseResult} = await zeroingTemplateFill.generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/');
let version = Date.now() + Math.floor(Math.random() * 1000); let version = Date.now() + Math.floor(Math.random() * 1000);
pageTemplate(data, data.options, version); pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);
const newData = await packData(data, options); const newData = await packData(data, options);
return { return {
...@@ -62,7 +67,8 @@ async function pack(data, options) { ...@@ -62,7 +67,8 @@ async function pack(data, options) {
function fillTpl(data, params) { function fillTpl(data, params) {
const {options} = data; const {options} = data;
fillTemplate(options.newTpl, options, params); params.scripts = params.scripts.map(item => zeroingTemplateFill.generateJsScriptEl(item)).join('\n');
options.newTpl = zeroingTemplateFill.fillTemplate(options.newTpl, params);
const newTpl = options.newTpl; const newTpl = options.newTpl;
delete options.newTpl; delete options.newTpl;
...@@ -91,6 +97,7 @@ async function packData(data, {debug, packedAssets, getPackages}) { ...@@ -91,6 +97,7 @@ async function packData(data, {debug, packedAssets, getPackages}) {
debug, debug,
uglify, compile, uglify, compile,
getPackages, getPackages,
dependencies: data.dependencies,
}); });
return { return {
...@@ -121,23 +128,16 @@ function deleteUnusedData(processes) { ...@@ -121,23 +128,16 @@ function deleteUnusedData(processes) {
} }
} }
function pageTemplate(tpl, options, version) { function pageTemplate(tpl, options, version, analyseResult, libraryScriptElMap) {
const params = { const params = {
version, version,
libraries: libraryScriptElMap,
}; };
for (let field of replaceFields) { for (let field of replaceFields) {
params[field] = options[field]; params[field] = options[field];
} }
fillTemplate(options.tpl, options, params);
}
function fillTemplate(tpl, options, params) {
for (let field in params) {
const pattern = decamelize(field).toUpperCase();
tpl = tpl.replace(new RegExp(`\\$${pattern}\\$`, 'g'), params[field]);
}
options.newTpl = tpl; options.newTpl = zeroingTemplateFill.fillTemplate(options.tpl, params, analyseResult);
} }
exports.fillTpl = fillTpl; exports.fillTpl = fillTpl;
......
{"version":3,"file":"index.js","sources":["../src/code-process.js","../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-11-30.\n */\n\nimport babel from '@babel/core';\n\nconst UglifyJS = require('uglify-js');\n\nexport async function compile(source, debug = false) {\n\tconst {code, map} = await babel.transformAsync(source, {\n\t\tpresets: [\n\t\t\t['@babel/env', {}]\n\t\t],\n\t\tbabelrc: false,\n\t\tsourceMaps: debug,\n\t});\n\n\tconst result = {\n\t\tcode,\n\t};\n\tif (map) {\n\t\tresult.sourcemap = map.mappings;\n\t}\n\treturn result;\n}\n\nexport function uglify(source){\n\tconst uglifyResult = UglifyJS.minify(source, {\n\t});\n\tif (!uglifyResult.error) {\n\t\treturn uglifyResult.code;\n\t}\n}","/**\n * Created by rockyl on 2019-11-13.\n *\n * 项目打包\n */\n\nimport decamelize from 'decamelize'\nimport {uglify, compile} from \"./code-process\";\nimport {divideCode} from 'zeroing-code-divider';\n\nconst replaceFields = ['pageTitle', 'containerId'];\nconst TAG = 'zeroing-pack';\n\nexport async function pack(data, options) {\n\tlet version = Date.now() + Math.floor(Math.random() * 1000);\n\tpageTemplate(data, data.options, version);\n\tconst newData = await packData(data, options);\n\n\treturn {\n\t\tversion,\n\t\tdata: newData,\n\t}\n}\n\nexport function fillTpl(data, params) {\n\tconst {options} = data;\n\tfillTemplate(options.newTpl, options, params);\n\n\tconst newTpl = options.newTpl;\n\tdelete options.newTpl;\n\treturn newTpl;\n}\n\nasync function packData(data, {debug, packedAssets, getPackages}) {\n\tlet newData = {};\n\tnewData.options = data.options;\n\tnewData.views = data.views;\n\tnewData.assets = packedAssets || data.assets;\n\tnewData.dataMapping = data.dataMapping;\n\tnewData.processes = data.processes;\n\tnewData.customs = data.customs;\n\n\tdelete newData.options.tpl;\n\tdeleteUnusedData(newData.processes);\n\n\tconsole.log(TAG, 'start');\n\n\tconst {\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t} = await divideCode(newData, {\n\t\tdebug,\n\t\tuglify, compile,\n\t\tgetPackages,\n\t});\n\n\treturn {\n\t\tdata: JSON.stringify(newData),\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t};\n}\n\nconst unusedFields = ['design'];\n\nfunction deleteUnusedData(processes) {\n\tfor (let process of processes) {\n\t\tif (process.sub) {\n\t\t\tfor (let uuid in process.sub) {\n\t\t\t\tlet subProcess = process.sub[uuid];\n\t\t\t\tfor (let field of unusedFields) {\n\t\t\t\t\tif (subProcess.hasOwnProperty(field)) {\n\t\t\t\t\t\tdelete subProcess[field];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.metas && process.metas.length > 0) {\n\t\t\tdeleteUnusedData(process.metas);\n\t\t}\n\t}\n}\n\nfunction pageTemplate(tpl, options, version) {\n\tconst params = {\n\t\tversion,\n\t};\n\tfor (let field of replaceFields) {\n\t\tparams[field] = options[field];\n\t}\n\tfillTemplate(options.tpl, options, params);\n}\n\nfunction fillTemplate(tpl, options, params) {\n\tfor (let field in params) {\n\t\tconst pattern = decamelize(field).toUpperCase();\n\t\ttpl = tpl.replace(new RegExp(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CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;EACtE;;CAED,OAAO,CAAC,MAAM,GAAG,GAAG,CAAC;CACrB;;;;;"} {"version":3,"file":"index.js","sources":["../src/code-process.js","../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-11-30.\n */\n\nimport babel from '@babel/core';\n\nconst UglifyJS = require('uglify-js');\n\nexport async function compile(source, debug = false) {\n\tconst {code, map} = await babel.transformAsync(source, {\n\t\tpresets: [\n\t\t\t['@babel/env', {}]\n\t\t],\n\t\tbabelrc: false,\n\t\tsourceMaps: debug,\n\t});\n\n\tconst result = {\n\t\tcode,\n\t};\n\tif (map) {\n\t\tresult.sourcemap = map.mappings;\n\t}\n\treturn result;\n}\n\nexport function uglify(source){\n\tconst uglifyResult = UglifyJS.minify(source, {\n\t});\n\tif (!uglifyResult.error) {\n\t\treturn uglifyResult.code;\n\t}\n}","/**\n * Created by rockyl on 2019-11-13.\n *\n * 项目打包\n */\n\nimport {uglify, compile} from \"./code-process\";\nimport {divideCode} from 'zeroing-code-divider';\nimport {generateLibraryScriptEl, fillTemplate, generateJsScriptEl} from 'zeroing-template-fill';\n\nconst replaceFields = ['pageTitle', 'containerId'];\nconst TAG = 'zeroing-pack';\n\nexport async function pack(data, options) {\n\tlet dependencies = data.dependencies;\n\tlet getPackages = options.getPackages;\n\n\tconst {libraryScriptElMap, analyseResult} = await generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/');\n\n\tlet version = Date.now() + Math.floor(Math.random() * 1000);\n\tpageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);\n\tconst newData = await packData(data, options);\n\n\treturn {\n\t\tversion,\n\t\tdata: newData,\n\t}\n}\n\nexport function fillTpl(data, params) {\n\tconst {options} = data;\n\tparams.scripts = params.scripts.map(item => generateJsScriptEl(item)).join('\\n');\n\toptions.newTpl = fillTemplate(options.newTpl, params);\n\n\tconst newTpl = options.newTpl;\n\tdelete options.newTpl;\n\treturn newTpl;\n}\n\nasync function packData(data, {debug, packedAssets, getPackages}) {\n\tlet newData = {};\n\tnewData.options = data.options;\n\tnewData.views = data.views;\n\tnewData.assets = packedAssets || data.assets;\n\tnewData.dataMapping = data.dataMapping;\n\tnewData.processes = data.processes;\n\tnewData.customs = data.customs;\n\n\tdelete newData.options.tpl;\n\tdeleteUnusedData(newData.processes);\n\n\tconsole.log(TAG, 'start');\n\n\tconst {\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t} = await divideCode(newData, {\n\t\tdebug,\n\t\tuglify, compile,\n\t\tgetPackages,\n\t\tdependencies: data.dependencies,\n\t});\n\n\treturn {\n\t\tdata: JSON.stringify(newData),\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t};\n}\n\nconst unusedFields = ['design'];\n\nfunction deleteUnusedData(processes) {\n\tfor (let process of processes) {\n\t\tif (process.sub) {\n\t\t\tfor (let uuid in process.sub) {\n\t\t\t\tlet subProcess = process.sub[uuid];\n\t\t\t\tfor (let field of unusedFields) {\n\t\t\t\t\tif (subProcess.hasOwnProperty(field)) {\n\t\t\t\t\t\tdelete subProcess[field];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.metas && process.metas.length > 0) {\n\t\t\tdeleteUnusedData(process.metas);\n\t\t}\n\t}\n}\n\nfunction pageTemplate(tpl, options, version, analyseResult, libraryScriptElMap) {\n\tconst params = {\n\t\tversion,\n\t\tlibraries: libraryScriptElMap,\n\t};\n\tfor (let field of replaceFields) {\n\t\tparams[field] = options[field];\n\t}\n\n\toptions.newTpl = fillTemplate(options.tpl, params, analyseResult);\n}\n"],"names":["generateLibraryScriptEl","generateJsScriptEl","fillTemplate","divideCode"],"mappings":";;;;;;;;;;AAAA;;;AAGA,AAEA;AACA,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,CA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AAK,CAAC,CAAC;EAC/B;;CAED,OAAO,CAAC,MAAM,GAAGD,gCAAY,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;CAClE;;;;;"}
\ No newline at end of file \ No newline at end of file
(function (global, factory) { (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('decamelize'), require('@babel/core'), require('zeroing-code-divider')) : typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@babel/core'), require('zeroing-code-divider'), require('zeroing-template-fill')) :
typeof define === 'function' && define.amd ? define(['exports', 'decamelize', '@babel/core', 'zeroing-code-divider'], factory) : typeof define === 'function' && define.amd ? define(['exports', '@babel/core', 'zeroing-code-divider', 'zeroing-template-fill'], factory) :
(global = global || self, factory(global['zeroing-pack'] = {}, global.decamelize, global.babel, global.zeroingCodeDivider)); (global = global || self, factory(global['zeroing-pack'] = {}, global.babel, global.zeroingCodeDivider, global.zeroingTemplateFill));
}(this, function (exports, decamelize, babel, zeroingCodeDivider) { 'use strict'; }(this, function (exports, babel, zeroingCodeDivider, zeroingTemplateFill) { 'use strict';
decamelize = decamelize && decamelize.hasOwnProperty('default') ? decamelize['default'] : decamelize;
babel = babel && babel.hasOwnProperty('default') ? babel['default'] : babel; babel = babel && babel.hasOwnProperty('default') ? babel['default'] : babel;
/** /**
...@@ -49,8 +48,13 @@ ...@@ -49,8 +48,13 @@
const TAG = 'zeroing-pack'; const TAG = 'zeroing-pack';
async function pack(data, options) { async function pack(data, options) {
let dependencies = data.dependencies;
let getPackages = options.getPackages;
const {libraryScriptElMap, analyseResult} = await zeroingTemplateFill.generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/');
let version = Date.now() + Math.floor(Math.random() * 1000); let version = Date.now() + Math.floor(Math.random() * 1000);
pageTemplate(data, data.options, version); pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);
const newData = await packData(data, options); const newData = await packData(data, options);
return { return {
...@@ -61,7 +65,8 @@ ...@@ -61,7 +65,8 @@
function fillTpl(data, params) { function fillTpl(data, params) {
const {options} = data; const {options} = data;
fillTemplate(options.newTpl, options, params); params.scripts = params.scripts.map(item => zeroingTemplateFill.generateJsScriptEl(item)).join('\n');
options.newTpl = zeroingTemplateFill.fillTemplate(options.newTpl, params);
const newTpl = options.newTpl; const newTpl = options.newTpl;
delete options.newTpl; delete options.newTpl;
...@@ -90,6 +95,7 @@ ...@@ -90,6 +95,7 @@
debug, debug,
uglify, compile, uglify, compile,
getPackages, getPackages,
dependencies: data.dependencies,
}); });
return { return {
...@@ -120,23 +126,16 @@ ...@@ -120,23 +126,16 @@
} }
} }
function pageTemplate(tpl, options, version) { function pageTemplate(tpl, options, version, analyseResult, libraryScriptElMap) {
const params = { const params = {
version, version,
libraries: libraryScriptElMap,
}; };
for (let field of replaceFields) { for (let field of replaceFields) {
params[field] = options[field]; params[field] = options[field];
} }
fillTemplate(options.tpl, options, params);
}
function fillTemplate(tpl, options, params) {
for (let field in params) {
const pattern = decamelize(field).toUpperCase();
tpl = tpl.replace(new RegExp(`\\$${pattern}\\$`, 'g'), params[field]);
}
options.newTpl = tpl; options.newTpl = zeroingTemplateFill.fillTemplate(options.tpl, params, analyseResult);
} }
exports.fillTpl = fillTpl; exports.fillTpl = fillTpl;
......
{"version":3,"file":"index.umd.js","sources":["../src/code-process.js","../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-11-30.\n */\n\nimport babel from '@babel/core';\n\nconst UglifyJS = require('uglify-js');\n\nexport async function compile(source, debug = false) {\n\tconst {code, map} = await babel.transformAsync(source, {\n\t\tpresets: [\n\t\t\t['@babel/env', {}]\n\t\t],\n\t\tbabelrc: false,\n\t\tsourceMaps: debug,\n\t});\n\n\tconst result = {\n\t\tcode,\n\t};\n\tif (map) {\n\t\tresult.sourcemap = map.mappings;\n\t}\n\treturn result;\n}\n\nexport function uglify(source){\n\tconst uglifyResult = UglifyJS.minify(source, {\n\t});\n\tif (!uglifyResult.error) {\n\t\treturn uglifyResult.code;\n\t}\n}","/**\n * Created by rockyl on 2019-11-13.\n *\n * 项目打包\n */\n\nimport decamelize from 'decamelize'\nimport {uglify, compile} from \"./code-process\";\nimport {divideCode} from 'zeroing-code-divider';\n\nconst replaceFields = ['pageTitle', 'containerId'];\nconst TAG = 'zeroing-pack';\n\nexport async function pack(data, options) {\n\tlet version = Date.now() + Math.floor(Math.random() * 1000);\n\tpageTemplate(data, data.options, version);\n\tconst newData = await packData(data, options);\n\n\treturn {\n\t\tversion,\n\t\tdata: newData,\n\t}\n}\n\nexport function fillTpl(data, params) {\n\tconst {options} = data;\n\tfillTemplate(options.newTpl, options, params);\n\n\tconst newTpl = options.newTpl;\n\tdelete options.newTpl;\n\treturn newTpl;\n}\n\nasync function packData(data, {debug, packedAssets, getPackages}) {\n\tlet newData = {};\n\tnewData.options = data.options;\n\tnewData.views = data.views;\n\tnewData.assets = packedAssets || data.assets;\n\tnewData.dataMapping = data.dataMapping;\n\tnewData.processes = data.processes;\n\tnewData.customs = data.customs;\n\n\tdelete newData.options.tpl;\n\tdeleteUnusedData(newData.processes);\n\n\tconsole.log(TAG, 'start');\n\n\tconst {\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t} = await divideCode(newData, {\n\t\tdebug,\n\t\tuglify, compile,\n\t\tgetPackages,\n\t});\n\n\treturn {\n\t\tdata: JSON.stringify(newData),\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t};\n}\n\nconst unusedFields = ['design'];\n\nfunction deleteUnusedData(processes) {\n\tfor (let process of processes) {\n\t\tif (process.sub) {\n\t\t\tfor (let uuid in process.sub) {\n\t\t\t\tlet subProcess = process.sub[uuid];\n\t\t\t\tfor (let field of unusedFields) {\n\t\t\t\t\tif (subProcess.hasOwnProperty(field)) {\n\t\t\t\t\t\tdelete subProcess[field];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.metas && process.metas.length > 0) {\n\t\t\tdeleteUnusedData(process.metas);\n\t\t}\n\t}\n}\n\nfunction pageTemplate(tpl, options, version) {\n\tconst params = {\n\t\tversion,\n\t};\n\tfor (let field of replaceFields) {\n\t\tparams[field] = options[field];\n\t}\n\tfillTemplate(options.tpl, options, params);\n}\n\nfunction fillTemplate(tpl, options, params) {\n\tfor (let field in params) {\n\t\tconst pattern = decamelize(field).toUpperCase();\n\t\ttpl = tpl.replace(new RegExp(`\\\\$${pattern}\\\\$`, 'g'), params[field]);\n\t}\n\n\toptions.newTpl = tpl;\n}\n"],"names":["divideCode"],"mappings":";;;;;;;;;CAAA;CACA;CACA;AACA,AAEA;CACA,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;;AAEtC,CAAO,eAAe,OAAO,CAAC,MAAM,EAAE,KAAK,GAAG,KAAK,EAAE;CACrD,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,MAAM,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE;CACxD,EAAE,OAAO,EAAE;CACX,GAAG,CAAC,YAAY,EAAE,EAAE,CAAC;CACrB,GAAG;CACH,EAAE,OAAO,EAAE,KAAK;CAChB,EAAE,UAAU,EAAE,KAAK;CACnB,EAAE,CAAC,CAAC;;CAEJ,CAAC,MAAM,MAAM,GAAG;CAChB,EAAE,IAAI;CACN,EAAE,CAAC;CACH,CAAC,IAAI,GAAG,EAAE;CACV,EAAE,MAAM,CAAC,SAAS,GAAG,GAAG,CAAC,QAAQ,CAAC;CAClC,EAAE;CACF,CAAC,OAAO,MAAM,CAAC;CACf,CAAC;;AAED,CAAO,SAAS,MAAM,CAAC,MAAM,CAAC;CAC9B,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;CAC9C,EAAE,CAAC,CAAC;CACJ,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE;CAC1B,EAAE,OAAO,YAAY,CAAC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CAAC;CAC/B,MAAM;CACN,KAAK;CACL,IAAI;CACJ,GAAG;CACH,EAAE,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;CACjD,GAAG,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;CACnC,GAAG;CACH,EAAE;CACF,CAAC;;CAED,SAAS,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE;CAC7C,CAAC,MAAM,MAAM,GAAG;CAChB,EAAE,OAAO;CACT,EAAE,CAAC;CACH,CAAC,KAAK,IAAI,KAAK,IAAI,aAAa,EAAE;CAClC,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CACjC,EAAE;CACF,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;CAC5C,CAAC;;CAED,SAAS,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE;CAC5C,CAAC,KAAK,IAAI,KAAK,IAAI,MAAM,EAAE;CAC3B,EAAE,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;CAClD,EAAE,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;CACxE,EAAE;;CAEF,CAAC,OAAO,CAAC,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;;;;;;;;;;;;;"} {"version":3,"file":"index.umd.js","sources":["../src/code-process.js","../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-11-30.\n */\n\nimport babel from '@babel/core';\n\nconst UglifyJS = require('uglify-js');\n\nexport async function compile(source, debug = false) {\n\tconst {code, map} = await babel.transformAsync(source, {\n\t\tpresets: [\n\t\t\t['@babel/env', {}]\n\t\t],\n\t\tbabelrc: false,\n\t\tsourceMaps: debug,\n\t});\n\n\tconst result = {\n\t\tcode,\n\t};\n\tif (map) {\n\t\tresult.sourcemap = map.mappings;\n\t}\n\treturn result;\n}\n\nexport function uglify(source){\n\tconst uglifyResult = UglifyJS.minify(source, {\n\t});\n\tif (!uglifyResult.error) {\n\t\treturn uglifyResult.code;\n\t}\n}","/**\n * Created by rockyl on 2019-11-13.\n *\n * 项目打包\n */\n\nimport {uglify, compile} from \"./code-process\";\nimport {divideCode} from 'zeroing-code-divider';\nimport {generateLibraryScriptEl, fillTemplate, generateJsScriptEl} from 'zeroing-template-fill';\n\nconst replaceFields = ['pageTitle', 'containerId'];\nconst TAG = 'zeroing-pack';\n\nexport async function pack(data, options) {\n\tlet dependencies = data.dependencies;\n\tlet getPackages = options.getPackages;\n\n\tconst {libraryScriptElMap, analyseResult} = await generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/');\n\n\tlet version = Date.now() + Math.floor(Math.random() * 1000);\n\tpageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);\n\tconst newData = await packData(data, options);\n\n\treturn {\n\t\tversion,\n\t\tdata: newData,\n\t}\n}\n\nexport function fillTpl(data, params) {\n\tconst {options} = data;\n\tparams.scripts = params.scripts.map(item => generateJsScriptEl(item)).join('\\n');\n\toptions.newTpl = fillTemplate(options.newTpl, params);\n\n\tconst newTpl = options.newTpl;\n\tdelete options.newTpl;\n\treturn newTpl;\n}\n\nasync function packData(data, {debug, packedAssets, getPackages}) {\n\tlet newData = {};\n\tnewData.options = data.options;\n\tnewData.views = data.views;\n\tnewData.assets = packedAssets || data.assets;\n\tnewData.dataMapping = data.dataMapping;\n\tnewData.processes = data.processes;\n\tnewData.customs = data.customs;\n\n\tdelete newData.options.tpl;\n\tdeleteUnusedData(newData.processes);\n\n\tconsole.log(TAG, 'start');\n\n\tconst {\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t} = await divideCode(newData, {\n\t\tdebug,\n\t\tuglify, compile,\n\t\tgetPackages,\n\t\tdependencies: data.dependencies,\n\t});\n\n\treturn {\n\t\tdata: JSON.stringify(newData),\n\t\tprocessScriptContent,\n\t\tscriptsContent,\n\t\tcustomScriptContent,\n\t};\n}\n\nconst unusedFields = ['design'];\n\nfunction deleteUnusedData(processes) {\n\tfor (let process of processes) {\n\t\tif (process.sub) {\n\t\t\tfor (let uuid in process.sub) {\n\t\t\t\tlet subProcess = process.sub[uuid];\n\t\t\t\tfor (let field of unusedFields) {\n\t\t\t\t\tif (subProcess.hasOwnProperty(field)) {\n\t\t\t\t\t\tdelete subProcess[field];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.metas && process.metas.length > 0) {\n\t\t\tdeleteUnusedData(process.metas);\n\t\t}\n\t}\n}\n\nfunction pageTemplate(tpl, options, version, analyseResult, libraryScriptElMap) {\n\tconst params = {\n\t\tversion,\n\t\tlibraries: libraryScriptElMap,\n\t};\n\tfor (let field of replaceFields) {\n\t\tparams[field] = options[field];\n\t}\n\n\toptions.newTpl = fillTemplate(options.tpl, params, analyseResult);\n}\n"],"names":["generateLibraryScriptEl","generateJsScriptEl","fillTemplate","divideCode"],"mappings":";;;;;;;;CAAA;CACA;CACA;AACA,AAEA;CACA,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;;AAEtC,CAAO,eAAe,OAAO,CAAC,MAAM,EAAE,KAAK,GAAG,KAAK,EAAE;CACrD,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,MAAM,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE;CACxD,EAAE,OAAO,EAAE;CACX,GAAG,CAAC,YAAY,EAAE,EAAE,CAAC;CACrB,GAAG;CACH,EAAE,OAAO,EAAE,KAAK;CAChB,EAAE,UAAU,EAAE,KAAK;CACnB,EAAE,CAAC,CAAC;;CAEJ,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kB,EAAE;CAChF,CAAC,MAAM,MAAM,GAAG;CAChB,EAAE,OAAO;CACT,EAAE,SAAS,EAAE,kBAAkB;CAC/B,EAAE,CAAC;CACH,CAAC,KAAK,IAAI,KAAK,IAAI,aAAa,EAAE;CAClC,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CACjC,EAAE;;CAEF,CAAC,OAAO,CAAC,MAAM,GAAGD,gCAAY,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;CACnE,CAAC;;;;;;;;;;;;;"}
\ No newline at end of file \ No newline at end of file
...@@ -6,11 +6,12 @@ ...@@ -6,11 +6,12 @@
"dependencies": { "dependencies": {
"@babel/core": "^7.7.4", "@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4", "@babel/preset-env": "^7.7.4",
"decamelize": "^3.2.0", "gensync": "^1.0.0-beta.1",
"uglify-js": "^3.7.1", "uglify-js": "^3.7.1",
"zeroing-code-divider": "http://gitlab2.dui88.com/laoqifeng/zeroing-code-divider.git" "zeroing-code-divider": "http://gitlab2.dui88.com/laoqifeng/zeroing-code-divider.git"
}, },
"scripts": { "scripts": {
"dev": "rollup -c -w",
"build": "rollup -c" "build": "rollup -c"
} }
} }
...@@ -4,16 +4,21 @@ ...@@ -4,16 +4,21 @@
* 项目打包 * 项目打包
*/ */
import decamelize from 'decamelize'
import {uglify, compile} from "./code-process"; import {uglify, compile} from "./code-process";
import {divideCode} from 'zeroing-code-divider'; import {divideCode} from 'zeroing-code-divider';
import {generateLibraryScriptEl, fillTemplate, generateJsScriptEl} from 'zeroing-template-fill';
const replaceFields = ['pageTitle', 'containerId']; const replaceFields = ['pageTitle', 'containerId'];
const TAG = 'zeroing-pack'; const TAG = 'zeroing-pack';
export async function pack(data, options) { export async function pack(data, options) {
let dependencies = data.dependencies;
let getPackages = options.getPackages;
const {libraryScriptElMap, analyseResult} = await generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/');
let version = Date.now() + Math.floor(Math.random() * 1000); let version = Date.now() + Math.floor(Math.random() * 1000);
pageTemplate(data, data.options, version); pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);
const newData = await packData(data, options); const newData = await packData(data, options);
return { return {
...@@ -24,7 +29,8 @@ export async function pack(data, options) { ...@@ -24,7 +29,8 @@ export async function pack(data, options) {
export function fillTpl(data, params) { export function fillTpl(data, params) {
const {options} = data; const {options} = data;
fillTemplate(options.newTpl, options, params); params.scripts = params.scripts.map(item => generateJsScriptEl(item)).join('\n');
options.newTpl = fillTemplate(options.newTpl, params);
const newTpl = options.newTpl; const newTpl = options.newTpl;
delete options.newTpl; delete options.newTpl;
...@@ -53,6 +59,7 @@ async function packData(data, {debug, packedAssets, getPackages}) { ...@@ -53,6 +59,7 @@ async function packData(data, {debug, packedAssets, getPackages}) {
debug, debug,
uglify, compile, uglify, compile,
getPackages, getPackages,
dependencies: data.dependencies,
}); });
return { return {
...@@ -83,21 +90,14 @@ function deleteUnusedData(processes) { ...@@ -83,21 +90,14 @@ function deleteUnusedData(processes) {
} }
} }
function pageTemplate(tpl, options, version) { function pageTemplate(tpl, options, version, analyseResult, libraryScriptElMap) {
const params = { const params = {
version, version,
libraries: libraryScriptElMap,
}; };
for (let field of replaceFields) { for (let field of replaceFields) {
params[field] = options[field]; params[field] = options[field];
} }
fillTemplate(options.tpl, options, params);
}
function fillTemplate(tpl, options, params) {
for (let field in params) {
const pattern = decamelize(field).toUpperCase();
tpl = tpl.replace(new RegExp(`\\$${pattern}\\$`, 'g'), params[field]);
}
options.newTpl = tpl; options.newTpl = fillTemplate(options.tpl, params, analyseResult);
} }
...@@ -2,657 +2,707 @@ ...@@ -2,657 +2,707 @@
# yarn lockfile v1 # yarn lockfile v1
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5": "@babel/code-frame@^7.8.3":
version "7.5.5" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d" resolved "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.8.3.tgz?cache=0&sync_timestamp=1578953126105&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcode-frame%2Fdownload%2F%40babel%2Fcode-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
integrity sha1-vAeC9tafe31JUxIZaZuYj2aaj50= integrity sha1-M+JZA9dIEYFTThLsCiXxa2/PQZ4=
dependencies: dependencies:
"@babel/highlight" "^7.0.0" "@babel/highlight" "^7.8.3"
"@babel/compat-data@^7.8.4":
version "7.8.5"
resolved "https://registry.npm.taobao.org/@babel/compat-data/download/@babel/compat-data-7.8.5.tgz?cache=0&sync_timestamp=1580497169646&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcompat-data%2Fdownload%2F%40babel%2Fcompat-data-7.8.5.tgz#d28ce872778c23551cbb9432fc68d28495b613b9"
integrity sha1-0ozocneMI1Ucu5Qy/GjShJW2E7k=
dependencies:
browserslist "^4.8.5"
invariant "^2.2.4"
semver "^5.5.0"
"@babel/core@^7.7.4": "@babel/core@^7.7.4":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/core/download/@babel/core-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcore%2Fdownload%2F%40babel%2Fcore-7.7.4.tgz#37e864532200cb6b50ee9a4045f5f817840166ab" resolved "https://registry.npm.taobao.org/@babel/core/download/@babel/core-7.8.4.tgz?cache=0&sync_timestamp=1580387817329&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcore%2Fdownload%2F%40babel%2Fcore-7.8.4.tgz#d496799e5c12195b3602d0fddd77294e3e38e80e"
integrity sha1-N+hkUyIAy2tQ7ppARfX4F4QBZqs= integrity sha1-1JZ5nlwSGVs2AtD93XcpTj446A4=
dependencies: dependencies:
"@babel/code-frame" "^7.5.5" "@babel/code-frame" "^7.8.3"
"@babel/generator" "^7.7.4" "@babel/generator" "^7.8.4"
"@babel/helpers" "^7.7.4" "@babel/helpers" "^7.8.4"
"@babel/parser" "^7.7.4" "@babel/parser" "^7.8.4"
"@babel/template" "^7.7.4" "@babel/template" "^7.8.3"
"@babel/traverse" "^7.7.4" "@babel/traverse" "^7.8.4"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
convert-source-map "^1.7.0" convert-source-map "^1.7.0"
debug "^4.1.0" debug "^4.1.0"
gensync "^1.0.0-beta.1"
json5 "^2.1.0" json5 "^2.1.0"
lodash "^4.17.13" lodash "^4.17.13"
resolve "^1.3.2" resolve "^1.3.2"
semver "^5.4.1" semver "^5.4.1"
source-map "^0.5.0" source-map "^0.5.0"
"@babel/generator@^7.7.4": "@babel/generator@^7.8.4":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fgenerator%2Fdownload%2F%40babel%2Fgenerator-7.7.4.tgz#db651e2840ca9aa66f327dcec1dc5f5fa9611369" resolved "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.8.4.tgz?cache=0&sync_timestamp=1580387848805&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fgenerator%2Fdownload%2F%40babel%2Fgenerator-7.8.4.tgz#35bbc74486956fe4251829f9f6c48330e8d0985e"
integrity sha1-22UeKEDKmqZvMn3OwdxfX6lhE2k= integrity sha1-NbvHRIaVb+QlGCn59sSDMOjQmF4=
dependencies: dependencies:
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
jsesc "^2.5.1" jsesc "^2.5.1"
lodash "^4.17.13" lodash "^4.17.13"
source-map "^0.5.0" source-map "^0.5.0"
"@babel/helper-annotate-as-pure@^7.7.4": "@babel/helper-annotate-as-pure@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-annotate-as-pure/download/@babel/helper-annotate-as-pure-7.7.4.tgz?cache=0&sync_timestamp=1574466437284&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-annotate-as-pure%2Fdownload%2F%40babel%2Fhelper-annotate-as-pure-7.7.4.tgz#bb3faf1e74b74bd547e867e48f551fa6b098b6ce" resolved "https://registry.npm.taobao.org/@babel/helper-annotate-as-pure/download/@babel/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee"
integrity sha1-uz+vHnS3S9VH6Gfkj1UfprCYts4= integrity sha1-YLwLxlf2Ogkk/5pLSgskoTz03u4=
dependencies:
"@babel/types" "^7.8.3"
"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-builder-binary-assignment-operator-visitor/download/@babel/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503"
integrity sha1-yECXpCegYaxWocMOv1S3si0kFQM=
dependencies: dependencies:
"@babel/types" "^7.7.4" "@babel/helper-explode-assignable-expression" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/helper-builder-binary-assignment-operator-visitor@^7.7.4": "@babel/helper-call-delegate@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-builder-binary-assignment-operator-visitor/download/@babel/helper-builder-binary-assignment-operator-visitor-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-builder-binary-assignment-operator-visitor%2Fdownload%2F%40babel%2Fhelper-builder-binary-assignment-operator-visitor-7.7.4.tgz#5f73f2b28580e224b5b9bd03146a4015d6217f5f" resolved "https://registry.npm.taobao.org/@babel/helper-call-delegate/download/@babel/helper-call-delegate-7.8.3.tgz#de82619898aa605d409c42be6ffb8d7204579692"
integrity sha1-X3PysoWA4iS1ub0DFGpAFdYhf18= integrity sha1-3oJhmJiqYF1AnEK+b/uNcgRXlpI=
dependencies: dependencies:
"@babel/helper-explode-assignable-expression" "^7.7.4" "@babel/helper-hoist-variables" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/traverse" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/helper-call-delegate@^7.7.4": "@babel/helper-compilation-targets@^7.8.4":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/helper-call-delegate/download/@babel/helper-call-delegate-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-call-delegate%2Fdownload%2F%40babel%2Fhelper-call-delegate-7.7.4.tgz#621b83e596722b50c0066f9dc37d3232e461b801" resolved "https://registry.npm.taobao.org/@babel/helper-compilation-targets/download/@babel/helper-compilation-targets-7.8.4.tgz?cache=0&sync_timestamp=1580388006542&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-compilation-targets%2Fdownload%2F%40babel%2Fhelper-compilation-targets-7.8.4.tgz#03d7ecd454b7ebe19a254f76617e61770aed2c88"
integrity sha1-YhuD5ZZyK1DABm+dw30yMuRhuAE= integrity sha1-A9fs1FS36+GaJU92YX5hdwrtLIg=
dependencies: dependencies:
"@babel/helper-hoist-variables" "^7.7.4" "@babel/compat-data" "^7.8.4"
"@babel/traverse" "^7.7.4" browserslist "^4.8.5"
"@babel/types" "^7.7.4" invariant "^2.2.4"
levenary "^1.1.1"
semver "^5.5.0"
"@babel/helper-create-regexp-features-plugin@^7.7.4": "@babel/helper-create-regexp-features-plugin@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-create-regexp-features-plugin/download/@babel/helper-create-regexp-features-plugin-7.7.4.tgz?cache=0&sync_timestamp=1574466720467&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-create-regexp-features-plugin%2Fdownload%2F%40babel%2Fhelper-create-regexp-features-plugin-7.7.4.tgz#6d5762359fd34f4da1500e4cff9955b5299aaf59" resolved "https://registry.npm.taobao.org/@babel/helper-create-regexp-features-plugin/download/@babel/helper-create-regexp-features-plugin-7.8.3.tgz#c774268c95ec07ee92476a3862b75cc2839beb79"
integrity sha1-bVdiNZ/TT02hUA5M/5lVtSmar1k= integrity sha1-x3QmjJXsB+6SR2o4YrdcwoOb63k=
dependencies: dependencies:
"@babel/helper-regex" "^7.4.4" "@babel/helper-regex" "^7.8.3"
regexpu-core "^4.6.0" regexpu-core "^4.6.0"
"@babel/helper-define-map@^7.7.4": "@babel/helper-define-map@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-define-map/download/@babel/helper-define-map-7.7.4.tgz#2841bf92eb8bd9c906851546fe6b9d45e162f176" resolved "https://registry.npm.taobao.org/@babel/helper-define-map/download/@babel/helper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15"
integrity sha1-KEG/kuuL2ckGhRVG/mudReFi8XY= integrity sha1-oGVcrVRRw3YLcm66h18c2PqgLBU=
dependencies: dependencies:
"@babel/helper-function-name" "^7.7.4" "@babel/helper-function-name" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
lodash "^4.17.13" lodash "^4.17.13"
"@babel/helper-explode-assignable-expression@^7.7.4": "@babel/helper-explode-assignable-expression@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-explode-assignable-expression/download/@babel/helper-explode-assignable-expression-7.7.4.tgz#fa700878e008d85dc51ba43e9fb835cddfe05c84" resolved "https://registry.npm.taobao.org/@babel/helper-explode-assignable-expression/download/@babel/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982"
integrity sha1-+nAIeOAI2F3FG6Q+n7g1zd/gXIQ= integrity sha1-pyjcW06J4w/C38fQT6KKkwZT+YI=
dependencies: dependencies:
"@babel/traverse" "^7.7.4" "@babel/traverse" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-function-name@^7.7.4": "@babel/helper-function-name@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-function-name/download/@babel/helper-function-name-7.7.4.tgz?cache=0&sync_timestamp=1574465949765&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-function-name%2Fdownload%2F%40babel%2Fhelper-function-name-7.7.4.tgz#ab6e041e7135d436d8f0a3eca15de5b67a341a2e" resolved "https://registry.npm.taobao.org/@babel/helper-function-name/download/@babel/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca"
integrity sha1-q24EHnE11DbY8KPsoV3ltno0Gi4= integrity sha1-7utmWgGx8RBo6fuGrVahyxqCTMo=
dependencies: dependencies:
"@babel/helper-get-function-arity" "^7.7.4" "@babel/helper-get-function-arity" "^7.8.3"
"@babel/template" "^7.7.4" "@babel/template" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-get-function-arity@^7.7.4": "@babel/helper-get-function-arity@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-get-function-arity/download/@babel/helper-get-function-arity-7.7.4.tgz#cb46348d2f8808e632f0ab048172130e636005f0" resolved "https://registry.npm.taobao.org/@babel/helper-get-function-arity/download/@babel/helper-get-function-arity-7.8.3.tgz?cache=0&sync_timestamp=1578951938166&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-get-function-arity%2Fdownload%2F%40babel%2Fhelper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5"
integrity sha1-y0Y0jS+ICOYy8KsEgXITDmNgBfA= integrity sha1-uJS5R70AQ4HOY+odufCFR+kgq9U=
dependencies: dependencies:
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-hoist-variables@^7.7.4": "@babel/helper-hoist-variables@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-hoist-variables/download/@babel/helper-hoist-variables-7.7.4.tgz?cache=0&sync_timestamp=1574466436965&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-hoist-variables%2Fdownload%2F%40babel%2Fhelper-hoist-variables-7.7.4.tgz#612384e3d823fdfaaf9fce31550fe5d4db0f3d12" resolved "https://registry.npm.taobao.org/@babel/helper-hoist-variables/download/@babel/helper-hoist-variables-7.8.3.tgz#1dbe9b6b55d78c9b4183fc8cdc6e30ceb83b7134"
integrity sha1-YSOE49gj/fqvn84xVQ/l1NsPPRI= integrity sha1-Hb6ba1XXjJtBg/yM3G4wzrg7cTQ=
dependencies: dependencies:
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-member-expression-to-functions@^7.7.4": "@babel/helper-member-expression-to-functions@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-member-expression-to-functions/download/@babel/helper-member-expression-to-functions-7.7.4.tgz#356438e2569df7321a8326644d4b790d2122cb74" resolved "https://registry.npm.taobao.org/@babel/helper-member-expression-to-functions/download/@babel/helper-member-expression-to-functions-7.8.3.tgz?cache=0&sync_timestamp=1578951939517&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-member-expression-to-functions%2Fdownload%2F%40babel%2Fhelper-member-expression-to-functions-7.8.3.tgz#659b710498ea6c1d9907e0c73f206eee7dadc24c"
integrity sha1-NWQ44lad9zIagyZkTUt5DSEiy3Q= integrity sha1-ZZtxBJjqbB2ZB+DHPyBu7n2twkw=
dependencies: dependencies:
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-module-imports@^7.7.4": "@babel/helper-module-imports@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-module-imports/download/@babel/helper-module-imports-7.7.4.tgz?cache=0&sync_timestamp=1574466791934&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-module-imports%2Fdownload%2F%40babel%2Fhelper-module-imports-7.7.4.tgz#e5a92529f8888bf319a6376abfbd1cebc491ad91" resolved "https://registry.npm.taobao.org/@babel/helper-module-imports/download/@babel/helper-module-imports-7.8.3.tgz#7fe39589b39c016331b6b8c3f441e8f0b1419498"
integrity sha1-5aklKfiIi/MZpjdqv70c68SRrZE= integrity sha1-f+OVibOcAWMxtrjD9EHo8LFBlJg=
dependencies: dependencies:
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-module-transforms@^7.7.4": "@babel/helper-module-transforms@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-module-transforms/download/@babel/helper-module-transforms-7.7.4.tgz?cache=0&sync_timestamp=1574466794841&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-module-transforms%2Fdownload%2F%40babel%2Fhelper-module-transforms-7.7.4.tgz#8d7cdb1e1f8ea3d8c38b067345924ac4f8e0879a" resolved "https://registry.npm.taobao.org/@babel/helper-module-transforms/download/@babel/helper-module-transforms-7.8.3.tgz#d305e35d02bee720fbc2c3c3623aa0c316c01590"
integrity sha1-jXzbHh+Oo9jDiwZzRZJKxPjgh5o= integrity sha1-0wXjXQK+5yD7wsPDYjqgwxbAFZA=
dependencies: dependencies:
"@babel/helper-module-imports" "^7.7.4" "@babel/helper-module-imports" "^7.8.3"
"@babel/helper-simple-access" "^7.7.4" "@babel/helper-simple-access" "^7.8.3"
"@babel/helper-split-export-declaration" "^7.7.4" "@babel/helper-split-export-declaration" "^7.8.3"
"@babel/template" "^7.7.4" "@babel/template" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
lodash "^4.17.13" lodash "^4.17.13"
"@babel/helper-optimise-call-expression@^7.7.4": "@babel/helper-optimise-call-expression@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-optimise-call-expression/download/@babel/helper-optimise-call-expression-7.7.4.tgz#034af31370d2995242aa4df402c3b7794b2dcdf2" resolved "https://registry.npm.taobao.org/@babel/helper-optimise-call-expression/download/@babel/helper-optimise-call-expression-7.8.3.tgz?cache=0&sync_timestamp=1578951937431&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-optimise-call-expression%2Fdownload%2F%40babel%2Fhelper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9"
integrity sha1-A0rzE3DSmVJCqk30AsO3eUstzfI= integrity sha1-ftBxgT0Jx1KY708giVYAa2ER7Lk=
dependencies: dependencies:
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-plugin-utils@^7.0.0": "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3":
version "7.0.0" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-plugin-utils/download/@babel/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250" resolved "https://registry.npm.taobao.org/@babel/helper-plugin-utils/download/@babel/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670"
integrity sha1-u7P77phmHFaQNCN8wDlnupm08lA= integrity sha1-nqKTvhm6vA9S/4yoizTDYRsghnA=
"@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.4": "@babel/helper-regex@^7.8.3":
version "7.5.5" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-regex/download/@babel/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351" resolved "https://registry.npm.taobao.org/@babel/helper-regex/download/@babel/helper-regex-7.8.3.tgz?cache=0&sync_timestamp=1578951938163&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-regex%2Fdownload%2F%40babel%2Fhelper-regex-7.8.3.tgz#139772607d51b93f23effe72105b319d2a4c6965"
integrity sha1-CqaCT3EAouDonBUnwjk2wVLKs1E= integrity sha1-E5dyYH1RuT8j7/5yEFsxnSpMaWU=
dependencies: dependencies:
lodash "^4.17.13" lodash "^4.17.13"
"@babel/helper-remap-async-to-generator@^7.7.4": "@babel/helper-remap-async-to-generator@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-remap-async-to-generator/download/@babel/helper-remap-async-to-generator-7.7.4.tgz?cache=0&sync_timestamp=1574466799754&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-remap-async-to-generator%2Fdownload%2F%40babel%2Fhelper-remap-async-to-generator-7.7.4.tgz#c68c2407350d9af0e061ed6726afb4fff16d0234" resolved "https://registry.npm.taobao.org/@babel/helper-remap-async-to-generator/download/@babel/helper-remap-async-to-generator-7.8.3.tgz#273c600d8b9bf5006142c1e35887d555c12edd86"
integrity sha1-xowkBzUNmvDgYe1nJq+0//FtAjQ= integrity sha1-JzxgDYub9QBhQsHjWIfVVcEu3YY=
dependencies: dependencies:
"@babel/helper-annotate-as-pure" "^7.7.4" "@babel/helper-annotate-as-pure" "^7.8.3"
"@babel/helper-wrap-function" "^7.7.4" "@babel/helper-wrap-function" "^7.8.3"
"@babel/template" "^7.7.4" "@babel/template" "^7.8.3"
"@babel/traverse" "^7.7.4" "@babel/traverse" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-replace-supers@^7.7.4": "@babel/helper-replace-supers@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-replace-supers/download/@babel/helper-replace-supers-7.7.4.tgz#3c881a6a6a7571275a72d82e6107126ec9e2cdd2" resolved "https://registry.npm.taobao.org/@babel/helper-replace-supers/download/@babel/helper-replace-supers-7.8.3.tgz#91192d25f6abbcd41da8a989d4492574fb1530bc"
integrity sha1-PIgaamp1cSdactguYQcSbsnizdI= integrity sha1-kRktJfarvNQdqKmJ1EkldPsVMLw=
dependencies: dependencies:
"@babel/helper-member-expression-to-functions" "^7.7.4" "@babel/helper-member-expression-to-functions" "^7.8.3"
"@babel/helper-optimise-call-expression" "^7.7.4" "@babel/helper-optimise-call-expression" "^7.8.3"
"@babel/traverse" "^7.7.4" "@babel/traverse" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-simple-access@^7.7.4": "@babel/helper-simple-access@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-simple-access/download/@babel/helper-simple-access-7.7.4.tgz#a169a0adb1b5f418cfc19f22586b2ebf58a9a294" resolved "https://registry.npm.taobao.org/@babel/helper-simple-access/download/@babel/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae"
integrity sha1-oWmgrbG19BjPwZ8iWGsuv1ipopQ= integrity sha1-f4EJkotNq0ZUB2mGr1dSMd62Oa4=
dependencies: dependencies:
"@babel/template" "^7.7.4" "@babel/template" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-split-export-declaration@^7.7.4": "@babel/helper-split-export-declaration@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-split-export-declaration/download/@babel/helper-split-export-declaration-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-split-export-declaration%2Fdownload%2F%40babel%2Fhelper-split-export-declaration-7.7.4.tgz#57292af60443c4a3622cf74040ddc28e68336fd8" resolved "https://registry.npm.taobao.org/@babel/helper-split-export-declaration/download/@babel/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9"
integrity sha1-Vykq9gRDxKNiLPdAQN3Cjmgzb9g= integrity sha1-ManzAHD5E2inGCzwX4MXgQZfx6k=
dependencies: dependencies:
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helper-wrap-function@^7.7.4": "@babel/helper-wrap-function@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-wrap-function/download/@babel/helper-wrap-function-7.7.4.tgz?cache=0&sync_timestamp=1574466796638&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-wrap-function%2Fdownload%2F%40babel%2Fhelper-wrap-function-7.7.4.tgz#37ab7fed5150e22d9d7266e830072c0cdd8baace" resolved "https://registry.npm.taobao.org/@babel/helper-wrap-function/download/@babel/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610"
integrity sha1-N6t/7VFQ4i2dcmboMAcsDN2Lqs4= integrity sha1-nb2yu1XvFKqgH+jJm2Kb1TUthhA=
dependencies: dependencies:
"@babel/helper-function-name" "^7.7.4" "@babel/helper-function-name" "^7.8.3"
"@babel/template" "^7.7.4" "@babel/template" "^7.8.3"
"@babel/traverse" "^7.7.4" "@babel/traverse" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/helpers@^7.7.4": "@babel/helpers@^7.8.4":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/helpers/download/@babel/helpers-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelpers%2Fdownload%2F%40babel%2Fhelpers-7.7.4.tgz#62c215b9e6c712dadc15a9a0dcab76c92a940302" resolved "https://registry.npm.taobao.org/@babel/helpers/download/@babel/helpers-7.8.4.tgz?cache=0&sync_timestamp=1580388006568&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelpers%2Fdownload%2F%40babel%2Fhelpers-7.8.4.tgz#754eb3ee727c165e0a240d6c207de7c455f36f73"
integrity sha1-YsIVuebHEtrcFamg3Kt2ySqUAwI= integrity sha1-dU6z7nJ8Fl4KJA1sIH3nxFXzb3M=
dependencies: dependencies:
"@babel/template" "^7.7.4" "@babel/template" "^7.8.3"
"@babel/traverse" "^7.7.4" "@babel/traverse" "^7.8.4"
"@babel/types" "^7.7.4" "@babel/types" "^7.8.3"
"@babel/highlight@^7.0.0": "@babel/highlight@^7.8.3":
version "7.5.0" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/highlight/download/@babel/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540" resolved "https://registry.npm.taobao.org/@babel/highlight/download/@babel/highlight-7.8.3.tgz?cache=0&sync_timestamp=1578951935730&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhighlight%2Fdownload%2F%40babel%2Fhighlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797"
integrity sha1-VtETEr2SSPphlZHQJHK+boyzJUA= integrity sha1-KPFz0EIj6qpZvB1Dmjg25tEmV5c=
dependencies: dependencies:
chalk "^2.0.0" chalk "^2.0.0"
esutils "^2.0.2" esutils "^2.0.2"
js-tokens "^4.0.0" js-tokens "^4.0.0"
"@babel/parser@^7.7.4": "@babel/parser@^7.8.3", "@babel/parser@^7.8.4":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.7.4.tgz#75ab2d7110c2cf2fa949959afb05fa346d2231bb" resolved "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.8.4.tgz?cache=0&sync_timestamp=1580387974017&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8"
integrity sha1-dastcRDCzy+pSZWa+wX6NG0iMbs= integrity sha1-0dvmRpHWA1ipdClfpT2gdN0s6Og=
"@babel/plugin-proposal-async-generator-functions@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-async-generator-functions/download/@babel/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f"
integrity sha1-utMpxnCzgliXIbJ1QMfSiGAcbm8=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/helper-remap-async-to-generator" "^7.8.3"
"@babel/plugin-syntax-async-generators" "^7.8.0"
"@babel/plugin-proposal-dynamic-import@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-dynamic-import/download/@babel/plugin-proposal-dynamic-import-7.8.3.tgz#38c4fe555744826e97e2ae930b0fb4cc07e66054"
integrity sha1-OMT+VVdEgm6X4q6TCw+0zAfmYFQ=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-syntax-dynamic-import" "^7.8.0"
"@babel/plugin-proposal-json-strings@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-json-strings/download/@babel/plugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b"
integrity sha1-2lIWsjipi1ih4F1oUhBLEPmnDWs=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-syntax-json-strings" "^7.8.0"
"@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-nullish-coalescing-operator/download/@babel/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz#e4572253fdeed65cddeecfdab3f928afeb2fd5d2"
integrity sha1-5FciU/3u1lzd7s/as/kor+sv1dI=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0"
"@babel/plugin-proposal-async-generator-functions@^7.7.4": "@babel/plugin-proposal-object-rest-spread@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-async-generator-functions/download/@babel/plugin-proposal-async-generator-functions-7.7.4.tgz?cache=0&sync_timestamp=1574466801807&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-async-generator-functions%2Fdownload%2F%40babel%2Fplugin-proposal-async-generator-functions-7.7.4.tgz#0351c5ac0a9e927845fffd5b82af476947b7ce6d" resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-object-rest-spread/download/@babel/plugin-proposal-object-rest-spread-7.8.3.tgz#eb5ae366118ddca67bed583b53d7554cad9951bb"
integrity sha1-A1HFrAqeknhF//1bgq9HaUe3zm0= integrity sha1-61rjZhGN3KZ77Vg7U9dVTK2ZUbs=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/helper-remap-async-to-generator" "^7.7.4" "@babel/plugin-syntax-object-rest-spread" "^7.8.0"
"@babel/plugin-syntax-async-generators" "^7.7.4"
"@babel/plugin-proposal-dynamic-import@^7.7.4": "@babel/plugin-proposal-optional-catch-binding@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-dynamic-import/download/@babel/plugin-proposal-dynamic-import-7.7.4.tgz#dde64a7f127691758cbfed6cf70de0fa5879d52d" resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-catch-binding/download/@babel/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9"
integrity sha1-3eZKfxJ2kXWMv+1s9w3g+lh51S0= integrity sha1-ne6WqxZQ7tiGRq6XNMoWesSpxck=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-syntax-dynamic-import" "^7.7.4" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0"
"@babel/plugin-proposal-json-strings@^7.7.4": "@babel/plugin-proposal-optional-chaining@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-json-strings/download/@babel/plugin-proposal-json-strings-7.7.4.tgz?cache=0&sync_timestamp=1574466787739&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-json-strings%2Fdownload%2F%40babel%2Fplugin-proposal-json-strings-7.7.4.tgz#7700a6bfda771d8dc81973249eac416c6b4c697d" resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-chaining/download/@babel/plugin-proposal-optional-chaining-7.8.3.tgz#ae10b3214cb25f7adb1f3bc87ba42ca10b7e2543"
integrity sha1-dwCmv9p3HY3IGXMknqxBbGtMaX0= integrity sha1-rhCzIUyyX3rbHzvIe6QsoQt+JUM=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-syntax-json-strings" "^7.7.4" "@babel/plugin-syntax-optional-chaining" "^7.8.0"
"@babel/plugin-proposal-object-rest-spread@^7.7.4": "@babel/plugin-proposal-unicode-property-regex@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-object-rest-spread/download/@babel/plugin-proposal-object-rest-spread-7.7.4.tgz#cc57849894a5c774214178c8ab64f6334ec8af71" resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-unicode-property-regex/download/@babel/plugin-proposal-unicode-property-regex-7.8.3.tgz#b646c3adea5f98800c9ab45105ac34d06cd4a47f"
integrity sha1-zFeEmJSlx3QhQXjIq2T2M07Ir3E= integrity sha1-tkbDrepfmIAMmrRRBaw00GzUpH8=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-create-regexp-features-plugin" "^7.8.3"
"@babel/plugin-syntax-object-rest-spread" "^7.7.4" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-proposal-optional-catch-binding@^7.7.4": "@babel/plugin-syntax-async-generators@^7.8.0":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-catch-binding/download/@babel/plugin-proposal-optional-catch-binding-7.7.4.tgz#ec21e8aeb09ec6711bc0a39ca49520abee1de379" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-async-generators/download/@babel/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d"
integrity sha1-7CHorrCexnEbwKOcpJUgq+4d43k= integrity sha1-qYP7Gusuw/btBCohD2QOkOeG/g0=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.0"
"@babel/plugin-syntax-optional-catch-binding" "^7.7.4"
"@babel/plugin-proposal-unicode-property-regex@^7.7.4": "@babel/plugin-syntax-dynamic-import@^7.8.0":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-unicode-property-regex/download/@babel/plugin-proposal-unicode-property-regex-7.7.4.tgz#7c239ccaf09470dbe1d453d50057460e84517ebb" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-dynamic-import/download/@babel/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3"
integrity sha1-fCOcyvCUcNvh1FPVAFdGDoRRfrs= integrity sha1-Yr+Ysto80h1iYVT8lu5bPLaOrLM=
dependencies: dependencies:
"@babel/helper-create-regexp-features-plugin" "^7.7.4" "@babel/helper-plugin-utils" "^7.8.0"
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-async-generators@^7.7.4": "@babel/plugin-syntax-json-strings@^7.8.0":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-async-generators/download/@babel/plugin-syntax-async-generators-7.7.4.tgz?cache=0&sync_timestamp=1574466720107&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-async-generators%2Fdownload%2F%40babel%2Fplugin-syntax-async-generators-7.7.4.tgz#331aaf310a10c80c44a66b238b6e49132bd3c889" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-json-strings/download/@babel/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a"
integrity sha1-MxqvMQoQyAxEpmsji25JEyvTyIk= integrity sha1-AcohtmjNghjJ5kDLbdiMVBKyyWo=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.0"
"@babel/plugin-syntax-dynamic-import@^7.7.4": "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-dynamic-import/download/@babel/plugin-syntax-dynamic-import-7.7.4.tgz#29ca3b4415abfe4a5ec381e903862ad1a54c3aec" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-nullish-coalescing-operator/download/@babel/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9"
integrity sha1-Kco7RBWr/kpew4HpA4Yq0aVMOuw= integrity sha1-Fn7XA2iIYIH3S1w2xlqIwDtm0ak=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.0"
"@babel/plugin-syntax-json-strings@^7.7.4": "@babel/plugin-syntax-object-rest-spread@^7.8.0":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-json-strings/download/@babel/plugin-syntax-json-strings-7.7.4.tgz#86e63f7d2e22f9e27129ac4e83ea989a382e86cc" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-object-rest-spread/download/@babel/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871"
integrity sha1-huY/fS4i+eJxKaxOg+qYmjguhsw= integrity sha1-YOIl7cvZimQDMqLnLdPmbxr1WHE=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.0"
"@babel/plugin-syntax-object-rest-spread@^7.7.4": "@babel/plugin-syntax-optional-catch-binding@^7.8.0":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-object-rest-spread/download/@babel/plugin-syntax-object-rest-spread-7.7.4.tgz?cache=0&sync_timestamp=1574465586766&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-object-rest-spread%2Fdownload%2F%40babel%2Fplugin-syntax-object-rest-spread-7.7.4.tgz#47cf220d19d6d0d7b154304701f468fc1cc6ff46" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-optional-catch-binding/download/@babel/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1"
integrity sha1-R88iDRnW0NexVDBHAfRo/BzG/0Y= integrity sha1-YRGiZbz7Ag6579D9/X0mQCue1sE=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.0"
"@babel/plugin-syntax-optional-catch-binding@^7.7.4": "@babel/plugin-syntax-optional-chaining@^7.8.0":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-optional-catch-binding/download/@babel/plugin-syntax-optional-catch-binding-7.7.4.tgz#a3e38f59f4b6233867b4a92dcb0ee05b2c334aa6" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-optional-chaining/download/@babel/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a"
integrity sha1-o+OPWfS2IzhntKktyw7gWywzSqY= integrity sha1-T2nCq5UWfgGAzVM2YT+MV4j31Io=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.0"
"@babel/plugin-syntax-top-level-await@^7.7.4": "@babel/plugin-syntax-top-level-await@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-top-level-await/download/@babel/plugin-syntax-top-level-await-7.7.4.tgz?cache=0&sync_timestamp=1574466726312&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-top-level-await%2Fdownload%2F%40babel%2Fplugin-syntax-top-level-await-7.7.4.tgz#bd7d8fa7b9fee793a36e4027fd6dd1aa32f946da" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-top-level-await/download/@babel/plugin-syntax-top-level-await-7.8.3.tgz?cache=0&sync_timestamp=1578951935611&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-top-level-await%2Fdownload%2F%40babel%2Fplugin-syntax-top-level-await-7.8.3.tgz#3acdece695e6b13aaf57fc291d1a800950c71391"
integrity sha1-vX2Pp7n+55OjbkAn/W3RqjL5Rto= integrity sha1-Os3s5pXmsTqvV/wpHRqACVDHE5E=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-arrow-functions@^7.7.4": "@babel/plugin-transform-arrow-functions@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-arrow-functions/download/@babel/plugin-transform-arrow-functions-7.7.4.tgz#76309bd578addd8aee3b379d809c802305a98a12" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-arrow-functions/download/@babel/plugin-transform-arrow-functions-7.8.3.tgz?cache=0&sync_timestamp=1578951935848&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-arrow-functions%2Fdownload%2F%40babel%2Fplugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6"
integrity sha1-djCb1Xit3YruOzedgJyAIwWpihI= integrity sha1-gndsLtDNnhpJlW2uuJYCTJRzuLY=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-async-to-generator@^7.7.4": "@babel/plugin-transform-async-to-generator@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-async-to-generator/download/@babel/plugin-transform-async-to-generator-7.7.4.tgz?cache=0&sync_timestamp=1574466801013&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-async-to-generator%2Fdownload%2F%40babel%2Fplugin-transform-async-to-generator-7.7.4.tgz#694cbeae6d613a34ef0292713fa42fb45c4470ba" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-async-to-generator/download/@babel/plugin-transform-async-to-generator-7.8.3.tgz#4308fad0d9409d71eafb9b1a6ee35f9d64b64086"
integrity sha1-aUy+rm1hOjTvApJxP6QvtFxEcLo= integrity sha1-Qwj60NlAnXHq+5sabuNfnWS2QIY=
dependencies: dependencies:
"@babel/helper-module-imports" "^7.7.4" "@babel/helper-module-imports" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/helper-remap-async-to-generator" "^7.7.4" "@babel/helper-remap-async-to-generator" "^7.8.3"
"@babel/plugin-transform-block-scoped-functions@^7.7.4": "@babel/plugin-transform-block-scoped-functions@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoped-functions/download/@babel/plugin-transform-block-scoped-functions-7.7.4.tgz#d0d9d5c269c78eaea76227ace214b8d01e4d837b" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoped-functions/download/@babel/plugin-transform-block-scoped-functions-7.8.3.tgz?cache=0&sync_timestamp=1578951934748&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-block-scoped-functions%2Fdownload%2F%40babel%2Fplugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3"
integrity sha1-0NnVwmnHjq6nYies4hS40B5Ng3s= integrity sha1-Q37sW3mbWFIHIISzrl72boNJ6KM=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-block-scoping@^7.7.4": "@babel/plugin-transform-block-scoping@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoping/download/@babel/plugin-transform-block-scoping-7.7.4.tgz#200aad0dcd6bb80372f94d9e628ea062c58bf224" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoping/download/@babel/plugin-transform-block-scoping-7.8.3.tgz?cache=0&sync_timestamp=1578951934401&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-block-scoping%2Fdownload%2F%40babel%2Fplugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a"
integrity sha1-IAqtDc1ruANy+U2eYo6gYsWL8iQ= integrity sha1-l9Ndq2aFekN8FmNYuR0JBQyGjzo=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
lodash "^4.17.13" lodash "^4.17.13"
"@babel/plugin-transform-classes@^7.7.4": "@babel/plugin-transform-classes@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-classes/download/@babel/plugin-transform-classes-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-classes%2Fdownload%2F%40babel%2Fplugin-transform-classes-7.7.4.tgz#c92c14be0a1399e15df72667067a8f510c9400ec" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-classes/download/@babel/plugin-transform-classes-7.8.3.tgz#46fd7a9d2bb9ea89ce88720477979fe0d71b21b8"
integrity sha1-ySwUvgoTmeFd9yZnBnqPUQyUAOw= integrity sha1-Rv16nSu56onOiHIEd5ef4NcbIbg=
dependencies: dependencies:
"@babel/helper-annotate-as-pure" "^7.7.4" "@babel/helper-annotate-as-pure" "^7.8.3"
"@babel/helper-define-map" "^7.7.4" "@babel/helper-define-map" "^7.8.3"
"@babel/helper-function-name" "^7.7.4" "@babel/helper-function-name" "^7.8.3"
"@babel/helper-optimise-call-expression" "^7.7.4" "@babel/helper-optimise-call-expression" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/helper-replace-supers" "^7.7.4" "@babel/helper-replace-supers" "^7.8.3"
"@babel/helper-split-export-declaration" "^7.7.4" "@babel/helper-split-export-declaration" "^7.8.3"
globals "^11.1.0" globals "^11.1.0"
"@babel/plugin-transform-computed-properties@^7.7.4": "@babel/plugin-transform-computed-properties@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-computed-properties/download/@babel/plugin-transform-computed-properties-7.7.4.tgz#e856c1628d3238ffe12d668eb42559f79a81910d" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-computed-properties/download/@babel/plugin-transform-computed-properties-7.8.3.tgz?cache=0&sync_timestamp=1578951933993&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-computed-properties%2Fdownload%2F%40babel%2Fplugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b"
integrity sha1-6FbBYo0yOP/hLWaOtCVZ95qBkQ0= integrity sha1-ltDSi3985OtbEguy4OlDNDyG+Bs=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-destructuring@^7.7.4": "@babel/plugin-transform-destructuring@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-destructuring/download/@babel/plugin-transform-destructuring-7.7.4.tgz?cache=0&sync_timestamp=1574466725567&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-destructuring%2Fdownload%2F%40babel%2Fplugin-transform-destructuring-7.7.4.tgz#2b713729e5054a1135097b6a67da1b6fe8789267" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-destructuring/download/@babel/plugin-transform-destructuring-7.8.3.tgz?cache=0&sync_timestamp=1578951936021&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-destructuring%2Fdownload%2F%40babel%2Fplugin-transform-destructuring-7.8.3.tgz#20ddfbd9e4676906b1056ee60af88590cc7aaa0b"
integrity sha1-K3E3KeUFShE1CXtqZ9obb+h4kmc= integrity sha1-IN372eRnaQaxBW7mCviFkMx6qgs=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-dotall-regex@^7.7.4": "@babel/plugin-transform-dotall-regex@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-dotall-regex/download/@babel/plugin-transform-dotall-regex-7.7.4.tgz#f7ccda61118c5b7a2599a72d5e3210884a021e96" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-dotall-regex/download/@babel/plugin-transform-dotall-regex-7.8.3.tgz#c3c6ec5ee6125c6993c5cbca20dc8621a9ea7a6e"
integrity sha1-98zaYRGMW3olmactXjIQiEoCHpY= integrity sha1-w8bsXuYSXGmTxcvKINyGIanqem4=
dependencies: dependencies:
"@babel/helper-create-regexp-features-plugin" "^7.7.4" "@babel/helper-create-regexp-features-plugin" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-duplicate-keys@^7.7.4": "@babel/plugin-transform-duplicate-keys@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-duplicate-keys/download/@babel/plugin-transform-duplicate-keys-7.7.4.tgz#3d21731a42e3f598a73835299dd0169c3b90ac91" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-duplicate-keys/download/@babel/plugin-transform-duplicate-keys-7.8.3.tgz?cache=0&sync_timestamp=1578951935457&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-duplicate-keys%2Fdownload%2F%40babel%2Fplugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1"
integrity sha1-PSFzGkLj9ZinODUpndAWnDuQrJE= integrity sha1-jRLfMJqlN/JyiZxWXqF2jihuIfE=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-exponentiation-operator@^7.7.4": "@babel/plugin-transform-exponentiation-operator@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-exponentiation-operator/download/@babel/plugin-transform-exponentiation-operator-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-exponentiation-operator%2Fdownload%2F%40babel%2Fplugin-transform-exponentiation-operator-7.7.4.tgz#dd30c0191e3a1ba19bcc7e389bdfddc0729d5db9" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-exponentiation-operator/download/@babel/plugin-transform-exponentiation-operator-7.8.3.tgz#581a6d7f56970e06bf51560cd64f5e947b70d7b7"
integrity sha1-3TDAGR46G6GbzH44m9/dwHKdXbk= integrity sha1-WBptf1aXDga/UVYM1k9elHtw17c=
dependencies: dependencies:
"@babel/helper-builder-binary-assignment-operator-visitor" "^7.7.4" "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-for-of@^7.7.4": "@babel/plugin-transform-for-of@^7.8.4":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-for-of/download/@babel/plugin-transform-for-of-7.7.4.tgz?cache=0&sync_timestamp=1574466725758&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-for-of%2Fdownload%2F%40babel%2Fplugin-transform-for-of-7.7.4.tgz#248800e3a5e507b1f103d8b4ca998e77c63932bc" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-for-of/download/@babel/plugin-transform-for-of-7.8.4.tgz?cache=0&sync_timestamp=1580387848578&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-for-of%2Fdownload%2F%40babel%2Fplugin-transform-for-of-7.8.4.tgz#6fe8eae5d6875086ee185dd0b098a8513783b47d"
integrity sha1-JIgA46XlB7HxA9i0ypmOd8Y5Mrw= integrity sha1-b+jq5daHUIbuGF3QsJioUTeDtH0=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-function-name@^7.7.4": "@babel/plugin-transform-function-name@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-function-name/download/@babel/plugin-transform-function-name-7.7.4.tgz#75a6d3303d50db638ff8b5385d12451c865025b1" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-function-name/download/@babel/plugin-transform-function-name-7.8.3.tgz#279373cb27322aaad67c2683e776dfc47196ed8b"
integrity sha1-dabTMD1Q22OP+LU4XRJFHIZQJbE= integrity sha1-J5NzyycyKqrWfCaD53bfxHGW7Ys=
dependencies: dependencies:
"@babel/helper-function-name" "^7.7.4" "@babel/helper-function-name" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-literals@^7.7.4": "@babel/plugin-transform-literals@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-literals/download/@babel/plugin-transform-literals-7.7.4.tgz#27fe87d2b5017a2a5a34d1c41a6b9f6a6262643e" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-literals/download/@babel/plugin-transform-literals-7.8.3.tgz?cache=0&sync_timestamp=1578951935103&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-literals%2Fdownload%2F%40babel%2Fplugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1"
integrity sha1-J/6H0rUBeipaNNHEGmufamJiZD4= integrity sha1-rvI5gj2RmU7Hto5VGTUl1229XcE=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-member-expression-literals@^7.7.4": "@babel/plugin-transform-member-expression-literals@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-member-expression-literals/download/@babel/plugin-transform-member-expression-literals-7.7.4.tgz?cache=0&sync_timestamp=1574466727087&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-member-expression-literals%2Fdownload%2F%40babel%2Fplugin-transform-member-expression-literals-7.7.4.tgz#aee127f2f3339fc34ce5e3055d7ffbf7aa26f19a" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-member-expression-literals/download/@babel/plugin-transform-member-expression-literals-7.8.3.tgz?cache=0&sync_timestamp=1578951935289&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-member-expression-literals%2Fdownload%2F%40babel%2Fplugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410"
integrity sha1-ruEn8vMzn8NM5eMFXX/796om8Zo= integrity sha1-lj/tS2IKx8v2Apx1VCQCn6OkBBA=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-modules-amd@^7.7.4": "@babel/plugin-transform-modules-amd@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-amd/download/@babel/plugin-transform-modules-amd-7.7.4.tgz?cache=0&sync_timestamp=1574466795415&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-amd%2Fdownload%2F%40babel%2Fplugin-transform-modules-amd-7.7.4.tgz#276b3845ca2b228f2995e453adc2e6f54d72fb71" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-amd/download/@babel/plugin-transform-modules-amd-7.8.3.tgz#65606d44616b50225e76f5578f33c568a0b876a5"
integrity sha1-J2s4RcorIo8pleRTrcLm9U1y+3E= integrity sha1-ZWBtRGFrUCJedvVXjzPFaKC4dqU=
dependencies: dependencies:
"@babel/helper-module-transforms" "^7.7.4" "@babel/helper-module-transforms" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
babel-plugin-dynamic-import-node "^2.3.0" babel-plugin-dynamic-import-node "^2.3.0"
"@babel/plugin-transform-modules-commonjs@^7.7.4": "@babel/plugin-transform-modules-commonjs@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-commonjs/download/@babel/plugin-transform-modules-commonjs-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-commonjs%2Fdownload%2F%40babel%2Fplugin-transform-modules-commonjs-7.7.4.tgz#bee4386e550446343dd52a571eda47851ff857a3" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-commonjs/download/@babel/plugin-transform-modules-commonjs-7.8.3.tgz#df251706ec331bd058a34bdd72613915f82928a5"
integrity sha1-vuQ4blUERjQ91SpXHtpHhR/4V6M= integrity sha1-3yUXBuwzG9BYo0vdcmE5FfgpKKU=
dependencies: dependencies:
"@babel/helper-module-transforms" "^7.7.4" "@babel/helper-module-transforms" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/helper-simple-access" "^7.7.4" "@babel/helper-simple-access" "^7.8.3"
babel-plugin-dynamic-import-node "^2.3.0" babel-plugin-dynamic-import-node "^2.3.0"
"@babel/plugin-transform-modules-systemjs@^7.7.4": "@babel/plugin-transform-modules-systemjs@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-systemjs/download/@babel/plugin-transform-modules-systemjs-7.7.4.tgz?cache=0&sync_timestamp=1574466794336&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-systemjs%2Fdownload%2F%40babel%2Fplugin-transform-modules-systemjs-7.7.4.tgz#cd98152339d3e763dfe838b7d4273edaf520bb30" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-systemjs/download/@babel/plugin-transform-modules-systemjs-7.8.3.tgz#d8bbf222c1dbe3661f440f2f00c16e9bb7d0d420"
integrity sha1-zZgVIznT52Pf6Di31Cc+2vUguzA= integrity sha1-2LvyIsHb42YfRA8vAMFum7fQ1CA=
dependencies: dependencies:
"@babel/helper-hoist-variables" "^7.7.4" "@babel/helper-hoist-variables" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-module-transforms" "^7.8.3"
"@babel/helper-plugin-utils" "^7.8.3"
babel-plugin-dynamic-import-node "^2.3.0" babel-plugin-dynamic-import-node "^2.3.0"
"@babel/plugin-transform-modules-umd@^7.7.4": "@babel/plugin-transform-modules-umd@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-umd/download/@babel/plugin-transform-modules-umd-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-umd%2Fdownload%2F%40babel%2Fplugin-transform-modules-umd-7.7.4.tgz#1027c355a118de0aae9fee00ad7813c584d9061f" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-umd/download/@babel/plugin-transform-modules-umd-7.8.3.tgz#592d578ce06c52f5b98b02f913d653ffe972661a"
integrity sha1-ECfDVaEY3gqun+4ArXgTxYTZBh8= integrity sha1-WS1XjOBsUvW5iwL5E9ZT/+lyZho=
dependencies: dependencies:
"@babel/helper-module-transforms" "^7.7.4" "@babel/helper-module-transforms" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-named-capturing-groups-regex@^7.7.4": "@babel/plugin-transform-named-capturing-groups-regex@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-named-capturing-groups-regex/download/@babel/plugin-transform-named-capturing-groups-regex-7.7.4.tgz#fb3bcc4ee4198e7385805007373d6b6f42c98220" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-named-capturing-groups-regex/download/@babel/plugin-transform-named-capturing-groups-regex-7.8.3.tgz#a2a72bffa202ac0e2d0506afd0939c5ecbc48c6c"
integrity sha1-+zvMTuQZjnOFgFAHNz1rb0LJgiA= integrity sha1-oqcr/6ICrA4tBQav0JOcXsvEjGw=
dependencies: dependencies:
"@babel/helper-create-regexp-features-plugin" "^7.7.4" "@babel/helper-create-regexp-features-plugin" "^7.8.3"
"@babel/plugin-transform-new-target@^7.7.4": "@babel/plugin-transform-new-target@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-new-target/download/@babel/plugin-transform-new-target-7.7.4.tgz#4a0753d2d60639437be07b592a9e58ee00720167" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-new-target/download/@babel/plugin-transform-new-target-7.8.3.tgz#60cc2ae66d85c95ab540eb34babb6434d4c70c43"
integrity sha1-SgdT0tYGOUN74HtZKp5Y7gByAWc= integrity sha1-YMwq5m2FyVq1QOs0urtkNNTHDEM=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-object-super@^7.7.4": "@babel/plugin-transform-object-super@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-object-super/download/@babel/plugin-transform-object-super-7.7.4.tgz?cache=0&sync_timestamp=1574466799479&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-object-super%2Fdownload%2F%40babel%2Fplugin-transform-object-super-7.7.4.tgz#48488937a2d586c0148451bf51af9d7dda567262" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-object-super/download/@babel/plugin-transform-object-super-7.8.3.tgz?cache=0&sync_timestamp=1578960811276&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-object-super%2Fdownload%2F%40babel%2Fplugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725"
integrity sha1-SEiJN6LVhsAUhFG/Ua+dfdpWcmI= integrity sha1-67ah56hv+paFi9asAQLWWUQmFyU=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/helper-replace-supers" "^7.7.4" "@babel/helper-replace-supers" "^7.8.3"
"@babel/plugin-transform-parameters@^7.7.4": "@babel/plugin-transform-parameters@^7.8.4":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-parameters/download/@babel/plugin-transform-parameters-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-parameters%2Fdownload%2F%40babel%2Fplugin-transform-parameters-7.7.4.tgz#da4555c97f39b51ac089d31c7380f03bca4075ce" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-parameters/download/@babel/plugin-transform-parameters-7.8.4.tgz?cache=0&sync_timestamp=1580387848572&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-parameters%2Fdownload%2F%40babel%2Fplugin-transform-parameters-7.8.4.tgz#1d5155de0b65db0ccf9971165745d3bb990d77d3"
integrity sha1-2kVVyX85tRrAidMcc4DwO8pAdc4= integrity sha1-HVFV3gtl2wzPmXEWV0XTu5kNd9M=
dependencies: dependencies:
"@babel/helper-call-delegate" "^7.7.4" "@babel/helper-call-delegate" "^7.8.3"
"@babel/helper-get-function-arity" "^7.7.4" "@babel/helper-get-function-arity" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-property-literals@^7.7.4": "@babel/plugin-transform-property-literals@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-property-literals/download/@babel/plugin-transform-property-literals-7.7.4.tgz#2388d6505ef89b266103f450f9167e6bd73f98c2" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-property-literals/download/@babel/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263"
integrity sha1-I4jWUF74myZhA/RQ+RZ+a9c/mMI= integrity sha1-MxlDANhTnB7SjGKtUIe6OAe5gmM=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-regenerator@^7.7.4": "@babel/plugin-transform-regenerator@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-regenerator/download/@babel/plugin-transform-regenerator-7.7.4.tgz#d18eac0312a70152d7d914cbed2dc3999601cfc0" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-regenerator/download/@babel/plugin-transform-regenerator-7.8.3.tgz?cache=0&sync_timestamp=1578951933842&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-regenerator%2Fdownload%2F%40babel%2Fplugin-transform-regenerator-7.8.3.tgz#b31031e8059c07495bf23614c97f3d9698bc6ec8"
integrity sha1-0Y6sAxKnAVLX2RTL7S3DmZYBz8A= integrity sha1-sxAx6AWcB0lb8jYUyX89lpi8bsg=
dependencies: dependencies:
regenerator-transform "^0.14.0" regenerator-transform "^0.14.0"
"@babel/plugin-transform-reserved-words@^7.7.4": "@babel/plugin-transform-reserved-words@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-reserved-words/download/@babel/plugin-transform-reserved-words-7.7.4.tgz#6a7cf123ad175bb5c69aec8f6f0770387ed3f1eb" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-reserved-words/download/@babel/plugin-transform-reserved-words-7.8.3.tgz?cache=0&sync_timestamp=1578951936369&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-reserved-words%2Fdownload%2F%40babel%2Fplugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5"
integrity sha1-anzxI60XW7XGmuyPbwdwOH7T8es= integrity sha1-mgY1rE5mXSmxYoN908xQdF398fU=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-shorthand-properties@^7.7.4": "@babel/plugin-transform-shorthand-properties@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-shorthand-properties/download/@babel/plugin-transform-shorthand-properties-7.7.4.tgz?cache=0&sync_timestamp=1574466426443&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-shorthand-properties%2Fdownload%2F%40babel%2Fplugin-transform-shorthand-properties-7.7.4.tgz#74a0a9b2f6d67a684c6fbfd5f0458eb7ba99891e" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-shorthand-properties/download/@babel/plugin-transform-shorthand-properties-7.8.3.tgz?cache=0&sync_timestamp=1578951936720&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-shorthand-properties%2Fdownload%2F%40babel%2Fplugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8"
integrity sha1-dKCpsvbWemhMb7/V8EWOt7qZiR4= integrity sha1-KFRSFuAjqDLU06EYXtSSvP6sCMg=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-spread@^7.7.4": "@babel/plugin-transform-spread@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-spread/download/@babel/plugin-transform-spread-7.7.4.tgz#aa673b356fe6b7e70d69b6e33a17fef641008578" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-spread/download/@babel/plugin-transform-spread-7.8.3.tgz#9c8ffe8170fdfb88b114ecb920b82fb6e95fe5e8"
integrity sha1-qmc7NW/mt+cNabbjOhf+9kEAhXg= integrity sha1-nI/+gXD9+4ixFOy5ILgvtulf5eg=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-sticky-regex@^7.7.4": "@babel/plugin-transform-sticky-regex@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-sticky-regex/download/@babel/plugin-transform-sticky-regex-7.7.4.tgz#ffb68c05090c30732076b1285dc1401b404a123c" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-sticky-regex/download/@babel/plugin-transform-sticky-regex-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-sticky-regex%2Fdownload%2F%40babel%2Fplugin-transform-sticky-regex-7.8.3.tgz#be7a1290f81dae767475452199e1f76d6175b100"
integrity sha1-/7aMBQkMMHMgdrEoXcFAG0BKEjw= integrity sha1-vnoSkPgdrnZ0dUUhmeH3bWF1sQA=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/helper-regex" "^7.0.0" "@babel/helper-regex" "^7.8.3"
"@babel/plugin-transform-template-literals@^7.7.4": "@babel/plugin-transform-template-literals@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-template-literals/download/@babel/plugin-transform-template-literals-7.7.4.tgz#1eb6411736dd3fe87dbd20cc6668e5121c17d604" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-template-literals/download/@babel/plugin-transform-template-literals-7.8.3.tgz#7bfa4732b455ea6a43130adc0ba767ec0e402a80"
integrity sha1-HrZBFzbdP+h9vSDMZmjlEhwX1gQ= integrity sha1-e/pHMrRV6mpDEwrcC6dn7A5AKoA=
dependencies: dependencies:
"@babel/helper-annotate-as-pure" "^7.7.4" "@babel/helper-annotate-as-pure" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-typeof-symbol@^7.7.4": "@babel/plugin-transform-typeof-symbol@^7.8.4":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-typeof-symbol/download/@babel/plugin-transform-typeof-symbol-7.7.4.tgz?cache=0&sync_timestamp=1574466426935&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-typeof-symbol%2Fdownload%2F%40babel%2Fplugin-transform-typeof-symbol-7.7.4.tgz#3174626214f2d6de322882e498a38e8371b2140e" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-typeof-symbol/download/@babel/plugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412"
integrity sha1-MXRiYhTy1t4yKILkmKOOg3GyFA4= integrity sha1-7eQGIxXOCq+KZXqSCFjxovNfxBI=
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-unicode-regex@^7.7.4": "@babel/plugin-transform-unicode-regex@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-unicode-regex/download/@babel/plugin-transform-unicode-regex-7.7.4.tgz#a3c0f65b117c4c81c5b6484f2a5e7b95346b83ae" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-unicode-regex/download/@babel/plugin-transform-unicode-regex-7.8.3.tgz#0cef36e3ba73e5c57273effb182f46b91a1ecaad"
integrity sha1-o8D2WxF8TIHFtkhPKl57lTRrg64= integrity sha1-DO8247pz5cVyc+/7GC9GuRoeyq0=
dependencies: dependencies:
"@babel/helper-create-regexp-features-plugin" "^7.7.4" "@babel/helper-create-regexp-features-plugin" "^7.8.3"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/preset-env@^7.7.4": "@babel/preset-env@^7.7.4":
version "7.7.4" version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/preset-env/download/@babel/preset-env-7.7.4.tgz#ccaf309ae8d1ee2409c85a4e2b5e280ceee830f8" resolved "https://registry.npm.taobao.org/@babel/preset-env/download/@babel/preset-env-7.8.4.tgz?cache=0&sync_timestamp=1580388072547&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fpreset-env%2Fdownload%2F%40babel%2Fpreset-env-7.8.4.tgz#9dac6df5f423015d3d49b6e9e5fa3413e4a72c4e"
integrity sha1-zK8wmujR7iQJyFpOK14oDO7oMPg= integrity sha1-naxt9fQjAV09Sbbp5fo0E+SnLE4=
dependencies: dependencies:
"@babel/helper-module-imports" "^7.7.4" "@babel/compat-data" "^7.8.4"
"@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-compilation-targets" "^7.8.4"
"@babel/plugin-proposal-async-generator-functions" "^7.7.4" "@babel/helper-module-imports" "^7.8.3"
"@babel/plugin-proposal-dynamic-import" "^7.7.4" "@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-proposal-json-strings" "^7.7.4" "@babel/plugin-proposal-async-generator-functions" "^7.8.3"
"@babel/plugin-proposal-object-rest-spread" "^7.7.4" "@babel/plugin-proposal-dynamic-import" "^7.8.3"
"@babel/plugin-proposal-optional-catch-binding" "^7.7.4" "@babel/plugin-proposal-json-strings" "^7.8.3"
"@babel/plugin-proposal-unicode-property-regex" "^7.7.4" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3"
"@babel/plugin-syntax-async-generators" "^7.7.4" "@babel/plugin-proposal-object-rest-spread" "^7.8.3"
"@babel/plugin-syntax-dynamic-import" "^7.7.4" "@babel/plugin-proposal-optional-catch-binding" "^7.8.3"
"@babel/plugin-syntax-json-strings" "^7.7.4" "@babel/plugin-proposal-optional-chaining" "^7.8.3"
"@babel/plugin-syntax-object-rest-spread" "^7.7.4" "@babel/plugin-proposal-unicode-property-regex" "^7.8.3"
"@babel/plugin-syntax-optional-catch-binding" "^7.7.4" "@babel/plugin-syntax-async-generators" "^7.8.0"
"@babel/plugin-syntax-top-level-await" "^7.7.4" "@babel/plugin-syntax-dynamic-import" "^7.8.0"
"@babel/plugin-transform-arrow-functions" "^7.7.4" "@babel/plugin-syntax-json-strings" "^7.8.0"
"@babel/plugin-transform-async-to-generator" "^7.7.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0"
"@babel/plugin-transform-block-scoped-functions" "^7.7.4" "@babel/plugin-syntax-object-rest-spread" "^7.8.0"
"@babel/plugin-transform-block-scoping" "^7.7.4" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0"
"@babel/plugin-transform-classes" "^7.7.4" "@babel/plugin-syntax-optional-chaining" "^7.8.0"
"@babel/plugin-transform-computed-properties" "^7.7.4" "@babel/plugin-syntax-top-level-await" "^7.8.3"
"@babel/plugin-transform-destructuring" "^7.7.4" "@babel/plugin-transform-arrow-functions" "^7.8.3"
"@babel/plugin-transform-dotall-regex" "^7.7.4" "@babel/plugin-transform-async-to-generator" "^7.8.3"
"@babel/plugin-transform-duplicate-keys" "^7.7.4" "@babel/plugin-transform-block-scoped-functions" "^7.8.3"
"@babel/plugin-transform-exponentiation-operator" "^7.7.4" "@babel/plugin-transform-block-scoping" "^7.8.3"
"@babel/plugin-transform-for-of" "^7.7.4" "@babel/plugin-transform-classes" "^7.8.3"
"@babel/plugin-transform-function-name" "^7.7.4" "@babel/plugin-transform-computed-properties" "^7.8.3"
"@babel/plugin-transform-literals" "^7.7.4" "@babel/plugin-transform-destructuring" "^7.8.3"
"@babel/plugin-transform-member-expression-literals" "^7.7.4" "@babel/plugin-transform-dotall-regex" "^7.8.3"
"@babel/plugin-transform-modules-amd" "^7.7.4" "@babel/plugin-transform-duplicate-keys" "^7.8.3"
"@babel/plugin-transform-modules-commonjs" "^7.7.4" "@babel/plugin-transform-exponentiation-operator" "^7.8.3"
"@babel/plugin-transform-modules-systemjs" "^7.7.4" "@babel/plugin-transform-for-of" "^7.8.4"
"@babel/plugin-transform-modules-umd" "^7.7.4" "@babel/plugin-transform-function-name" "^7.8.3"
"@babel/plugin-transform-named-capturing-groups-regex" "^7.7.4" "@babel/plugin-transform-literals" "^7.8.3"
"@babel/plugin-transform-new-target" "^7.7.4" "@babel/plugin-transform-member-expression-literals" "^7.8.3"
"@babel/plugin-transform-object-super" "^7.7.4" "@babel/plugin-transform-modules-amd" "^7.8.3"
"@babel/plugin-transform-parameters" "^7.7.4" "@babel/plugin-transform-modules-commonjs" "^7.8.3"
"@babel/plugin-transform-property-literals" "^7.7.4" "@babel/plugin-transform-modules-systemjs" "^7.8.3"
"@babel/plugin-transform-regenerator" "^7.7.4" "@babel/plugin-transform-modules-umd" "^7.8.3"
"@babel/plugin-transform-reserved-words" "^7.7.4" "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3"
"@babel/plugin-transform-shorthand-properties" "^7.7.4" "@babel/plugin-transform-new-target" "^7.8.3"
"@babel/plugin-transform-spread" "^7.7.4" "@babel/plugin-transform-object-super" "^7.8.3"
"@babel/plugin-transform-sticky-regex" "^7.7.4" "@babel/plugin-transform-parameters" "^7.8.4"
"@babel/plugin-transform-template-literals" "^7.7.4" "@babel/plugin-transform-property-literals" "^7.8.3"
"@babel/plugin-transform-typeof-symbol" "^7.7.4" "@babel/plugin-transform-regenerator" "^7.8.3"
"@babel/plugin-transform-unicode-regex" "^7.7.4" "@babel/plugin-transform-reserved-words" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/plugin-transform-shorthand-properties" "^7.8.3"
browserslist "^4.6.0" "@babel/plugin-transform-spread" "^7.8.3"
core-js-compat "^3.1.1" "@babel/plugin-transform-sticky-regex" "^7.8.3"
"@babel/plugin-transform-template-literals" "^7.8.3"
"@babel/plugin-transform-typeof-symbol" "^7.8.4"
"@babel/plugin-transform-unicode-regex" "^7.8.3"
"@babel/types" "^7.8.3"
browserslist "^4.8.5"
core-js-compat "^3.6.2"
invariant "^2.2.2" invariant "^2.2.2"
js-levenshtein "^1.1.3" levenary "^1.1.1"
semver "^5.5.0" semver "^5.5.0"
"@babel/runtime-corejs2@^7.2.0": "@babel/template@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/runtime-corejs2/download/@babel/runtime-corejs2-7.7.4.tgz#b9c2b1b5882762005785bc47740195a0ac780888" resolved "https://registry.npm.taobao.org/@babel/template/download/@babel/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8"
integrity sha1-ucKxtYgnYgBXhbxHdAGVoKx4CIg= integrity sha1-4CrQT+JipleAkyf1eAVsoV/U0bg=
dependencies: dependencies:
core-js "^2.6.5" "@babel/code-frame" "^7.8.3"
regenerator-runtime "^0.13.2" "@babel/parser" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/template@^7.7.4":
version "7.7.4" "@babel/traverse@^7.8.3", "@babel/traverse@^7.8.4":
resolved "https://registry.npm.taobao.org/@babel/template/download/@babel/template-7.7.4.tgz?cache=0&sync_timestamp=1574465948896&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftemplate%2Fdownload%2F%40babel%2Ftemplate-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b" version "7.8.4"
integrity sha1-Qop9nuz/4n3qwKmOI7+ONnXSp3s= resolved "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.8.4.tgz?cache=0&sync_timestamp=1580387975267&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftraverse%2Fdownload%2F%40babel%2Ftraverse-7.8.4.tgz#f0845822365f9d5b0e312ed3959d3f827f869e3c"
dependencies: integrity sha1-8IRYIjZfnVsOMS7TlZ0/gn+Gnjw=
"@babel/code-frame" "^7.0.0" dependencies:
"@babel/parser" "^7.7.4" "@babel/code-frame" "^7.8.3"
"@babel/types" "^7.7.4" "@babel/generator" "^7.8.4"
"@babel/helper-function-name" "^7.8.3"
"@babel/traverse@^7.7.4": "@babel/helper-split-export-declaration" "^7.8.3"
version "7.7.4" "@babel/parser" "^7.8.4"
resolved "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.7.4.tgz#9c1e7c60fb679fe4fcfaa42500833333c2058558" "@babel/types" "^7.8.3"
integrity sha1-nB58YPtnn+T8+qQlAIMzM8IFhVg=
dependencies:
"@babel/code-frame" "^7.5.5"
"@babel/generator" "^7.7.4"
"@babel/helper-function-name" "^7.7.4"
"@babel/helper-split-export-declaration" "^7.7.4"
"@babel/parser" "^7.7.4"
"@babel/types" "^7.7.4"
debug "^4.1.0" debug "^4.1.0"
globals "^11.1.0" globals "^11.1.0"
lodash "^4.17.13" lodash "^4.17.13"
"@babel/types@^7.7.4": "@babel/types@^7.8.3":
version "7.7.4" version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.7.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftypes%2Fdownload%2F%40babel%2Ftypes-7.7.4.tgz#516570d539e44ddf308c07569c258ff94fde9193" resolved "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.8.3.tgz?cache=0&sync_timestamp=1578951935746&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftypes%2Fdownload%2F%40babel%2Ftypes-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c"
integrity sha1-UWVw1TnkTd8wjAdWnCWP+U/ekZM= integrity sha1-Wjg9/6VBbbG3Pe3/0xH/0HiPsxw=
dependencies: dependencies:
esutils "^2.0.2" esutils "^2.0.2"
lodash "^4.17.13" lodash "^4.17.13"
...@@ -660,35 +710,35 @@ ...@@ -660,35 +710,35 @@
ansi-styles@^3.2.1: ansi-styles@^3.2.1:
version "3.2.1" version "3.2.1"
resolved "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-3.2.1.tgz?cache=0&sync_timestamp=1573557674483&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" resolved "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
integrity sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0= integrity sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=
dependencies: dependencies:
color-convert "^1.9.0" color-convert "^1.9.0"
babel-plugin-dynamic-import-node@^2.3.0: babel-plugin-dynamic-import-node@^2.3.0:
version "2.3.0" version "2.3.0"
resolved "https://registry.npm.taobao.org/babel-plugin-dynamic-import-node/download/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f" resolved "https://registry.npm.taobao.org/babel-plugin-dynamic-import-node/download/babel-plugin-dynamic-import-node-2.3.0.tgz?cache=0&sync_timestamp=1560928040692&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-plugin-dynamic-import-node%2Fdownload%2Fbabel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f"
integrity sha1-8A9Qe9qjw+P/bn5emNkKesq5b38= integrity sha1-8A9Qe9qjw+P/bn5emNkKesq5b38=
dependencies: dependencies:
object.assign "^4.1.0" object.assign "^4.1.0"
browserslist@^4.6.0, browserslist@^4.7.3: browserslist@^4.8.3, browserslist@^4.8.5:
version "4.8.0" version "4.8.7"
resolved "https://registry.npm.taobao.org/browserslist/download/browserslist-4.8.0.tgz?cache=0&sync_timestamp=1575124487524&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbrowserslist%2Fdownload%2Fbrowserslist-4.8.0.tgz#6f06b0f974a7cc3a84babc2ccc56493668e3c789" resolved "https://registry.npm.taobao.org/browserslist/download/browserslist-4.8.7.tgz#ec8301ff415e6a42c949d0e66b405eb539c532d0"
integrity sha1-bwaw+XSnzDqEurwszFZJNmjjx4k= integrity sha1-7IMB/0FeakLJSdDma0BetTnFMtA=
dependencies: dependencies:
caniuse-lite "^1.0.30001012" caniuse-lite "^1.0.30001027"
electron-to-chromium "^1.3.317" electron-to-chromium "^1.3.349"
node-releases "^1.1.41" node-releases "^1.1.49"
caniuse-lite@^1.0.30001012: caniuse-lite@^1.0.30001027:
version "1.0.30001013" version "1.0.30001028"
resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001013.tgz#da2440d4d266a17d40eb79bd19c0c8cc1d029c72" resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001028.tgz?cache=0&sync_timestamp=1582003997392&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcaniuse-lite%2Fdownload%2Fcaniuse-lite-1.0.30001028.tgz#f2241242ac70e0fa9cda55c2776d32a0867971c2"
integrity sha1-2iRA1NJmoX1A63m9GcDIzB0CnHI= integrity sha1-8iQSQqxw4Pqc2lXCd20yoIZ5ccI=
chalk@^2.0.0: chalk@^2.0.0:
version "2.4.2" version "2.4.2"
resolved "https://registry.npm.taobao.org/chalk/download/chalk-2.4.2.tgz?cache=0&sync_timestamp=1573282918610&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" resolved "https://registry.npm.taobao.org/chalk/download/chalk-2.4.2.tgz?cache=0&sync_timestamp=1581846316501&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ= integrity sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=
dependencies: dependencies:
ansi-styles "^3.2.1" ansi-styles "^3.2.1"
...@@ -697,7 +747,7 @@ chalk@^2.0.0: ...@@ -697,7 +747,7 @@ chalk@^2.0.0:
color-convert@^1.9.0: color-convert@^1.9.0:
version "1.9.3" version "1.9.3"
resolved "https://registry.npm.taobao.org/color-convert/download/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" resolved "https://registry.npm.taobao.org/color-convert/download/color-convert-1.9.3.tgz?cache=0&sync_timestamp=1566248870121&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcolor-convert%2Fdownload%2Fcolor-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
integrity sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg= integrity sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=
dependencies: dependencies:
color-name "1.1.3" color-name "1.1.3"
...@@ -714,38 +764,26 @@ commander@~2.20.3: ...@@ -714,38 +764,26 @@ commander@~2.20.3:
convert-source-map@^1.7.0: convert-source-map@^1.7.0:
version "1.7.0" version "1.7.0"
resolved "https://registry.npm.taobao.org/convert-source-map/download/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" resolved "https://registry.npm.taobao.org/convert-source-map/download/convert-source-map-1.7.0.tgz?cache=0&sync_timestamp=1573003637425&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fconvert-source-map%2Fdownload%2Fconvert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442"
integrity sha1-F6LLiC1/d9NJBYXizmxSRCSjpEI= integrity sha1-F6LLiC1/d9NJBYXizmxSRCSjpEI=
dependencies: dependencies:
safe-buffer "~5.1.1" safe-buffer "~5.1.1"
core-js-compat@^3.1.1: core-js-compat@^3.6.2:
version "3.4.5" version "3.6.4"
resolved "https://registry.npm.taobao.org/core-js-compat/download/core-js-compat-3.4.5.tgz#f072059c0b98ad490eacac082296cfe241af1b58" resolved "https://registry.npm.taobao.org/core-js-compat/download/core-js-compat-3.6.4.tgz?cache=0&sync_timestamp=1578957208980&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js-compat%2Fdownload%2Fcore-js-compat-3.6.4.tgz#938476569ebb6cda80d339bcf199fae4f16fff17"
integrity sha1-8HIFnAuYrUkOrKwIIpbP4kGvG1g= integrity sha1-k4R2Vp67bNqA0zm88Zn65PFv/xc=
dependencies: dependencies:
browserslist "^4.7.3" browserslist "^4.8.3"
semver "^6.3.0" semver "7.0.0"
core-js@^2.6.5:
version "2.6.10"
resolved "https://registry.npm.taobao.org/core-js/download/core-js-2.6.10.tgz?cache=0&sync_timestamp=1574892698770&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js%2Fdownload%2Fcore-js-2.6.10.tgz#8a5b8391f8cc7013da703411ce5b585706300d7f"
integrity sha1-iluDkfjMcBPacDQRzltYVwYwDX8=
debug@^4.1.0: debug@^4.1.0:
version "4.1.1" version "4.1.1"
resolved "https://registry.npm.taobao.org/debug/download/debug-4.1.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" resolved "https://registry.npm.taobao.org/debug/download/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
integrity sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E= integrity sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=
dependencies: dependencies:
ms "^2.1.1" ms "^2.1.1"
decamelize@^3.2.0:
version "3.2.0"
resolved "https://registry.npm.taobao.org/decamelize/download/decamelize-3.2.0.tgz#84b8e8f4f8c579f938e35e2cc7024907e0090851"
integrity sha1-hLjo9PjFefk4414sxwJJB+AJCFE=
dependencies:
xregexp "^4.2.4"
define-properties@^1.1.2: define-properties@^1.1.2:
version "1.1.3" version "1.1.3"
resolved "https://registry.npm.taobao.org/define-properties/download/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" resolved "https://registry.npm.taobao.org/define-properties/download/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
...@@ -753,10 +791,10 @@ define-properties@^1.1.2: ...@@ -753,10 +791,10 @@ define-properties@^1.1.2:
dependencies: dependencies:
object-keys "^1.0.12" object-keys "^1.0.12"
electron-to-chromium@^1.3.317: electron-to-chromium@^1.3.349:
version "1.3.321" version "1.3.356"
resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.321.tgz?cache=0&sync_timestamp=1575248687045&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.321.tgz#913869f5ec85daabba0e75c9c314b4bf26cdb01e" resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.356.tgz?cache=0&sync_timestamp=1582247005234&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.356.tgz#fb985ee0f3023e6e11b97547ff3f738bdd8643d2"
integrity sha1-kThp9eyF2qu6DnXJwxS0vybNsB4= integrity sha1-+5he4PMCPm4RuXVH/z9zi92GQ9I=
escape-string-regexp@^1.0.5: escape-string-regexp@^1.0.5:
version "1.0.5" version "1.0.5"
...@@ -765,7 +803,7 @@ escape-string-regexp@^1.0.5: ...@@ -765,7 +803,7 @@ escape-string-regexp@^1.0.5:
esutils@^2.0.2: esutils@^2.0.2:
version "2.0.3" version "2.0.3"
resolved "https://registry.npm.taobao.org/esutils/download/esutils-2.0.3.tgz?cache=0&sync_timestamp=1564535492241&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fesutils%2Fdownload%2Fesutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" resolved "https://registry.npm.taobao.org/esutils/download/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
integrity sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q= integrity sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=
function-bind@^1.1.1: function-bind@^1.1.1:
...@@ -773,6 +811,11 @@ function-bind@^1.1.1: ...@@ -773,6 +811,11 @@ function-bind@^1.1.1:
resolved "https://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" resolved "https://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0= integrity sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=
gensync@^1.0.0-beta.1:
version "1.0.0-beta.1"
resolved "https://registry.npm.taobao.org/gensync/download/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269"
integrity sha1-WPQ2H/mH5f9uHnohCCeqNx6qwmk=
globals@^11.1.0: globals@^11.1.0:
version "11.12.0" version "11.12.0"
resolved "https://registry.npm.taobao.org/globals/download/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" resolved "https://registry.npm.taobao.org/globals/download/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
...@@ -785,21 +828,16 @@ has-flag@^3.0.0: ...@@ -785,21 +828,16 @@ has-flag@^3.0.0:
has-symbols@^1.0.0: has-symbols@^1.0.0:
version "1.0.1" version "1.0.1"
resolved "https://registry.npm.taobao.org/has-symbols/download/has-symbols-1.0.1.tgz?cache=0&sync_timestamp=1573950719586&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhas-symbols%2Fdownload%2Fhas-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" resolved "https://registry.npm.taobao.org/has-symbols/download/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8"
integrity sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg= integrity sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg=
invariant@^2.2.2: invariant@^2.2.2, invariant@^2.2.4:
version "2.2.4" version "2.2.4"
resolved "https://registry.npm.taobao.org/invariant/download/invariant-2.2.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Finvariant%2Fdownload%2Finvariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" resolved "https://registry.npm.taobao.org/invariant/download/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
integrity sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY= integrity sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY=
dependencies: dependencies:
loose-envify "^1.0.0" loose-envify "^1.0.0"
js-levenshtein@^1.1.3:
version "1.1.6"
resolved "https://registry.npm.taobao.org/js-levenshtein/download/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"
integrity sha1-xs7ljrNVA3LfjeuF+tXOZs4B1Z0=
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "https://registry.npm.taobao.org/js-tokens/download/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" resolved "https://registry.npm.taobao.org/js-tokens/download/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
...@@ -817,14 +855,26 @@ jsesc@~0.5.0: ...@@ -817,14 +855,26 @@ jsesc@~0.5.0:
json5@^2.1.0: json5@^2.1.0:
version "2.1.1" version "2.1.1"
resolved "https://registry.npm.taobao.org/json5/download/json5-2.1.1.tgz#81b6cb04e9ba496f1c7005d07b4368a2638f90b6" resolved "https://registry.npm.taobao.org/json5/download/json5-2.1.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjson5%2Fdownload%2Fjson5-2.1.1.tgz#81b6cb04e9ba496f1c7005d07b4368a2638f90b6"
integrity sha1-gbbLBOm6SW8ccAXQe0NoomOPkLY= integrity sha1-gbbLBOm6SW8ccAXQe0NoomOPkLY=
dependencies: dependencies:
minimist "^1.2.0" minimist "^1.2.0"
leven@^3.1.0:
version "3.1.0"
resolved "https://registry.npm.taobao.org/leven/download/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
integrity sha1-d4kd6DQGTMy6gq54QrtrFKE+1/I=
levenary@^1.1.1:
version "1.1.1"
resolved "https://registry.npm.taobao.org/levenary/download/levenary-1.1.1.tgz#842a9ee98d2075aa7faeedbe32679e9205f46f77"
integrity sha1-hCqe6Y0gdap/ru2+MmeekgX0b3c=
dependencies:
leven "^3.1.0"
lodash@^4.17.13: lodash@^4.17.13:
version "4.17.15" version "4.17.15"
resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.15.tgz?cache=0&sync_timestamp=1571657272199&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flodash%2Fdownload%2Flodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg= integrity sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg=
loose-envify@^1.0.0: loose-envify@^1.0.0:
...@@ -841,13 +891,13 @@ minimist@^1.2.0: ...@@ -841,13 +891,13 @@ minimist@^1.2.0:
ms@^2.1.1: ms@^2.1.1:
version "2.1.2" version "2.1.2"
resolved "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" resolved "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk= integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=
node-releases@^1.1.41: node-releases@^1.1.49:
version "1.1.41" version "1.1.49"
resolved "https://registry.npm.taobao.org/node-releases/download/node-releases-1.1.41.tgz?cache=0&sync_timestamp=1574378431319&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-releases%2Fdownload%2Fnode-releases-1.1.41.tgz#57674a82a37f812d18e3b26118aefaf53a00afed" resolved "https://registry.npm.taobao.org/node-releases/download/node-releases-1.1.49.tgz#67ba5a3fac2319262675ef864ed56798bb33b93e"
integrity sha1-V2dKgqN/gS0Y47JhGK769ToAr+0= integrity sha1-Z7paP6wjGSYmde+GTtVnmLszuT4=
dependencies: dependencies:
semver "^6.3.0" semver "^6.3.0"
...@@ -888,21 +938,16 @@ regenerate@^1.4.0: ...@@ -888,21 +938,16 @@ regenerate@^1.4.0:
resolved "https://registry.npm.taobao.org/regenerate/download/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" resolved "https://registry.npm.taobao.org/regenerate/download/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11"
integrity sha1-SoVuxLVuQHfFV1icroXnpMiGmhE= integrity sha1-SoVuxLVuQHfFV1icroXnpMiGmhE=
regenerator-runtime@^0.13.2:
version "0.13.3"
resolved "https://registry.npm.taobao.org/regenerator-runtime/download/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5"
integrity sha1-fPanfY9cb2Drc8X8GVWyzrAea/U=
regenerator-transform@^0.14.0: regenerator-transform@^0.14.0:
version "0.14.1" version "0.14.1"
resolved "https://registry.npm.taobao.org/regenerator-transform/download/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb" resolved "https://registry.npm.taobao.org/regenerator-transform/download/regenerator-transform-0.14.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fregenerator-transform%2Fdownload%2Fregenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb"
integrity sha1-Oy/OThq3cywI9mXf2zFHScfd0vs= integrity sha1-Oy/OThq3cywI9mXf2zFHScfd0vs=
dependencies: dependencies:
private "^0.1.6" private "^0.1.6"
regexpu-core@^4.6.0: regexpu-core@^4.6.0:
version "4.6.0" version "4.6.0"
resolved "https://registry.npm.taobao.org/regexpu-core/download/regexpu-core-4.6.0.tgz?cache=0&sync_timestamp=1568376298517&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fregexpu-core%2Fdownload%2Fregexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6" resolved "https://registry.npm.taobao.org/regexpu-core/download/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6"
integrity sha1-IDfBizJ8/Oim/qKk7EQfJDKvuLY= integrity sha1-IDfBizJ8/Oim/qKk7EQfJDKvuLY=
dependencies: dependencies:
regenerate "^1.4.0" regenerate "^1.4.0"
...@@ -914,20 +959,20 @@ regexpu-core@^4.6.0: ...@@ -914,20 +959,20 @@ regexpu-core@^4.6.0:
regjsgen@^0.5.0: regjsgen@^0.5.0:
version "0.5.1" version "0.5.1"
resolved "https://registry.npm.taobao.org/regjsgen/download/regjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c" resolved "https://registry.npm.taobao.org/regjsgen/download/regjsgen-0.5.1.tgz?cache=0&sync_timestamp=1571560410206&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fregjsgen%2Fdownload%2Fregjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c"
integrity sha1-SPC/Gl6iBRlpKcDZeYtC0e2YRDw= integrity sha1-SPC/Gl6iBRlpKcDZeYtC0e2YRDw=
regjsparser@^0.6.0: regjsparser@^0.6.0:
version "0.6.0" version "0.6.3"
resolved "https://registry.npm.taobao.org/regjsparser/download/regjsparser-0.6.0.tgz#f1e6ae8b7da2bae96c99399b868cd6c933a2ba9c" resolved "https://registry.npm.taobao.org/regjsparser/download/regjsparser-0.6.3.tgz#74192c5805d35e9f5ebe3c1fb5b40d40a8a38460"
integrity sha1-8eaui32iuulsmTmbhozWyTOiupw= integrity sha1-dBksWAXTXp9evjwftbQNQKijhGA=
dependencies: dependencies:
jsesc "~0.5.0" jsesc "~0.5.0"
resolve@^1.3.2: resolve@^1.3.2:
version "1.13.1" version "1.15.1"
resolved "https://registry.npm.taobao.org/resolve/download/resolve-1.13.1.tgz?cache=0&sync_timestamp=1574809298542&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fresolve%2Fdownload%2Fresolve-1.13.1.tgz#be0aa4c06acd53083505abb35f4d66932ab35d16" resolved "https://registry.npm.taobao.org/resolve/download/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8"
integrity sha1-vgqkwGrNUwg1BauzX01mkyqzXRY= integrity sha1-J73N7/6vLWJEuVuw+fS0ZTRR8+g=
dependencies: dependencies:
path-parse "^1.0.6" path-parse "^1.0.6"
...@@ -936,14 +981,19 @@ safe-buffer@~5.1.1: ...@@ -936,14 +981,19 @@ safe-buffer@~5.1.1:
resolved "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" resolved "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
integrity sha1-mR7GnSluAxN0fVm9/St0XDX4go0= integrity sha1-mR7GnSluAxN0fVm9/St0XDX4go0=
semver@7.0.0:
version "7.0.0"
resolved "https://registry.npm.taobao.org/semver/download/semver-7.0.0.tgz?cache=0&sync_timestamp=1581458063470&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
integrity sha1-XzyjV2HkfgWyBsba/yz4FPAxa44=
semver@^5.4.1, semver@^5.5.0: semver@^5.4.1, semver@^5.5.0:
version "5.7.1" version "5.7.1"
resolved "https://registry.npm.taobao.org/semver/download/semver-5.7.1.tgz?cache=0&sync_timestamp=1565627367398&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" resolved "https://registry.npm.taobao.org/semver/download/semver-5.7.1.tgz?cache=0&sync_timestamp=1581458063470&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha1-qVT5Ma66UI0we78Gnv8MAclhFvc= integrity sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=
semver@^6.3.0: semver@^6.3.0:
version "6.3.0" version "6.3.0"
resolved "https://registry.npm.taobao.org/semver/download/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" resolved "https://registry.npm.taobao.org/semver/download/semver-6.3.0.tgz?cache=0&sync_timestamp=1581458063470&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0= integrity sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=
source-map@^0.5.0: source-map@^0.5.0:
...@@ -965,7 +1015,7 @@ supports-color@^5.3.0: ...@@ -965,7 +1015,7 @@ supports-color@^5.3.0:
to-fast-properties@^2.0.0: to-fast-properties@^2.0.0:
version "2.0.0" version "2.0.0"
resolved "https://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" resolved "https://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz?cache=0&sync_timestamp=1580550317222&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fto-fast-properties%2Fdownload%2Fto-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=
uglify-js@^3.7.1: uglify-js@^3.7.1:
...@@ -999,13 +1049,6 @@ unicode-property-aliases-ecmascript@^1.0.4: ...@@ -999,13 +1049,6 @@ unicode-property-aliases-ecmascript@^1.0.4:
resolved "https://registry.npm.taobao.org/unicode-property-aliases-ecmascript/download/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57" resolved "https://registry.npm.taobao.org/unicode-property-aliases-ecmascript/download/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57"
integrity sha1-qcxsx85joKMCP8meNBuUQx1AWlc= integrity sha1-qcxsx85joKMCP8meNBuUQx1AWlc=
xregexp@^4.2.4:
version "4.2.4"
resolved "https://registry.npm.taobao.org/xregexp/download/xregexp-4.2.4.tgz#02a4aea056d65a42632c02f0233eab8e4d7e57ed"
integrity sha1-AqSuoFbWWkJjLALwIz6rjk1+V+0=
dependencies:
"@babel/runtime-corejs2" "^7.2.0"
"zeroing-code-divider@http://gitlab2.dui88.com/laoqifeng/zeroing-code-divider.git": "zeroing-code-divider@http://gitlab2.dui88.com/laoqifeng/zeroing-code-divider.git":
version "1.0.0" version "1.0.0"
resolved "http://gitlab2.dui88.com/laoqifeng/zeroing-code-divider.git#18776cf8096cc5d5133c16dd58ac3de512c39402" resolved "http://gitlab2.dui88.com/laoqifeng/zeroing-code-divider.git#18776cf8096cc5d5133c16dd58ac3de512c39402"
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