babel-preset-expo 10.0.0 → 10.0.2

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.
Files changed (2) hide show
  1. package/build/index.js +1 -1
  2. package/package.json +3 -3
package/build/index.js CHANGED
@@ -53,7 +53,7 @@ function babelPresetExpo(api, options = {}) {
53
53
  // getters and setters in spread objects. We need to add this plugin ourself without that option.
54
54
  // @see https://github.com/expo/expo/pull/11960#issuecomment-887796455
55
55
  extraPlugins.push([
56
- require.resolve('@babel/plugin-proposal-object-rest-spread'),
56
+ require.resolve('@babel/plugin-transform-object-rest-spread'),
57
57
  { loose: false },
58
58
  ]);
59
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babel-preset-expo",
3
- "version": "10.0.0",
3
+ "version": "10.0.2",
4
4
  "description": "The Babel preset for Expo projects",
5
5
  "main": "build/index.js",
6
6
  "files": [
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@babel/plugin-proposal-decorators": "^7.12.9",
45
- "@babel/plugin-proposal-object-rest-spread": "^7.12.13",
45
+ "@babel/plugin-transform-object-rest-spread": "^7.12.13",
46
46
  "@babel/plugin-transform-export-namespace-from": "^7.22.11",
47
47
  "@babel/preset-env": "^7.20.0",
48
48
  "@babel/preset-react": "^7.22.15",
@@ -56,5 +56,5 @@
56
56
  "expo-module-scripts": "^3.3.0",
57
57
  "jest": "^29.2.1"
58
58
  },
59
- "gitHead": "6aca7ce098ddc667776a3d7cf612adbb985e264a"
59
+ "gitHead": "88a8226609b870c0635c39da43ac8306c4dc7031"
60
60
  }