Skip to content

fix(ext/node): emit deprecation warning for SlowBuffer - #31772

Merged
fraidev merged 3 commits into
denoland:mainfrom
fraidev:fix-slowbuffer-deprecation-warning
Jan 10, 2026
Merged

fraidev merged 3 commits into
denoland:mainfrom
fraidev:fix-slowbuffer-deprecation-warning

Conversation

@fraidev

@fraidev fraidev commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Adds the DEP0030 deprecation warning when SlowBuffer() is called, matching Node.js behavior.
This fixes the node_compat test parallel/test-buffer-slow.js.

@bartlomieju

Copy link
Copy Markdown
Member

Can you enable that test?

@fraidev
fraidev force-pushed the fix-slowbuffer-deprecation-warning branch from caff41b to 7c8450d Compare January 9, 2026 17:50
@fraidev

fraidev commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

Can you enable that test?

Sure, done!

@fraidev
fraidev merged commit b6594a7 into denoland:main Jan 10, 2026
57 of 70 checks passed
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.

2 participants