@react-native/babel-preset 0.85.0-rc.0 → 0.86.0-nightly-20260305-c45c5cfc8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/babel-preset",
3
- "version": "0.85.0-rc.0",
3
+ "version": "0.86.0-nightly-20260305-c45c5cfc8",
4
4
  "description": "Babel preset for React Native applications",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,7 +54,7 @@
54
54
  "@babel/plugin-transform-runtime": "^7.24.7",
55
55
  "@babel/plugin-transform-typescript": "^7.25.2",
56
56
  "@babel/plugin-transform-unicode-regex": "^7.24.7",
57
- "@react-native/babel-plugin-codegen": "0.85.0-rc.0",
57
+ "@react-native/babel-plugin-codegen": "0.86.0-nightly-20260305-c45c5cfc8",
58
58
  "babel-plugin-syntax-hermes-parser": "0.33.3",
59
59
  "babel-plugin-transform-flow-enums": "^0.0.2",
60
60
  "react-refresh": "^0.14.0"
@@ -51,7 +51,7 @@ const getPreset = (src, options, babel) => {
51
51
  const transformProfile =
52
52
  options?.unstable_transformProfile ?? babel?.caller(getTransformProfile);
53
53
 
54
- const dev = options?.dev ?? babel.env('development');
54
+ const dev = options?.dev ?? babel?.env('development') ?? false;
55
55
 
56
56
  // Hermes V1 (aka Static Hermes) uses more optimised profiles.
57
57
  // There is currently no difference between stable and canary, but canary