-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore!: upgrade to Node 18 #353
Changes from 13 commits
bc820e8
fe67feb
6dae755
9bd0c61
12455e2
cb01f88
30b1f76
20797ce
659d01d
29edb4d
7af4c2a
0657fc1
2387b66
d8e79bb
8db2694
6f06e53
e8c0810
b152c95
887b16d
e15b70f
b7505ff
67d0aa8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
enabled: true | ||
multiScmName: teeny-request |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"main": "./build/src/index.js", | ||
"types": "./build/src/index.d.ts", | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=18" | ||
}, | ||
"scripts": { | ||
"test": "c8 mocha build/test", | ||
|
@@ -40,27 +40,27 @@ | |
"dependencies": { | ||
"http-proxy-agent": "^5.0.0", | ||
"https-proxy-agent": "^5.0.0", | ||
"node-fetch": "^2.6.9", | ||
"node-fetch": "^2.7.0", | ||
"stream-events": "^1.0.5", | ||
"uuid": "^9.0.0" | ||
"uuid": "^11.0.5" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. UUID is globally available as of Node 18+. Here’s how we can drop this dependency: |
||
}, | ||
"devDependencies": { | ||
"@babel/plugin-proposal-private-methods": "^7.18.6", | ||
"@types/mocha": "^10.0.0", | ||
"@types/node-fetch": "^2.5.7", | ||
"@types/sinon": "^17.0.0", | ||
"@types/uuid": "^9.0.0", | ||
"c8": "^9.0.0", | ||
"codecov": "^3.1.0", | ||
"gts": "^5.0.0", | ||
"jsdoc": "^4.0.0", | ||
"@types/mocha": "^10.0.10", | ||
"@types/node-fetch": "^2.6.12", | ||
"@types/sinon": "^17.0.3", | ||
"@types/uuid": "^10.0.0", | ||
"c8": "^10.1.3", | ||
"codecov": "^3.8.3", | ||
"gts": "^6.0.2", | ||
"jsdoc": "^4.0.4", | ||
"jsdoc-fresh": "^3.0.0", | ||
"jsdoc-region-tag": "^3.0.0", | ||
"linkinator": "^3.0.0", | ||
"mocha": "^10.0.0", | ||
"nock": "^13.0.0", | ||
"sinon": "^17.0.0", | ||
"typescript": "^5.1.6" | ||
"linkinator": "^6.1.2", | ||
"mocha": "^11.1.0", | ||
"nock": "^14.0.1", | ||
"sinon": "^19.0.2", | ||
"typescript": "^5.7.3" | ||
}, | ||
"nyc": { | ||
"exclude": [ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need this bumped to v3 in order to avoid
punycode
warnings in Node v22. Here are a few examples:punycode
module is deprecated. Please use a userland alternative instead google-auth-library-nodejs#1829Here’s an example migration:
node-fetch
v3 gaxios#617