Skip to content

Commit 0993f43

Browse files
committed
feat: deploy 3.3.28-beta.9
1 parent 3970c26 commit 0993f43

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

declare/npm.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,4 @@ declare module 'gulp-if';
6868
declare module 'gulp-concat-css';
6969
declare module 'gulp-strip-css-comments';
7070
declare module 'circular-dependency-plugin';
71+
declare module '@babel/plugin-proposal-optional-chaining';

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {
@@ -35,6 +35,7 @@
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",
@@ -151,4 +152,4 @@
151152
"worker-loader": "2.0.0",
152153
"yargs": "13.2.4"
153154
}
154-
}
155+
}

src/utils/babel-options.ts

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import babelPluginProposalJsonStrings from '@babel/plugin-proposal-json-strings'
66
import babelPluginProposalNumericSeparator from '@babel/plugin-proposal-numeric-separator';
77
import babelPluginProposalOptionalCatchBinding from '@babel/plugin-proposal-optional-catch-binding';
88
import babelPluginProposalThrowExpressions from '@babel/plugin-proposal-throw-expressions';
9+
import babelPluginProposalOptionalChaining from '@babel/plugin-proposal-optional-chaining';
910
import babelPluginSyntaxDynamicImport from '@babel/plugin-syntax-dynamic-import';
1011
import babelPluginSyntaxImportMeta from '@babel/plugin-syntax-import-meta';
1112
import 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 }],

yarn.lock

+15
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,14 @@
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
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"
@@ -435,6 +443,13 @@
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"

0 commit comments

Comments
 (0)