@meteorjs/babel 7.20.0-beta.7 → 7.21.0-beta.0

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/options.js +3 -3
  2. package/package.json +3 -3
package/options.js CHANGED
@@ -86,7 +86,7 @@ function maybeAddReactPlugins(features, options) {
86
86
  if (features && features.react) {
87
87
  options.presets.push(require("@babel/preset-react"));
88
88
  options.plugins.push(
89
- [require("@babel/plugin-proposal-class-properties"), {
89
+ [require("@babel/plugin-transform-class-properties"), {
90
90
  loose: true
91
91
  }]
92
92
  );
@@ -184,7 +184,7 @@ function getDefaultsForNode8(features) {
184
184
  // Not fully supported in Node 8 without the --harmony flag.
185
185
  combined.plugins.push(
186
186
  require("@babel/plugin-syntax-object-rest-spread"),
187
- require("@babel/plugin-proposal-object-rest-spread")
187
+ require("@babel/plugin-transform-object-rest-spread")
188
188
  );
189
189
 
190
190
  if (features.useNativeAsyncAwait === false) {
@@ -198,7 +198,7 @@ function getDefaultsForNode8(features) {
198
198
  ]);
199
199
  }
200
200
  // Enable async generator functions proposal.
201
- combined.plugins.push(require("@babel/plugin-proposal-async-generator-functions"));
201
+ combined.plugins.push(require("@babel/plugin-transform-async-generator-functions"));
202
202
  }
203
203
 
204
204
  if (! compileModulesOnly) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meteorjs/babel",
3
3
  "author": "Meteor <dev@meteor.com>",
4
- "version": "7.20.0-beta.7",
4
+ "version": "7.21.0-beta.0",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
7
7
  "description": "Babel wrapper package for use with Meteor",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@babel/core": "^7.17.2",
35
35
  "@babel/parser": "^7.17.0",
36
- "@babel/plugin-proposal-class-properties": "^7.16.7",
36
+ "@babel/plugin-transform-class-properties": "^7.24.6",
37
37
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
38
38
  "@babel/plugin-transform-modules-commonjs": "^7.16.8",
39
39
  "@babel/plugin-transform-runtime": "^7.17.0",
@@ -43,7 +43,7 @@
43
43
  "@babel/traverse": "^7.17.0",
44
44
  "@babel/types": "^7.17.0",
45
45
  "@meteorjs/reify": "0.25.2",
46
- "babel-preset-meteor": "^7.10.4",
46
+ "babel-preset-meteor": "^7.11.0",
47
47
  "babel-preset-minify": "^0.5.1",
48
48
  "convert-source-map": "^1.6.0",
49
49
  "lodash": "^4.17.21",