@electron/asar
Advanced tools
Comparing version 3.2.4 to 3.2.5
@@ -38,7 +38,5 @@ #!/usr/bin/env node | ||
} | ||
asar.createPackageWithOptions(dir, output, options, function (error) { | ||
if (error) { | ||
console.error(error.stack) | ||
process.exit(1) | ||
} | ||
asar.createPackageWithOptions(dir, output, options).catch(error => { | ||
console.error(error) | ||
process.exit(1) | ||
}) | ||
@@ -45,0 +43,0 @@ }) |
@@ -5,3 +5,3 @@ 'use strict' | ||
const path = require('path') | ||
const pickle = require('chromium-pickle-js') | ||
const pickle = require('./pickle') | ||
@@ -8,0 +8,0 @@ const Filesystem = require('./filesystem') |
{ | ||
"name": "@electron/asar", | ||
"description": "Creating Electron app packages", | ||
"version": "3.2.4", | ||
"version": "3.2.5", | ||
"main": "./lib/asar.js", | ||
@@ -46,3 +46,2 @@ "types": "./lib/index.d.ts", | ||
"dependencies": { | ||
"chromium-pickle-js": "^0.2.0", | ||
"commander": "^5.0.0", | ||
@@ -49,0 +48,0 @@ "glob": "^7.1.6", |
@@ -125,4 +125,3 @@ # @electron/asar - Electron Archive | ||
Asar uses [Pickle][pickle] to safely serialize binary value to file, there is | ||
also a [node.js binding][node-pickle] of `Pickle` class. | ||
Asar uses [Pickle][pickle] to safely serialize binary value to file. | ||
@@ -215,3 +214,2 @@ The format of asar is very flat: | ||
[pickle]: https://chromium.googlesource.com/chromium/src/+/main/base/pickle.h | ||
[node-pickle]: https://www.npmjs.org/package/chromium-pickle-js | ||
[grunt-asar]: https://github.com/bwin/grunt-asar |
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
43360
3
12
1023
214
- Removedchromium-pickle-js@^0.2.0
- Removedchromium-pickle-js@0.2.0(transitive)