Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .evergreen/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ variables:
EVERGREEN_VERSION_ID: ${version_id}
EVERGREEN_WORKDIR: ${workdir}
EVERGREEN_CREATED_AT: ${created_at}
NODE_JS_VERSION: '22.15.1'
NODE_JS_VERSION: '22.21.1'
NPM_VERSION: '10.2.4'
# secrets
HADRON_METRICS_INTERCOM_APP_ID: ${metrics_intercom_app_id}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/authors-and-third-party-notices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22.15.1
node-version: 22.21.1
cache: 'npm'

- name: Install npm@10.2.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22.15.1
node-version: 22.21.1
cache: 'npm'

- name: Install npm@10.2.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-compass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js Environment
uses: actions/setup-node@v4
with:
node-version: 22.15.1
node-version: 22.21.1
cache: 'npm'

- name: Install npm@10.2.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: 'Use Node.js'
uses: actions/setup-node@v4
with:
node-version: 22.15.1
node-version: 22.21.1

- name: Install npm@10.2.4
run: npm install -g npm@10.2.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/start-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22.15.1
node-version: 22.21.1
cache: 'npm'

- name: Install npm@10.2.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/start-ga.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22.15.1
node-version: 22.21.1
cache: 'npm'

- name: Install npm@10.2.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-installers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.15.1
node-version: 22.21.1
cache: 'npm'

- name: Run post-checkout command
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22.15.1
node-version: 22.21.1
cache: 'npm'

- name: Install npm@10.2.4
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

# This Node.js version matches the one required in
# the "engines" in the package.json.
nodejs 22.17.1
nodejs 22.21.1
11 changes: 11 additions & 0 deletions configs/mocha-config-compass/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,15 @@ module.exports = {
path.resolve(__dirname, 'register', 'resolve-from-source-register.js'),
path.resolve(__dirname, 'register', 'node-env-register.js'),
],
'node-option': [
// TODO(COMPASS-10162): starting with Node.js 22.15+ there is an issue
// seemingly caused by Node.js still parsing files with .ts extension even
// if experimental-strip-types option is not enabled. Explicitly disabling
// experimental-strip-types option seems to work around this, but long term
// a proper solution would be to switch our usage of ts-node (and a related
// load from source mocha register functionality) from relying on cjs module
// system to esm one (meaning we should use ts-node/esm instead of just
// ts-node register)
'no-experimental-strip-types',
],
};
4 changes: 4 additions & 0 deletions configs/mocha-config-compass/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ module.exports = {
path.resolve(__dirname, 'register', 'jsdom-extra-mocks-register.js'),
path.resolve(__dirname, 'register', 'node-env-register.js'),
],
'node-option': [
// TODO(COMPASS-10162): see ./index.js
'no-experimental-strip-types',
],
};
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"node-gyp": "^10.2.0"
},
"engines": {
"node": ">=22.15.1",
"node": ">=22.21.1",
"npm": ">=10.2.4"
},
"bugs": {
Expand Down
Loading