Commit Graph

10133 Commits

Author SHA1 Message Date
Ben Newman
9fb6b9cd89 Bump package versions for 1.8.2-beta.18 release. 2019-09-06 18:53:04 -04:00
Ben Newman
c8e322e197 Update typescript version to 3.6.2.
Most of these changes came for free with the update of meteor-babel to
version 7.6.0, but a few remaining spots needed to be updated.
2019-09-06 18:43:40 -04:00
Ben Newman
cf5db3626e Update meteor-babel to version 7.6.0. 2019-09-06 18:40:50 -04:00
Ben Newman
5a765e9b47 Update npm dependencies of minifier-css package. 2019-09-06 18:29:14 -04:00
Ben Newman
d276ef7c30 Bump package versions for 1.8.2-beta.16 release. 2019-07-30 14:04:32 -04:00
Ben Newman
e497085474 Update meteor-babel and @babel/{runtime,parser} to latest versions.
Among other benefits, this should address #10622.
2019-07-30 14:03:58 -04:00
Ben Newman
a3b13705c5 Bump package versions for 1.8.2-beta.16 release. 2019-07-15 12:52:52 -04:00
Ben Newman
7e82cf57a8 Merge branch 'devel' into release-1.8.2 2019-07-15 12:41:44 -04:00
James Burgess
480c5d5a56 Avoid use of forEach in Base64 encode method (#10629)
For strings we convert to Uint8Array, which does not support forEach on
any version of IE, and is not polyfilled by default.
2019-07-15 12:38:10 -04:00
Ben Newman
01fb509fff Implement an official typescript compiler plugin. 2019-07-07 19:29:34 -04:00
Ben Newman
596c1998be Bump package versions for 1.8.2-beta.15 release. 2019-07-06 17:16:47 -04:00
Ben Newman
bd1834c3e3 Update meteor-babel to version 7.5.5. 2019-07-06 13:10:35 -04:00
Ben Newman
ead1214a1f Temporarily work around injection of objectSpread helper.
https://github.com/babel/babel/pull/10170#issuecomment-508936150
2019-07-06 12:00:03 -04:00
Ben Newman
71a6e2c2f5 Update meteor-babel to version 7.5.3.
TypeScript is now supported by the actual TypeScript compiler, rather than
by @babel/preset-typescript: https://github.com/meteor/babel/pull/25
2019-07-06 11:27:54 -04:00
Ben Newman
4431f34cbe Bump package versions for 1.8.2-beta.14 release. 2019-07-05 19:15:04 -04:00
Ben Newman
e80189e76b Update meteor-babel to version 7.5.1. 2019-07-05 17:47:18 -04:00
Ben Newman
d26a41df9d Bump package versions for 1.8.2-beta.13 release. 2019-07-04 16:39:01 -04:00
Ben Newman
c632542a04 Update meteor-babel to version 7.5.0. 2019-07-04 15:57:25 -04:00
Ben Newman
1955ec08fa Bump package versions for 1.8.2-beta.12 release. 2019-07-03 12:40:48 -04:00
Ben Newman
e195440442 Fall back to package.json "main" field if "module" cannot be resolved.
The meteor/tools/isobuild/resolver.js changes are the static half of the
puzzle. The runtime half was implemented in install@0.13.0 with this
commit: 233aa75ce3
2019-07-03 12:25:05 -04:00
Ben Newman
ad92fe8647 Merge branch 'devel' into release-1.8.2 2019-07-03 11:19:56 -04:00
Ben Newman
e0caf13103 Stop using Mongo Timestamp as cacheKey in DocFetcher.
See my comment in issue #10512 for motivation:
https://github.com/meteor/meteor/issues/10512#issuecomment-504797861

I think the changes in b0cb1ceda3 are still
worthwhile because they ensure ops within a transaction have distinct
Timestamps, with the caveat that we should avoid assuming those Timestamps
are necessarily unique.
2019-07-03 11:07:34 -04:00
Ben Newman
59284a90b5 Give different Timestamps to operations within a transaction.
Follow-up to #10420, per this comment by @conorstrejcek:
https://github.com/meteor/meteor/issues/10420#issuecomment-476833232

Should help with #10512.
2019-07-03 11:06:43 -04:00
Ben Newman
2add249b7c Update reify to version 0.20.11. 2019-07-03 10:59:14 -04:00
David Sichau
fd47bb3a23 Ignore oplog entries from other dbs instead of throwing an error. (#10604) 2019-07-03 10:38:44 -04:00
Ben Newman
86f0208f41 Update reify to version 0.20.10.
We don't need to build a whole new dev bundle just for this upgrade, since
we've already worked around the bug that it fixes, but it will get picked
up the next time we build the dev bundle for Meteor 1.8.2.
2019-07-02 16:06:34 -04:00
Ben Newman
e9060d01df Bump package versions for 1.8.2-beta.11 release. 2019-07-02 15:09:51 -04:00
Ben Newman
b3c1e83ef3 Update meteor-babel to version 7.4.18.
This allows us to take advantage of the features.compileForShell option
when compiling code in the `meteor shell` REPL.
2019-07-02 14:30:57 -04:00
Ben Newman
4384fdb917 Update meteor-babel and reify to latest versions.
This ensures we wrap modules with a function to rename the `module`
identifier to something more reliable when the ImportScanner compiles
unanticipated modules imported from node_modules.
2019-07-01 12:43:00 -04:00
Ben Newman
48276c3d36 Bump package versions for 1.8.2-beta.10 release. 2019-06-25 14:28:38 -04:00
Ben Newman
e89d68f636 Support .mjs modules (as well as .js and .jsx) in ecmascript plugin.
https://github.com/meteor/meteor/pull/10522#issuecomment-505553025
2019-06-25 14:11:17 -04:00
Ben Newman
0a353c03ca Bump package versions for 1.8.2-beta.9 release. 2019-06-25 13:15:41 -04:00
Ben Newman
a69ba4904d Move meteorBabelHelpers to modules package, and restrict to legacy bundle. (#10596)
Should fix #10595.

Code from the application `node_modules` directory becomes part of the
`modules` package, so that it can be imported by any other package that
uses the module system, regardless of package load order.

Now that we compile code from `node_modules` using `babel-compiler` and
`meteor-babel` (#10585), `node_modules` code requires the same runtime
environment as any other Meteor JS code. For the most part, this need is
satisfied by the `@babel/runtime/helpers/...` modules, which are also
defined in the `modules` package because they come from `node_modules`.
However, in the legacy bundle, `meteorBabelHelpers.sanitizeForInObject` is
used to fix buggy for-in iteration in older Internet Explorers.

Thankfully, this extra helper code does not need to be included in the
modern or server bundles, but only in legacy code.
2019-06-25 13:08:38 -04:00
Ben Newman
097b493a4e Use session.withTransaction to make Mongo Livedata test more robust. 2019-06-24 15:40:46 -04:00
Ben Newman
2b53de2d21 Bump package versions for 1.8.2-beta.8 release. 2019-06-24 15:32:29 -04:00
Ben Newman
9f6c66aa25 Stop using Mongo Timestamp as cacheKey in DocFetcher.
See my comment in issue #10512 for motivation:
https://github.com/meteor/meteor/issues/10512#issuecomment-504797861

I think the changes in b0cb1ceda3 are still
worthwhile because they ensure ops within a transaction have distinct
Timestamps, with the caveat that we should avoid assuming those Timestamps
are necessarily unique.
2019-06-24 15:22:52 -04:00
Ben Newman
7a10dddb2e Update meteor-babel and reify to latest versions. 2019-06-24 11:11:16 -04:00
Ben Newman
758d2ce7c8 Bump package versions for 1.8.2-beta.7 release. 2019-06-23 19:42:27 -04:00
Ben Newman
b0cb1ceda3 Give different Timestamps to operations within a transaction.
Follow-up to #10420, per this comment by @conorstrejcek:
https://github.com/meteor/meteor/issues/10420#issuecomment-476833232

Should help with #10512.
2019-06-23 19:27:36 -04:00
Ben Newman
b17dd0d3e1 Update mongodb npm package to version 3.2.7. 2019-06-23 19:27:36 -04:00
Ben Newman
e70e1cda79 Bump package versions for 1.8.2-beta.6 release. 2019-06-23 15:03:39 -04:00
Ben Newman
f259d553be Update @wry/context to version 0.4.4. 2019-06-23 15:03:39 -04:00
Ben Newman
168468dce3 Update meteor-babel to latest version (7.4.14). 2019-06-23 14:56:18 -04:00
Ben Newman
13048740c8 Update meteor-babel and reify to latest versions, again. 2019-06-23 11:12:39 -04:00
Ben Newman
5c701daba7 Update meteor-babel to latest version (7.4.12), again. 2019-06-20 17:06:43 -04:00
Ben Newman
67c6d2cdd3 Update meteor-babel and reify to latest versions, again. 2019-06-20 13:28:21 -04:00
Ben Newman
4c097321ca Update meteor-babel and reify to latest versions, again. 2019-06-20 12:11:29 -04:00
Ben Newman
a4586e4332 Compile import/export syntax in @babel/runtime-related modules.
Case in point: @babel/runtime/helpers/esm/typeof.js uses ECMAScript module
syntax (import, export), but must not be compiled with transforms like
@babel/plugin-transform-typeof-symbol, since it's part of the runtime
library depended upon by that transform.

This logic is an extreme implementation detail for sure, but at least
babel-compiler is the only code that needs to know about this complexity.
2019-06-20 12:11:29 -04:00
Ben Newman
7d3e7ab189 Bump minor versions of babel-compiler, ecmascript, and modules. 2019-06-20 12:11:29 -04:00
Ben Newman
de14b380c5 Update meteor-babel and reify to latest versions. 2019-06-20 12:11:29 -04:00