babel-preset-diff
Advanced tools
Comparing version 6.1.3 to 6.2.0
12
index.js
@@ -10,2 +10,7 @@ /* eslint-disable flowtype/require-valid-file-annotation */ | ||
const pluginProposalNullishCoalescingOperator = require('@babel/plugin-proposal-nullish-coalescing-operator') | ||
.default | ||
const pluginProposalOptionalChaining = require('@babel/plugin-proposal-optional-chaining') | ||
.default | ||
module.exports = function(context, options) { | ||
@@ -28,4 +33,9 @@ return { | ||
], | ||
plugins: [pluginPackageNameImport, pluginSyntaxDynamicImport] | ||
plugins: [ | ||
pluginPackageNameImport, | ||
pluginSyntaxDynamicImport, | ||
pluginProposalNullishCoalescingOperator, | ||
pluginProposalOptionalChaining | ||
] | ||
} | ||
} |
{ | ||
"name": "babel-preset-diff", | ||
"version": "6.1.3", | ||
"version": "6.2.0", | ||
"description": "Compile all unsupported features for current environments", | ||
@@ -17,2 +17,4 @@ "keywords": [], | ||
"@babel/core": "^7.5.5", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", | ||
"@babel/plugin-proposal-optional-chaining": "^7.2.0", | ||
"@babel/plugin-syntax-dynamic-import": "^7.2.0", | ||
@@ -26,5 +28,5 @@ "@babel/preset-env": "^7.5.5", | ||
"@babel/register": "^7.5.5", | ||
"flow-bin": "^0.103.0", | ||
"flow-bin": "^0.104.0", | ||
"react": "^16.8.6", | ||
"standard-esnext": "^5.3.1" | ||
"standard-esnext": "^5.3.3" | ||
}, | ||
@@ -31,0 +33,0 @@ "babel": { |
4342
37
8
+ Added@babel/plugin-proposal-nullish-coalescing-operator@^7.4.4
+ Added@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(transitive)
+ Added@babel/plugin-proposal-optional-chaining@7.21.0(transitive)