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

undici-thread-interceptor

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

undici-thread-interceptor - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

test/fetch.test.js

4

index.js

@@ -324,6 +324,6 @@ 'use strict'

opts.body = data.join('')
} else if (data[0] instanceof Buffer) {
} else if (data[0] instanceof Buffer || data[0] instanceof Uint8Array) {
opts.body = Buffer.concat(data)
} else {
throw new Error('Cannot not transfer streams of objects')
throw new Error('Cannot transfer streams of objects')
}

@@ -330,0 +330,0 @@ }

{
"name": "undici-thread-interceptor",
"version": "0.7.1",
"version": "0.7.2",
"description": "An Undici interceptor that routes requests over a worker thread",

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

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