Socket
Socket
Sign inDemoInstall

edge-runtime

Package Overview
Dependencies
12
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.3 to 2.4.4

27

dist/server/body-streams.js

@@ -82,11 +82,24 @@ "use strict";

if (reader) {
while (true) {
const { done, value } = await reader.read();
if (done) {
return;
let error;
try {
while (true) {
const { done, value } = await reader.read();
if (done) {
return;
}
if (!isUint8ArrayChunk(value)) {
error = new TypeError('This ReadableStream did not return bytes.');
break;
}
yield value;
}
if (!isUint8ArrayChunk(value)) {
throw new TypeError('This ReadableStream did not return bytes.');
}
finally {
if (error) {
reader.cancel(error);
throw error;
}
yield value;
else {
reader.cancel();
}
}

@@ -93,0 +106,0 @@ }

@@ -5,3 +5,3 @@ {

"homepage": "https://edge-runtime.vercel.app/packages/runtime",
"version": "2.4.3",
"version": "2.4.4",
"main": "dist/index.js",

@@ -40,3 +40,4 @@ "bin": {

"@types/node-fetch": "2",
"node-fetch": "2"
"node-fetch": "2",
"web-streams-polyfill": "4.0.0-beta.3"
},

@@ -43,0 +44,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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