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

metro-react-native-babel-transformer

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.73.7 to 0.74.0

8

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

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

"hermes-parser": "0.8.0",
"metro-babel-transformer": "0.73.7",
"metro-react-native-babel-preset": "0.73.7",
"metro-source-map": "0.73.7",
"metro-babel-transformer": "0.74.0",
"metro-react-native-babel-preset": "0.74.0",
"metro-source-map": "0.74.0",
"nullthrows": "^1.1.1"

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

@@ -189,2 +189,7 @@ /**

ast: true,
// NOTE(EvanBacon): We split the parse/transform steps up to accommodate
// Hermes parsing, but this defaults to cloning the AST which increases
// the transformation time by a fair amount.
// You get this behavior by default when using Babel's `transform` method directly.
cloneInputAst: false,
};

@@ -200,6 +205,6 @@ const sourceAst =

});
const result = transformFromAstSync(sourceAst, src, babelConfig);
const functionMap = generateFunctionMap(sourceAst, {
filename,
});
const result = transformFromAstSync(sourceAst, src, babelConfig);

@@ -206,0 +211,0 @@ // The result from `transformFromAstSync` can be null (if the file is ignored)

Sorry, the diff of this file is not supported yet

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