Commit Graph

9 Commits

Author SHA1 Message Date
Ben Newman
09950c403b Update reify npm package to version 0.17.2. 2018-07-31 20:48:25 -04:00
Ben Newman
bd5370dda9 Fix mistaken usage of require(reify/lib/runtime).enable.
Related fix in meteor-babel@0.24.4:
786194734c
2017-07-22 09:17:05 -04:00
Ben Newman
2ae406a61f Enable the Reify runtime API even if meteor-babel/register does not. 2017-07-21 18:59:16 -04:00
Ben Newman
2ca9e322d9 Use Babel options appropriate for Node 8 to compile meteor/tools.
Related to https://github.com/meteor/meteor/pull/8728#issue-232369984,
though these changes apply only to the meteor/tools codebase. We still
need to make similar changes to the babel-compiler package so that
application code will benefit.

The assumption that we're using Node 8 also allows some simplifications to
the runtime polyfills that we use.
2017-07-21 14:07:28 -04:00
Ben Newman
42c41901c5 Call module.runSetters() after any meteor/tools modules load. 2017-05-09 21:23:41 -04:00
Ben Newman
a9e8cbe267 Move Promise runtime setup into its own module.
Test code was requiring the install-runtime.js module without requiring
the index.js module, so global.Promise was not defined.
2016-07-07 17:01:11 -04:00
Ben Newman
eadb6e65cc Ensure only one Promise constructor is ever used by tools code. 2016-07-07 11:04:18 -04:00
Ben Newman
a5b34af583 Fix babel-runtime/regenerator import in tools runtime setup.
Fixes #7181.
2016-06-16 16:59:58 -04:00
Ben Newman
6aec3603c8 Separate install-runtime.js from install-babel.js. 2016-05-19 17:04:08 -04:00