Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asar

Package Overview
Dependencies
Maintainers
5
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asar - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

12

lib/filesystem.js

@@ -75,5 +75,13 @@ var fs = require('fs');

Filesystem.prototype.getNode = function(p) {
var node = this.searchNodeFromDirectory(path.dirname(p));
var name = path.basename(p);
if (name)
return node.files[name];
else
return node;
}
Filesystem.prototype.getFile = function(p, followLinks) {
var name = path.basename(p);
var info = this.searchNodeFromDirectory(path.dirname(p)).files[name];
var info = this.getNode(p);
if ('undefined' === typeof followLinks)

@@ -80,0 +88,0 @@ followLinks = true;

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Creating atom-shell app packages",
"version": "0.4.1",
"version": "0.4.2",
"bin": {

@@ -8,0 +8,0 @@ "asar": "bin/asar"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc