Commit Graph

397 Commits

Author SHA1 Message Date
Ben Newman
da11c28ed4 Use the official fibers@4.0.3 release.
This includes https://github.com/laverdet/node-fibers/pull/429, fixing the
CPU spikes reported and discussed here: https://github.com/meteor/meteor/pull/10527#issuecomment-567982128

Using an official fibers release rather than a GitHub URL is preferable
because it doesn't require building fibers from source when deploying a
Meteor app to production, and also doesn't rely on GitHub being
operational, though of course it does rely on other networked services
like npm.
2020-01-07 20:31:28 -05:00
Ben Newman
77429d6ef5 Use fork of fibers that avoids AdjustAmountOfExternalAllocatedMemory.
https://github.com/laverdet/node-fibers/pull/429#issuecomment-570245398
2020-01-02 10:46:41 -05:00
Ben Newman
04d13dc87a Use fork of fibers package that triggers GC less often.
Apparently calling v8::Isolate::AdjustAmountOfExternalAllocatedMemory
frequently results in lots of wasted CPU cycles on garbage collection, per
discussion here: meteor/meteor#10527 (comment)

This fix was inspired by marudor/libxmljs2#22, which seems to have
addressed nodejs/node#30995.

Another project that benefitted from adjusting external allocated memory
less often: mapnik/node-mapnik#136
2019-12-30 11:44:48 -05:00
Ben Newman
aee0092f64 Merge branch 'release-1.8.3' into release-1.9 2019-12-18 13:19:31 -05:00
Ben Newman
54ededfa3c Update typescript in dev bundle to version 3.7.3. 2019-12-18 12:45:07 -05:00
Ben Newman
124f2b9ac1 Update npm to 6.13.4 and pacote to 9.5.11.
https://nodejs.org/en/blog/vulnerability/december-2019-security-releases/
2019-12-18 12:40:20 -05:00
Ben Newman
ebdaa230d5 Update meteor-babel to version 7.7.5. 2019-12-18 12:39:57 -05:00
Ben Newman
86aa31254d Update node-gyp and node-pre-gyp to latest versions.
https://github.com/meteor/meteor/pull/10527#issuecomment-538359107
2019-11-26 15:46:51 -05:00
Ben Newman
c9b8240285 Update npm to version 6.13.1. 2019-11-26 15:46:51 -05:00
Ben Newman
fd881cebec Update fibers npm package to version 4.0.2. 2019-11-26 15:46:51 -05:00
Ben Newman
c90246d55b Merge branch 'devel' into release-1.9 2019-11-26 15:46:38 -05:00
seke
830b8a40cb Update source-map to 0.7.3
source-map 0.7.0+ has a much faster Rust WASM implementation.
Because this needs to be loaded, the constructor is now asynchronous.
The consumer should also be destroyed after it's no longer needed.
2019-11-26 14:15:33 -05:00
Ben Newman
c071e11032 Update meteor-babel to version 7.7.4.
Should help with #10795.

Also updating the meteor-babel and @babel/runtime versions in the dev
bundle, though there is no need to rebuild the dev bundle immediately.
2019-11-26 13:34:33 -05:00
Ben Newman
f8de4127da Merge branch 'release-1.8.2' into release-1.9 2019-11-08 20:07:59 -05:00
Ben Newman
bbd5a12787 Update npm to v6.13.0 and pacote to v9.5.9. 2019-11-08 18:56:28 -05:00
Ben Newman
241ba1de0f Update meteor-babel to version 7.7.0.
Note that typescript has been updated to version 3.7.2 as part of this
update: https://devblogs.microsoft.com/typescript/announcing-typescript-3-7-rc/
2019-11-05 11:39:18 -05:00
Ben Newman
1faa6bb3a4 Update sqlite3 dev bundle version to 4.1.0. 2019-09-24 10:23:22 -04:00
Ben Newman
d080f3f1fa Merge branch 'release-1.8.2' into release-1.9 2019-09-23 14:02:33 -04:00
Ben Newman
f5c85a0243 Update typescript and optimism packages to latest versions. 2019-09-23 12:18:26 -04:00
Ben Newman
daa26c087d Merge branch 'release-1.8.2' into release-1.9 2019-09-19 19:41:57 -04:00
Ben Newman
0e19c365a8 Revert "Use json5 for optimisticReadJsonOrNull."
This reverts commit 5124cb495c.

Perhaps unsurprisingly, JSON5 is much slower than JSON, so much so that
"other optimisticReadJsonOrNull" has become the single most expensive leaf
when building one of our internal applications. We will have to find
another solution.
2019-09-19 15:15:47 -04:00
Ben Newman
7313fa792b Merge branch 'release-1.8.2' into release-1.9 2019-09-19 12:37:40 -04:00
Ben Newman
ec403b3fe5 Update optimism npm package to latest version (0.11.2). 2019-09-18 11:42:02 -04:00
Ben Newman
c4ad648c5e Update meteor-babel to version 7.6.1. 2019-09-17 21:11:56 -04:00
Ben Newman
5124cb495c Use json5 for optimisticReadJsonOrNull.
Because json5 is more tolerant of non-standards-compliant input, it has no
trouble with \t tab characters outside of string literals, so this change
should fix issue #10688.

Note that json5 is already installed in dev_bundle/lib/node_modules/json5,
because it is a dependency of @babel/core, so we don't need to rebuild the
dev bundle immediately, though it would be a good idea to do so before the
next beta/RC release.
2019-09-07 21:04:29 -04:00
Ben Newman
a4810169ee Use json5 for optimisticReadJsonOrNull.
Because json5 is more tolerant of non-standards-compliant input, it has no
trouble with \t tab characters outside of string literals, so this change
should fix issue #10688.
2019-09-07 20:22:29 -04:00
Ben Newman
791992375d Merge branch 'release-1.8.2' into release-1.9 2019-09-06 20:41:05 -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
5957e046fb Prevent cordova-lib from using its own copy of graceful-fs. 2019-09-05 15:22:52 -04:00
Ben Newman
152afe6bdf Update npm to v6.11.3 and pacote to v9.5.8. 2019-09-05 13:22:31 -04:00
Ben Newman
b32e44a5d5 Merge branch 'release-1.8.2' into release-1.9 2019-07-30 14:24:09 -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
40f0161574 Update npm to version 6.10.2, and pacote to 9.5.4. 2019-07-30 13:58:39 -04:00
Chiciuc Nicușor
a1184bdea3 Add @types/semver@5.4.0 to dev-bundle. (#10633) 2019-07-16 11:07:40 -04:00
Ben Newman
4457cd3cd1 Explicitly install version 3.5.3 of typescript in dev bundle.
The typescript package was previously installed as a dependency of
meteor-babel, but it clearly deserves to be a direct dependency.
2019-07-15 11:43:16 -04:00
Ben Newman
122f7e4d2d Update underscore to v1.9.1 and install @types/underscore. 2019-07-15 11:39:35 -04:00
Ben Newman
bd1834c3e3 Update meteor-babel to version 7.5.5. 2019-07-06 13:10:35 -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
e80189e76b Update meteor-babel to version 7.5.1. 2019-07-05 17:47:18 -04:00
Ben Newman
53fd2a1f4a Merge branch 'release-1.8.2' into release-1.9 2019-07-04 17:27:51 -04:00
Ben Newman
c632542a04 Update meteor-babel to version 7.5.0. 2019-07-04 15:57:25 -04:00
Ben Newman
cdd8f32196 Update npm to 6.10.0 and pacote to 9.5.1. 2019-07-04 15:02:26 -04:00
Ben Newman
a68dc6d977 Merge branch 'release-1.8.2' into release-1.9 2019-07-03 13:30:44 -04:00
Ben Newman
2add249b7c Update reify to version 0.20.11. 2019-07-03 10:59:14 -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
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
a245003f15 Update optimism to version 0.10.2. 2019-06-28 22:55:10 -04:00
Ben Newman
00387ccce3 Update npm to version 6.9.2. 2019-06-28 15:18:25 -04:00