Socket
Socket
Sign inDemoInstall

metro-react-native-babel-transformer

Package Overview
Dependencies
163
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.70.3 to 0.71.0

8

package.json
{
"name": "metro-react-native-babel-transformer",
"version": "0.70.3",
"version": "0.71.0",
"description": "Babel transformer for React Native applications.",

@@ -24,5 +24,5 @@ "main": "src/index.js",

"hermes-parser": "0.6.0",
"metro-babel-transformer": "0.70.3",
"metro-react-native-babel-preset": "0.70.3",
"metro-source-map": "0.70.3",
"metro-babel-transformer": "0.71.0",
"metro-react-native-babel-preset": "0.71.0",
"metro-source-map": "0.71.0",
"nullthrows": "^1.1.1"

@@ -29,0 +29,0 @@ },

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

if (fs.existsSync(projectBabelRCPath)) {
// $FlowFixMe[incompatible-use] `extends` is missing in null or undefined.
babelRC.extends = projectBabelRCPath;

@@ -92,5 +93,8 @@ }

// the default preset for react-native will be used instead.
// $FlowFixMe[incompatible-use] `extends` is missing in null or undefined.
// $FlowFixMe[incompatible-type] `extends` is missing in null or undefined.
if (!babelRC.extends) {
const { experimentalImportSupport, ...presetOptions } = options;
const { experimentalImportSupport, ...presetOptions } = options; // $FlowFixMe[incompatible-use] `presets` is missing in null or undefined.
babelRC.presets = [

@@ -156,3 +160,3 @@ [

hmrConfig.plugins = withExtrPlugins.concat(hmrConfig.plugins);
config = Object.assign({}, config, hmrConfig);
config = { ...config, ...hmrConfig };
}

@@ -159,0 +163,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc