Socket
Socket
Sign inDemoInstall

undici

Package Overview
Dependencies
Maintainers
2
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

undici - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

test/client-write-max-listeners.js

6

lib/core/client.js

@@ -1105,6 +1105,2 @@ 'use strict'

}
/* istanbul ignore next */
const onClose = function () {
assert(false, 'socket should not close without error')
}
const onFinished = function (err) {

@@ -1127,3 +1123,2 @@ if (finished) {

.removeListener('error', onFinished)
.removeListener('close', onClose)
body

@@ -1170,3 +1165,2 @@ .removeListener('data', onData)

.on('error', onFinished)
.on('close', onFinished)
}

@@ -1173,0 +1167,0 @@

2

package.json
{
"name": "undici",
"version": "2.0.3",
"version": "2.0.4",
"description": "An HTTP/1.1 client, written from scratch for Node.js",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc