Socket
Socket
Sign inDemoInstall

nock

Package Overview
Dependencies
2
Maintainers
4
Versions
422
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 14.0.0-beta.6 to 14.0.0-beta.7

10

lib/create_response.js

@@ -50,2 +50,3 @@ 'use strict'

let isCanceled = false
const chunks = []

@@ -69,3 +70,7 @@ const responseBodyOrNull = responseStatusCodesWithoutBody.includes(

error => {
error ? controller.error(error) : controller.close()
if (error) {
controller.error(error)
} else if (!isCanceled) {
controller.close()
}
},

@@ -81,2 +86,5 @@ )

},
cancel() {
isCanceled = true
},
})

@@ -83,0 +91,0 @@

2

package.json

@@ -10,3 +10,3 @@ {

],
"version": "14.0.0-beta.6",
"version": "14.0.0-beta.7",
"author": "Pedro Teixeira <pedro.teixeira@gmail.com>",

@@ -13,0 +13,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc