Socket
Socket
Sign inDemoInstall

on-socket-error

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

on-socket-error - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

index.js

@@ -9,4 +9,4 @@ module.exports = function (thingie, callback) {

function destroy() {
callback()
function destroy(err) {
callback(err)
cleanup()

@@ -13,0 +13,0 @@ }

{
"name": "on-socket-error",
"description": "Execute a callback on socket errors",
"version": "1.0.0",
"version": "1.0.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Jonathan Ong",

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