Skip to content

feat(micro-utilities): add util-deprecate to replacements - #1294

Merged
43081j merged 2 commits into
e18e:mainfrom
maksimgm:feat/util-deprecate
Nov 25, 2026
Merged

43081j merged 2 commits into
e18e:mainfrom
maksimgm:feat/util-deprecate

Conversation

@maksimgm

Copy link
Copy Markdown
Contributor

🔗 Linked issue

closes #1264

📚 Description

adds util-deprecate (~225M weekly downloads) to micro-utilities with a new snippet::deprecate. on node/deno/bun it points to deprecate from node:util, which is what the package re-exports there. for the browser it mentions the default behaviour (console.warn once on the first call) and has a small wrapper that does the same, per the discussion on the issue.

checked the wrapper against util-deprecate@1.0.2's browser.js, same return values, this and warnings

@43081j
43081j merged commit 2525a0a into e18e:main Nov 25, 2026
5 checks passed
@maksimgm
maksimgm deleted the feat/util-deprecate branch November 25, 2026 18:30
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.

[Replacement]: util-deprecate

2 participants