babel-preset-expo 11.0.4 → 11.0.6

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.
@@ -93,7 +93,8 @@ const plugin = ({ types }) => {
93
93
  processNode(replacements, nodePath, memberExpressionComparator);
94
94
  },
95
95
  // const x = { version: VERSION };
96
- Identifier(nodePath, state) {
96
+ // @ts-expect-error: Virtual type `ReferencedIdentifier` is not on types.
97
+ ReferencedIdentifier(nodePath, state) {
97
98
  const binding = nodePath.scope?.getBinding(nodePath.node.name);
98
99
  if (binding ||
99
100
  // Don't transform import identifiers. This is meant to mimic webpack's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babel-preset-expo",
3
- "version": "11.0.4",
3
+ "version": "11.0.6",
4
4
  "description": "The Babel preset for Expo projects",
5
5
  "main": "build/index.js",
6
6
  "files": [
@@ -47,7 +47,7 @@
47
47
  "@babel/plugin-transform-parameters": "^7.22.15",
48
48
  "@babel/preset-typescript": "^7.23.0",
49
49
  "@babel/preset-react": "^7.22.15",
50
- "@react-native/babel-preset": "~0.74.82",
50
+ "@react-native/babel-preset": "~0.74.83",
51
51
  "babel-plugin-react-native-web": "~0.19.10",
52
52
  "react-refresh": "^0.14.2"
53
53
  },
@@ -56,5 +56,5 @@
56
56
  "expo-module-scripts": "^3.3.0",
57
57
  "jest": "^29.2.1"
58
58
  },
59
- "gitHead": "87bd0dfa8b784a834191195ca174a00dd30ee5b7"
59
+ "gitHead": "13c893625e8195887d69cc61d8b8988bed93f97a"
60
60
  }