New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

async-hook-domain

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-hook-domain - npm Package Compare versions

Comparing version 1.1.3 to 2.0.1

9

index.js

@@ -10,5 +10,2 @@ const { executionAsyncId, createHook } = require('async_hooks')

const sms = require('source-map-support')
sms.install({environment:'node', hookRequire: true})
const domains = new Map()

@@ -60,8 +57,2 @@

after (id) {
debug('AFTER', id)
if (id === promiseExecutionId)
promiseExecutionId = null
},
destroy (id) {

@@ -68,0 +59,0 @@ const domain = domains.get(id)

15

package.json
{
"name": "async-hook-domain",
"version": "1.1.3",
"version": "2.0.1",
"description": "An implementation of Domain-like error handling, built on async_hooks",

@@ -9,7 +9,5 @@ "main": "index.js",

},
"dependencies": {
"source-map-support": "^0.5.11"
},
"devDependencies": {
"tap": "^14.6.6"
"source-map-support": "^0.5.16",
"tap": "^14.10.2"
},

@@ -28,3 +26,3 @@ "scripts": {

"type": "git",
"url": "git://github.com/isaacs/async-hook-domain.git"
"url": "git://github.com/tapjs/async-hook-domain.git"
},

@@ -50,3 +48,6 @@ "keywords": [

"index.js"
]
],
"engines": {
"node": ">=10"
}
}

@@ -7,2 +7,4 @@ # async-hook-domain

[![Linux Build](https://travis-ci.org/tapjs/async-hook-domain.svg?branch=master)](https://travis-ci.org/tapjs/async-hook-domain)
## USAGE

@@ -9,0 +11,0 @@

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