Commit Graph

9049 Commits

Author SHA1 Message Date
Ben Newman
f91ff783b7 Bump package versions for 1.6.1-beta.1 release. 2017-10-31 15:38:31 -04:00
Ben Newman
9e65d8bea7 Enable dead code elimination in minifier-js to fix #9260.
The react-dom@16 npm package recently got stricter about how it checks
that dead code elimination is enabled. Specifically, it no longer just
checks that process.env.NODE_ENV is replaced with "production" but also
requires conditional branches to be completely removed if the replacement
makes them unreachable:
https://github.com/facebook/react/blob/master/packages/react-dom/npm/index.js

The minifier-js package recently had its minor version bumped for Meteor
1.6, so I think it's safe to enable dead code elimination in a patch
version update. If we bumped the minor version again (to 2.3.0), this
version of minifier-js would not be usable with Meteor 1.6, and would
probably have to wait for Meteor 1.6.1.

Bumping the patch version of standard-minifier-js is also necessary
because it uses minifier-js as a compiler plugin, and would otherwise
continue to bundle the old minifier-js plugin.
2017-10-31 14:40:49 -04:00
Ben Newman
4a97d0551f Merge branch 'master' into devel 2017-10-27 14:51:46 -04:00
Ben Newman
0bff81f0b4 Bump package versions for the official 1.6 release. 2017-10-27 13:00:43 -04:00
Ben Newman
b63ab27986 Bump package versions for 1.6-rc.18 release. 2017-10-26 11:37:15 -04:00
Ben Newman
f449552c0e Update various package shrinkwraps for npm 5. 2017-10-24 19:03:20 -04:00
Ben Newman
24c80da9ef Bump package versions for 1.6-rc.17 release. 2017-10-24 18:45:30 -04:00
Ben Newman
d317c29319 Bump package versions for 1.6-rc.16 release. 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
6d528e334f Bump package versions for 1.6-rc.15 release. 2017-10-18 21:52:17 -04:00
Carl Evans
4dc93f5b80 Make behaviour of cursor.count() on client reflect server (#9205)
* Make behaviour of cursor.count() on client reflect server

* Change ignoreSkipLimit to applySkipLimit in cursor._getRawObjects

By default cursor._getRawObjects() will set options.applySkipLimit to true, thereby honoring any skip / limit.
cursor.count() on the client now calls _getRawObjects with applySkipLimit set to false by default. See #1202

* Revert default behaviour of cursor.count() to maintain backwards compatibility
2017-10-18 11:34:11 -04:00
Ben Newman
22930e876e Bump package versions for 1.6-rc.14 release. 2017-10-17 16:29:44 -04:00
Ben Newman
e2db34bdc5 Bump package versions for 1.6-rc.13 release. 2017-10-16 16:04:42 -04:00
Ben Newman
5a8c0f2743 Bump package versions for 1.6-rc.12 release. 2017-10-16 14:07:19 -04:00
Ben Newman
2777f5f6f7 Bump package versions for 1.6-rc.11 release. 2017-10-16 10:00:45 -04:00
Ben Newman
c476188cc6 Bump package versions for 1.6-rc.10 release. 2017-10-14 15:00:41 -04:00
Ben Newman
5d7058dc17 Bump package versions for 1.6-rc.9 release. 2017-10-13 13:54:47 -04:00
Ben Newman
fffc9931fb Merge branch 'devel' into release-1.6 2017-10-13 13:31:48 -04:00
Jesse Rosenberger
ce27323caf logging: Guard against log color being undefined.
The 'info' log facility uses the default color, which is not present in
`LEVEL_COLORS`, thus `undefined` and unable to be `slice`d.

(As reported by @brucejo75).

Refs: https://github.com/meteor/meteor/pull/8728#issuecomment-336324674
Refs: meteor/meteor#9170
2017-10-13 14:12:17 +03:00
Ben Newman
621504efaf Merge branch 'devel' into release-1.6 2017-10-12 20:31:50 -04:00
Ben Newman
525cbc33b3 Fix Mongo authentication errors by upgrading mongodb[-core].
Fixes #9219.
2017-10-12 20:24:05 -04:00
Ben Newman
cdeaf2cc61 Merge branch 'devel' into release-1.6 2017-10-12 18:28:50 -04:00
Ben Newman
8b65b6e86f Revert to source-map@0.5.7 in coffeescript-compiler to fix #9217. 2017-10-12 18:24:15 -04:00
Ben Newman
fdaa0f5145 Bump package versions for 1.6-rc.8 release. 2017-10-12 17:42:21 -04:00
Ben Newman
979ac73df1 Merge branch 'devel' into release-1.6 2017-10-12 14:17:26 -04:00
Ben Newman
01e4c9cfd8 Update to official versions of mongodb[-core] with @glasser's fixes.
Previously:
https://github.com/meteor/meteor/pull/9200
https://github.com/meteor/meteor/issues/8598
2017-10-12 14:13:07 -04:00
Ben Newman
2692f99f7a Merge branch 'devel' into release-1.6 2017-10-12 13:49:27 -04:00
Ben Newman
2dcc10c2cc Avoid matching exact language falsy destructuring error. 2017-10-12 12:44:41 -04:00
Ben Newman
3b93934217 Bump package versions for 1.6-rc.7 release. 2017-10-12 11:23:36 -04:00
Geoffrey Booth
9da4605677 Update dependencies 2017-10-12 10:26:05 -04:00
Geoffrey Booth
0707a18954 Keep the same outputFilePath as the inputFilePath was, to prevent Meteor from adding a second layer of exports, to prevent a circular dependency; see https://github.com/meteor/meteor/issues/9176#issuecomment-334942137 2017-10-12 10:26:05 -04:00
Geoffrey Booth
4494d53ec5 Bump coffeescript packages versions 2017-10-12 10:26:05 -04:00
Jesse Rosenberger
5210f0cff0 Merge pull request #9207 from meteor/hwillson-code-of-conduct-tweaks
Rename .md & replace "Apollo" with "meteor" in CoC
2017-10-12 09:44:38 +03:00
Ben Newman
5da7ebdfe7 Make rate limiter tests more tolerant of slight timing variations.
This package contains some of the most fragile tests in the entire
codebase, in large part because the author did not account for the
nondeterminism of JS timers across platforms and test runs.
2017-10-11 21:08:41 -04:00
Hugh Willson
9caf9fd583 Adjust policy doc filenames to use capital snake case 2017-10-11 14:47:21 -04:00
Hugh Willson
23caffa394 Replace ReactDOM.render with ReactDOM.hydrate (#9204)
As of React 16, using `ReactDOM.render` in the manner
demonstrated in the `server-render` README will cause a
React deprecation warning. Switching to `ReactDOM.hydrate`
will avoid this. From the React docs:

> Using ReactDOM.render() to hydrate a server-rendered
> container is deprecated and will be removed in React 17.
> Use hydrate() instead.

Source: https://reactjs.org/docs/react-dom.html#render
2017-10-11 11:41:34 -04:00
Amitosh Swain Mahapatra
a39917730f Switch to bright colors on Windows Powershell (#9170)
* Switch to bright colors on Powershell

Fixes #9118
2017-10-11 11:23:27 -04:00
Ben Newman
49db3bd0cc Merge branch 'devel' into release-1.6 2017-10-10 11:41:29 -04:00
Ben Newman
5a6cb704ad Bump minimongo package version to 1.3.3 to republish. 2017-10-10 11:37:27 -04:00
Hugh Willson
9d59fe4835 Adjust to use template literals instead of string concatenation 2017-10-10 11:34:12 -04:00
seke
25679cef8d Fix for https://github.com/meteor/meteor/issues/9167 2017-10-10 11:34:12 -04:00
Ben Newman
a3bba3a21d Bump accounts-password package version to 1.4.1 to republish. 2017-10-10 11:08:45 -04:00
Golfo Vasiliou
c5035f5e4b Changed ambiguous error message (#9161)
Fixes #9019
2017-10-10 11:07:32 -04:00