@meteorjs/babel 7.21.0-beta.1 → 7.21.0-beta.3

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 (3) hide show
  1. package/options.js +1 -1
  2. package/package.json +4 -2
  3. package/parser.js +1 -0
package/options.js CHANGED
@@ -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-transform-async-generator-functions"));
201
+ combined.plugins.push(require("@babel/plugin-proposal-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.21.0-beta.1",
4
+ "version": "7.21.0-beta.3",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
7
7
  "description": "Babel wrapper package for use with Meteor",
@@ -33,8 +33,10 @@
33
33
  "dependencies": {
34
34
  "@babel/core": "^7.17.2",
35
35
  "@babel/parser": "^7.17.0",
36
+ "@babel/plugin-proposal-async-generator-functions": "^7.20.7",
36
37
  "@babel/plugin-transform-class-properties": "^7.24.6",
37
38
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
39
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
38
40
  "@babel/plugin-transform-modules-commonjs": "^7.16.8",
39
41
  "@babel/plugin-transform-runtime": "^7.17.0",
40
42
  "@babel/preset-react": "^7.16.7",
@@ -43,7 +45,7 @@
43
45
  "@babel/traverse": "^7.17.0",
44
46
  "@babel/types": "^7.17.0",
45
47
  "@meteorjs/reify": "0.25.2",
46
- "babel-preset-meteor": "^8.0.0",
48
+ "babel-preset-meteor": "^8.0.2",
47
49
  "babel-preset-minify": "^0.5.1",
48
50
  "convert-source-map": "^1.6.0",
49
51
  "lodash": "^4.17.21",
package/parser.js CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  const babelParser = require("@babel/parser");
4
4
  const defaultParserOptions = require("@meteorjs/reify/lib/parsers/babel.js").options;
5
+ console.log("-> defaultParserOptions", defaultParserOptions);
5
6
 
6
7
  function parse(code, parserOptions) {
7
8
  return babelParser.parse(code, parserOptions || defaultParserOptions);