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

electron-builder-http

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-builder-http - npm Package Compare versions

Comparing version 10.17.1 to 10.17.3

2

out/electron-builder-http.d.ts

@@ -93,4 +93,2 @@ declare module "electron-builder-http/out/publishOptions" {

export function checkSha2(sha2Header: string | null | undefined, sha2: string | null | undefined, callback: (error: Error | null) => void): boolean
export function calculateDownloadProgress(total: number, start: number, transferred: number, chunk: any, callback: any): number

@@ -97,0 +95,0 @@

4

out/httpExecutor.js

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

exports.request = request;
exports.checkSha2 = checkSha2;
exports.calculateDownloadProgress = calculateDownloadProgress;

@@ -159,2 +158,5 @@ exports.safeGetHeader = safeGetHeader;

function configurePipes(options, response, destination, callback) {
if (!checkSha2(safeGetHeader(response, "X-Checksum-Sha2"), options.sha2, callback)) {
return;
}
const streams = [];

@@ -161,0 +163,0 @@ if (options.onProgress != null) {

{
"name": "electron-builder-http",
"version": "10.17.1",
"version": "10.17.3",
"main": "out/httpExecutor.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