Commit Graph

19823 Commits

Author SHA1 Message Date
Ben Newman
bfea51815a Bump package versions for 1.6-beta.30 release. release/METEOR@1.6-beta.30 2017-09-18 17:31:25 -04:00
Ben Newman
b6f5d5c136 Update bundle-visualizer shrinkwrap to npm 5 format. 2017-09-18 17:30:40 -04:00
Ben Newman
eec8a1f8e9 Merge branch 'devel' into release-1.6 2017-09-18 17:25:11 -04:00
Ben Newman
4f43008aa0 Explicitly depend on d3-collection in bundle-visualizer.
The visualizer seems to have stopped working recently if you reinstall its
npm dependencies without using the existing npm-shrinkwrap.json file,
likely due to changes in indirect dependencies.

The good news is that the package now has far fewer npm dependencies.
However, since the sunburst.js module imports d3-collection explicitly, we
should definitely be depending directly on that package.

cc @abernix
2017-09-18 17:19:53 -04:00
Ben Newman
e59e0a582a Convert \s to /s in Npm.require'd module identifiers.
This is another way of addressing the problem I attempted to fix with
f34c5ec926 earlier today.

Apparently, older versions of compiler plugin-registering packages such as
standard-minifier-css and templating-compiler still depend on older
versions of the meteor package, which may still use path.join to import
fibers/future. This can be fixed by republishing those packages, as I did
in 917b01ac5f, but I'd prefer not to
republish every compiler plugin package.

Fortunately, we can also solve the problem by being more tolerant in the
implementation of Npm.require, which is what this commit does.
2017-09-18 16:54:23 -04:00
Ben Newman
b84a322ceb Update packages/non-core/blaze submodule to latest master revision. 2017-09-18 16:34:47 -04:00
Ben Newman
917b01ac5f Bump standard-minifier-css package version to republish.
Since all Meteor packages implicitly depend on the meteor package, it
appears packages that register compiler plugins may need to be republished
in order to benefit from f34c5ec926, or else
the `Cannot find module "fibers\\future"` error may occur on Windows.
2017-09-18 16:25:18 -04:00
Ben Newman
c5e2bc3ca1 Bump package versions for 1.6-beta.29 release. release/METEOR@1.6-beta.29 2017-09-18 15:01:07 -04:00
Ben Newman
c7612c18e7 Merge branch 'devel' into release-1.6 2017-09-18 14:27:11 -04:00
Ben Newman
565e6904d7 Avoid using meteor/tools/node_modules symlink (missing on Windows). 2017-09-18 14:22:41 -04:00
Ben Newman
1bdc3fc94a Bump versions of packages affected by fibers/future changes. 2017-09-18 14:22:16 -04:00
Ben Newman
f34c5ec926 Stop using path.join to require fiber/futures.
This misunderstanding of CommonJS module identifiers goes back to 2012:
8f83b2c32e

In Node, CommonJS module identifiers are always delimited by forward
slashes, even on Windows. Using path.join to abstract away the choice of
platform-specific delimiter is therefore pointless.

