Socket
Socket
Sign inDemoInstall

@electron/asar

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron/asar - npm Package Compare versions

Comparing version 3.2.9 to 3.2.10

5

lib/filesystem.js

@@ -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 @@ }

2

package.json
{
"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",

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