@electron/asar
Advanced tools
Comparing version 3.2.6 to 3.2.7
@@ -17,3 +17,3 @@ 'use strict' | ||
this.src = path.resolve(src) | ||
this.header = { files: {} } | ||
this.header = { files: Object.create(null) } | ||
this.offset = BigInt(0) | ||
@@ -28,3 +28,3 @@ } | ||
if (!json.files[dir]) { | ||
json.files[dir] = { files: {} } | ||
json.files[dir] = { files: Object.create(null) } | ||
} | ||
@@ -43,6 +43,6 @@ json = json.files[dir] | ||
if (node.files == null) { | ||
node.files = {} | ||
node.files = Object.create(null) | ||
} | ||
if (node.files[name] == null) { | ||
node.files[name] = {} | ||
node.files[name] = Object.create(null) | ||
} | ||
@@ -57,3 +57,3 @@ return node.files[name] | ||
} | ||
node.files = node.files || {} | ||
node.files = node.files || Object.create(null) | ||
return node.files | ||
@@ -60,0 +60,0 @@ } |
{ | ||
"name": "@electron/asar", | ||
"description": "Creating Electron app packages", | ||
"version": "3.2.6", | ||
"version": "3.2.7", | ||
"main": "./lib/asar.js", | ||
@@ -6,0 +6,0 @@ "types": "./lib/index.d.ts", |
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
43744