Commit Graph

21686 Commits

Author SHA1 Message Date
Ben Newman
37eb174612 Bump package versions for the official 1.8 release. :feelsgood: release/METEOR@1.8 2018-10-05 17:29:17 -04:00
Ben Newman
180d7f1938 Final History.md updates, including projected Meteor 1.8 release date. 2018-10-05 17:06:55 -04:00
Ben Newman
bbdf28544f Report Babel transform errors without crashing the build process.
As reported by @mariusrak here:
https://github.com/meteor/meteor/issues/10220#issuecomment-425244894

Only errors thrown by @babel/parser have the e.loc property. Other errors
thrown by Babel transforms do not have e.loc, but do (usually) have line
number information embedded in e.message. Either way, it's better to use
inputFile.error than to throw the error, since throwing here crashes the
build process.
2018-10-04 10:40:58 -04:00
Ben Newman
9dae1a0337 Update shrinkwrap for minifier-js package after terser update.
Follow-up to #10239 and #10244.
2018-10-04 10:39:36 -04:00
Ben Newman
8ddd2f3eae Bump package versions for 1.8-rc.17 release. release/METEOR@1.8-rc.17 2018-10-03 15:15:55 -04:00
Ben Newman
c5f6c270b7 Avoid modifying source files explicitly added by compiler plugins.
Should resolve #10233, reported by @klaussner.

Previously, if a compiler plugin called inputFile.addJavaScript multiple
times with different { path } strings, Meteor would allow importing all of
those modules at once by importing the original source module identifier,
by synthesizing a new source module containing a series of re-exports for
each of the generated modules.

Preserving this behavior is important for backwards compatibility, since
some compiler plugins still generate files like "module.ext.js" given an
input file named "module.ext", so Meteor tries to make those modules
interchangeable/synonymous.

However, if the compiler plugin explicitly calls inputFile.addJavaScript
with the original source path, then it would be a mistake to modify the
contents of that module, so Meteor will now leave the contents of that
explicit source module unmodified, rather than using it as a catch-all way
to import other generated modules.
2018-10-03 15:13:08 -04:00
Ben Newman
dd00c6b0c1 Warn about duplicate api.mainModule paths, like api.addFiles does.
This would have helped catch the underlying problem in #10234.
2018-10-03 15:13:08 -04:00
Ben Newman
8f8e2a01f6 Be more tolerant of missing err.stack in parse-stack.js.
Should help with #10083.
2018-10-03 15:13:08 -04:00
Jan Owsiany
c3309b123a Restore wrapCallback error parameter behavior in mongo package (#10246)
If the error is falsy, just pass it as the first param.
2018-10-03 10:03:33 -04:00
Lisa Huang
0e899c4091 Fix LGTM testing errors (issue #10240, PR #10241)
* fix issue 10240: add variable declaration

* fix issue 10240: add semicolons to avoid automated semicolon insertion

* fix issue 10240: add semicolons to avoid automated semicolon insertion

* fix issue 10240: variable declaration in for...in statement, add semicolons

* fix issue 10240: variable declaration

* fix issue 10240: variable declaration
2018-10-02 10:53:50 -04:00
Ben Newman
873349e635 Merge pull request #10242 from jamesmillerburgess/#10231-accounts-oauth-ecmascript
Add ecmascript to modernized packages
2018-10-02 10:52:07 -04:00
Seba Kerckhof
d90de0343f Update terser to 3.9.2 (includes safari patch) (#10244) 2018-10-02 10:51:03 -04:00
James Miller Burgess
292e279960 Add ecmascript package to oauth1 client 2018-10-01 08:26:20 +04:00
James Miller Burgess
7cf9dbb795 Add ecmascript to accounts-oauth package
Fixes #10231
2018-10-01 07:54:56 +04:00
Lukas Strassel
2759e95854 Update terser minifier to 3.9.1 (#10239) 2018-09-28 08:43:25 -04:00
Ben Newman
24e1c9f2e7 Bump package versions for 1.8-rc.16 release. release/METEOR@1.8-rc.16 2018-09-18 17:27:34 -04:00
Ben Newman
2a8dea8934 Silence deprecation warnings introduced in a mongodb patch update.
These deprecation warnings were introduced in mongodb@3.1.2:
https://github.com/mongodb/node-mongodb-native/commit/a5d0f1d7e1

Fortunately, the deprecated Collection methods still work, and the
deprecation relies on Node's require("util").deprecate API, which can be
silenced permanently for a given function by temporarily setting
`process.noDeprecation = true` while defining the function:
https://github.com/nodejs/node/blob/2ae98ce7cb/lib/internal/util.js#L23-L29

Fixing #10174 by updating mongodb seems more important than reverting the
update to silence these harmless deprecation warnings (which, it bears
repeating, were introduced in a patch update).

Thanks to @klaussner for raising this concern!
2018-09-18 15:53:34 -04:00
Ben Newman
6020a7c181 Bump package versions for 1.8-rc.15 release. release/METEOR@1.8-rc.15 2018-09-18 14:47:52 -04:00
Ben Newman
19eb34be67 Bump $BUNDLE_VERSION to 8.11.4.5 before rebuilding dev bundle. 2018-09-18 13:48:00 -04:00
Ben Newman
e0d9a66ec4 Update the mongodb npm package to version 3.1.6.
Should help with #10174.
2018-09-18 13:47:25 -04:00
Ben Newman
a6e52c87b9 Await lingering self.runPromise in AppProcess#_runOnce.
Should fix #10220.
2018-09-18 10:28:37 -04:00
Ben Newman
0e4bac5910 Update meteor-babel to version 7.1.0.
Note: since Babel 7 is out of beta now, not all Babel-related packages
have been bumped to 7.1.0. In particular, the @babel/runtime package is
still at version 7.0.0. This is great news, because it means we're back to
genuine semantic versioning for all Babel packages!
2018-09-18 10:20:07 -04:00
Ben Newman
46396a1156 Instrument build/bundle/deploy commands for METEOR_PROFILE.
https://github.com/meteor/meteor-feature-requests/issues/239
2018-09-18 09:59:14 -04:00
Ben Newman
1320cdb455 Bump package versions for 1.8-rc.14 release. release/METEOR@1.8-rc.14 2018-09-13 12:46:10 -04:00
Ben Newman
ba2b020457 Remove duplicate <head> contents from Cordova boilerplate HTML.
Fixes #10210, at least after the app is redeployed.
2018-09-13 12:42:45 -04:00
Ben Newman
deffd8ac2c Undo accidental reformatting of meteor create help text.
This broke a test that depends on the precise wording of this help
message: https://circleci.com/gh/meteor/meteor/27381
2018-09-13 12:38:02 -04:00
Ben Newman
a76d96b333 Mention meteor create --react in History.md. 2018-09-13 12:33:53 -04:00
Ben Newman
bb72ba969f Bump package versions for 1.8-rc.13 release. release/METEOR@1.8-rc.13 2018-09-13 12:04:36 -04:00
Ben Newman
acfdc32f7a Recast Meteor 1.7.1 as Meteor 1.8. :dizzy::woman_cartwheeling:
https://github.com/meteor/meteor/pull/9942#issuecomment-420744917
2018-09-13 12:04:32 -04:00
Ben Newman
9a0ab62850 Update package.json dependencies of --react skeleton app. 2018-09-13 11:53:23 -04:00
Ben Newman
914c18c181 Fully add --react to meteor create (with help text). 2018-09-13 11:53:23 -04:00
Ben Newman
465f6ad02d Style and application layout tweaks for React starter app. 2018-09-13 11:53:22 -04:00
David Mihal
56553f0c3b Create React-based apps with meteor create --react (#10149) 2018-09-13 11:46:41 -04:00
Ben Newman
fbebdc82ce Merge branch 'devel' into release-1.7.1 2018-09-12 17:44:20 -04:00
Ben Newman
c42170568a Bump minimonogo patch version to 1.4.5. 2018-09-12 17:43:09 -04:00
Seba Kerckhof
282724a041 Fix minimongo nested array sorting (#10217)
Fixes #10192.
2018-09-12 14:12:06 -04:00
Márius Rak
c8ff49ae64 Expose information about Meteor target architecture to Babel plugins (#10211)
http://babeljs.io/docs/en/options#caller
2018-09-12 13:36:21 -04:00
Ben Newman
b5208c7786 Bump package versions for 1.7.1-rc.12 release. release/METEOR@1.7.1-rc.12 2018-09-12 12:56:21 -04:00
Ben Newman
ac5410e75a Merge branch 'devel' into release-1.7.1 2018-09-12 12:38:37 -04:00
Ben Newman
b699b4dd2a Bump $BUNDLE_VERSION to 8.11.4.4 before rebuilding dev bundle. 2018-09-12 12:37:35 -04:00
Ben Newman
78cfa82bce Downgrade Node from 8.12.0 back to 8.11.4, for now.
This minor update was evidently too risky to slip into a release candidate
of Meteor 1.7.1: https://github.com/meteor/meteor/issues/10216

You can still use Node 8.12.0 to run your app in production, and thus get
the benefits of https://github.com/meteor/meteor/pull/10090, even if it's
not the version used in development.
2018-09-12 12:35:48 -04:00
mrauhu
5574f22df5 Fix: file Meteor_:-@2x.png breaks development on Windows (#10110)
* Rename file that breaks development on Windows

* Fix: failing test bundle - verify sanitized asset names
2018-09-12 18:55:38 +03:00
Ben Newman
210d1ac514 Bump package versions for 1.7.1-rc.11 release. release/METEOR@1.7.1-rc.11 2018-09-11 14:02:00 -04:00
Ben Newman
08027c9fbc Nullify CSS source map when replaced with stub comment.
Should fix #10165.
2018-09-11 14:01:57 -04:00
Ben Newman
cb8bd2a413 Make {dis,re}connection more reliable in "reconnect auto-login" test. 2018-09-11 13:09:26 -04:00
Ben Newman
2945c5045c Increase timeout in flaky "accounts - reconnect auto-login" test. 2018-09-11 12:40:34 -04:00
Ben Newman
53029c10b9 Fix wonky default export in accounts-base/client_main.js.
Follow-up to 8d4f07a802.
2018-09-11 12:09:30 -04:00
Ben Newman
3d4fb7a8ad Bump package versions for 1.7.1-rc.10 release. release/METEOR@1.7.1-rc.10 2018-09-11 10:24:58 -04:00
Ben Newman
1bff089920 Bump $BUNDLE_VERSION to 8.12.0.0 before rebuilding dev bundle. 2018-09-11 09:54:10 -04:00
Ben Newman
44e906e94f Update npm to version 6.4.1. 2018-09-11 09:52:02 -04:00