Socket
Socket
Sign inDemoInstall

electron-builder-util

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-builder-util - npm Package Compare versions

Comparing version 19.2.0 to 19.2.3

7

out/electron-builder-util.d.ts

@@ -115,4 +115,4 @@ declare module "electron-builder-util/out/log" {

private readonly transformer
private isUseHardLink
constructor(isUseHardLinkFunction?: (file: string) => boolean, transformer?: FileTransformer)
isUseHardLink: boolean
constructor(isUseHardLinkFunction?: ((file: string) => boolean) | undefined, transformer?: FileTransformer | null | undefined)
copy(src: string, dest: string, stat: Stats | undefined): Promise<void>

@@ -125,3 +125,4 @@ }

*/
export function copyDir(src: string, destination: string, filter?: Filter, transformer?: FileTransformer, isUseHardLink?: (file: string) => boolean): Promise<any>
export function copyDir(src: string, destination: string, filter?: Filter | null, transformer?: FileTransformer | null, isUseHardLink?: (file: string) => boolean): Promise<any>
export const DO_NOT_USE_HARD_LINKS: (file: string) => boolean
}

@@ -128,0 +129,0 @@

@@ -6,3 +6,3 @@ "use strict";

});
exports.FileCopier = exports.walk = exports.exists = exports.statOrNull = exports.CONCURRENCY = exports.MAX_FILE_REQUESTS = undefined;
exports.DO_NOT_USE_HARD_LINKS = exports.FileCopier = exports.walk = exports.exists = exports.statOrNull = exports.CONCURRENCY = exports.MAX_FILE_REQUESTS = undefined;

@@ -212,3 +212,3 @@ var _bluebirdLst;

this.transformer = transformer;
this.isUseHardLink = _isUseHardLink;
this.isUseHardLink = _isUseHardLink && isUseHardLinkFunction !== DO_NOT_USE_HARD_LINKS;
}

@@ -255,7 +255,7 @@ copy(src, dest, stat) {

function copyDir(src, destination, filter, transformer, isUseHardLink) {
const fileCopier = new FileCopier(isUseHardLink, transformer);
if ((_util || _load_util()).debug.enabled) {
(0, (_util || _load_util()).debug)(`Copying ${src} to ${destination}${_isUseHardLink ? " using hard links" : ""}`);
(0, (_util || _load_util()).debug)(`Copying ${src} to ${destination}${fileCopier.isUseHardLink ? " using hard links" : ""}`);
}
const createdSourceDirs = new Set();
const fileCopier = new FileCopier(isUseHardLink, transformer);
const links = [];

@@ -284,2 +284,3 @@ return walk(src, filter, (() => {

}
const DO_NOT_USE_HARD_LINKS = exports.DO_NOT_USE_HARD_LINKS = file => false;
//# sourceMappingURL=fs.js.map
{
"name": "electron-builder-util",
"version": "19.2.0",
"version": "19.2.3",
"main": "out/util.js",

@@ -15,3 +15,3 @@ "author": "Vladimir Krivosheev",

"fs-extra-p": "^4.3.0",
"fcopy-pre-bundled": "0.2.0",
"fcopy-pre-bundled": "0.3.1",
"is-ci": "^1.0.10",

@@ -23,3 +23,3 @@ "stat-mode": "^0.2.2",

"node-emoji": "^1.5.1",
"electron-builder-http": "~19.2.0",
"electron-builder-http": "~19.2.3",
"source-map-support": "^0.4.15",

@@ -26,0 +26,0 @@ "7zip-bin": "^2.1.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc