Skip to content

Override jsonparse to fix deprecated new Buffer#1389

Merged
raineorshine merged 1 commit intomainfrom
jsonparse-buffer
Mar 28, 2024
Merged

Override jsonparse to fix deprecated new Buffer#1389
raineorshine merged 1 commit intomainfrom
jsonparse-buffer

Conversation

@raineorshine
Copy link
Copy Markdown
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
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