-
Notifications
You must be signed in to change notification settings - Fork 2
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
Bump node from 18.17.1 to 20.11.0 #22
Conversation
b80bf73
to
0cc4d2e
Compare
@@ -194,7 +194,7 @@ process_url = (url, transferredHeaders, resp, remaining_redirects) -> | |||
# decode a string of two char hex digits | |||
hexdec = (str) -> | |||
if str and str.length > 0 and str.length % 2 == 0 and not str.match(/[^0-9a-f]/) | |||
buf = new Buffer(str.length / 2) | |||
buf = new Buffer.alloc(str.length / 2) |
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.
Fixed this error
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
0cc4d2e
to
f5e6534
Compare
CHANGELOG.md
Outdated
@@ -3,6 +3,8 @@ Unreleased | |||
|
|||
<!-- Add descriptions of changes here --> | |||
|
|||
* Add support for Node v20 and drop support for Node v17 [22](https://github.com/increments/camo/pull/22) |
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.
maybe
* Add support for Node v20 and drop support for Node v17 [22](https://github.com/increments/camo/pull/22) | |
* Add support for Node v20 and drop support for Node v17 or before [22](https://github.com/increments/camo/pull/22) |
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.
@atm-snag2
Thanks! I fixed it 👍
f5e6534
to
63eb30f
Compare
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.
LGTM
What