Ben Newman
f9c566fbc6
Bump package versions for 1.6-beta.28 release.
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
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
013ee0d779
Upgrade meteor-babel to version 7.0.0-beta.0-2.
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
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.
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
0d26adfee5
Merge branch 'devel' into release-1.6
2017-09-13 12:27:45 -04:00
Ben Newman
78f3242f26
Bump permessage-deflate to latest version in ddp-client, too.
2017-09-13 12:20:58 -04:00
Ben Newman
1bd966ad66
Bump ddp-{client,server} package patch versions.
2017-09-13 12:03:52 -04:00
Ben Newman
0f2a0f0d66
Bump permessage-deflate and sockjs patch versions.
2017-09-13 12:03:50 -04:00
Hugh Willson
32dabef9fc
Remove ddp-client's direct websocket-driver dependency
...
A new version of the `websocket-driver` package has been released,
(0.7.0) that includes the fix discussed in
https://github.com/faye/websocket-driver-node/issues/21 , so the
direct `websocket-driver` dependency is no longer needed.
Relates to
43ba3c9de5 .
2017-09-13 11:52:18 -04:00
Ben Newman
62038c45f4
Merge pull request #9077 from hwillson/issue-9072
...
Adjust force-ssl localhost regex to handle IPv4 in IPv6 addresses
2017-09-13 11:39:17 -04:00
Hugh Willson
b840a12762
Bump package versions
2017-09-13 11:38:18 -04:00
Ben Newman
e7c6e2bb29
Merge pull request #9083 from klaussner/webapp-server-fix
...
Fix host IP fallback for `webapp` server
2017-09-13 11:38:15 -04:00
Ben Newman
955faf8ebf
Bump webapp package version to 1.3.19.
2017-09-13 11:37:27 -04:00
Hugh Willson
00e5d591a3
Adjust websocket endpoint testing to avoid CORS issues ( #9065 )
...
When running the `ddp-client` package tests with
`meteor test-packages`, and accessing the test runner
via http://127.0.0.1:3000 , the websocket endpoint test
fails due to a CORS error. This PR replaces the use of
`Meteor.absoluteUrl` with `Meteor._relativeToSiteRootUrl`
to make sure test HTTP requests are kept within CORS
restrictions.
Fixes #8094 .
2017-09-13 11:32:26 -04:00
Christian Klaussner
ba0403c193
Fix host IP fallback for webapp server
...
The `localIp` constant was never used, so the HTTP server was started with an `undefined` host instead of "0.0.0.0" if `process.env.BIND_IP` was `undefined`.
2017-09-12 12:46:16 +02:00
Hugh Willson
b80e71fa15
Adjust force-ssl localhost regex to handle IPv4 in IPv6 addresses
...
`force-ssl`'s current `isLocalConnection` regex does not handle
IPv4-mapped and/or IPv4-compatible IPv6 addresses, when checking
if the connection is local. This means a local address of
`::ffff:127.0.0.1` is being marked as non-local. These changes
adjust the `isLocalConnection` regex to handle a wider range of
localhost address representations.
Fixes #9072 .
2017-09-11 11:44:15 -04:00
Christian Klaussner
bc7cce887a
Throw more meaningful error if .babelrc is not a valid JSON file ( #9052 )
2017-09-07 17:17:27 -04:00
Christian Klaussner
d7fca845a7
Add more tests for falsy _ids in selector objects
2017-09-07 22:00:10 +02:00
Christian Klaussner
251bac89e1
Don't handle object selector before checking for falsy _id
2017-09-07 21:15:06 +02:00
Ben Newman
3ad0034779
Bump package versions for 1.6-beta.26 release.
2017-09-06 12:25:20 -04:00
Ben Newman
08eb1f28a9
Merge branch 'devel' into release-1.6
2017-09-06 12:18:49 -04:00
Ben Newman
0d7ce023e0
Merge pull request #8702 from vlasky/devel
...
Support for UNIX sockets (#7392 )
2017-09-06 11:11:51 -04:00
Christian Klaussner
c6266df502
Fix falsy _id in selector object not being treated as ID
2017-09-06 15:53:50 +02:00
Ben Newman
844715de88
Bump package versions for 1.6-beta.25 release.
2017-09-05 22:05:58 -04:00
Ben Newman
013efb6ce4
Merge branch 'devel' into release-1.6
2017-09-05 13:49:46 -04:00
Ben Newman
8f880d00a1
Update minifier-js shrinkwrap and bump package version.
2017-09-05 13:00:07 -04:00
Jesse Rosenberger
6b80cdaea4
Redo the change to uglify-es, which got lost in a merge.
...
When I merged devel into meteor/meteor#8698 and bumped the version, I
mistakenly overwrote the (quite important) '-es' extension on the new
UglifyJS package. This reinstates that change, originally implemented
by 9d81f0e6c5 .
2017-09-05 17:26:12 +03:00