Skip to content

Fix: Replace deprecated util.isString with typeof check#42

Open
derblub wants to merge 1 commit into
Vinlic:masterfrom
derblub:fix/deprecation-warning
Open

Fix: Replace deprecated util.isString with typeof check#42
derblub wants to merge 1 commit into
Vinlic:masterfrom
derblub:fix/deprecation-warning

Conversation

@derblub

@derblub derblub commented May 22, 2025

Copy link
Copy Markdown

Replaced the deprecated util.isString API with typeof arg === "string" in lib/logger.js to resolve the DEP0056 deprecation warning.

Replaced the deprecated `util.isString` API with `typeof arg === "string"`
in `lib/logger.js` to resolve the DEP0056 deprecation warning.
@MajesticOl

Copy link
Copy Markdown

Very nice

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