Skip to content

cleanup: replace is-promise with instanceof Promise check#202

Closed
maksim-romanov wants to merge 1 commit into
pillarjs:masterfrom
maksim-romanov:drop-is-promise
Closed

cleanup: replace is-promise with instanceof Promise check#202
maksim-romanov wants to merge 1 commit into
pillarjs:masterfrom
maksim-romanov:drop-is-promise

Conversation

@maksim-romanov

Copy link
Copy Markdown

Native Promises are universally supported, so the is-promise dependency
can be replaced with a strict instanceof Promise check. The deprecation
block added in #154 becomes unreachable but is left in place so this PR
stays minimal — it can be removed in a follow-up.

Closes #136

@krzysdz

krzysdz commented Jun 5, 2026

Copy link
Copy Markdown

Duplicate of #137

@krzysdz krzysdz marked this as a duplicate of #137 Jun 5, 2026
@krzysdz krzysdz closed this Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider dropping is-promise as a dependency

2 participants