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.4 to 0.5.0

8

lib/disk.js

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

var mkdirp = require('mkdirp');
var pickle = require('chromium-pickle');
var pickle = require('chromium-pickle-js');

@@ -13,6 +13,8 @@ var Filesystem = require('./filesystem');

var copyFileTo = function(dest, src, filename) {
var content = fs.readFileSync(path.join(src, filename));
var srcFile = path.join(src, filename)
var content = fs.readFileSync(srcFile);
var stats = fs.statSync(srcFile);
var targetFile = path.join(dest, filename);
mkdirp.sync(path.dirname(targetFile));
fs.writeFileSync(targetFile, content);
fs.writeFileSync(targetFile, content, {mode: stats.mode});
}

@@ -19,0 +21,0 @@

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

"description": "Creating atom-shell app packages",
"version": "0.4.4",
"version": "0.5.0",
"bin": {

@@ -30,3 +30,3 @@ "asar": "bin/asar"

"dependencies": {
"chromium-pickle": "0.1.4",
"chromium-pickle-js": "0.1.0",
"commander": "2.3.0",

@@ -33,0 +33,0 @@ "cuint": "0.1.5",

Sorry, the diff of this file is not supported yet

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