Commit Graph

22356 Commits

Author SHA1 Message Date
Ben Newman
55a6d1b50b Revert "Rename installPath property to absModuleId, and make absolute."
This reverts commit b9f0a54b39.

Though probably a good idea for the future, this change was not really
necessary for Meteor 1.6, and probably too risky for a release candidate.
2017-10-31 10:06:25 -07:00
Ben Newman
a60b32afc6 Bump $BUNDLE_VERSION to 8.8.2 before rebuilding dev bundle. 2017-10-30 15:08:24 -04:00
Ben Newman
8647e4647b Update npm to version 5.5.1.
I also took this opportunity to rebase our fork of the pacote package
against the latest upstream version (6.1.0).
2017-10-30 15:07:32 -04:00
Jesse Rosenberger
1995c8d445 Bump $BUNDLE_VERSION to 4.8.43 before rebuilding dev bundle. release/METEOR@1.5.3-rc.0 2017-10-27 15:15:56 -07:00
Jesse Rosenberger
d6fc953ba6 Bump $NODE_BUILD_NUMBER to 120 before rebuilding dev bundle. 2017-10-27 15:15:55 -07:00
Jesse Rosenberger
9c62a55137 Bump $NODE_BUILD_NUMBER to 116 before rebuilding dev bundle. 2017-10-27 14:47:06 -07:00
Ben Newman
4a97d0551f Merge branch 'master' into devel 2017-10-27 14:51:46 -04:00
Ben Newman
e0c2849ed3 Merge pull request #8728 from meteor/release-1.6
Release 1.6
2017-10-27 14:45:26 -04:00
Jesse Rosenberger
e5211e4876 Bump package versions for 1.5.3-rc.0 release. 2017-10-27 11:39:02 -07:00
Ben Newman
0cef7e4895 Fix v1.6 version typo in History.md. 🤦‍♂️ 2017-10-27 13:18:09 -04:00
Ben Newman
0bff81f0b4 Bump package versions for the official 1.6 release. release/METEOR@1.6 2017-10-27 13:00:43 -04:00
Ben Newman
2004873909 Final tweaks to History.md. 🎉 2017-10-27 12:58:12 -04:00
Ben Newman
8dc1fc3512 Fix typo in ImportScanner#_scanFile.
Introduced by 3faee05eed.

cc @cpury @JanMP
2017-10-26 12:47:19 -07:00
Ben Newman
6323a34d6a Adjust npm update notifier opt-out environment variable.
https://github.com/zkat/npx/issues/98#issuecomment-316936135
https://www.npmjs.com/package/update-notifier#user-settings
2017-10-26 12:37:35 -07:00
Ben Newman
c03a46f70f Regression test for #9185 (fixed by #9187). 2017-10-26 12:37:23 -07:00
Ben Newman
3b7943f631 Add more comments to recently-modified ImportScanner logic. 2017-10-26 12:23:49 -07:00
Ben Newman
202e913faa Call _scanFile far fewer times in ImportScanner#scanMissingModules. 2017-10-26 12:23:49 -07:00
Ben Newman
1470bc841f Remember whether parent module of failed import was dynamic.
Fixes #9182.
2017-10-26 12:23:49 -07:00
Ben Newman
4e778b6e17 Rename installPath property to absModuleId, and make absolute.
The `installPath` property was always essentially an absolute module
identifier that was simply missing the leading '/' character, so this
commit acknowledges that role by renaming the property to `absModuleId`
and adding the leading slash.
2017-10-26 12:23:48 -07:00
Ben Newman
9ac6d60ba2 Track all failed imports separately.
Previously, if more than one module in a package tried and failed to
import the same identifier, we would record information about only the
last failed import.

This was good enough for later attempting to resolve the failed import in
other packges or the application's `node_modules` directory (a concept
known as "peer dependencies"), but it sometimes discarded information
about whether the failed imports were dynamic. In particular, if the last
recorded failed import was a dynamic import, it could accidentally render
the entire peer dependency tree dynamic.

Although it's a bit more complicated than what we did before, I believe
the simplest solution is for the ImportScanner to maintain a mapping from
failed identifiers to lists of import information objects, rather than a
single object, so that no information is lost.
2017-10-26 12:23:48 -07:00
Ben Newman
6cee042b54 Simplify checking/setting file.imported in ImportScanner#_scanFile.
By checking and setting this property earlier, we can avoid scanning files
more than once.
2017-10-26 12:23:33 -07:00
Ben Newman
b63ab27986 Bump package versions for 1.6-rc.18 release. release/METEOR@1.6-rc.18 2017-10-26 11:37:15 -04:00
Ben Newman
e89879383b Bump $BUNDLE_VERSION to 8.8.1 before rebuilding dev bundle. 2017-10-26 11:18:25 -04:00
Ben Newman
4a2f0fb69a Upgrade Node to version 8.8.1.
https://nodejs.org/en/blog/release/v8.8.1/
2017-10-26 11:17:55 -04:00
Ben Newman
66afec2563 Tweaks to History.md. 2017-10-26 11:16:56 -04:00
Ben Newman
f449552c0e Update various package shrinkwraps for npm 5. 2017-10-24 19:03:20 -04:00
Jesse Rosenberger
16a4bbab04 Bump $NODE_VERSION to 4.8.5 before rebuilding dev bundle.
While the actual version included for Unix developers will be our own
build at NODE_VERSION, this is important for the Windows version, since
it is not being rebuilt by our Jenkins at the moment.
2017-10-24 16:03:07 -07:00
Jesse Rosenberger
cc2608f4a0 Bump $BUNDLE_VERSION to 4.8.42 before rebuilding dev bundle. 2017-10-24 16:00:55 -07:00
Jesse Rosenberger
8841080c9e Bump $NODE_BUILD_NUMBER to 113 before rebuilding dev bundle. 2017-10-24 16:00:54 -07:00
Ben Newman
cb85625520 Remove dev_bundle/.npm (-30MB due to .npm/_cacache). 2017-10-24 16:00:54 -07:00
Ben Newman
24c80da9ef Bump package versions for 1.6-rc.17 release. release/METEOR@1.6-rc.17 2017-10-24 18:45:30 -04:00
Ben Newman
b4a8b8c5e6 Bump $BUNDLE_VERSION to 8.8.0 before rebuilding dev bundle. 2017-10-24 18:26:01 -04:00
Ben Newman
f1e87ddae4 Upgrade Node to version 8.8.0.
https://nodejs.org/en/blog/release/v8.8.0/
https://nodejs.org/en/blog/vulnerability/oct-2017-dos/
2017-10-24 18:25:39 -04:00
Jesse Rosenberger
7707029644 Throw an error when any external command fails during test preparation.
Even with $ErrorActionPreference, PowerShell won't automatically fail
when an external command fails with an error code.  This explicitly
checks those exit codes and throws an error when that occurs.

Hopefully prevents false successes like that shown in this AppVeyor
test run: https://goo.gl/xxRsF9.
2017-10-23 17:55:30 -07:00
Ben Newman
0fddc26a2e Adjust npm update notifier opt-out environment variable.
https://github.com/zkat/npx/issues/98#issuecomment-316936135
https://www.npmjs.com/package/update-notifier#user-settings
2017-10-23 19:37:44 -04:00
Ben Newman
888ea97b2e Bump $BUNDLE_VERSION to 8.7.6 before rebuilding dev bundle. 2017-10-23 19:00:27 -04:00
Ben Newman
ac341c79a4 Mention meteor npx and choco install meteor in History.md. 2017-10-23 18:59:37 -04:00
Ben Newman
101a1bc0f6 Remove dev_bundle/.npm (-30MB due to .npm/_cacache). 2017-10-23 18:57:47 -04:00
Ben Newman
d317c29319 Bump package versions for 1.6-rc.16 release. release/METEOR@1.6-rc.16 2017-10-20 16:13:31 -04:00
Ben Newman
1f6488b408 Update minifier-js shrinkwrap for npm 5. 2017-10-20 16:13:29 -04:00
Hugh Willson
1687537f6e Switch to parseInt; Use safer method of extracting rounds 2017-10-19 13:22:50 -04:00
Hugh Willson
6af071b417 Bump package versions 2017-10-19 13:22:50 -04:00
Hugh Willson
053bd79a49 Code cleanup; add tests 2017-10-19 13:22:50 -04:00
Dan Rubins
60b378be5d Make bcrypt rounds configurable 2017-10-19 13:22:50 -04:00
Hugh Willson
20f698aec8 Code cleanup, add tests, adjust to handle new/existing users 2017-10-19 13:12:01 -04:00
Gerwin Brunner
54a8f5413f renamed odUpdateUser to onExternalLogin 2017-10-19 13:10:43 -04:00
Gerwin Brunner
57210705f4 added onUserUpdate hook 2017-10-19 13:10:43 -04:00
Ben Newman
1389db4631 Increase garbage collection throttling delay.
May help with this problem, which seems to stem from too much GC:
https://github.com/meteor/meteor/pull/8728#issuecomment-337636773

If this isn't enough, we could include this commit in 1.6.1:
5d212926e7
2017-10-19 11:31:23 -04:00
Ben Newman
fa3b4e1ef8 Bump $BUNDLE_VERSION to 8.7.5 before rebuilding dev bundle. 2017-10-19 10:18:29 -04:00
Ben Newman
a49a8dc12f Update our fork of pacote to ensure gitOpts.cwd exists.
4e58fa55e2

cc @abernix
2017-10-19 10:18:02 -04:00