Skip to content
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

Override jsonparse to fix deprecated new Buffer #1389

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Conversation

raineorshine
Copy link
Owner

@raineorshine raineorshine commented Mar 28, 2024

A deprecation warning snuck in via npm-registry-fetch → minipass-json-stream → jsonparse

[DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use node --trace-deprecation ... to show where the warning was created)

Override jsonparse with the fix from ARitz-Cracker/jsonparse@f29abd3 until PR creationix/jsonparse#45 is merged.

[DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

creationix/jsonparse#45
@raineorshine raineorshine merged commit 1ab67cd into main Mar 28, 2024
7 checks passed
@raineorshine raineorshine deleted the jsonparse-buffer branch March 28, 2024 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant