File tree 4 files changed +21
-2
lines changed
4 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -68,3 +68,4 @@ declare module 'gulp-if';
68
68
declare module 'gulp-concat-css' ;
69
69
declare module 'gulp-strip-css-comments' ;
70
70
declare module 'circular-dependency-plugin' ;
71
+ declare module '@babel/plugin-proposal-optional-chaining' ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " pri" ,
3
- "version" : " 3.3.28-beta.8 " ,
3
+ "version" : " 3.3.28-beta.9 " ,
4
4
"types" : " src/node/index.ts" ,
5
5
"main" : " built/node/index.js" ,
6
6
"scripts" : {
35
35
"@babel/plugin-proposal-json-strings" : " 7.2.0" ,
36
36
"@babel/plugin-proposal-numeric-separator" : " 7.2.0" ,
37
37
"@babel/plugin-proposal-optional-catch-binding" : " 7.2.0" ,
38
+ "@babel/plugin-proposal-optional-chaining" : " ^7.6.0" ,
38
39
"@babel/plugin-proposal-throw-expressions" : " 7.2.0" ,
39
40
"@babel/plugin-syntax-dynamic-import" : " 7.2.0" ,
40
41
"@babel/plugin-syntax-import-meta" : " 7.2.0" ,
151
152
"worker-loader" : " 2.0.0" ,
152
153
"yargs" : " 13.2.4"
153
154
}
154
- }
155
+ }
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import babelPluginProposalJsonStrings from '@babel/plugin-proposal-json-strings'
6
6
import babelPluginProposalNumericSeparator from '@babel/plugin-proposal-numeric-separator' ;
7
7
import babelPluginProposalOptionalCatchBinding from '@babel/plugin-proposal-optional-catch-binding' ;
8
8
import babelPluginProposalThrowExpressions from '@babel/plugin-proposal-throw-expressions' ;
9
+ import babelPluginProposalOptionalChaining from '@babel/plugin-proposal-optional-chaining' ;
9
10
import babelPluginSyntaxDynamicImport from '@babel/plugin-syntax-dynamic-import' ;
10
11
import babelPluginSyntaxImportMeta from '@babel/plugin-syntax-import-meta' ;
11
12
import transformRuntime from '@babel/plugin-transform-runtime' ;
@@ -38,6 +39,7 @@ export function getBabelOptions(options?: Partial<DefaultOptions>) {
38
39
[ babelPluginProposalFunctionSent ] ,
39
40
[ babelPluginProposalNumericSeparator ] ,
40
41
[ babelPluginProposalThrowExpressions ] ,
42
+ [ babelPluginProposalOptionalChaining ] ,
41
43
[ babelPluginSyntaxDynamicImport ] ,
42
44
[ babelPluginSyntaxImportMeta ] ,
43
45
[ babelPluginProposalClassProperties , { loose : true } ] ,
Original file line number Diff line number Diff line change 341
341
"@babel/helper-plugin-utils" "^7.0.0"
342
342
"@babel/plugin-syntax-optional-catch-binding" "^7.2.0"
343
343
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
+
344
352
345
353
version "7.2.0"
346
354
resolved "https://registry.npm.alibaba-inc.com/@babel/plugin-proposal-throw-expressions/download/@babel/plugin-proposal-throw-expressions-7.2.0.tgz#2d9e452d370f139000e51db65d0a85dc60c64739"
435
443
dependencies:
436
444
"@babel/helper-plugin-utils" "^7.0.0"
437
445
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
+
438
453
"@babel/plugin-syntax-throw-expressions@^7.2.0":
439
454
version "7.2.0"
440
455
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