Commit 6ae1bffd authored by rockyl's avatar rockyl

修复可选属性链式语法

parent a3f28b7b
......@@ -13,6 +13,7 @@ async function compile(source, debug = false) {
presets: [
['@babel/env', {}]
],
plugins: ["@babel/proposal-optional-chaining"],
babelrc: false,
sourceMaps: debug,
});
......
{"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 {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,A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/B;;CAED,OAAO,CAAC,MAAM,GAAG,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;CAClE;;;;"}
\ No newline at end of file
{"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\tplugins: [\"@babel/proposal-optional-chaining\"],\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,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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
......@@ -19,6 +19,7 @@ async function compile(source, debug = false) {
presets: [
['@babel/env', {}]
],
plugins: ["@babel/proposal-optional-chaining"],
babelrc: false,
sourceMaps: debug,
});
......
{"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":["generateL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ACP,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,GAAGD,gCAAY,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;CAClE;;;;;"}
\ No newline at end of file
{"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\tplugins: [\"@babel/proposal-optional-chaining\"],\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,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,OAAO,EAAE,CAAC,mCAAmC,CAAC;EAC9C,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,KAAK;EACjB,CAAC,CAAC;;CAEH,MAAM,MAAM,GAAG;EACd,IAAI;EACJ,CAAC;CACF,IAAI,GAAG,EAAE;EACR,MAAM,CAAC,SAAS,GAAG,GAAG,CAAC,QAAQ,CAAC;EAChC;CACD,OAAO,MAAM,CAAC;CACd;;AAED,AAAO,SAAS,MAAM,CAAC,MAAM,CAAC;CAC7B,MAAM,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;EAC5C,CAAC,CAAC;CACH,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE;EACxB,OAAO,YAAY,CAAC,IAAI,CAAC;EACzB;;;AChCF;;;;;AAKA,AAIA;AACA,MAAM,aAAa,GAAG,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;AACnD,MAAM,GAAG,GAAG,cAAc,CAAC;;AAE3B,AAAO,eAAe,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE;CACzC,IAAI,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;CACrC,IAAI,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;;CAEtC,MAAM,CAAC,kBAAkB,EAAE,aAAa,CAAC,GAAG,MAAMA,2CAAuB,CAAC,IAAI,CAAC,OAAO,CA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O,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,GAAGD,gCAAY,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;CAClE;;;;;"}
\ No newline at end of file
......@@ -17,6 +17,7 @@
presets: [
['@babel/env', {}]
],
plugins: ["@babel/proposal-optional-chaining"],
babelrc: false,
sourceMaps: debug,
});
......
{"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,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,IAAI,CAAC;CAC3B,EAAE;CACF;;CChCA;CACA;CACA;CACA;CACA;AACA,AAIA;CACA,MAAM,aAAa,GAAG,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;CACnD,MAAM,GAAG,GAAG,cAA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AI,OAAO,IAAI,SAAS,EAAE;CAChC,EAAE,IAAI,OAAO,CAAC,GAAG,EAAE;CACnB,GAAG,KAAK,IAAI,IAAI,IAAI,OAAO,CAAC,GAAG,EAAE;CACjC,IAAI,IAAI,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;CACvC,IAAI,KAAK,IAAI,KAAK,IAAI,YAAY,EAAE;CACpC,KAAK,IAAI,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE;CAC3C,MAAM,OAAO,UAAU,CAAC,KAAK,CAAC,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,aAAa,EAAE,kBAAkB,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
{"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\tplugins: [\"@babel/proposal-optional-chaining\"],\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,CAAC,mCA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GAAG;CACH,EAAE;CACF,CAAC;;CAED,SAAS,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,kBAAkB,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
......@@ -11,6 +11,7 @@ export async function compile(source, debug = false) {
presets: [
['@babel/env', {}]
],
plugins: ["@babel/proposal-optional-chaining"],
babelrc: false,
sourceMaps: debug,
});
......
/**
* Created by rockyl on 2020-03-01.
*/
import {compile} from '../src/code-process';
let code = `
"use strict";
exports['0daeacddc8990026b30654557505e7ca'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 83f0c65d-a624-4459-a60a-ec523a6a35c0 - 自定义节点 ==*/
console.log(args);
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['aae5b6be457c4f117d7a710a28df33a2'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 00f99189-23a3-488c-a80a-b43c1deffc3f - 自定义节点 ==*/
engine.Tween.get(target, {
loop: true
}).to({
width: 300
}, 2000).to({
width: 0
}, 2000);
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['6c63883dc0e72ba3662002bc3027769e'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== fda8062a-c16a-4ec5-a4ca-782618b63804 - 自定义节点 ==*/
console.log('success', args);
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['8a706ccb1f30b1a88e4a46b1342a8382'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 011d2bfa-17d7-4a6c-be96-71627702a66a - 自定义节点 ==*/
console.log('failed', args);
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['9d5ae3d8cc09ede55e3262fcaf56b1df'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== dd95f451-42de-45ed-8983-9e465bcacc69 - 自定义节点 ==*/
console.log('exception', args);
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['f0a07686efb1a599d31fa1c1ed60a1c0'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== ad1a4297-b121-4878-89a1-b9d3d5ba516f - 自定义节点 ==*/
next('success', 'abc');
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['28a765bfa76c2cc56b54297d87da95e1'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== d977cdf4-efd6-412c-bb08-47db18500f9c - 自定义节点 ==*/
engine.playSound('dc3bc610-9cbb-44dd-b9d4-c426a2aa8fef', {
keep: true
});
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['54198d2df6eed49beb8051597cd85025'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== b71cd3eb-105b-4910-876b-0e6dcaaa3f06 - 自定义节点 ==*/
var uri = engine.findVariable('uri', args, props);
var url;
if (uri.indexOf('//') !== 0 && uri.indexOf('://') < 0 && location.pathname === '/preview' || top.location.hash.indexOf('preview/') >= 0) {
var projectX = 'projectx';
var projectID = engine.env.projectID;
url = engine.joinPath(projectX, projectID, uri);
} else {
url = uri;
}
next('success', {
url: url
});
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['0523b86228b93e20ce5bc02ba28faf10'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 8de912f7-f094-4d7a-b4ce-0d25d8527b93 - 编译测试 ==*/
var obj = {};
console.log((obj?.id));
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['4000dcd71ba7dd8659046bbda3527b4d'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 5f43cf43-eddf-4acd-a9fb-44fd13d872ab - 自定义节点 ==*/
var textFlow = [];
var keys = Object.keys(window);
setInterval(function () {
textFlow.splice(0);
for (var i = 0; i < Math.random() * 5 + 1; i++) {
var seg = {
style: {},
text: keys[Math.floor(Math.random() * keys.length)]
};
seg.style.color = '#' + Math.floor(Math.random() * 0xFFFFFF).toString(16);
textFlow.push(seg);
}
target.textFlow = textFlow;
}, 1000); //target.text = 'abcdefg';
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['390a3dd605908d3c495627a544f5572c'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== bdd1cec9-18e5-4dc8-85b2-41d973cfba69 - 自定义节点 ==*/
console.log(target.children.length);
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['34a585f5609ccc05d6996cd2106992a1'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 8fe87b49-9d04-4b3d-97ac-ec31a9447eda - 自定义节点 ==*/
var list = [];
for (var i = 0; i < 10; i++) {
list.push({
id: i
});
}
target.updateData(list, true);
setInterval(function () {
target.scrollTo(150);
}, 2000);
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['8ec340c39801722ee74efb4daa83dfb3'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== f4732922-2a2d-4a9d-b0c0-6a8b88c9cf73 - 自定义节点 ==*/
console.log('item update data:', args);
target.getChildByName('label').text = 'id:' + args.id;
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['fb7b89ac5762cb731c8dcafb619eeda8'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 87f74acd-6a4d-4a5d-b871-7119c60fadcf - 自定义节点 ==*/
if (!global.hasOwnProperty('counting')) {
global.counting = 0;
}
global.counting--;
target.text = global.counting + '';
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['9bb97ad7befbf7d40e22ae2fe18b0123'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== edb9d98a-6a2e-430f-9be7-ec94b5ec5d49 - 自定义节点 ==*/
if (!global.hasOwnProperty('counting')) {
global.counting = 0;
}
setInterval(function () {
global.counting++;
target.text = global.counting + '';
}, 1000);
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['0d3d408af0af5256235b27306f3e5122'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== aa2ee3ff-4875-4619-b4ef-9c18632c65e4 - 自定义节点 ==*/
target.text = args.score + '';
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['11c0b662aa2ede30ac6681a199dddd03'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== e4ba4292-8321-48e5-9dc6-21a97be10e19 - 自定义节点 ==*/
target.text = args.score + '';
target.adjustProxy.adjustLayout();
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['55efd3357c99dd05f566e08221d1779f'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 6bf28704-7c59-4510-ba50-a10fed3360a8 - 自定义节点 ==*/
props.node.visible = !props.node.visible;
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['e01210df1dc4f325a4422eefb098d171'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== zoom-scroll-control - 缩放滚动控制 ==*/
var zoomScroll = props.target.scripts.get('zoom-scroll')[0];
zoomScroll.index += props.sign;
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['c2371a4aba26c420b85cbdb51a93d980'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 42622369-0374-4f18-8262-9d917d01a4eb - 刮刮卡开奖 ==*/
console.log('刮刮卡开奖');
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['516a57b20be0f86b7cebf3667674dd19'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== d4bd2020-1a8c-4e99-9bd1-68d81d3d2168 - 数据准备 ==*/
next('success', {
data: {
assets: [{
source: '//yun.duiba.com.cn/aurora/59ba44954450d7493ef5c630070808496c242f11.png',
ratio: 1
}],
speedRange: {
min: 5,
max: 10
},
initPosRange: {
min: props.initPosOffset,
max: 750 + props.initPosOffset
},
angleOffset: props.angleOffset,
intervalFrames: props.intervalFrames
}
});
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['bba589af970b3f94fd5bceeb8cd000a0'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== b5965b99-47b7-4870-8d4f-25b5e9e9ee27 - 自定义节点 ==*/
target.htmlElement = '<div>bbb</div>';
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['6d3b537cb06a87c4aceae420a1070ee1'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== aee7bc68-2fa8-4564-aba4-3d589e6a0460 - 自定义节点 ==*/
console.log('net failed', args);
next('success');
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['7943d5e62b950503d09ff8be160bac63'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== c69c5137-ce50-43ee-827a-e7f141891e75 - 自定义节点 ==*/
console.log('net exception', args);
next('success');
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['ddf005a0b0e9870e39cdb044b97fc14b'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 4e59d195-bc31-4044-a016-c527edb1cd06 - 自定义节点 ==*/
console.log('Node点击事件');
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
exports['041546967f6614685ab3fe997422ffcb'] = function (args, props, target, global, vm, scope) {
return new Promise(function (resolve, reject) {
/*== 5e7c0064-f07b-4e89-bb80-415d24d9ded4 - 自定义节点 ==*/
props.node.x = 375;
props.node.y = 200;
next('success');
function next(type, payload) {
resolve({
type: type,
payload: payload
});
}
});
};
`;
compile(code)
.then(result=>{
console.log(result);
});
\ No newline at end of file
......@@ -4,32 +4,32 @@
"@babel/code-frame@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
integrity sha1-M+JZA9dIEYFTThLsCiXxa2/PQZ4=
dependencies:
"@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=
"@babel/compat-data@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/compat-data/download/@babel/compat-data-7.8.6.tgz#7eeaa0dfa17e50c7d9c0832515eee09b56f04e35"
integrity sha1-fuqg36F+UMfZwIMlFe7gm1bwTjU=
dependencies:
browserslist "^4.8.5"
invariant "^2.2.4"
semver "^5.5.0"
"@babel/core@^7.7.4":
version "7.8.4"
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-1JZ5nlwSGVs2AtD93XcpTj446A4=
"@babel/core@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/core/download/@babel/core-7.8.6.tgz#27d7df9258a45c2e686b6f18b6c659e563aa4636"
integrity sha1-J9ffklikXC5oa28YtsZZ5WOqRjY=
dependencies:
"@babel/code-frame" "^7.8.3"
"@babel/generator" "^7.8.4"
"@babel/generator" "^7.8.6"
"@babel/helpers" "^7.8.4"
"@babel/parser" "^7.8.4"
"@babel/template" "^7.8.3"
"@babel/traverse" "^7.8.4"
"@babel/types" "^7.8.3"
"@babel/parser" "^7.8.6"
"@babel/template" "^7.8.6"
"@babel/traverse" "^7.8.6"
"@babel/types" "^7.8.6"
convert-source-map "^1.7.0"
debug "^4.1.0"
gensync "^1.0.0-beta.1"
......@@ -39,12 +39,12 @@
semver "^5.4.1"
source-map "^0.5.0"
"@babel/generator@^7.8.4":
version "7.8.4"
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-NbvHRIaVb+QlGCn59sSDMOjQmF4=
"@babel/generator@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.8.6.tgz#57adf96d370c9a63c241cd719f9111468578537a"
integrity sha1-V635bTcMmmPCQc1xn5ERRoV4U3o=
dependencies:
"@babel/types" "^7.8.3"
"@babel/types" "^7.8.6"
jsesc "^2.5.1"
lodash "^4.17.13"
source-map "^0.5.0"
......@@ -58,7 +58,7 @@
"@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"
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?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.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503"
integrity sha1-yECXpCegYaxWocMOv1S3si0kFQM=
dependencies:
"@babel/helper-explode-assignable-expression" "^7.8.3"
......@@ -66,35 +66,36 @@
"@babel/helper-call-delegate@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-call-delegate/download/@babel/helper-call-delegate-7.8.3.tgz#de82619898aa605d409c42be6ffb8d7204579692"
resolved "https://registry.npm.taobao.org/@babel/helper-call-delegate/download/@babel/helper-call-delegate-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-call-delegate%2Fdownload%2F%40babel%2Fhelper-call-delegate-7.8.3.tgz#de82619898aa605d409c42be6ffb8d7204579692"
integrity sha1-3oJhmJiqYF1AnEK+b/uNcgRXlpI=
dependencies:
"@babel/helper-hoist-variables" "^7.8.3"
"@babel/traverse" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/helper-compilation-targets@^7.8.4":
version "7.8.4"
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-A9fs1FS36+GaJU92YX5hdwrtLIg=
"@babel/helper-compilation-targets@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/helper-compilation-targets/download/@babel/helper-compilation-targets-7.8.6.tgz?cache=0&sync_timestamp=1582806192435&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-compilation-targets%2Fdownload%2F%40babel%2Fhelper-compilation-targets-7.8.6.tgz#015b85db69e3a34240d5c2b761fc53eb9695f09c"
integrity sha1-AVuF22njo0JA1cK3YfxT65aV8Jw=
dependencies:
"@babel/compat-data" "^7.8.4"
"@babel/compat-data" "^7.8.6"
browserslist "^4.8.5"
invariant "^2.2.4"
levenary "^1.1.1"
semver "^5.5.0"
"@babel/helper-create-regexp-features-plugin@^7.8.3":
version "7.8.3"
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-x3QmjJXsB+6SR2o4YrdcwoOb63k=
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/helper-create-regexp-features-plugin/download/@babel/helper-create-regexp-features-plugin-7.8.6.tgz#7fa040c97fb8aebe1247a5c645330c32d083066b"
integrity sha1-f6BAyX+4rr4SR6XGRTMMMtCDBms=
dependencies:
"@babel/helper-annotate-as-pure" "^7.8.3"
"@babel/helper-regex" "^7.8.3"
regexpu-core "^4.6.0"
"@babel/helper-define-map@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-define-map/download/@babel/helper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15"
resolved "https://registry.npm.taobao.org/@babel/helper-define-map/download/@babel/helper-define-map-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-define-map%2Fdownload%2F%40babel%2Fhelper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15"
integrity sha1-oGVcrVRRw3YLcm66h18c2PqgLBU=
dependencies:
"@babel/helper-function-name" "^7.8.3"
......@@ -103,7 +104,7 @@
"@babel/helper-explode-assignable-expression@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-explode-assignable-expression/download/@babel/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982"
resolved "https://registry.npm.taobao.org/@babel/helper-explode-assignable-expression/download/@babel/helper-explode-assignable-expression-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-explode-assignable-expression%2Fdownload%2F%40babel%2Fhelper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982"
integrity sha1-pyjcW06J4w/C38fQT6KKkwZT+YI=
dependencies:
"@babel/traverse" "^7.8.3"
......@@ -120,7 +121,7 @@
"@babel/helper-get-function-arity@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/helper-get-function-arity/download/@babel/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5"
integrity sha1-uJS5R70AQ4HOY+odufCFR+kgq9U=
dependencies:
"@babel/types" "^7.8.3"
......@@ -134,7 +135,7 @@
"@babel/helper-member-expression-to-functions@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/helper-member-expression-to-functions/download/@babel/helper-member-expression-to-functions-7.8.3.tgz#659b710498ea6c1d9907e0c73f206eee7dadc24c"
integrity sha1-ZZtxBJjqbB2ZB+DHPyBu7n2twkw=
dependencies:
"@babel/types" "^7.8.3"
......@@ -147,32 +148,33 @@
"@babel/types" "^7.8.3"
"@babel/helper-module-transforms@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-module-transforms/download/@babel/helper-module-transforms-7.8.3.tgz#d305e35d02bee720fbc2c3c3623aa0c316c01590"
integrity sha1-0wXjXQK+5yD7wsPDYjqgwxbAFZA=
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/helper-module-transforms/download/@babel/helper-module-transforms-7.8.6.tgz#6a13b5eecadc35692047073a64e42977b97654a4"
integrity sha1-ahO17srcNWkgRwc6ZOQpd7l2VKQ=
dependencies:
"@babel/helper-module-imports" "^7.8.3"
"@babel/helper-replace-supers" "^7.8.6"
"@babel/helper-simple-access" "^7.8.3"
"@babel/helper-split-export-declaration" "^7.8.3"
"@babel/template" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/template" "^7.8.6"
"@babel/types" "^7.8.6"
lodash "^4.17.13"
"@babel/helper-optimise-call-expression@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/helper-optimise-call-expression/download/@babel/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9"
integrity sha1-ftBxgT0Jx1KY708giVYAa2ER7Lk=
dependencies:
"@babel/types" "^7.8.3"
"@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-plugin-utils/download/@babel/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670"
resolved "https://registry.npm.taobao.org/@babel/helper-plugin-utils/download/@babel/helper-plugin-utils-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-plugin-utils%2Fdownload%2F%40babel%2Fhelper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670"
integrity sha1-nqKTvhm6vA9S/4yoizTDYRsghnA=
"@babel/helper-regex@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/helper-regex/download/@babel/helper-regex-7.8.3.tgz?cache=0&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-E5dyYH1RuT8j7/5yEFsxnSpMaWU=
dependencies:
lodash "^4.17.13"
......@@ -188,15 +190,15 @@
"@babel/traverse" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/helper-replace-supers@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-replace-supers/download/@babel/helper-replace-supers-7.8.3.tgz#91192d25f6abbcd41da8a989d4492574fb1530bc"
integrity sha1-kRktJfarvNQdqKmJ1EkldPsVMLw=
"@babel/helper-replace-supers@^7.8.3", "@babel/helper-replace-supers@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/helper-replace-supers/download/@babel/helper-replace-supers-7.8.6.tgz?cache=0&sync_timestamp=1582806192406&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-replace-supers%2Fdownload%2F%40babel%2Fhelper-replace-supers-7.8.6.tgz#5ada744fd5ad73203bf1d67459a27dcba67effc8"
integrity sha1-Wtp0T9WtcyA78dZ0WaJ9y6Z+/8g=
dependencies:
"@babel/helper-member-expression-to-functions" "^7.8.3"
"@babel/helper-optimise-call-expression" "^7.8.3"
"@babel/traverse" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/traverse" "^7.8.6"
"@babel/types" "^7.8.6"
"@babel/helper-simple-access@^7.8.3":
version "7.8.3"
......@@ -215,7 +217,7 @@
"@babel/helper-wrap-function@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/helper-wrap-function/download/@babel/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610"
resolved "https://registry.npm.taobao.org/@babel/helper-wrap-function/download/@babel/helper-wrap-function-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-wrap-function%2Fdownload%2F%40babel%2Fhelper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610"
integrity sha1-nb2yu1XvFKqgH+jJm2Kb1TUthhA=
dependencies:
"@babel/helper-function-name" "^7.8.3"
......@@ -225,7 +227,7 @@
"@babel/helpers@^7.8.4":
version "7.8.4"
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"
resolved "https://registry.npm.taobao.org/@babel/helpers/download/@babel/helpers-7.8.4.tgz#754eb3ee727c165e0a240d6c207de7c455f36f73"
integrity sha1-dU6z7nJ8Fl4KJA1sIH3nxFXzb3M=
dependencies:
"@babel/template" "^7.8.3"
......@@ -234,21 +236,21 @@
"@babel/highlight@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/highlight/download/@babel/highlight-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhighlight%2Fdownload%2F%40babel%2Fhighlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797"
integrity sha1-KPFz0EIj6qpZvB1Dmjg25tEmV5c=
dependencies:
chalk "^2.0.0"
esutils "^2.0.2"
js-tokens "^4.0.0"
"@babel/parser@^7.8.3", "@babel/parser@^7.8.4":
version "7.8.4"
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-0dvmRpHWA1ipdClfpT2gdN0s6Og=
"@babel/parser@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.8.6.tgz#ba5c9910cddb77685a008e3c587af8d27b67962c"
integrity sha1-ulyZEM3bd2haAI48WHr40ntnliw=
"@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"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-async-generator-functions/download/@babel/plugin-proposal-async-generator-functions-7.8.3.tgz?cache=0&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.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f"
integrity sha1-utMpxnCzgliXIbJ1QMfSiGAcbm8=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -265,7 +267,7 @@
"@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"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-json-strings/download/@babel/plugin-proposal-json-strings-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-json-strings%2Fdownload%2F%40babel%2Fplugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b"
integrity sha1-2lIWsjipi1ih4F1oUhBLEPmnDWs=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -273,7 +275,7 @@
"@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"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-nullish-coalescing-operator/download/@babel/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz?cache=0&sync_timestamp=1578952594995&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-nullish-coalescing-operator%2Fdownload%2F%40babel%2Fplugin-proposal-nullish-coalescing-operator-7.8.3.tgz#e4572253fdeed65cddeecfdab3f928afeb2fd5d2"
integrity sha1-5FciU/3u1lzd7s/as/kor+sv1dI=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -281,7 +283,7 @@
"@babel/plugin-proposal-object-rest-spread@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-object-rest-spread/download/@babel/plugin-proposal-object-rest-spread-7.8.3.tgz#eb5ae366118ddca67bed583b53d7554cad9951bb"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-object-rest-spread/download/@babel/plugin-proposal-object-rest-spread-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-object-rest-spread%2Fdownload%2F%40babel%2Fplugin-proposal-object-rest-spread-7.8.3.tgz#eb5ae366118ddca67bed583b53d7554cad9951bb"
integrity sha1-61rjZhGN3KZ77Vg7U9dVTK2ZUbs=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -289,7 +291,7 @@
"@babel/plugin-proposal-optional-catch-binding@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-catch-binding/download/@babel/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9"
resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-catch-binding/download/@babel/plugin-proposal-optional-catch-binding-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-optional-catch-binding%2Fdownload%2F%40babel%2Fplugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9"
integrity sha1-ne6WqxZQ7tiGRq6XNMoWesSpxck=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -341,7 +343,7 @@
"@babel/plugin-syntax-object-rest-spread@^7.8.0":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-object-rest-spread/download/@babel/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-object-rest-spread/download/@babel/plugin-syntax-object-rest-spread-7.8.3.tgz?cache=0&sync_timestamp=1578950070697&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.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871"
integrity sha1-YOIl7cvZimQDMqLnLdPmbxr1WHE=
dependencies:
"@babel/helper-plugin-utils" "^7.8.0"
......@@ -355,21 +357,21 @@
"@babel/plugin-syntax-optional-chaining@^7.8.0":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-optional-chaining/download/@babel/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a"
resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-optional-chaining/download/@babel/plugin-syntax-optional-chaining-7.8.3.tgz?cache=0&sync_timestamp=1578952519472&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-optional-chaining%2Fdownload%2F%40babel%2Fplugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a"
integrity sha1-T2nCq5UWfgGAzVM2YT+MV4j31Io=
dependencies:
"@babel/helper-plugin-utils" "^7.8.0"
"@babel/plugin-syntax-top-level-await@^7.8.3":
version "7.8.3"
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"
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=1578952595485&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-Os3s5pXmsTqvV/wpHRqACVDHE5E=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-arrow-functions@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-arrow-functions/download/@babel/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6"
integrity sha1-gndsLtDNnhpJlW2uuJYCTJRzuLY=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -385,43 +387,43 @@
"@babel/plugin-transform-block-scoped-functions@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoped-functions/download/@babel/plugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3"
integrity sha1-Q37sW3mbWFIHIISzrl72boNJ6KM=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-block-scoping@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoping/download/@babel/plugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a"
integrity sha1-l9Ndq2aFekN8FmNYuR0JBQyGjzo=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
lodash "^4.17.13"
"@babel/plugin-transform-classes@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-classes/download/@babel/plugin-transform-classes-7.8.3.tgz#46fd7a9d2bb9ea89ce88720477979fe0d71b21b8"
integrity sha1-Rv16nSu56onOiHIEd5ef4NcbIbg=
"@babel/plugin-transform-classes@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-classes/download/@babel/plugin-transform-classes-7.8.6.tgz?cache=0&sync_timestamp=1582806192447&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-classes%2Fdownload%2F%40babel%2Fplugin-transform-classes-7.8.6.tgz#77534447a477cbe5995ae4aee3e39fbc8090c46d"
integrity sha1-d1NER6R3y+WZWuSu4+OfvICQxG0=
dependencies:
"@babel/helper-annotate-as-pure" "^7.8.3"
"@babel/helper-define-map" "^7.8.3"
"@babel/helper-function-name" "^7.8.3"
"@babel/helper-optimise-call-expression" "^7.8.3"
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/helper-replace-supers" "^7.8.3"
"@babel/helper-replace-supers" "^7.8.6"
"@babel/helper-split-export-declaration" "^7.8.3"
globals "^11.1.0"
"@babel/plugin-transform-computed-properties@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-computed-properties/download/@babel/plugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b"
integrity sha1-ltDSi3985OtbEguy4OlDNDyG+Bs=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-destructuring@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-destructuring/download/@babel/plugin-transform-destructuring-7.8.3.tgz#20ddfbd9e4676906b1056ee60af88590cc7aaa0b"
integrity sha1-IN372eRnaQaxBW7mCviFkMx6qgs=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -436,7 +438,7 @@
"@babel/plugin-transform-duplicate-keys@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-duplicate-keys/download/@babel/plugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1"
integrity sha1-jRLfMJqlN/JyiZxWXqF2jihuIfE=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -449,10 +451,10 @@
"@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3"
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-for-of@^7.8.4":
version "7.8.4"
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-b+jq5daHUIbuGF3QsJioUTeDtH0=
"@babel/plugin-transform-for-of@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-for-of/download/@babel/plugin-transform-for-of-7.8.6.tgz#a051bd1b402c61af97a27ff51b468321c7c2a085"
integrity sha1-oFG9G0AsYa+Xon/1G0aDIcfCoIU=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -466,21 +468,21 @@
"@babel/plugin-transform-literals@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-literals/download/@babel/plugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1"
integrity sha1-rvI5gj2RmU7Hto5VGTUl1229XcE=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-member-expression-literals@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-member-expression-literals/download/@babel/plugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410"
integrity sha1-lj/tS2IKx8v2Apx1VCQCn6OkBBA=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-modules-amd@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-amd/download/@babel/plugin-transform-modules-amd-7.8.3.tgz#65606d44616b50225e76f5578f33c568a0b876a5"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-amd/download/@babel/plugin-transform-modules-amd-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-amd%2Fdownload%2F%40babel%2Fplugin-transform-modules-amd-7.8.3.tgz#65606d44616b50225e76f5578f33c568a0b876a5"
integrity sha1-ZWBtRGFrUCJedvVXjzPFaKC4dqU=
dependencies:
"@babel/helper-module-transforms" "^7.8.3"
......@@ -489,7 +491,7 @@
"@babel/plugin-transform-modules-commonjs@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-commonjs/download/@babel/plugin-transform-modules-commonjs-7.8.3.tgz#df251706ec331bd058a34bdd72613915f82928a5"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-commonjs/download/@babel/plugin-transform-modules-commonjs-7.8.3.tgz?cache=0&sync_timestamp=1578951895542&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-commonjs%2Fdownload%2F%40babel%2Fplugin-transform-modules-commonjs-7.8.3.tgz#df251706ec331bd058a34bdd72613915f82928a5"
integrity sha1-3yUXBuwzG9BYo0vdcmE5FfgpKKU=
dependencies:
"@babel/helper-module-transforms" "^7.8.3"
......@@ -531,7 +533,7 @@
"@babel/plugin-transform-object-super@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-object-super/download/@babel/plugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725"
integrity sha1-67ah56hv+paFi9asAQLWWUQmFyU=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -539,7 +541,7 @@
"@babel/plugin-transform-parameters@^7.8.4":
version "7.8.4"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-parameters/download/@babel/plugin-transform-parameters-7.8.4.tgz#1d5155de0b65db0ccf9971165745d3bb990d77d3"
integrity sha1-HVFV3gtl2wzPmXEWV0XTu5kNd9M=
dependencies:
"@babel/helper-call-delegate" "^7.8.3"
......@@ -555,21 +557,21 @@
"@babel/plugin-transform-regenerator@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-regenerator/download/@babel/plugin-transform-regenerator-7.8.3.tgz?cache=0&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-sxAx6AWcB0lb8jYUyX89lpi8bsg=
dependencies:
regenerator-transform "^0.14.0"
"@babel/plugin-transform-reserved-words@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-reserved-words/download/@babel/plugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5"
integrity sha1-mgY1rE5mXSmxYoN908xQdF398fU=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-shorthand-properties@^7.8.3":
version "7.8.3"
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"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-shorthand-properties/download/@babel/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8"
integrity sha1-KFRSFuAjqDLU06EYXtSSvP6sCMg=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -599,7 +601,7 @@
"@babel/plugin-transform-typeof-symbol@^7.8.4":
version "7.8.4"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-typeof-symbol/download/@babel/plugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-typeof-symbol/download/@babel/plugin-transform-typeof-symbol-7.8.4.tgz?cache=0&sync_timestamp=1580387843621&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-typeof-symbol%2Fdownload%2F%40babel%2Fplugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412"
integrity sha1-7eQGIxXOCq+KZXqSCFjxovNfxBI=
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
......@@ -612,13 +614,13 @@
"@babel/helper-create-regexp-features-plugin" "^7.8.3"
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/preset-env@^7.7.4":
version "7.8.4"
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-naxt9fQjAV09Sbbp5fo0E+SnLE4=
"@babel/preset-env@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/preset-env/download/@babel/preset-env-7.8.6.tgz#2a0773b08589ecba4995fc71b1965e4f531af40b"
integrity sha1-KgdzsIWJ7LpJlfxxsZZeT1Ma9As=
dependencies:
"@babel/compat-data" "^7.8.4"
"@babel/helper-compilation-targets" "^7.8.4"
"@babel/compat-data" "^7.8.6"
"@babel/helper-compilation-targets" "^7.8.6"
"@babel/helper-module-imports" "^7.8.3"
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-proposal-async-generator-functions" "^7.8.3"
......@@ -641,13 +643,13 @@
"@babel/plugin-transform-async-to-generator" "^7.8.3"
"@babel/plugin-transform-block-scoped-functions" "^7.8.3"
"@babel/plugin-transform-block-scoping" "^7.8.3"
"@babel/plugin-transform-classes" "^7.8.3"
"@babel/plugin-transform-classes" "^7.8.6"
"@babel/plugin-transform-computed-properties" "^7.8.3"
"@babel/plugin-transform-destructuring" "^7.8.3"
"@babel/plugin-transform-dotall-regex" "^7.8.3"
"@babel/plugin-transform-duplicate-keys" "^7.8.3"
"@babel/plugin-transform-exponentiation-operator" "^7.8.3"
"@babel/plugin-transform-for-of" "^7.8.4"
"@babel/plugin-transform-for-of" "^7.8.6"
"@babel/plugin-transform-function-name" "^7.8.3"
"@babel/plugin-transform-literals" "^7.8.3"
"@babel/plugin-transform-member-expression-literals" "^7.8.3"
......@@ -668,41 +670,41 @@
"@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"
"@babel/types" "^7.8.6"
browserslist "^4.8.5"
core-js-compat "^3.6.2"
invariant "^2.2.2"
levenary "^1.1.1"
semver "^5.5.0"
"@babel/template@^7.8.3":
version "7.8.3"
resolved "https://registry.npm.taobao.org/@babel/template/download/@babel/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8"
integrity sha1-4CrQT+JipleAkyf1eAVsoV/U0bg=
"@babel/template@^7.8.3", "@babel/template@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/template/download/@babel/template-7.8.6.tgz#86b22af15f828dfb086474f964dcc3e39c43ce2b"
integrity sha1-hrIq8V+CjfsIZHT5ZNzD45xDzis=
dependencies:
"@babel/code-frame" "^7.8.3"
"@babel/parser" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/parser" "^7.8.6"
"@babel/types" "^7.8.6"
"@babel/traverse@^7.8.3", "@babel/traverse@^7.8.4":
version "7.8.4"
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"
integrity sha1-8IRYIjZfnVsOMS7TlZ0/gn+Gnjw=
"@babel/traverse@^7.8.3", "@babel/traverse@^7.8.4", "@babel/traverse@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.8.6.tgz#acfe0c64e1cd991b3e32eae813a6eb564954b5ff"
integrity sha1-rP4MZOHNmRs+MuroE6brVklUtf8=
dependencies:
"@babel/code-frame" "^7.8.3"
"@babel/generator" "^7.8.4"
"@babel/generator" "^7.8.6"
"@babel/helper-function-name" "^7.8.3"
"@babel/helper-split-export-declaration" "^7.8.3"
"@babel/parser" "^7.8.4"
"@babel/types" "^7.8.3"
"@babel/parser" "^7.8.6"
"@babel/types" "^7.8.6"
debug "^4.1.0"
globals "^11.1.0"
lodash "^4.17.13"
"@babel/types@^7.8.3":
version "7.8.3"
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-Wjg9/6VBbbG3Pe3/0xH/0HiPsxw=
"@babel/types@^7.8.3", "@babel/types@^7.8.6":
version "7.8.6"
resolved "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.8.6.tgz#629ecc33c2557fcde7126e58053127afdb3e6d01"
integrity sha1-Yp7MM8JVf83nEm5YBTEnr9s+bQE=
dependencies:
esutils "^2.0.2"
lodash "^4.17.13"
......@@ -717,33 +719,33 @@ ansi-styles@^3.2.1:
babel-plugin-dynamic-import-node@^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?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"
resolved "https://registry.npm.taobao.org/babel-plugin-dynamic-import-node/download/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f"
integrity sha1-8A9Qe9qjw+P/bn5emNkKesq5b38=
dependencies:
object.assign "^4.1.0"
browserslist@^4.8.3, browserslist@^4.8.5:
version "4.8.7"
resolved "https://registry.npm.taobao.org/browserslist/download/browserslist-4.8.7.tgz#ec8301ff415e6a42c949d0e66b405eb539c532d0"
integrity sha1-7IMB/0FeakLJSdDma0BetTnFMtA=
version "4.9.1"
resolved "https://registry.npm.taobao.org/browserslist/download/browserslist-4.9.1.tgz?cache=0&sync_timestamp=1582936992308&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbrowserslist%2Fdownload%2Fbrowserslist-4.9.1.tgz#01ffb9ca31a1aef7678128fc6a2253316aa7287c"
integrity sha1-Af+5yjGhrvdngSj8aiJTMWqnKHw=
dependencies:
caniuse-lite "^1.0.30001027"
electron-to-chromium "^1.3.349"
node-releases "^1.1.49"
caniuse-lite "^1.0.30001030"
electron-to-chromium "^1.3.363"
node-releases "^1.1.50"
camelcase@^5.3.1:
version "5.3.1"
resolved "https://registry.npm.taobao.org/camelcase/download/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
integrity sha1-48mzFWnhBoEd8kL3FXJaH0xJQyA=
caniuse-lite@^1.0.30001027:
version "1.0.30001028"
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-8iQSQqxw4Pqc2lXCd20yoIZ5ccI=
caniuse-lite@^1.0.30001030:
version "1.0.30001030"
resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001030.tgz#78076c4c6d67d3e41d6eb9399853fb27fe6e44ee"
integrity sha1-eAdsTG1n0+Qdbrk5mFP7J/5uRO4=
chalk@^2.0.0:
version "2.4.2"
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"
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"
integrity sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=
dependencies:
ansi-styles "^3.2.1"
......@@ -752,7 +754,7 @@ chalk@^2.0.0:
color-convert@^1.9.0:
version "1.9.3"
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"
resolved "https://registry.npm.taobao.org/color-convert/download/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
integrity sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=
dependencies:
color-name "1.1.3"
......@@ -769,14 +771,14 @@ commander@~2.20.3:
convert-source-map@^1.7.0:
version "1.7.0"
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"
resolved "https://registry.npm.taobao.org/convert-source-map/download/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442"
integrity sha1-F6LLiC1/d9NJBYXizmxSRCSjpEI=
dependencies:
safe-buffer "~5.1.1"
core-js-compat@^3.6.2:
version "3.6.4"
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"
resolved "https://registry.npm.taobao.org/core-js-compat/download/core-js-compat-3.6.4.tgz#938476569ebb6cda80d339bcf199fae4f16fff17"
integrity sha1-k4R2Vp67bNqA0zm88Zn65PFv/xc=
dependencies:
browserslist "^4.8.3"
......@@ -784,7 +786,7 @@ core-js-compat@^3.6.2:
debug@^4.1.0:
version "4.1.1"
resolved "https://registry.npm.taobao.org/debug/download/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
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"
integrity sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=
dependencies:
ms "^2.1.1"
......@@ -796,10 +798,10 @@ define-properties@^1.1.2:
dependencies:
object-keys "^1.0.12"
electron-to-chromium@^1.3.349:
version "1.3.356"
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-+5he4PMCPm4RuXVH/z9zi92GQ9I=
electron-to-chromium@^1.3.363:
version "1.3.364"
resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.364.tgz?cache=0&sync_timestamp=1582938192929&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.364.tgz#524bd0cf9c45ba49c508fd3b731a07efbf310b1c"
integrity sha1-UkvQz5xFuknFCP07cxoH778xCxw=
escape-string-regexp@^1.0.5:
version "1.0.5"
......@@ -808,7 +810,7 @@ escape-string-regexp@^1.0.5:
esutils@^2.0.2:
version "2.0.3"
resolved "https://registry.npm.taobao.org/esutils/download/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
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"
integrity sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=
function-bind@^1.1.1:
......@@ -838,7 +840,7 @@ has-symbols@^1.0.0:
invariant@^2.2.2, invariant@^2.2.4:
version "2.2.4"
resolved "https://registry.npm.taobao.org/invariant/download/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
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"
integrity sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY=
dependencies:
loose-envify "^1.0.0"
......@@ -860,7 +862,7 @@ jsesc@~0.5.0:
json5@^2.1.0:
version "2.1.1"
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"
resolved "https://registry.npm.taobao.org/json5/download/json5-2.1.1.tgz#81b6cb04e9ba496f1c7005d07b4368a2638f90b6"
integrity sha1-gbbLBOm6SW8ccAXQe0NoomOPkLY=
dependencies:
minimist "^1.2.0"
......@@ -872,14 +874,14 @@ leven@^3.1.0:
levenary@^1.1.1:
version "1.1.1"
resolved "https://registry.npm.taobao.org/levenary/download/levenary-1.1.1.tgz#842a9ee98d2075aa7faeedbe32679e9205f46f77"
resolved "https://registry.npm.taobao.org/levenary/download/levenary-1.1.1.tgz?cache=0&sync_timestamp=1580182411097&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flevenary%2Fdownload%2Flevenary-1.1.1.tgz#842a9ee98d2075aa7faeedbe32679e9205f46f77"
integrity sha1-hCqe6Y0gdap/ru2+MmeekgX0b3c=
dependencies:
leven "^3.1.0"
lodash@^4.17.13:
version "4.17.15"
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"
resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg=
loose-envify@^1.0.0:
......@@ -896,13 +898,13 @@ minimist@^1.2.0:
ms@^2.1.1:
version "2.1.2"
resolved "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
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"
integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=
node-releases@^1.1.49:
version "1.1.49"
resolved "https://registry.npm.taobao.org/node-releases/download/node-releases-1.1.49.tgz#67ba5a3fac2319262675ef864ed56798bb33b93e"
integrity sha1-Z7paP6wjGSYmde+GTtVnmLszuT4=
node-releases@^1.1.50:
version "1.1.50"
resolved "https://registry.npm.taobao.org/node-releases/download/node-releases-1.1.50.tgz?cache=0&sync_timestamp=1582335507431&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-releases%2Fdownload%2Fnode-releases-1.1.50.tgz#803c40d2c45db172d0410e4efec83aa8c6ad0592"
integrity sha1-gDxA0sRdsXLQQQ5O/sg6qMatBZI=
dependencies:
semver "^6.3.0"
......@@ -931,6 +933,10 @@ private@^0.1.6:
resolved "https://registry.npm.taobao.org/private/download/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
integrity sha1-I4Hts2ifelPWUxkAYPz4ItLzaP8=
"props-compute@http://gitlab2.dui88.com/laoqifeng/props-compute.git":
version "1.0.0"
resolved "http://gitlab2.dui88.com/laoqifeng/props-compute.git#8ef14521dd1ed4148999b23871e93000a9d4fc88"
regenerate-unicode-properties@^8.1.0:
version "8.1.0"
resolved "https://registry.npm.taobao.org/regenerate-unicode-properties/download/regenerate-unicode-properties-8.1.0.tgz#ef51e0f0ea4ad424b77bf7cb41f3e015c70a3f0e"
......@@ -945,14 +951,14 @@ regenerate@^1.4.0:
regenerator-transform@^0.14.0:
version "0.14.1"
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"
resolved "https://registry.npm.taobao.org/regenerator-transform/download/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb"
integrity sha1-Oy/OThq3cywI9mXf2zFHScfd0vs=
dependencies:
private "^0.1.6"
regexpu-core@^4.6.0:
version "4.6.0"
resolved "https://registry.npm.taobao.org/regexpu-core/download/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6"
resolved "https://registry.npm.taobao.org/regexpu-core/download/regexpu-core-4.6.0.tgz?cache=0&sync_timestamp=1568375270709&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fregexpu-core%2Fdownload%2Fregexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6"
integrity sha1-IDfBizJ8/Oim/qKk7EQfJDKvuLY=
dependencies:
regenerate "^1.4.0"
......@@ -964,7 +970,7 @@ regexpu-core@^4.6.0:
regjsgen@^0.5.0:
version "0.5.1"
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"
resolved "https://registry.npm.taobao.org/regjsgen/download/regjsgen-0.5.1.tgz?cache=0&sync_timestamp=1571560340910&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fregjsgen%2Fdownload%2Fregjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c"
integrity sha1-SPC/Gl6iBRlpKcDZeYtC0e2YRDw=
regjsparser@^0.6.0:
......@@ -988,17 +994,17 @@ safe-buffer@~5.1.1:
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"
resolved "https://registry.npm.taobao.org/semver/download/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
integrity sha1-XzyjV2HkfgWyBsba/yz4FPAxa44=
semver@^5.4.1, semver@^5.5.0:
version "5.7.1"
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"
resolved "https://registry.npm.taobao.org/semver/download/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=
semver@^6.3.0:
version "6.3.0"
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"
resolved "https://registry.npm.taobao.org/semver/download/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=
source-map@^0.5.0:
......@@ -1020,13 +1026,13 @@ supports-color@^5.3.0:
to-fast-properties@^2.0.0:
version "2.0.0"
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"
resolved "https://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=
uglify-js@^3.7.1:
version "3.7.1"
resolved "https://registry.npm.taobao.org/uglify-js/download/uglify-js-3.7.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fuglify-js%2Fdownload%2Fuglify-js-3.7.1.tgz#35c7de17971a4aa7689cd2eae0a5b39bb838c0c5"
integrity sha1-NcfeF5caSqdonNLq4KWzm7g4wMU=
version "3.8.0"
resolved "https://registry.npm.taobao.org/uglify-js/download/uglify-js-3.8.0.tgz#f3541ae97b2f048d7e7e3aa4f39fd8a1f5d7a805"
integrity sha1-81Qa6XsvBI1+fjqk85/YofXXqAU=
dependencies:
commander "~2.20.3"
source-map "~0.6.1"
......@@ -1055,11 +1061,13 @@ unicode-property-aliases-ecmascript@^1.0.4:
integrity sha1-qcxsx85joKMCP8meNBuUQx1AWlc=
"zeroing-code-divider@http://gitlab2.dui88.com/laoqifeng/zeroing-code-divider.git":
version "1.0.0"
resolved "http://gitlab2.dui88.com/laoqifeng/zeroing-code-divider.git#18776cf8096cc5d5133c16dd58ac3de512c39402"
version "1.0.1"
resolved "http://gitlab2.dui88.com/laoqifeng/zeroing-code-divider.git#2ab6ba47c6657c5f5fca63f99df09cafc80de6cd"
dependencies:
props-compute "http://gitlab2.dui88.com/laoqifeng/props-compute.git"
"zeroing-template-fill@http://gitlab2.dui88.com/laoqifeng/zeroing-template-fill.git":
version "1.0.0"
resolved "http://gitlab2.dui88.com/laoqifeng/zeroing-template-fill.git#574fc720889a52714ec437fc5cc6dcbc002083b3"
resolved "http://gitlab2.dui88.com/laoqifeng/zeroing-template-fill.git#11f5cc42faea5745a36fc73fc8374419031de783"
dependencies:
camelcase "^5.3.1"
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