Socket
Socket
Sign inDemoInstall

builder-util-runtime

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builder-util-runtime - npm Package Compare versions

Comparing version 8.5.0 to 8.6.0

14

out/httpExecutor.js

@@ -193,2 +193,3 @@ "use strict";

let data = "";
response.on("error", reject);
response.on("data", chunk => data += chunk);

@@ -281,5 +282,8 @@ response.on("end", () => {

return;
} // this code not relevant for Electron (redirect event instead handled)
} // It is possible for the response stream to fail, e.g. when a network is lost while
// response stream is in progress. Stop waiting and reject so consumer can catch the error.
response.on("error", options.callback); // this code not relevant for Electron (redirect event instead handled)
const redirectUrl = safeGetHeader(response, "location");

@@ -483,9 +487,5 @@

let headers = options.headers;
options.headers = Object.assign({}, options.headers);
const headers = options.headers;
if (headers == null) {
headers = {};
options.headers = headers;
}
if (token != null) {

@@ -492,0 +492,0 @@ headers.authorization = token.startsWith("Basic") ? token : `token ${token}`;

{
"name": "builder-util-runtime",
"version": "8.5.0",
"version": "8.6.0",
"main": "out/index.js",

@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev",

Sorry, the diff of this file is not supported yet

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