Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metro-react-native-babel-preset

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro-react-native-babel-preset - npm Package Compare versions

Comparing version 0.42.1 to 0.42.2

58

package.json
{
"name": "metro-react-native-babel-preset",
"version": "0.42.1",
"version": "0.42.2",
"description": "Babel preset for React Native applications",

@@ -21,30 +21,32 @@ "main": "src/index.js",

"dependencies": {
"@babel/plugin-proposal-class-properties": "7.0.0-beta.47",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.47",
"@babel/plugin-proposal-optional-chaining": "7.0.0-beta.47",
"@babel/plugin-transform-arrow-functions": "7.0.0-beta.47",
"@babel/plugin-transform-block-scoping": "7.0.0-beta.47",
"@babel/plugin-transform-classes": "7.0.0-beta.47",
"@babel/plugin-transform-computed-properties": "7.0.0-beta.47",
"@babel/plugin-transform-destructuring": "7.0.0-beta.47",
"@babel/plugin-transform-exponentiation-operator": "7.0.0-beta.47",
"@babel/plugin-transform-flow-strip-types": "7.0.0-beta.47",
"@babel/plugin-transform-for-of": "7.0.0-beta.47",
"@babel/plugin-transform-function-name": "7.0.0-beta.47",
"@babel/plugin-transform-literals": "7.0.0-beta.47",
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.47",
"@babel/plugin-transform-object-assign": "7.0.0-beta.47",
"@babel/plugin-transform-parameters": "7.0.0-beta.47",
"@babel/plugin-transform-react-display-name": "7.0.0-beta.47",
"@babel/plugin-transform-react-jsx": "7.0.0-beta.47",
"@babel/plugin-transform-react-jsx-source": "7.0.0-beta.47",
"@babel/plugin-transform-regenerator": "7.0.0-beta.47",
"@babel/plugin-transform-shorthand-properties": "7.0.0-beta.47",
"@babel/plugin-transform-spread": "7.0.0-beta.47",
"@babel/plugin-transform-sticky-regex": "7.0.0-beta.47",
"@babel/plugin-transform-template-literals": "7.0.0-beta.47",
"@babel/plugin-transform-unicode-regex": "7.0.0-beta.47",
"@babel/template": "7.0.0-beta.47",
"metro-babel7-plugin-react-transform": "0.42.1"
"@babel/plugin-proposal-class-properties": "7.0.0-beta.54",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.0.0-beta.54",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.54",
"@babel/plugin-proposal-optional-catch-binding": "7.0.0-beta.54",
"@babel/plugin-proposal-optional-chaining": "7.0.0-beta.54",
"@babel/plugin-transform-arrow-functions": "7.0.0-beta.54",
"@babel/plugin-transform-block-scoping": "7.0.0-beta.54",
"@babel/plugin-transform-classes": "7.0.0-beta.54",
"@babel/plugin-transform-computed-properties": "7.0.0-beta.54",
"@babel/plugin-transform-destructuring": "7.0.0-beta.54",
"@babel/plugin-transform-exponentiation-operator": "7.0.0-beta.54",
"@babel/plugin-transform-flow-strip-types": "7.0.0-beta.54",
"@babel/plugin-transform-for-of": "7.0.0-beta.54",
"@babel/plugin-transform-function-name": "7.0.0-beta.54",
"@babel/plugin-transform-literals": "7.0.0-beta.54",
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.54",
"@babel/plugin-transform-object-assign": "7.0.0-beta.54",
"@babel/plugin-transform-parameters": "7.0.0-beta.54",
"@babel/plugin-transform-react-display-name": "7.0.0-beta.54",
"@babel/plugin-transform-react-jsx": "7.0.0-beta.54",
"@babel/plugin-transform-react-jsx-source": "7.0.0-beta.54",
"@babel/plugin-transform-regenerator": "7.0.0-beta.54",
"@babel/plugin-transform-shorthand-properties": "7.0.0-beta.54",
"@babel/plugin-transform-spread": "7.0.0-beta.54",
"@babel/plugin-transform-sticky-regex": "7.0.0-beta.54",
"@babel/plugin-transform-template-literals": "7.0.0-beta.54",
"@babel/plugin-transform-unicode-regex": "7.0.0-beta.54",
"@babel/template": "7.0.0-beta.54",
"metro-babel7-plugin-react-transform": "0.42.2"
}
}

@@ -13,2 +13,3 @@ /**

const defaultPlugins = [
[require('@babel/plugin-proposal-optional-catch-binding')],
[require('@babel/plugin-transform-block-scoping')],

@@ -58,3 +59,10 @@ // the flow strip types plugin must go BEFORE class properties!

const objectRestSpread = [require('@babel/plugin-proposal-object-rest-spread')];
const optionalChaining = [require('@babel/plugin-proposal-optional-chaining')];
const nullishCoalescingOperator = [
require('@babel/plugin-proposal-nullish-coalescing-operator'),
{loose: true},
];
const optionalChaining = [
require('@babel/plugin-proposal-optional-chaining'),
{loose: true},
];
const reactDisplayName = [

@@ -109,2 +117,5 @@ require('@babel/plugin-transform-react-display-name'),

}
if (isNull || src.indexOf('??') !== -1) {
extraPlugins.push(nullishCoalescingOperator);
}

@@ -111,0 +122,0 @@ if (options && options.dev) {

@@ -13,2 +13,3 @@ /**

const defaultPlugins = [
[require('@babel/plugin-proposal-optional-catch-binding')],
[require('@babel/plugin-transform-block-scoping')],

@@ -58,3 +59,10 @@ // the flow strip types plugin must go BEFORE class properties!

const objectRestSpread = [require('@babel/plugin-proposal-object-rest-spread')];
const optionalChaining = [require('@babel/plugin-proposal-optional-chaining')];
const nullishCoalescingOperator = [
require('@babel/plugin-proposal-nullish-coalescing-operator'),
{ loose: true }];
const optionalChaining = [
require('@babel/plugin-proposal-optional-chaining'),
{ loose: true }];
const reactDisplayName = [

@@ -109,2 +117,5 @@ require('@babel/plugin-transform-react-display-name')];

}
if (isNull || src.indexOf('??') !== -1) {
extraPlugins.push(nullishCoalescingOperator);
}

@@ -111,0 +122,0 @@ if (options && options.dev) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc