Commit Graph

157 Commits

Author SHA1 Message Date
Leonardo Venturini
eb1da723b9 rename variable (#13224) 2024-07-11 08:41:57 -04:00
denihs
a5eb01f247 - renaming getText to getTextAsync and getBinary to getBinaryAsync to follow the same as in the build plugins 2024-05-21 08:55:50 -04:00
matheusccastro
a112ad528c Update Node version to 18.16.0 LTS
Bump the `source-map` version to fix the issue: https://github.com/mozilla/source-map/issues/454.

We are not updating the NPM version because there is an breaking change with the `npm config set python` which we use with `node-gyp`.
2023-05-31 23:46:49 -03:00
matheusccastro
3bb8622950 Update Node version to 16.20.0 LTS and NPM to 8.19.4
This commit also removes the fork of `pacote` that Meteor used to use - hopefully, the issues that were fixed with our patch are already fixed on upstream.
2023-05-31 23:10:10 -03:00
denihs
513f689136 - fix test "compiler plugins - compiler addAsset"
declaring the function getAsset as `var getAsset = function () {}` was causing the test to fail
2023-05-04 14:11:06 -04:00
denihs
a999b943f3 - fix small bugs throughout the code 2023-05-04 11:31:53 -04:00
denihs
4f6cf3247f Merge branch 'devel' into release-3.0
# Conflicts:
#	docs/history.md
#	meteor
#	packages/accounts-base/accounts_tests.js
#	packages/ddp-server/.npm/package/npm-shrinkwrap.json
#	packages/meteor/dynamics_nodejs.js
#	packages/mongo/collection.js
#	packages/mongo/mongo_driver.js
#	packages/non-core/blaze
#	tools/static-assets/server/boot.js
#	tools/tests/create.js
2023-05-04 10:41:37 -04:00
matheusccastro
343fa7f55a Add Assets async API and create findOneAsync on Mongo Connection API too 2023-04-19 19:44:13 -03:00
denihs
3003050851 - fix test: autoupdate 2023-04-10 14:31:54 -04:00
Gabriel Grubba
3fed8d91b0 Merge branch 'release-3.0' into release-3.0-fix-ci-tests 2023-04-03 12:43:29 -03:00
zodern
212868d740 Merge branch 'release-3.0' into fix/meteor-3-tla-tests 2023-03-30 16:11:57 -05:00
zodern
4f6433a252 Load all packages within same microtask 2023-03-30 15:37:30 -05:00
denihs
e4ea3c7d5e - fixing test "assets - unicode asset names are allowed" 2023-03-23 12:55:33 -04:00
denihs
1fe557edd8 we don't need to check for fileInfo.node_modules anymore 2023-03-17 14:19:13 -04:00
denihs
8fe93dc530 we don't need to check for fileInfo.node_modules anymore 2023-03-17 14:17:15 -04:00
denihs
c5bc3f327e reverting nonLocalNodeModulesPaths from a map to an array 2023-03-16 16:36:55 -04:00
denihs
b4c6274108 fixing tests for packages:
- oauth
- oauth1
- oauth2
- webapp
2023-03-16 16:03:21 -04:00
denihs
f2d7ea6636 Revert "fixing tests for packages:"
This reverts commit e94fdfd004.
2023-03-16 16:02:23 -04:00
denihs
e94fdfd004 fixing tests for packages:
- oauth
- oauth1
- oauth2
- webapp
2023-03-16 16:01:42 -04:00
Gabriel Grubba
3b48d0b264 Merge branch 'release-3.0' into adjust-detecting-fibers-enabled 2023-03-10 17:56:54 -03:00
zodern
c727788332 Rename fibersDisabled to isFibersDisabled 2023-03-06 10:45:29 -06:00
Gabriel Grubba
ebe0be01d6 Merge pull request #12536 from meteor/fix/missing-globals-no-app-files
[Meteor 3] Fix missing globals and packages unable to import from app's node_modules
2023-03-06 09:38:31 -03:00
zodern
ae49aa44bb Use __meteor_bootstrap__ to check if fibers enabled 2023-03-03 17:07:23 -06:00
zodern
5d5a31a56e Ensure globals always defined when linking app 2023-03-03 16:58:07 -06:00
Gabriel Grubba
275338421e wip 2023-02-28 10:23:24 -03:00
Gabriel Grubba
4be8120ac5 wip 2023-02-27 15:41:36 -03:00
Gabriel Grubba
e156aed3bf wip node err 2023-02-24 14:44:48 -03:00
denihs
a593ad95ef - removing unnecessary fiber import 2023-01-24 11:52:24 -04:00
denihs
aa9147ab88 await core-runtime package to run 2023-01-23 10:40:40 -04:00
denihs
afbe556c14 - catching error on boot.js 2023-01-20 13:57:20 -04:00
denihs
c6f157048e - removing await from boot.js. Trying to run tests 2023-01-19 13:36:31 -04:00
denihs
43c3eb130f - merging the TLA branch 2023-01-18 15:23:41 -04:00
denihs
048f4a0f47 Merge branch 'feature/top-level-await-reify' into release-3.0-tools-and-mongo
# Conflicts:
#	npm-packages/meteor-babel/package-lock.json
#	packages/babel-compiler/.npm/package/npm-shrinkwrap.json
#	tools/isobuild/linker.js
#	tools/static-assets/server/boot.js
2023-01-18 15:13:27 -04:00
denihs
212a668cb7 - These methods are now async:
- `WebAppInternals.reloadClientPrograms()`
    - `WebAppInternals.pauseClient()`
    - `WebAppInternals.generateClientProgram()`
    - `WebAppInternals.generateBoilerplate()`
    - `WebAppInternals.setInlineScriptsAllowed()`
    - `WebAppInternals.enableSubresourceIntegrity()`
    - `WebAppInternals.setBundledJsCssUrlRewriteHook()`
    - `WebAppInternals.setBundledJsCssPrefix()`
2023-01-18 14:52:34 -04:00
denihs
8875a2a191 Merge branch 'release-3.0-mongo-tests' into release-3.0-tools-and-mongo
# Conflicts:
#	packages/meteor/async_helpers.js
#	tools/static-assets/server/boot.js
2023-01-18 13:47:48 -04:00
zodern
0ffaf9fb16 Simplify waiting for server bundles 2023-01-06 17:16:07 -06:00
zodern
e63909eda8 Fix inconsistent timing for server startup hooks 2023-01-06 17:14:36 -06:00
Edimar Cardoso
22ebfd7081 Fix error for undefined global.asyncLocalStorage 2023-01-06 16:34:43 -03:00
Edimar Cardoso
193e47191b Fix error for undefined global.asyncLocalStorage 2023-01-06 16:28:12 -03:00
zodern
388beb8711 Wait for async modules before running startup hooks 2022-12-30 15:27:07 -06:00
zodern
1e91d6fbf2 Merge branch 'release-3.0' into feature/top-level-await-reify 2022-12-30 14:41:18 -06:00
zodern
180f681446 Delay startup hooks until after eager async modules 2022-12-23 16:23:47 -06:00
Matheus Castro
f7c419a3d9 Remove Fibers from meteor-tools:
- Use set instead of array when storing the node modules directory. Also check first from fileInfo.node_modules, and then loop through the other options when checking if the node modules for the given package exists.
2022-12-21 19:54:02 -03:00
Matheus Castro
53c24bbf6f Remove Fibers from meteor-tools:
- Fixing package stats issues and setting global.asyncLocalStorage when needed.
2022-12-20 17:16:18 -03:00
Matheus Castro
1df85b0e39 Remove Fibers for Meteor Tools:
- Add missing "awaits".
2022-12-16 17:14:05 -03:00
Matheus Castro
a76c30693f Remove Fibers for Meteor Tools:
- Start changing the meteor run command now. It's throwing errors when trying to check constraints/package-versions.
2022-12-14 21:48:59 -03:00
Edimar Cardoso
92233e132c Require review alternative to Fibers uses 2022-12-06 20:35:57 -03:00
denihs
b60d7d44f5 changing EV.withValue, EV.get, and bindEv to work with ALS without relaying on global array 2022-11-30 17:15:05 -04:00
Matheus Castro
26b16b5db3 Move ASL helpers to it's own file and attach it to Meteor's global object.
On tools, however, we still need to use the process.env value (when starting the server in boot.js).
2022-08-19 20:03:25 -03:00
Matheus Castro
a40ec5392f Add code from "fibers-optional" branch with some modifications:
- Create new context for DDP server too.
- Removing some console.logs + adding some TODOS.
2022-08-18 13:16:21 -03:00