Comparing version 2.0.5 to 2.1.0
@@ -0,1 +1,7 @@ | ||
## 2.1.0 (2020-02-15) | ||
* dist: Reduce lodash dependencies footprint ([b727dc6](https://github.com/quentinrossetti/node-7z/commit/b727dc6)) | ||
* feat: Add $spawnOptions ([0d04ec2](https://github.com/quentinrossetti/node-7z/commit/0d04ec2)) | ||
* chore: Fix alternate $bin on OSX ([e95b95d](https://github.com/quentinrossetti/node-7z/commit/e95b95d)) | ||
## 2.0.5 (2019-12-24) 🎄 | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "node-7z", | ||
"version": "2.0.5", | ||
"version": "2.1.0", | ||
"description": "A Node.js wrapper for 7-Zip with platform binaries", | ||
@@ -41,3 +41,7 @@ "main": "./src/main.js", | ||
"debug": "^4.1.1", | ||
"lodash": "^4.17.15", | ||
"lodash.defaultsdeep": "^4.6.1", | ||
"lodash.defaultto": "^4.14.0", | ||
"lodash.flattendeep": "^4.4.0", | ||
"lodash.isempty": "^4.4.0", | ||
"lodash.negate": "^3.0.2", | ||
"normalize-path": "^3.0.0" | ||
@@ -44,0 +48,0 @@ }, |
@@ -291,2 +291,3 @@ <h1 align="center">node-7z</h1> | ||
| `$raw` | `string[]` | Pass raw arguments to the `child_process.spawn()`command | | ||
| `$spawnOptions` | [`Object`](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options) | Pass `options` to the `child_process.spawn()`command | | ||
@@ -293,0 +294,0 @@ ### Events |
@@ -15,5 +15,5 @@ // Copyright (c) 2014-2019, Quentin Rossetti <quentin.rossetti@gmail.com> | ||
const flattenDeep = require('lodash/flattenDeep') | ||
const negate = require('lodash/negate') | ||
const isEmpty = require('lodash/isEmpty') | ||
const flattenDeep = require('lodash.flattenDeep') | ||
const negate = require('lodash.negate') | ||
const isEmpty = require('lodash.isempty') | ||
const { COMMAND_LETTERS } = require('./references') | ||
@@ -20,0 +20,0 @@ |
@@ -15,3 +15,3 @@ // Copyright (c) 2014-2019, Quentin Rossetti <quentin.rossetti@gmail.com> | ||
const defaultTo = require('lodash/defaultTo') | ||
const defaultTo = require('lodash.defaultto') | ||
const { BIN_DEFAULT } = require('./references') | ||
@@ -18,0 +18,0 @@ |
@@ -15,5 +15,5 @@ // Copyright (c) 2014-2019, Quentin Rossetti <quentin.rossetti@gmail.com> | ||
const negate = require('lodash/negate') | ||
const isEmpty = require('lodash/isEmpty') | ||
const defaultsDeep = require('lodash/defaultsDeep') | ||
const negate = require('lodash.negate') | ||
const isEmpty = require('lodash.isEmpty') | ||
const defaultsDeep = require('lodash.defaultsdeep') | ||
const { FLAGS, OPTIONS_DEFAULT } = require('./references') | ||
@@ -20,0 +20,0 @@ |
@@ -45,2 +45,3 @@ // Copyright (c) 2014-2019, Quentin Rossetti <quentin.rossetti@gmail.com> | ||
seven._stage = STAGE_HEADERS | ||
seven._spawnOptions = options.$spawnOptions | ||
seven._matchBodyData = Parser.fetch(options._command, 'bodyData') | ||
@@ -71,3 +72,4 @@ seven._matchEndOfHeaders = Parser.fetch(options._command, 'endOfHeaders') | ||
const run = stream => { | ||
stream._childProcess = spawn(stream._bin, stream._args, { detached: true }) | ||
let spawnOptions = Object.assign({ detached: true }, stream._spawnOptions) | ||
stream._childProcess = spawn(stream._bin, stream._args, spawnOptions) | ||
return stream | ||
@@ -74,0 +76,0 @@ } |
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
102960
884
423
8
+ Addedlodash.defaultsdeep@^4.6.1
+ Addedlodash.defaultto@^4.14.0
+ Addedlodash.flattendeep@^4.4.0
+ Addedlodash.isempty@^4.4.0
+ Addedlodash.negate@^3.0.2
+ Addedlodash.defaultsdeep@4.6.1(transitive)
+ Addedlodash.defaultto@4.14.0(transitive)
+ Addedlodash.flattendeep@4.4.0(transitive)
+ Addedlodash.isempty@4.4.0(transitive)
+ Addedlodash.negate@3.0.2(transitive)
- Removedlodash@^4.17.15
- Removedlodash@4.17.21(transitive)