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

node-7z

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-7z - npm Package Compare versions

Comparing version 2.0.5 to 2.1.0

6

CHANGELOG.md

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

8

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

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