Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

finalhandler

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

finalhandler - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

5

HISTORY.md

@@ -0,1 +1,6 @@

v1.2.1 / 2024-09-02
==================
* Gracefully handle when handling an error and socket is null
1.2.0 / 2022-03-22

@@ -2,0 +7,0 @@ ==================

4

index.js

@@ -128,3 +128,5 @@ /*!

debug('cannot %d after headers sent', status)
req.socket.destroy()
if (req.socket) {
req.socket.destroy()
}
return

@@ -131,0 +133,0 @@ }

{
"name": "finalhandler",
"description": "Node.js final http responder",
"version": "1.2.0",
"version": "1.2.1",
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",

@@ -20,3 +20,3 @@ "license": "MIT",

"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-markdown": "2.2.1",

@@ -26,7 +26,7 @@ "eslint-plugin-node": "11.1.0",

"eslint-plugin-standard": "4.1.0",
"mocha": "9.2.2",
"mocha": "10.0.0",
"nyc": "15.1.0",
"readable-stream": "2.3.6",
"safe-buffer": "5.2.1",
"supertest": "6.2.2"
"supertest": "6.2.4"
},

@@ -44,6 +44,7 @@ "files": [

"lint": "eslint .",
"test": "mocha --reporter spec --bail --check-leaks test/",
"test": "mocha --reporter spec --check-leaks test/",
"test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
"test-cov": "nyc --reporter=html --reporter=text npm test"
"test-cov": "nyc --reporter=html --reporter=text npm test",
"test-inspect": "mocha --reporter spec --inspect --inspect-brk test/"
}
}

@@ -146,3 +146,3 @@ # finalhandler

[downloads-url]: https://npmjs.org/package/finalhandler
[github-actions-ci-image]: https://img.shields.io/github/workflow/status/pillarjs/finalhandler/ci/master?label=ci
[github-actions-ci-url]: https://github.com/jshttp/pillarjs/finalhandler?query=workflow%3Aci
[github-actions-ci-image]: https://github.com/pillarjs/finalhandler/actions/workflows/ci.yml/badge.svg
[github-actions-ci-url]: https://github.com/pillarjs/finalhandler/actions/workflows/ci.yml
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc