metro-react-native-babel-transformer
Advanced tools
Comparing version 0.73.7 to 0.74.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15730
221
+ Addedmetro-babel-transformer@0.74.0(transitive)
+ Addedmetro-react-native-babel-preset@0.74.0(transitive)
+ Addedmetro-source-map@0.74.0(transitive)
+ Addedmetro-symbolicate@0.74.0(transitive)
+ Addedob1@0.74.0(transitive)
- Removedmetro-babel-transformer@0.73.7(transitive)
- Removedmetro-react-native-babel-preset@0.73.7(transitive)
- Removedmetro-source-map@0.73.7(transitive)
- Removedmetro-symbolicate@0.73.7(transitive)
- Removedob1@0.73.7(transitive)
Updatedmetro-source-map@0.74.0