dead-deps — what happened to your dependencies

Is sinon-as-promised still maintained?

No — sinon-as-promised stopped being maintained around March 2017. sinon-as-promised's functionality was absorbed into sinon.

Status
No longer maintained
Last maintained
March 2017
Use instead
sinon on npm
Succession
Absorbed elsewhere
Drop-in
yes — swap the import
Confidence
high

What should I use instead of sinon-as-promised?

sinon-as-promised's functionality was absorbed into sinon. sinon is close enough to a drop-in replacement that most projects only change the dependency and the import.

How to migrate from sinon-as-promised to sinon

Remove the dependency and the require('sinon-as-promised') line; sinon.stub().resolves(value) and .rejects(error) work unchanged on Sinon 2 and later.

Why sinon-as-promised is on this list

This package added resolves and rejects to Sinon stubs. Its README states that Sinon 2 added those methods and no longer requires the library, and the last release was 4.0.3 in March 2017. The functionality now ships in Sinon itself.

The succession is settled: primary sources agree and the ecosystem has already moved.

sinon-as-promised alternatives

The dataset lists no second option: sinon is where the ecosystem went, and nothing else has meaningful adoption.

Check your own project for sinon-as-promised

npx dead-deps --all --min-state unmaintained

Run that in the directory holding your lockfile. If sinon-as-promised is anywhere in your tree — a direct dependency or buried under something else — it appears in the report with this verdict, this successor and the same evidence links, alongside anything else that has stopped moving. Nothing is uploaded; the scan reads your lockfile locally and queries public registry metadata.

Exit code 1 means something was flagged, which makes npx dead-deps --min-state deprecated usable as a CI gate. See how verdicts are produced.

Evidence

Every claim on this page traces to a primary source. Check them:

See the full index of covered packages, or read the methodology for how a verdict is reached and why a quiet package is not a dead one.