@electron/asar
Advanced tools
Comparing version 3.2.9 to 3.2.10
@@ -103,5 +103,6 @@ 'use strict' | ||
const symlink = fs.readlinkSync(p) | ||
const parentPath = path.dirname(p) | ||
// /var => /private/var | ||
const parentPath = fs.realpathSync(path.dirname(p)) | ||
const link = path.relative(fs.realpathSync(this.src), path.join(parentPath, symlink)) | ||
if (link.substr(0, 2) === '..') { | ||
if (link.startsWith('..')) { | ||
throw new Error(`${p}: file "${link}" links out of the package`) | ||
@@ -108,0 +109,0 @@ } |
{ | ||
"name": "@electron/asar", | ||
"description": "Creating Electron app packages", | ||
"version": "3.2.9", | ||
"version": "3.2.10", | ||
"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
43907
1039