Merge pull request #14176 from meteor/node24

Node 24.14.0 & NPM 11.10.1
This commit is contained in:
Italo José
2026-03-03 20:17:03 -03:00
committed by GitHub
14 changed files with 1291 additions and 983 deletions

View File

@@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 24.x
- run: npm ci
- name: Run ESLint@8
run: npx eslint@8 "./npm-packages/meteor-installer/**/*.js"

View File

@@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 24.x
- run: cd scripts/admin/check-legacy-syntax && npm ci
- name: Check syntax
run: cd scripts/admin/check-legacy-syntax && node check-syntax.js

View File

@@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 24.x
- name: Build the Guide
run: npm ci && npm run build
- name: Deploy to Netlify for preview

View File

@@ -21,7 +21,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 24.x
cache: npm
- run: npm ci
- run: npm test

View File

@@ -47,7 +47,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 22.x
node-version: 24.x
- name: Cache dependencies
id: meteor-cache

2
meteor
View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
BUNDLE_VERSION=22.22.0.6
BUNDLE_VERSION=24.14.0.1
# OS Check. Put here because here is where we download the precompiled
# bundles that are arch specific.

View File

@@ -5,10 +5,10 @@ set -u
UNAME=$(uname)
ARCH=$(uname -m)
NODE_VERSION=14.21.3
NODE_VERSION=24.14.0
MONGO_VERSION_64BIT=6.0.3
MONGO_VERSION_32BIT=3.2.22
NPM_VERSION=6.14.18
NPM_VERSION=11.10.1
if [ "$UNAME" == "Linux" ] ; then
if [ "$ARCH" != "i686" -a "$ARCH" != "x86_64" ] ; then

View File

@@ -10,7 +10,7 @@ var packageJson = {
dependencies: {
// Explicit dependency because we are replacing it with a bundled version
// and we want to make sure there are no dependencies on a higher version
npm: "10.9.4",
npm: "11.10.1",
pacote: "https://github.com/meteor/pacote/tarball/a81b0324686e85d22c7688c47629d4009000e8b8",
"node-gyp": "9.4.0",
"@mapbox/node-pre-gyp": "1.0.11",

2201
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -12,27 +12,27 @@
},
"homepage": "https://www.meteor.com/",
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/eslint-parser": "^7.21.3",
"@babel/eslint-plugin": "^7.19.1",
"@babel/preset-react": "^7.18.6",
"@babel/core": "^7.29.0",
"@babel/eslint-parser": "^7.28.6",
"@babel/eslint-plugin": "^7.27.1",
"@babel/preset-react": "^7.28.5",
"@types/lodash.isempty": "^4.4.9",
"@types/node": "^18.16.18",
"@types/node": "^24.10.13",
"@types/sockjs": "^0.3.36",
"@types/sockjs-client": "^1.5.4",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-vazco": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.2",
"eslint-config-vazco": "^7.4.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.8.8",
"typescript": "^5.4.5"
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"prettier": "^3.8.1",
"typescript": "^5.9.3"
},
"scripts": {
"install:modern": "cd tools/modern-tests && npm install && npx playwright install --with-deps chromium chromium-headless-shell",

View File

@@ -36,7 +36,7 @@ fi
echo Found build $DIRNAME
trap "echo Found surprising number of tarballs." EXIT
trap "echo 'Found surprising number of tarballs.'; aws s3 ls s3://com.meteor.jenkins/$DIRNAME/" EXIT
# Check to make sure the proper number of each kind of file is there.
aws s3 ls s3://com.meteor.jenkins/$DIRNAME/ | \
perl -nle 'if (/\.tar\.gz/) { ++$TAR } else { die "something weird" } END { exit !($TAR == 4) }'

View File

@@ -5,10 +5,10 @@ set -u
UNAME=$(uname)
ARCH=$(uname -m)
NODE_VERSION=22.22.0
MONGO_VERSION_64BIT=7.0.16
NODE_VERSION=24.14.0
MONGO_VERSION_64BIT=8.2.5
MONGO_VERSION_32BIT=3.2.22
NPM_VERSION=10.9.4
NPM_VERSION=11.10.1
if [ "$UNAME" == "Linux" ] ; then

View File

@@ -10,7 +10,7 @@ var packageJson = {
dependencies: {
// Explicit dependency because we are replacing it with a bundled version
// and we want to make sure there are no dependencies on a higher version
npm: "10.9.4",
npm: "11.10.1",
"node-gyp": "10.2.0",
"node-gyp-build": "4.8.4",
"@mapbox/node-pre-gyp": "1.0.11",

View File

@@ -130,7 +130,16 @@ export default class Matcher {
}
matchEmpty() {
if (this.buf.length > 0) {
if (this.buf.length === 0) return;
// Strip Node.js runtime warning lines before checking for unexpected output.
// These originate from third-party packages (e.g. http-proxy using the
// deprecated url.parse() API) and should not cause test failures.
// Pattern covers: "(node:NNNN) Warning: ...\n(Use `node --trace-warnings ...`)\n"
const nodeWarningRe = /\(node:\d+\) \w+: [^\n]+\n(?:\(Use [^\n]+\)\n)?/g;
const stripped = this.buf.replace(nodeWarningRe, '');
if (stripped.length > 0) {
Console.info("Extra junk is :", this.buf);
throw new TestFailure('junk-at-end', { run: this.run });
}