Commit Graph

9933 Commits

Author SHA1 Message Date
Ben Newman
07b45f6dde Bump package versions for 1.8.1-beta.1 release. 2018-10-11 12:59:34 -04:00
Ben Newman
b84afccfa8 Merge branch 'devel' into release-1.8.1 2018-10-11 12:38:46 -04:00
Ben Newman
308b4f1306 Bump ecmascript package version to 0.12.1.
This is necessary whenever we bump the babel-compiler version.
2018-10-11 12:29:33 -04:00
Ben Newman
e2e215d702 Update meteor-babel npm package to version 7.1.3. (#10272)
This update should help with #10262, per @sebakerckhof's comment
https://github.com/meteor/meteor/issues/10262#issuecomment-428968441,
thanks to these commits:
a38835d3e2
a1778d8d71

Also updated the json5 dependency of babel-compiler to its latest version,
while I was at it.
2018-10-11 12:17:55 -04:00
Jan Dvorak
65064f40df Fix duplicate WebApp.connectHandlers.use - fix #10265 (#10268) 2018-10-11 09:46:26 -04:00
Ben Newman
3f30d2208f Bump standard-minifier-css patch version to 1.5.1. 2018-10-10 16:40:22 -04:00
Ben Newman
b7267b76a1 Use null for sourcesContent[i] if sources[i] unrecognized.
Should help with #10112.
2018-10-10 16:40:19 -04:00
Ben Newman
9290ea7a06 Ignore inline source maps when minifying CSS files.
https://github.com/meteor/meteor/issues/10112#issuecomment-428646872

Further down in the mergeCss function, when we call CssTools.stringifyCss,
we pass the following option:

  // don't try to read the referenced sourcemaps from the input
  inputSourcemaps: false

Apparently this isn't enough to avoid reading inline source maps from the
input file, so we should be a bit more aggressive about preventing postcss
from picking up inline source maps.

This change mostly affects .css files imported from node_modules, and
possibly raw .css files in the application that happen to have inline
sourceMappingURL= comments. For CSS output from compiler plugins like LESS
and SCSS, we have a totally different mechanism of handling source maps,
namely file.getSourceMap().

Should fix #10112.
2018-10-10 14:13:23 -04:00
Ben Newman
721bfcfe88 Bump package versions for 1.8.1-beta.0 release. 2018-10-06 16:30:33 -04:00
Ben Newman
37eb174612 Bump package versions for the official 1.8 release. :feelsgood: 2018-10-05 17:29:17 -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. 2018-10-03 15:15:55 -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
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. 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. 2018-09-18 14:47:52 -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
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
1320cdb455 Bump package versions for 1.8-rc.14 release. 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
bb72ba969f Bump package versions for 1.8-rc.13 release. 2018-09-13 12:04:36 -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. 2018-09-12 12:56:21 -04:00
Ben Newman
210d1ac514 Bump package versions for 1.7.1-rc.11 release. 2018-09-11 14:02:00 -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. 2018-09-11 10:24:58 -04:00
Ben Newman
4b9805fc75 Merge branch 'devel' into release-1.7.1 2018-09-11 09:21:46 -04:00
Seba Kerckhof
b8cbe5a7b2 Make minimongo array field sorting compatible with mongo 3.6+ behavior (#10214) 2018-09-11 09:19:48 -04:00
Ben Newman
203829c4f8 Bump package versions for 1.7.1-rc.9 release. 2018-09-10 17:05:14 -04:00
Ben Newman
c632912c43 Make sure meteor shell commands are compiled for Node 8. 2018-09-07 14:31:48 -04:00
Ben Newman
419fee1e02 Update shrinkwraps for compiler plugins now depending on @babel/runtime. 2018-09-07 14:00:45 -04:00
Ben Newman
38e7ea63af Add @babel/runtime dependency to all build plugins that use ecmascript.
Previously: a52a2c28f1
2018-09-07 12:37:49 -04:00
Ben Newman
f4957c3bb6 Merge branch 'devel' into release-1.7.1 2018-09-07 11:13:29 -04:00
Ben Newman
de6717da66 Update packages/non-core/blaze submodule to latest master, again. 2018-09-07 11:12:19 -04:00
Ben Newman
6134251621 Bump package versions for 1.7.1-rc.8 release. 2018-09-07 10:51:48 -04:00
Christian Klaussner
c62bc402aa Add test for MongoDB 4.0 oplog transaction processing (#10206) 2018-09-07 10:46:31 -04:00
Ben Newman
964909fc3f Allow only admin.$cmd in admin.* oplog doc.ns strings. 2018-09-07 10:44:02 -04:00
Ben Newman
039cb60a85 Apply transaction only if doc.o.applyOps is defined. 2018-09-07 10:44:02 -04:00
Ben Newman
bb3a7fc814 Support MongoDB 4.0 transactions in oplog_tailing.js.
My attempt at fixing #10195.

@klaussner Feel free to submit your PR if it's ready, or just review this
one if you prefer. It's important to get this right, so it's not a
terrible idea for both of us to attempt it independently.
2018-09-07 10:44:01 -04:00