File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,3 +68,4 @@ declare module 'gulp-if';
6868declare module 'gulp-concat-css' ;
6969declare module 'gulp-strip-css-comments' ;
7070declare module 'circular-dependency-plugin' ;
71+ declare module '@babel/plugin-proposal-optional-chaining' ;
Original file line number Diff line number Diff line change 11{
22 "name" : " pri" ,
3- "version" : " 3.3.28-beta.8 " ,
3+ "version" : " 3.3.28-beta.9 " ,
44 "types" : " src/node/index.ts" ,
55 "main" : " built/node/index.js" ,
66 "scripts" : {
3535 "@babel/plugin-proposal-json-strings" : " 7.2.0" ,
3636 "@babel/plugin-proposal-numeric-separator" : " 7.2.0" ,
3737 "@babel/plugin-proposal-optional-catch-binding" : " 7.2.0" ,
38+ "@babel/plugin-proposal-optional-chaining" : " ^7.6.0" ,
3839 "@babel/plugin-proposal-throw-expressions" : " 7.2.0" ,
3940 "@babel/plugin-syntax-dynamic-import" : " 7.2.0" ,
4041 "@babel/plugin-syntax-import-meta" : " 7.2.0" ,
151152 "worker-loader" : " 2.0.0" ,
152153 "yargs" : " 13.2.4"
153154 }
154- }
155+ }
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import babelPluginProposalJsonStrings from '@babel/plugin-proposal-json-strings'
66import babelPluginProposalNumericSeparator from '@babel/plugin-proposal-numeric-separator' ;
77import babelPluginProposalOptionalCatchBinding from '@babel/plugin-proposal-optional-catch-binding' ;
88import babelPluginProposalThrowExpressions from '@babel/plugin-proposal-throw-expressions' ;
9+ import babelPluginProposalOptionalChaining from '@babel/plugin-proposal-optional-chaining' ;
910import babelPluginSyntaxDynamicImport from '@babel/plugin-syntax-dynamic-import' ;
1011import babelPluginSyntaxImportMeta from '@babel/plugin-syntax-import-meta' ;
1112import transformRuntime from '@babel/plugin-transform-runtime' ;
@@ -38,6 +39,7 @@ export function getBabelOptions(options?: Partial<DefaultOptions>) {
3839 [ babelPluginProposalFunctionSent ] ,
3940 [ babelPluginProposalNumericSeparator ] ,
4041 [ babelPluginProposalThrowExpressions ] ,
42+ [ babelPluginProposalOptionalChaining ] ,
4143 [ babelPluginSyntaxDynamicImport ] ,
4244 [ babelPluginSyntaxImportMeta ] ,
4345 [ babelPluginProposalClassProperties , { loose : true } ] ,
Original file line number Diff line number Diff line change 341341 "@babel/helper-plugin-utils" "^7.0.0"
342342 "@babel/plugin-syntax-optional-catch-binding" "^7.2.0"
343343
344+ "@babel/plugin-proposal-optional-chaining@^7.6.0":
345+ version "7.6.0"
346+ resolved "https://registry.npm.alibaba-inc.com/@babel/plugin-proposal-optional-chaining/download/@babel/plugin-proposal-optional-chaining-7.6.0.tgz#e9bf1f9b9ba10c77c033082da75f068389041af8"
347+ integrity sha1-6b8fm5uhDHfAMwgtp18Gg4kEGvg=
348+ dependencies:
349+ "@babel/helper-plugin-utils" "^7.0.0"
350+ "@babel/plugin-syntax-optional-chaining" "^7.2.0"
351+
344352"@babel/plugin-proposal-throw-expressions@7.2.0":
345353 version "7.2.0"
346354 resolved "https://registry.npm.alibaba-inc.com/@babel/plugin-proposal-throw-expressions/download/@babel/plugin-proposal-throw-expressions-7.2.0.tgz#2d9e452d370f139000e51db65d0a85dc60c64739"
435443 dependencies:
436444 "@babel/helper-plugin-utils" "^7.0.0"
437445
446+ "@babel/plugin-syntax-optional-chaining@^7.2.0":
447+ version "7.2.0"
448+ resolved "https://registry.npm.alibaba-inc.com/@babel/plugin-syntax-optional-chaining/download/@babel/plugin-syntax-optional-chaining-7.2.0.tgz#a59d6ae8c167e7608eaa443fda9fa8fa6bf21dff"
449+ integrity sha1-pZ1q6MFn52COqkQ/2p+o+mvyHf8=
450+ dependencies:
451+ "@babel/helper-plugin-utils" "^7.0.0"
452+
438453"@babel/plugin-syntax-throw-expressions@^7.2.0":
439454 version "7.2.0"
440455 resolved "https://registry.npm.alibaba-inc.com/@babel/plugin-syntax-throw-expressions/download/@babel/plugin-syntax-throw-expressions-7.2.0.tgz#79001ee2afe1b174b1733cdc2fc69c9a46a0f1f8"
You can’t perform that action at this time.
0 commit comments