Skip to content

Commit

Permalink
deps: more-precise version of @types/node aws#5801
Browse files Browse the repository at this point in the history
## Problem
Follow up to:
aws#5761 (comment)

## Solution
- target a version of `@types/node` that is closer to the actual version running in CI.
- add a techdebt.test.ts reminder.
  • Loading branch information
Hweinstock authored Oct 17, 2024
1 parent 30f21dc commit c44fa30
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
16 changes: 8 additions & 8 deletions 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 @@ -69,7 +69,7 @@
"webpack-merge": "^5.10.0"
},
"dependencies": {
"@types/node": "^22.7.5",
"@types/node": "^18.19.55",
"vscode-nls": "^5.2.0",
"vscode-nls-dev": "^4.0.4"
}
Expand Down
2 changes: 2 additions & 0 deletions packages/core/src/test/techdebt.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ describe('tech debt', function () {
semver.lt(minNodejs, '18.0.0'),
'with node16+, we can now use AbortController to cancel Node things (child processes, HTTP requests, etc.)'
)
// This is relevant for the use of `fs.cpSync` in the copyFiles scripts.
assert.ok(semver.lt(minNodejs, '18.0.0'), 'with node18+, we can remove the dependency on @types/node@18')
})

it('remove separate sessions login edge cases', async function () {
Expand Down

0 comments on commit c44fa30

Please sign in to comment.