undici-thread-interceptor
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43335
25
1125
1