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

@cypress/request

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cypress/request - npm Package Compare versions

Comparing version 2.88.6 to 2.88.7

2

package.json

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

],
"version": "2.88.6",
"version": "2.88.7",
"author": "Mikeal Rogers <mikeal.rogers@gmail.com>",

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

@@ -1073,2 +1073,10 @@ 'use strict'

responseContent.on('error', function (error) {
if (error.code === 'ECONNRESET' && error.message === 'aborted' && self.listenerCount('error') === 0) {
// Node 16 causes aborts to emit errors if there is an error listener.
// Without this short-circuit, it will cause unhandled exceptions since
// there is not always an `error` listener on `self`, but there will
// always be an `error` listener on `responseContent`.
// @see https://github.com/nodejs/node/pull/33172
return
}
self.emit('error', error)

@@ -1075,0 +1083,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