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 .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ updates:

# devDependencies

# locked to "^20.0.0" to align with our minimum node version in package.json/engines
# locked to align with our minimum node version in package.json/engines
- dependency-name: "@types/node"

# locked to "^8", since newer versions include breaking changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: Setup Node 20
- name: Setup Node 22
uses: actions/setup-node@v6
with:
cache: "npm"
node-version: 20
node-version: 22

- name: Install deps
run: |
Expand Down
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 04/24/2026 4.0.4

- Requires Node 22 or higher
- Remove unused runtime dependency `@azure/ms-rest-js`
- Remove dead code under `lib/templates` (`httpTemplate.ts`, `markdownHttpTemplate.ts`, `yamlHttpTemplate.ts`) and the unused `lib/models/responseWrapper.ts`

Expand Down
6 changes: 3 additions & 3 deletions eng/templates/stages/oav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ extends:
- checkout: self
submodules: true

- task: NodeTool@0
- task: UseNode@1
inputs:
versionSpec: "20.x"
displayName: "Use Node 20"
version: "22.x"
displayName: "Use Node 22"

- task: Npm@1
displayName: "npm ci"
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/json-schema-traverse": "^0.4.0",
"@types/lodash": "^4.17.20",
"@types/mustache": "^4.1.2",
"@types/node": "^20.0.0",
"@types/node": "^22.19.17",
"@types/toposort": "^2.0.3",
"@types/yargs": "^11.1.2",
"@typescript-eslint/eslint-plugin": "^8.44.1",
Expand Down Expand Up @@ -116,7 +116,7 @@
"li": "npm install @ts-common/local-install --no-save && local-install"
},
"engines": {
"node": ">=20.0.0"
"node": ">=22.0.0"
},
"jest-junit": {
"output": "test-results.xml"
Expand Down
Loading