While this usage of path.join was always pointless, it was also mostly
harmless until #9095, when we stopped falling back to Node's native
`require` function to handle e.g. `Npm.require("fibers\\future")`. That PR
made the misuse problematic on Windows, so this commit fixes that.
2017-09-18 14:14:14 -04:00
Ben Newman
f9c566fbc6 Bump package versions for 1.6-beta.28 release. release/METEOR@1.6-beta.28 2017-09-18 12:45:53 -04:00
Ben Newman
7ebf9b3497 Merge branch 'devel' into release-1.6 2017-09-18 12:45:34 -04:00
Ben Newman
a8cb0835b4 Bump dynamic-import package version to 0.1.3. 2017-09-18 12:36:00 -04:00
Ben Newman
7cbb2bb579 Tolerate : or _ in dynamic version identifiers, and add tests.
Follow-up to #9103.
2017-09-18 12:34:47 -04:00
Daniel C
2dfb8a2208 dynamic-import: fix modules version recognition to fix caching (#9103)
A fix to the dynamic-import code to correctly detect modules version.

Without this fix dynamic-import can't detect correctly modules versions
which breaks the dynamic-import cache functionality.
2017-09-18 12:34:23 -04:00
Ben Newman
971d2b1272 Standardize Npm.require exceptions and limit lookup paths. (#9095)
Ever since Meteor 1.3 first introduced a module system based on something
other than `Npm.require`, we've continued throwing missing module
exceptions that refer to `Npm.depends` and/or `Npm.require`, even if the
developer called `require` or used an `import` declaration. This commit
fixes that, so that all missing module exceptions look like 'Cannot find
module "module/name"'.

I also noticed recently that `Npm.require` is capable of returning modules
installed in `node_modules` directories completely outside the app, which
is bad news for development/production reproducibility. Fixed that too.

CC @hwillson who has spoken of deprecating `Npm.require` entirely, and
just using `require` everywhere, instead.
2017-09-18 11:39:45 -04:00
Ben Newman
9430fc05df Merge pull request #9090 from meteor/upgrade-to-babel-7
Upgrade to Babel 7
2017-09-18 09:25:04 -04:00
Jesse Rosenberger
1ae42052a3 Merge pull request #9099 from klaussner/dev-bundle-caching
Explain how to enable `dev_bundle` caching
2017-09-18 14:01:36 +03:00
Christian Klaussner
9a564e2b1a Explain how to enable dev_bundle caching; fix typos 2017-09-16 15:38:24 +02:00
Ben Newman
34f49fa519 Upgrade babel-runtime dependency of a few more test apps. 2017-09-15 17:11:37 -04:00
Ben Newman
4f4b25e62b Adjust coffeescript version constraints again. 2017-09-15 15:29:10 -04:00
Ben Newman
29f2509a46 Fix small typo in dynamic-import/cache.js. 2017-09-15 13:29:42 -04:00
Ben Newman
4f09556bae Warn in babel-runtime Meteor package if babel-runtime npm package outdated. 2017-09-14 18:47:38 -04:00
Ben Newman
22778ed4fb Bump $BUNDLE_VERSION to 8.5.2 before rebuilding dev bundle. 2017-09-14 18:20:00 -04:00
Ben Newman
013ee0d779 Upgrade meteor-babel to version 7.0.0-beta.0-2. 2017-09-14 18:20:00 -04:00
Ben Newman
3e426ffde3 Upgrade babel-runtime dependency of dynamic-import test app. 2017-09-14 18:20:00 -04:00
Ben Newman
f90bc3f29e Upgrade babel-runtime dependency of modules test app. 2017-09-14 18:20:00 -04:00
Ben Newman
f221a2f502 Reinstall babel-compiler dependencies to upgrade Reify. 2017-09-14 18:20:00 -04:00
Ben Newman
e6c83efc8c Bump $BUNDLE_VERSION to 8.5.1 before rebuilding dev bundle. 2017-09-14 18:20:00 -04:00
Ben Newman
59b8a0be27 Bump meteor-babel to 7.0.0-beta.0 for CLI tools code.
Also bumping/removing some other dev bundle dependencies.
2017-09-14 18:20:00 -04:00
Ben Newman
cea8695b89 Bump ecmascript constraint in coffeescript packages, too. 2017-09-14 18:20:00 -04:00
Ben Newman
e1ccc22330 Bump babel-compiler constraint in coffeescript-compiler package.
We should add a -beta16.n suffix to this version before publishing, since
babel-compiler@7.0.0 is also still in beta.

cc @GeoffreyBooth
2017-09-14 18:20:00 -04:00
Ben Newman
2b8199c76b Upgrade babel-compiler and ecmascript to Babel 7.
Specifically, as of this commit, Babel 7.0.0-beta.0.
2017-09-14 18:20:00 -04:00
Ben Newman
7d98df9ee6 Bump package versions for 1.6-beta.27 release. release/METEOR@1.6-beta.27 2017-09-14 17:57:22 -04:00
Ben Newman
66e8dcf43c Merge branch 'devel' into release-1.6 2017-09-14 17:46:36 -04:00
Jesse Rosenberger
a4bc3f50b6 Merge branch 'guard-ddp-current-invoc-and-underscore-too' into devel 2017-09-14 23:56:06 +03:00
Jesse Rosenberger
a8084d3f76 Bump ddp package patch version. 2017-09-14 23:42:02 +03:00
Jesse Rosenberger
227ac694ff Bump allow-deny package patch version. 2017-09-14 15:36:13 +03:00
Jesse Rosenberger
6e42505860 Avoid Array.prototype.includes.
Array.prototype.includes was not available in older implementations
and this avoids tighter version contraints and maximum compatibility.
2017-09-14 15:07:02 +03:00
Jesse Rosenberger
d1c3a99b9b Bump allow-deny package patch version. 2017-09-14 13:46:16 +03:00
Ben Newman
7bc4d7704b Avoid Array.from, Set, and spread elements when computing union. 2017-09-14 13:08:58 +03:00
Jesse Rosenberger
29a3fbda6a Replace Underscore methods with native ECMAScript.
This removes `underscore` entirely from `allow-deny`.
2017-09-14 13:08:58 +03:00
Jesse Rosenberger
8983eeae87 Guard against nonexistent Package.ddp.DDP._CurrentMethodInvocation.
In the same way as was done in 88824ca04d
and as suggested in https://github.com/meteor/meteor/issues/8947.
2017-09-14 13:08:58 +03:00
Jesse Rosenberger
079cd5c0e3 Bump mongo package patch version. 2017-09-13 23:53:16 +03:00
Jesse Rosenberger
e5184325f8 Merge pull request #9062 from klaussner/issue-9060
Fix falsy `_id` in selector object not being treated as ID
2017-09-13 22:03:56 +03:00
Jesse Rosenberger
29e0a46b25 Bump minimongo package patch version. 2017-09-13 22:02:40 +03:00
Ben Newman
46cfef2b24 Bump $BUNDLE_VERSION to 8.5.0 before rebuilding dev bundle. 2017-09-13 12:30:38 -04:00
Ben Newman
376900479f Upgrade Node to version 8.5.0.
Most notable new feature: experimental native ECMAScript modules support.

https://nodejs.org/en/blog/release/v8.5.0/
2017-09-13 12:29:50 -04:00