@meteorjs/babel 7.11.1 → 7.14.0-beta.1

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # @meteorjs/babel [![Build Status](https://travis-ci.org/meteor/babel.svg)](https://travis-ci.org/meteor/babel)
1
+ # @meteorjs/babel [![Build Status](https://travis-ci.com/meteor/babel.svg)](https://travis-ci.com/meteor/babel)
2
2
 
3
3
  [Babel](https://babeljs.io/) wrapper package for use with [Meteor](https://github.com/meteor/meteor).
package/cache.js CHANGED
@@ -3,7 +3,7 @@ var path = require("path");
3
3
  var fs = require("fs");
4
4
  var util = require("./util.js");
5
5
  var meteorBabelVersion = require("./package.json").version;
6
- var reifyVersion = require("reify/package.json").version;
6
+ var reifyVersion = require("@meteorjs/reify/package.json").version;
7
7
  var hasOwn = Object.prototype.hasOwnProperty;
8
8
 
9
9
  function Cache(fillFn, cacheDir) {
@@ -68,7 +68,7 @@ Cp.get = function (source, options, deps) {
68
68
  source, options, deps
69
69
  );
70
70
  }
71
-
71
+
72
72
  var cacheFile = cacheHash + ".json";
73
73
  var fullCacheFile = path.join(this.dir, cacheFile);
74
74
  var result;
package/index.js CHANGED
@@ -10,7 +10,7 @@ let options; // Lazily initialized.
10
10
  // Make sure that module.importSync and module.export are defined in the
11
11
  // current Node process.
12
12
  const Module = module.constructor;
13
- require("reify/lib/runtime").enable(Module.prototype);
13
+ require("@meteorjs/reify/lib/runtime").enable(Module.prototype);
14
14
 
15
15
  // Options passed to compile will completely replace the default options,
16
16
  // so if you only want to modify the default options, call this function
package/options.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- const getESModule = require("reify/lib/runtime/utils.js").getESModule;
3
+ const getESModule = require("@meteorjs/reify/lib/runtime/utils.js").getESModule;
4
4
  const nodeRequire = require;
5
5
  require = function require(id) {
6
6
  const exports = nodeRequire(id);
@@ -10,7 +10,7 @@ require = function require(id) {
10
10
  const babelRuntimeVersion = require("@babel/runtime/package.json").version;
11
11
  const babelPresetMeteor = require("babel-preset-meteor");
12
12
  const babelPresetMeteorModern = require("babel-preset-meteor/modern");
13
- const reifyPlugin = require("reify/plugins/babel");
13
+ const reifyPlugin = require("@meteorjs/reify/plugins/babel");
14
14
 
15
15
  function getReifyPlugin(features) {
16
16
  return [reifyPlugin, getReifyOptions(features)];
@@ -110,7 +110,7 @@ function getDefaultsForModernBrowsers(features) {
110
110
  return finish(features, [combined]);
111
111
  }
112
112
 
113
- const parserOpts = require("reify/lib/parsers/babel.js").options;
113
+ const parserOpts = require("@meteorjs/reify/lib/parsers/babel.js").options;
114
114
  const util = require("./util.js");
115
115
 
116
116
  function finish(features, presets) {
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.11.1",
4
+ "version": "7.14.0-beta.1",
5
5
  "license": "MIT",
6
6
  "description": "Babel wrapper package for use with Meteor",
7
7
  "keywords": [
@@ -30,32 +30,32 @@
30
30
  "url": "https://github.com/meteor/babel/issues"
31
31
  },
32
32
  "dependencies": {
33
- "@babel/core": "^7.14.3",
34
- "@babel/parser": "^7.14.3",
35
- "@babel/plugin-proposal-class-properties": "^7.13.0",
33
+ "@babel/core": "^7.15.0",
34
+ "@babel/parser": "^7.15.3",
35
+ "@babel/plugin-proposal-class-properties": "^7.14.5",
36
36
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
37
- "@babel/plugin-transform-modules-commonjs": "^7.14.0",
38
- "@babel/plugin-transform-runtime": "^7.14.3",
39
- "@babel/preset-react": "^7.13.13",
40
- "@babel/runtime": "^7.14.0",
41
- "@babel/template": "^7.12.13",
42
- "@babel/traverse": "^7.14.2",
43
- "@babel/types": "^7.14.2",
37
+ "@babel/plugin-transform-modules-commonjs": "^7.15.0",
38
+ "@babel/plugin-transform-runtime": "^7.15.0",
39
+ "@babel/preset-react": "^7.14.5",
40
+ "@babel/runtime": "^7.15.3",
41
+ "@babel/template": "^7.14.5",
42
+ "@babel/traverse": "^7.15.0",
43
+ "@babel/types": "^7.15.0",
44
44
  "babel-preset-meteor": "^7.10.0",
45
45
  "babel-preset-minify": "^0.5.1",
46
46
  "convert-source-map": "^1.6.0",
47
47
  "lodash": "^4.17.21",
48
48
  "meteor-babel-helpers": "0.0.3",
49
- "reify": "^0.20.12",
50
- "typescript": "^4.3.2"
49
+ "@meteorjs/reify": "0.23.0-beta.1",
50
+ "typescript": "^4.3.5"
51
51
  },
52
52
  "devDependencies": {
53
- "@babel/plugin-proposal-decorators": "7.14.2",
54
- "@babel/plugin-syntax-decorators": "7.12.13",
53
+ "@babel/plugin-proposal-decorators": "7.14.5",
54
+ "@babel/plugin-syntax-decorators": "7.14.5",
55
55
  "d3": "4.13.0",
56
56
  "fibers": "5.0.0",
57
- "meteor-promise": "0.8.7",
58
- "mocha": "6.1.4",
57
+ "meteor-promise": "0.9.0",
58
+ "mocha": "6.2.3",
59
59
  "promise": "8.1.0",
60
60
  "source-map": "0.6.1"
61
61
  }
package/parser.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  const babelParser = require("@babel/parser");
4
- const defaultParserOptions = require("reify/lib/parsers/babel.js").options;
4
+ const defaultParserOptions = require("@meteorjs/reify/lib/parsers/babel.js").options;
5
5
 
6
6
  function parse(code, parserOptions) {
7
7
  return babelParser.parse(code, parserOptions || defaultParserOptions);
package/register.js CHANGED
@@ -7,7 +7,7 @@ var meteorBabel = require("./index.js");
7
7
  var util = require("./util.js");
8
8
 
9
9
  var Module = module.constructor;
10
- require("reify/lib/runtime").enable(Module.prototype);
10
+ require("@meteorjs/reify/lib/runtime").enable(Module.prototype);
11
11
 
12
12
  var config = {
13
13
  sourceMapRootPath: null,
package/runtime.js CHANGED
@@ -9,7 +9,7 @@ Module.prototype.resolve = function (id) {
9
9
  return Module._resolveFilename(id, this);
10
10
  };
11
11
 
12
- require("reify/lib/runtime").enable(Module.prototype);
12
+ require("@meteorjs/reify/lib/runtime").enable(Module.prototype);
13
13
 
14
14
  require("meteor-promise").makeCompatible(
15
15
  global.Promise = global.Promise ||
package/.idea/babel.iml DELETED
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <excludeFolder url="file://$MODULE_DIR$/temp" />
6
- <excludeFolder url="file://$MODULE_DIR$/.tmp" />
7
- <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
- </content>
9
- <orderEntry type="inheritedJdk" />
10
- <orderEntry type="sourceFolder" forTests="false" />
11
- </component>
12
- </module>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/babel.iml" filepath="$PROJECT_DIR$/.idea/babel.iml" />
6
- </modules>
7
- </component>
8
- </project>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>