Socket
Socket
Sign inDemoInstall

libcipm

Package Overview
Dependencies
211
Maintainers
9
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.3 to 4.0.4

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="4.0.4"></a>
## [4.0.4](https://github.com/npm/libcipm/compare/v4.0.3...v4.0.4) (2019-09-24)
### Bug Fixes
* pack git directories properly ([576ab36](https://github.com/npm/libcipm/commit/576ab36)), closes [#4](https://github.com/npm/libcipm/issues/4)
<a name="4.0.3"></a>

@@ -7,0 +17,0 @@ ## [4.0.3](https://github.com/npm/libcipm/compare/v4.0.2...v4.0.3) (2019-08-12)

10

index.js

@@ -247,3 +247,6 @@ 'use strict'

const includeProd = !/^dev(elopment)?$/.test(this.opts.only)
return (dep.dev && includeDev) || (!dep.dev && includeProd)
const includeOptional = includeProd && this.opts.optional
return (dep.dev && includeDev) ||
(dep.optional && includeOptional) ||
(!dep.dev && !dep.optional && includeProd)
}

@@ -374,3 +377,6 @@

// config practices.
config: Object.assign({}, this.opts, { log: null }),
config: Object.assign({}, this.opts, {
log: null,
dirPacker: null
}),
dir: this.prefix

@@ -377,0 +383,0 @@ }))

3

lib/extract.js

@@ -15,3 +15,4 @@ 'use strict'

const ExtractOpts = figgyPudding({
log: {}
log: {},
dirPacker: {}
})

@@ -18,0 +19,0 @@

{
"name": "libcipm",
"version": "4.0.3",
"version": "4.0.4",
"description": "programmatic API for cipm: a ci-oriented package installer for npm",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc