@electron/asar
Advanced tools
Comparing version 3.2.8 to 3.2.9
@@ -102,3 +102,5 @@ 'use strict' | ||
insertLink (p) { | ||
const link = path.relative(fs.realpathSync(this.src), fs.realpathSync(p)) | ||
const symlink = fs.readlinkSync(p) | ||
const parentPath = path.dirname(p) | ||
const link = path.relative(fs.realpathSync(this.src), path.join(parentPath, symlink)) | ||
if (link.substr(0, 2) === '..') { | ||
@@ -105,0 +107,0 @@ throw new Error(`${p}: file "${link}" links out of the package`) |
{ | ||
"name": "@electron/asar", | ||
"description": "Creating Electron app packages", | ||
"version": "3.2.8", | ||
"version": "3.2.9", | ||
"main": "./lib/asar.js", | ||
@@ -51,3 +51,2 @@ "types": "./lib/index.d.ts", | ||
"devDependencies": { | ||
"@continuous-auth/semantic-release-npm": "^3.0.0", | ||
"electron": "^22.0.0", | ||
@@ -54,0 +53,0 @@ "electron-mocha": "^11.0.2", |
@@ -84,3 +84,3 @@ # @electron/asar - Electron Archive | ||
## Using programatically | ||
## Using programmatically | ||
@@ -87,0 +87,0 @@ ### Example |
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
43866
8
1038