Packages

on-finished

2.4.2 · 22 Oct 2026MIT209.7M / weekRepositoryHomepagenpmAtom feed

Your version

2.4.2

latest22 Oct 2026Where it was published

In short

1 deprecated3 new3 changed25 internal

  • deprecated

    isFinished(res) now reads writableEnded instead of the deprecated finished property (DEP0136), with a fallback to finished on older Node.js versions. No behavior change for consumers.

Release note

Highlights

Node.js deprecation

  • deprecated

    isFinished(res) now reads writableEnded instead of the deprecated finished property (DEP0136), with a fallback to finished on older Node.js versions. No behavior change for consumers.

Packaging

  • HISTORY.md is no longer shipped in the npm tarball.

  • package.json now declares "type": "commonjs" explicitly.

What's Changed

  • Update node 8 version and pin nyc. Also added missing 9.x to ci-tests…

  • Add OSSF scorecard

  • Use writableEnd instead finished

  • Bump Mocha to version 12.0.3