Commit Graph

19006 Commits

Author SHA1 Message Date
Ben Newman
cdc047bbc7 Update unicode asset sanitization tests (and History.md). 2017-06-06 12:25:33 -04:00
Ben Newman
a2f26cbe6e Fix #8761 in three different ways.
The root of the problem was that the es5-ext npm package contains
directories called '#', e.g.
https://github.com/medikoo/es5-ext/tree/master/array/%23

These directory names were being sanitized to '' and thus ignored when
reserving paths in the Builder, which led to reservation conflicts later.

This commit fixes the problem in three different and independently
sufficient ways:

* Use files.mkdir_p instead of files.mkdir when creating parent
  directories of written files.

* Replace illegal characters in sanitized paths with '_' instead of ''.

* Allow '#' in sanitized paths (only needs to be escaped in the shell, not
  actually forbidden in paths).
2017-06-06 12:25:33 -04:00
Ben Newman
40f1d99e2c Stop polyfilling global.Buffer in modules test app. 2017-06-02 16:37:19 -04:00
Ben Newman
929fa0e90e Test that require("module") returns Module constructor on the client.
On the server, require("module") returns Node's native Module constructor,
which is not the same as module.constructor in our server JS bundle.
2017-06-02 16:26:54 -04:00
Ben Newman
b75cdbfe6e Add 10px margin to left of bundle-visualizer path blocks. 2017-06-02 14:39:00 -04:00
Ben Newman
a7feffd5a6 Upgrade the modules test app to Meteor 1.5. 2017-06-02 14:31:37 -04:00
Ben Newman
9c5293b6e2 Upgrade the dynamic-import test app to Meteor 1.5. 2017-06-02 14:25:46 -04:00
Jesse Rosenberger
76a6e0eee9 Merge pull request #8707 from edemaine/devel
Email package improvements
2017-06-02 19:01:49 +03:00
Jesse Rosenberger
fba42daca8 Slight adjustment to smtp:// warning message.
Just to clarify that port 465 is typically a secure port and our
assumption is based on that (in case they're curious how we decided
to show the message).
2017-06-02 18:07:51 +03:00
Ben Newman
1df553172e Fix #8751 by replacing ':'s in dynamic module paths with '_'s. 2017-06-02 10:51:16 -04:00
Ben Newman
a2aec7becf Add a failing test of dynamic imports from user:name packages.
Confirms #8751.
2017-06-02 10:45:24 -04:00
Ben Newman
c4730c6af5 Upgrade reify to version 0.11.22.
This fixes a bug affecting namespace imports/exports such as

  export * from "module"
  import * as ns from "module"

where "module" is a CommonJS module that sets module.exports to an
object-like value that is not actually an object, e.g. a function.

The reify commit that fixed this bug includes a test demonstrating an
example of one such library (lodash):
benjamn/reify@b69a600e65
2017-06-01 20:46:39 -04:00
Ben Newman
7472916236 Remove underscore as a dependency from the modules package. 2017-06-01 20:46:39 -04:00
Mitar
4b18c00cc6 Improving History.md entries for #8629 (#8736)
* Updating history a bit for #8629.

* Tweaks for #8629.

Some formatting changes to (try! and) match existing `History.md` formatting.

* Place related bullets next to each other.

