electron-builder-util
Advanced tools
Comparing version 18.8.0 to 19.0.1
@@ -100,3 +100,3 @@ declare module "electron-builder-util/out/log" { | ||
export function walk(initialDirPath: string, filter?: Filter | null, consumer?: (file: string, stat: Stats, parent: string) => any): Promise<Array<string>> | ||
export function walk(initialDirPath: string, filter?: Filter | null, consumer?: (file: string, stat: Stats, parent: string, extraIgnoredFiles: Set<string>) => any): Promise<Array<string>> | ||
@@ -103,0 +103,0 @@ export function copyFile(src: string, dest: string, isEnsureDir?: boolean): Promise<any> |
@@ -58,2 +58,3 @@ "use strict"; | ||
let addDirToResult = false; | ||
const extraIgnoredFiles = new Set(); | ||
while (queue.length > 0) { | ||
@@ -73,6 +74,6 @@ const dirPath = queue.pop(); | ||
return (0, (_fsExtraP || _load_fsExtraP()).lstat)(filePath).then(function (stat) { | ||
if (filter != null && !filter(filePath, stat)) { | ||
if (extraIgnoredFiles.has(filePath) || filter != null && !filter(filePath, stat)) { | ||
return null; | ||
} | ||
const consumerResult = consumer == null ? null : consumer(filePath, stat, dirPath); | ||
const consumerResult = consumer == null ? null : consumer(filePath, stat, dirPath, extraIgnoredFiles); | ||
if (consumerResult == null || !("then" in consumerResult)) { | ||
@@ -79,0 +80,0 @@ if (stat.isDirectory()) { |
{ | ||
"name": "electron-builder-util", | ||
"version": "18.8.0", | ||
"version": "19.0.1", | ||
"main": "out/util.js", | ||
@@ -22,3 +22,3 @@ "author": "Vladimir Krivosheev", | ||
"node-emoji": "^1.5.1", | ||
"electron-builder-http": "~18.8.0", | ||
"electron-builder-http": "~19.0.1", | ||
"source-map-support": "^0.4.15", | ||
@@ -25,0 +25,0 @@ "7zip-bin": "^2.1.0", |
Sorry, the diff of this file is not supported yet
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
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
116022
1227
+ Addedelectron-builder-http@19.0.1(transitive)
- Removedelectron-builder-http@18.8.0(transitive)