Socket
Socket
Sign inDemoInstall

undici

Package Overview
Dependencies
1
Maintainers
3
Versions
205
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.6.1 to 6.6.2

3

index-fetch.js

@@ -17,2 +17,5 @@ 'use strict'

module.exports.Request = require('./lib/fetch/request').Request
module.exports.WebSocket = require('./lib/websocket/websocket').WebSocket
module.exports.EventSource = require('./lib/eventsource/eventsource').EventSource

10

lib/fetch/webidl.js

@@ -37,6 +37,10 @@ 'use strict'

webidl.brandCheck = function (V, I, opts = undefined) {
if (opts?.strict !== false && !(V instanceof I)) {
throw new TypeError('Illegal invocation')
if (opts?.strict !== false) {
if (!(V instanceof I)) {
throw new TypeError('Illegal invocation')
}
} else {
return V?.[Symbol.toStringTag] === I.prototype[Symbol.toStringTag]
if (V?.[Symbol.toStringTag] !== I.prototype[Symbol.toStringTag]) {
throw new TypeError('Illegal invocation')
}
}

@@ -43,0 +47,0 @@ }

{
"name": "undici",
"version": "6.6.1",
"version": "6.6.2",
"description": "An HTTP/1.1 client, written from scratch for Node.js",

@@ -107,3 +107,3 @@ "homepage": "https://undici.nodejs.org",

"abort-controller": "^3.0.0",
"borp": "^0.5.0",
"borp": "^0.9.1",
"chai": "^4.3.4",

@@ -110,0 +110,0 @@ "chai-as-promised": "^7.1.1",

Sorry, the diff of this file is too big to display

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