For continuity in reading.
2017-06-01 17:04:35 +03:00
Ben Newman
906aab4447 Merge pull request #8692 from bpartridge/5932-mongo-hint-maxtimems
Add Mongo hint and maxTimeMS options (#5932)
2017-05-31 11:29:41 -04:00
Hugh Willson
a4c3e335eb Merge pull request #8684 from paulincai/patch-1
Update to present media object sizes
2017-05-31 11:28:01 -04:00
Jesse Rosenberger
8005532f4b Merge pull request #8629 from zimme/zimme/ddp-current-invocation
Add DDP._CurrentPublicationInvocation and DDP._CurrentMethodInvocation
2017-05-31 18:26:34 +03:00
Hugh Willson
049ed969e7 Merge branch 'devel' into zimme/ddp-current-invocation 2017-05-31 10:44:25 -04:00
Jesse Rosenberger
791d0cdd59 Add a README for the bundle-visualizer package. 2017-05-31 13:26:21 +03:00
Ben Newman
42ab2fd607 Merge branch 'master' into devel 2017-05-30 15:27:50 -04:00
Ben Newman
bf85eac809 Merge pull request #8327 from meteor/release-1.5
Release 1.5
2017-05-30 15:24:20 -04:00
Ben Newman
a362e20a37 Bump package versions for the official 1.5 release. release/METEOR@1.5 2017-05-30 14:18:48 -04:00
Ben Newman
da097e209d Bump LINKER_CACHE_SALT and compiler.BUILT_BY for good measure. 2017-05-30 14:16:46 -04:00
Ben Newman
f1e628802e Bump package versions for 1.5-rc.13 release. release/METEOR@1.5-rc.13 2017-05-30 13:23:38 -04:00
Ben Newman
66a14fe00d Bump $BUNDLE_VERSION to 4.8.17 before rebuilding dev bundle. 2017-05-30 13:06:22 -04:00
Ben Newman
bfb2c95462 Upgrade meteor-promise to version 0.8.4.
This is a change that was necessary on the wip-upgrade-to-node-6 branch,
and it seems better to ship it sooner rather than waiting:
meteor/meteor@d823812e85
2017-05-30 13:03:17 -04:00
Ben Newman
bfc79eea9b Add //# sourceURL=<module id> comment to dynamic modules.
Fixes #8719 by displaying a recognizable (and even clickable) file name in
stack traces for errors thrown by dynamic code.
2017-05-29 21:29:22 -04:00
Ben Newman
1df6668cc9 Test that importing the winston npm package works now.
This is a test that should have accompanied my previous commit
81a07ed84f.
2017-05-29 19:37:33 -04:00
Ben Newman
4351b89904 Bump package versions for 1.5-rc.12 release. release/METEOR@1.5-rc.12 2017-05-29 19:17:43 -04:00
Ben Newman
91212e3a95 Bump $BUNDLE_VERSION to 4.8.16 before rebuilding dev bundle. 2017-05-29 19:16:16 -04:00
Ben Newman
81a07ed84f Upgrade reify to prevent accidental override of namespace.default.
The `winston` npm package is not an ECMAScript module, but it does export
a "default" property, and this property was accidentally clobbering the
"default" property of the namespace object, thus interfering with default
import syntax:

  import winston from "winston"

Specifically, the `winston` variable would end up referring to
`require("winston").default`, rather than `require("winston")`.

Nothing is lost by fixing this problem, as you can still refer to
`winston.default` if you need to access that property.

Reported by @fermuch here:
https://github.com/meteor/meteor/pull/8327#issuecomment-304721401

Fixed by this commit:
20fdd10d04
2017-05-29 19:07:25 -04:00
James
6445a44001 Clarify meteor update message for indirect dependencies
* Adjust string style to be in line with meteor style guide 6.2

* Partially addresses #8721 #8488
2017-05-29 14:41:00 -04:00
Ben Newman
aff0fbcc12 Bump package versions for 1.5-rc.11 release. release/METEOR@1.5-rc.11 2017-05-29 12:27:45 -04:00
Ben Newman
5dd7b4cfc0 Upgrade uglify-js to latest version. 2017-05-29 12:17:54 -04:00
Ben Newman
67f88db386 Bump $BUNDLE_VERSION to 4.8.15 before rebuilding dev bundle. 2017-05-29 12:04:46 -04:00
Ben Newman
cd4fc028f8 Upgrade reify to version 0.11.20 to fix getNamespace bug.
Reported here:
https://github.com/meteor/meteor/pull/8327#issuecomment-304582864

Fixed by:
aeb46dcd61
2017-05-29 12:02:56 -04:00
Ben Newman
d11cf771cd Bump package versions for 1.5-rc.10 release. release/METEOR@1.5-rc.10 2017-05-28 20:46:42 -04:00
Ben Newman
cea372909b Bump $BUNDLE_VERSION to 4.8.14 before rebuilding dev bundle. 2017-05-28 20:26:00 -04:00
Ben Newman
bfea780495 Upgrade meteor-babel and reify to latest versions. 2017-05-28 20:25:32 -04:00
Ben Newman
e866da2210 Add a target release date for Meteor 1.5 to History.md. 2017-05-27 17:06:40 -04:00
Ben Newman
ee6235147c Bump package versions for 1.5-rc.9 release. release/METEOR@1.5-rc.9 2017-05-27 16:58:55 -04:00
Ben Newman
8ff00a26e8 Upgrade uglify-js to version 3.0.12.
Fixes #8704.
2017-05-27 16:10:20 -04:00
Ben Newman
122f0d2cb3 Bump package versions for 1.5-rc.8 release. release/METEOR@1.5-rc.8 2017-05-27 12:28:54 -04:00
Ben Newman
9a166ef212 Bump $BUNDLE_VERSION to 4.8.13 before rebuilding dev bundle. 2017-05-27 12:01:34 -04:00
Ben Newman
6c29e19a94 Upgrade reify to latest version, 0.11.15. 2017-05-27 12:00:56 -04:00
Ben Newman
b1f6904a4e Bump package versions for 1.5-rc.7 release. release/METEOR@1.5-rc.7 2017-05-26 20:14:56 -04:00
Ben Newman
b94443391a Upgrade reify to version 0.11.14 to polyfill WeakMap. 2017-05-26 20:12:10 -04:00
Ben Newman
a4fa387886 Bump $BUNDLE_VERSION to 4.8.12 before rebuilding dev bundle. 2017-05-26 18:22:28 -04:00
Ben Newman
e2210ef01d Update Reify API usage for version 0.11.13. 2017-05-26 18:22:02 -04:00
Ben Newman
93cf550c17 Upgrade meteor-babel to version 0.21.3 and reify to 0.11.13.
Fixes #8720.
2017-05-26 18:21:55 -04:00