Socket
Socket
Sign inDemoInstall

cipm

Package Overview
Dependencies
13
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.0 to 0.7.1

10

CHANGELOG.md

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

<a name="0.7.1"></a>
## [0.7.1](https://github.com/zkat/cipm/compare/v0.7.0...v0.7.1) (2017-10-13)
### Bug Fixes
* **scripts:** separate extract and build and fix ordering ([eb072a5](https://github.com/zkat/cipm/commit/eb072a5))
<a name="0.7.0"></a>

@@ -7,0 +17,0 @@ # [0.7.0](https://github.com/zkat/cipm/compare/v0.6.0...v0.7.0) (2017-10-12)

118

index.js

@@ -39,7 +39,5 @@ 'use strict'

return this.prepare()
.then(() => this.runScript('preinstall', this.pkg, this.prefix))
.then(() => this.extractTree(this.logicalTree))
.then(() => this.garbageCollect(this.logicalTree))
.then(() => this.runScript('install', this.pkg, this.prefix))
.then(() => this.runScript('postinstall', this.pkg, this.prefix))
.then(() => this.extractTree(this.tree))
.then(() => this.buildTree(this.tree))
.then(() => this.garbageCollect(this.tree))
.then(() => this.runScript('prepublish', this.pkg, this.prefix))

@@ -86,3 +84,3 @@ .then(() => this.runScript('prepare', this.pkg, this.prefix))

// This needs to happen -after- we've done checkLock()
this.logicalTree = logi(this.pkg, this.pkg._shrinkwrap)
this.tree = logi(this.pkg, this.pkg._shrinkwrap)
})

@@ -115,18 +113,30 @@ }

extractTree (tree) {
const deps = tree.dependencies.values()
return BB.map(deps, child => {
if (child.pending) { return hasCycle(child) || child.pending }
if (child.dev && this.config.config.production) { return }
const childPath = path.join(
this.prefix,
'node_modules',
child.address.replace(/:/g, '/node_modules/')
)
child.pending = BB.resolve()
.then(() => extract.child(child.name, child, childPath, this.config))
.then(() => readPkgJson(path.join(childPath, 'package.json')))
return mapTree(tree, (dep, next) => {
if (dep.dev && this.config.config.production) { return }
const depPath = treePath(dep, this.prefix)
// Process children first, then extract this child
return BB.resolve()
.then(() => {
if (dep !== this.tree) {
// Don't try to extract the root
return extract.child(dep.name, dep, depPath, this.config)
}
})
.then(next)
.then(() => {
dep !== this.tree && this.pkgCount++
})
})
}
buildTree (tree) {
return mapTree(tree, (dep, next) => {
if (dep.dev && this.config.config.production) { return }
const depPath = treePath(dep, this.prefix)
return readPkgJson(path.join(depPath, 'package.json'))
.then(pkg => {
return this.runScript('preinstall', pkg, childPath)
.then(() => this.extractTree(child))
.then(() => binLink(pkg, childPath, false, {
return this.runScript('preinstall', pkg, depPath)
.then(next) // build children between preinstall and binLink
.then(() => dep !== this.tree && // Don't link root bins
binLink(pkg, depPath, false, {
force: this.config.config.force,

@@ -141,13 +151,11 @@ ignoreScripts: this.config.lifecycleOpts.ignoreScripts,

}), e => {})
.then(() => this.runScript('install', pkg, childPath))
.then(() => this.runScript('postinstall', pkg, childPath))
.then(() => this.runScript('install', pkg, depPath))
.then(() => this.runScript('postinstall', pkg, depPath))
.then(() => {
this.pkgCount++
return this
})
.catch(e => {
if (child.optional) {
this.pkgCount++
this.failedDeps.add(child)
return rimraf(childPath)
if (dep.optional) {
this.failedDeps.add(dep)
return rimraf(depPath) // This should probably be gentlyRm
} else {

@@ -158,4 +166,3 @@ throw e

})
return child.pending
}, { concurrency: 50 })
})
}

@@ -173,3 +180,2 @@

mark(tree)
seen.clear()
return sweep(tree)

@@ -189,18 +195,15 @@

function sweep (tree) {
return BB.map(tree.dependencies.values(), dep => {
if (seen.has(dep)) { return }
seen.add(dep)
return sweep(dep).then(() => {
if (!liveDeps.has(dep) && !purged.has(dep)) {
const depPath = path.join(
installer.prefix,
'node_modules',
dep.address.replace(/:/g, '/node_modules/')
)
return mapTree(tree, (dep, next) => {
return next().then(() => {
if (
dep !== installer.tree && // never purge root! 🙈
!liveDeps.has(dep) &&
!purged.has(dep)
) {
installer.pkgCount--
purged.add(dep)
return rimraf(depPath)
return rimraf(treePath(dep, installer.prefix))
}
})
}, { concurrency: 100 })
})
}

@@ -237,2 +240,31 @@ }

function treePath (tree, prefix) {
if (tree.address == null) {
// A tree missing its address is the root.
return prefix || ''
} else {
return path.join(
prefix || '.',
'node_modules',
tree.address.replace(/:/g, '/node_modules/')
)
}
}
// This provides a sort of async iterator for a tree
function mapTree (tree, fn, opts, _seen) {
if (!opts) { opts = _seen || {concurrency: 50} }
if (!_seen) { _seen = new Map() }
if (_seen.has(tree)) {
return BB.resolve(hasCycle(tree)) || _seen.get(tree)
}
const pending = BB.resolve(fn(tree, () => {
return BB.map(tree.dependencies.values(), child => {
return mapTree(child, fn, opts, _seen)
}, opts)
}))
_seen.set(tree, pending)
return pending
}
function hasCycle (child, seen) {

@@ -239,0 +271,0 @@ seen = seen || new Set()

{
"_from": "yargs@^8.0.2",
"_args": [
[
"yargs@8.0.2",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "yargs@8.0.2",
"_id": "yargs@8.0.2",

@@ -9,10 +15,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "yargs@^8.0.2",
"raw": "yargs@8.0.2",
"name": "yargs",
"escapedName": "yargs",
"rawSpec": "^8.0.2",
"rawSpec": "8.0.2",
"saveSpec": null,
"fetchSpec": "^8.0.2"
"fetchSpec": "8.0.2"
},

@@ -23,9 +29,7 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz",
"_shasum": "6299a9055b1cefc969ff7e79c1d918dceb22c360",
"_spec": "yargs@^8.0.2",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/@iarna/cli",
"_spec": "8.0.2",
"_where": "/Users/zkat/Documents/code/cipm",
"bugs": {
"url": "https://github.com/yargs/yargs/issues"
},
"bundleDependencies": false,
"dependencies": {

@@ -46,3 +50,2 @@ "camelcase": "^4.1.0",

},
"deprecated": false,
"description": "yargs the modern, pirate-themed, successor to optimist.",

@@ -49,0 +52,0 @@ "devDependencies": {

@@ -13,3 +13,17 @@ {

"_location": "/@iarna/cli",
"_phantomChildren": {},
"_phantomChildren": {
"camelcase": "4.1.0",
"cliui": "3.2.0",
"decamelize": "1.2.0",
"get-caller-file": "1.0.2",
"os-locale": "2.1.0",
"read-pkg-up": "2.0.0",
"require-directory": "2.1.1",
"require-main-filename": "1.0.1",
"set-blocking": "2.0.0",
"string-width": "2.0.0",
"which-module": "2.0.0",
"y18n": "3.2.1",
"yargs-parser": "7.0.0"
},
"_requested": {

@@ -16,0 +30,0 @@ "type": "version",

@@ -27,2 +27,3 @@ {

"/gauge",
"/gentle-fs",
"/move-concurrently",

@@ -29,0 +30,0 @@ "/run-queue"

{
"_from": "bin-links",
"_args": [
[
"bin-links@1.0.0",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "bin-links@1.0.0",
"_id": "bin-links@1.0.0",

@@ -9,18 +15,16 @@ "_inBundle": false,

"_requested": {
"type": "tag",
"type": "version",
"registry": true,
"raw": "bin-links",
"raw": "bin-links@1.0.0",
"name": "bin-links",
"escapedName": "bin-links",
"rawSpec": "",
"rawSpec": "1.0.0",
"saveSpec": null,
"fetchSpec": "latest"
"fetchSpec": "1.0.0"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/bin-links/-/bin-links-1.0.0.tgz",
"_shasum": "f71f48b2e3bbbe79865e68a9e8eef6017840130b",
"_spec": "bin-links",
"_spec": "1.0.0",
"_where": "/Users/zkat/Documents/code/cipm",

@@ -33,3 +37,2 @@ "author": {

},
"bundleDependencies": false,
"dependencies": {

@@ -43,3 +46,2 @@ "bluebird": "^3.5.0",

},
"deprecated": false,
"description": "JavaScript package binary linker",

@@ -46,0 +48,0 @@ "devDependencies": {

{
"_args": [
[
"bluebird@3.5.1",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "bluebird@3.5.1",

@@ -19,3 +25,2 @@ "_id": "bluebird@3.5.1",

"_requiredBy": [
"#USER",
"/",

@@ -28,4 +33,3 @@ "/bin-links",

"_resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz",
"_shasum": "d9551f9de98f1fcda1e683d17ee91a0602ee2eb9",
"_spec": "bluebird@3.5.1",
"_spec": "3.5.1",
"_where": "/Users/zkat/Documents/code/cipm",

@@ -41,4 +45,2 @@ "author": {

},
"bundleDependencies": false,
"deprecated": false,
"description": "Full featured Promises/A+ implementation with exceptionally good performance",

@@ -45,0 +47,0 @@ "devDependencies": {

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

"_requiredBy": [
"/@iarna/cli/yargs",
"/boxen",
"/standard-version/yargs",
"/yargs",

@@ -28,0 +30,0 @@ "/yargs-parser"

@@ -29,2 +29,4 @@ {

"_requiredBy": [
"/@iarna/cli/yargs",
"/standard-version/yargs",
"/tacks/yargs",

@@ -31,0 +33,0 @@ "/weallbehave/yargs",

{
"_from": "cmd-shim@^2.0.2",
"_args": [
[
"cmd-shim@2.0.2",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "cmd-shim@2.0.2",
"_id": "cmd-shim@2.0.2",

@@ -9,10 +15,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "cmd-shim@^2.0.2",
"raw": "cmd-shim@2.0.2",
"name": "cmd-shim",
"escapedName": "cmd-shim",
"rawSpec": "^2.0.2",
"rawSpec": "2.0.2",
"saveSpec": null,
"fetchSpec": "^2.0.2"
"fetchSpec": "2.0.2"
},

@@ -23,9 +29,7 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-2.0.2.tgz",
"_shasum": "6fcbda99483a8fd15d7d30a196ca69d688a2efdb",
"_spec": "cmd-shim@^2.0.2",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/bin-links",
"_spec": "2.0.2",
"_where": "/Users/zkat/Documents/code/cipm",
"bugs": {
"url": "https://github.com/ForbesLindesay/cmd-shim/issues"
},
"bundleDependencies": false,
"dependencies": {

@@ -35,3 +39,2 @@ "graceful-fs": "^4.1.2",

},
"deprecated": false,
"description": "Used in npm for command line application support",

@@ -38,0 +41,0 @@ "devDependencies": {

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

"_requiredBy": [
"/@iarna/cli/yargs",
"/meow",
"/standard-version/yargs",
"/tacks/yargs",

@@ -28,0 +30,0 @@ "/uglify-js/yargs",

{
"_from": "cross-spawn@^5.0.1",
"_args": [
[
"cross-spawn@5.1.0",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "cross-spawn@5.1.0",
"_id": "cross-spawn@5.1.0",

@@ -9,10 +15,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "cross-spawn@^5.0.1",
"raw": "cross-spawn@5.1.0",
"name": "cross-spawn",
"escapedName": "cross-spawn",
"rawSpec": "^5.0.1",
"rawSpec": "5.1.0",
"saveSpec": null,
"fetchSpec": "^5.0.1"
"fetchSpec": "5.1.0"
},

@@ -23,5 +29,4 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",
"_shasum": "e8bd0efee58fcff6f8f94510a0a554bbfa235449",
"_spec": "cross-spawn@^5.0.1",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/execa",
"_spec": "5.1.0",
"_where": "/Users/zkat/Documents/code/cipm",
"author": {

@@ -35,3 +40,2 @@ "name": "IndigoUnited",

},
"bundleDependencies": false,
"dependencies": {

@@ -42,3 +46,2 @@ "lru-cache": "^4.0.1",

},
"deprecated": false,
"description": "Cross platform child_process#spawn and child_process#spawnSync",

@@ -45,0 +48,0 @@ "devDependencies": {

{
"_from": "execa@^0.7.0",
"_args": [
[
"execa@0.7.0",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "execa@0.7.0",
"_id": "execa@0.7.0",

@@ -13,10 +19,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "execa@^0.7.0",
"raw": "execa@0.7.0",
"name": "execa",
"escapedName": "execa",
"rawSpec": "^0.7.0",
"rawSpec": "0.7.0",
"saveSpec": null,
"fetchSpec": "^0.7.0"
"fetchSpec": "0.7.0"
},

@@ -27,5 +33,4 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz",
"_shasum": "944becd34cc41ee32a63a9faf27ad5a65fc59777",
"_spec": "execa@^0.7.0",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/os-locale",
"_spec": "0.7.0",
"_where": "/Users/zkat/Documents/code/cipm",
"author": {

@@ -39,3 +44,2 @@ "name": "Sindre Sorhus",

},
"bundleDependencies": false,
"dependencies": {

@@ -50,3 +54,2 @@ "cross-spawn": "^5.0.1",

},
"deprecated": false,
"description": "A better `child_process`",

@@ -53,0 +56,0 @@ "devDependencies": {

{
"_from": "fs-vacuum@^1.2.10",
"_args": [
[
"fs-vacuum@1.2.10",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "fs-vacuum@1.2.10",
"_id": "fs-vacuum@1.2.10",

@@ -9,10 +15,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "fs-vacuum@^1.2.10",
"raw": "fs-vacuum@1.2.10",
"name": "fs-vacuum",
"escapedName": "fs-vacuum",
"rawSpec": "^1.2.10",
"rawSpec": "1.2.10",
"saveSpec": null,
"fetchSpec": "^1.2.10"
"fetchSpec": "1.2.10"
},

@@ -23,5 +29,4 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/fs-vacuum/-/fs-vacuum-1.2.10.tgz",
"_shasum": "b7629bec07a4031a2548fdf99f5ecf1cc8b31e36",
"_spec": "fs-vacuum@^1.2.10",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/gentle-fs",
"_spec": "1.2.10",
"_where": "/Users/zkat/Documents/code/cipm",
"author": {

@@ -34,3 +39,2 @@ "name": "Forrest L Norvell",

},
"bundleDependencies": false,
"dependencies": {

@@ -41,3 +45,2 @@ "graceful-fs": "^4.1.2",

},
"deprecated": false,
"description": "recursively remove empty directories -- to a point",

@@ -44,0 +47,0 @@ "devDependencies": {

@@ -25,2 +25,3 @@ {

"_requiredBy": [
"/bin-links",
"/copy-concurrently",

@@ -27,0 +28,0 @@ "/move-concurrently"

{
"_from": "gentle-fs@^2.0.0",
"_args": [
[
"gentle-fs@2.0.0",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "gentle-fs@2.0.0",
"_id": "gentle-fs@2.0.0",

@@ -9,10 +15,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "gentle-fs@^2.0.0",
"raw": "gentle-fs@2.0.0",
"name": "gentle-fs",
"escapedName": "gentle-fs",
"rawSpec": "^2.0.0",
"rawSpec": "2.0.0",
"saveSpec": null,
"fetchSpec": "^2.0.0"
"fetchSpec": "2.0.0"
},

@@ -23,5 +29,4 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/gentle-fs/-/gentle-fs-2.0.0.tgz",
"_shasum": "d5c17d7f086cb8014b5635c7e7e173854f1d35bf",
"_spec": "gentle-fs@^2.0.0",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/bin-links",
"_spec": "2.0.0",
"_where": "/Users/zkat/Documents/code/cipm",
"author": {

@@ -33,3 +38,2 @@ "name": "Mike Sherov"

},
"bundleDependencies": false,
"dependencies": {

@@ -45,3 +49,2 @@ "aproba": "^1.1.2",

},
"deprecated": false,
"description": "Gentle Filesystem operations",

@@ -48,0 +51,0 @@ "devDependencies": {

@@ -25,2 +25,4 @@ {

"_requiredBy": [
"/@iarna/cli/yargs",
"/standard-version/yargs",
"/weallbehave/yargs",

@@ -27,0 +29,0 @@ "/weallcontribute/yargs",

{
"_from": "get-stream@^3.0.0",
"_args": [
[
"get-stream@3.0.0",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "get-stream@3.0.0",
"_id": "get-stream@3.0.0",

@@ -9,10 +15,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "get-stream@^3.0.0",
"raw": "get-stream@3.0.0",
"name": "get-stream",
"escapedName": "get-stream",
"rawSpec": "^3.0.0",
"rawSpec": "3.0.0",
"saveSpec": null,
"fetchSpec": "^3.0.0"
"fetchSpec": "3.0.0"
},

@@ -23,5 +29,4 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
"_shasum": "8e943d1358dc37555054ecbe2edb05aa174ede14",
"_spec": "get-stream@^3.0.0",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/execa",
"_spec": "3.0.0",
"_where": "/Users/zkat/Documents/code/cipm",
"author": {

@@ -35,4 +40,2 @@ "name": "Sindre Sorhus",

},
"bundleDependencies": false,
"deprecated": false,
"description": "Get a stream as a string, buffer, or array",

@@ -39,0 +42,0 @@ "devDependencies": {

@@ -30,2 +30,3 @@ {

"/pacote",
"/read-package-json",
"/rimraf",

@@ -32,0 +33,0 @@ "/shelljs",

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

"/",
"/bin-links",
"/cacache",
"/cmd-shim",
"/configstore",

@@ -32,3 +34,5 @@ "/conventional-changelog-core/load-json-file",

"/flat-cache",
"/fs-vacuum",
"/fs-write-stream-atomic",
"/gentle-fs",
"/load-json-file",

@@ -38,2 +42,4 @@ "/meow/load-json-file",

"/npm-lifecycle",
"/read-cmd-shim",
"/read-package-json",
"/tacks",

@@ -40,0 +46,0 @@ "/weallbehave/load-json-file",

@@ -26,3 +26,4 @@ {

"/copy-concurrently",
"/fs-write-stream-atomic"
"/fs-write-stream-atomic",
"/gentle-fs"
],

@@ -29,0 +30,0 @@ "_resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz",

@@ -25,3 +25,4 @@ {

"_requiredBy": [
"/node-fetch-npm"
"/node-fetch-npm",
"/read-package-json"
],

@@ -28,0 +29,0 @@ "_resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz",

@@ -26,2 +26,3 @@ {

"/cross-spawn",
"/execa/cross-spawn",
"/term-size/cross-spawn"

@@ -28,0 +29,0 @@ ],

@@ -27,4 +27,6 @@ {

"/cacache",
"/cmd-shim",
"/copy-concurrently",
"/eslint",
"/gentle-fs",
"/move-concurrently",

@@ -31,0 +33,0 @@ "/tacks",

@@ -30,2 +30,3 @@ {

"/meow/read-pkg",
"/read-package-json",
"/read-pkg",

@@ -32,0 +33,0 @@ "/weallbehave/read-pkg",

@@ -33,3 +33,2 @@ {

"/gauge",
"/get-stream",
"/globby",

@@ -36,0 +35,0 @@ "/meow"

{
"_from": "os-locale@^2.0.0",
"_args": [
[
"os-locale@2.1.0",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "os-locale@2.1.0",
"_id": "os-locale@2.1.0",

@@ -9,10 +15,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "os-locale@^2.0.0",
"raw": "os-locale@2.1.0",
"name": "os-locale",
"escapedName": "os-locale",
"rawSpec": "^2.0.0",
"rawSpec": "2.1.0",
"saveSpec": null,
"fetchSpec": "^2.0.0"
"fetchSpec": "2.1.0"
},

@@ -25,5 +31,4 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
"_shasum": "42bc2900a6b5b8bd17376c8e882b65afccf24bf2",
"_spec": "os-locale@^2.0.0",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/yargs",
"_spec": "2.1.0",
"_where": "/Users/zkat/Documents/code/cipm",
"author": {

@@ -37,3 +42,2 @@ "name": "Sindre Sorhus",

},
"bundleDependencies": false,
"dependencies": {

@@ -44,3 +48,2 @@ "execa": "^0.7.0",

},
"deprecated": false,
"description": "Get the system locale",

@@ -47,0 +50,0 @@ "devDependencies": {

@@ -8,3 +8,2 @@ {

],
"_development": true,
"_from": "path-is-inside@1.0.2",

@@ -28,2 +27,4 @@ "_id": "path-is-inside@1.0.2",

"/eslint",
"/fs-vacuum",
"/gentle-fs",
"/is-path-inside"

@@ -30,0 +31,0 @@ ],

{
"_from": "read-cmd-shim@^1.0.1",
"_args": [
[
"read-cmd-shim@1.0.1",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "read-cmd-shim@1.0.1",
"_id": "read-cmd-shim@1.0.1",

@@ -9,10 +15,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "read-cmd-shim@^1.0.1",
"raw": "read-cmd-shim@1.0.1",
"name": "read-cmd-shim",
"escapedName": "read-cmd-shim",
"rawSpec": "^1.0.1",
"rawSpec": "1.0.1",
"saveSpec": null,
"fetchSpec": "^1.0.1"
"fetchSpec": "1.0.1"
},

@@ -23,5 +29,4 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz",
"_shasum": "2d5d157786a37c055d22077c32c53f8329e91c7b",
"_spec": "read-cmd-shim@^1.0.1",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/gentle-fs",
"_spec": "1.0.1",
"_where": "/Users/zkat/Documents/code/cipm",
"author": {

@@ -35,7 +40,5 @@ "name": "Rebecca Turner",

},
"bundleDependencies": false,
"dependencies": {
"graceful-fs": "^4.1.2"
},
"deprecated": false,
"description": "Figure out what a cmd-shim is pointing at. This acts as the equivalent of fs.readlink.",

@@ -42,0 +45,0 @@ "devDependencies": {

{
"_from": "read-package-json",
"_args": [
[
"read-package-json@2.0.12",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "read-package-json@2.0.12",
"_id": "read-package-json@2.0.12",

@@ -9,18 +15,16 @@ "_inBundle": false,

"_requested": {
"type": "tag",
"type": "version",
"registry": true,
"raw": "read-package-json",
"raw": "read-package-json@2.0.12",
"name": "read-package-json",
"escapedName": "read-package-json",
"rawSpec": "",
"rawSpec": "2.0.12",
"saveSpec": null,
"fetchSpec": "latest"
"fetchSpec": "2.0.12"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.0.12.tgz",
"_shasum": "68ea45f98b3741cb6e10ae3bbd42a605026a6951",
"_spec": "read-package-json",
"_spec": "2.0.12",
"_where": "/Users/zkat/Documents/code/cipm",

@@ -35,3 +39,2 @@ "author": {

},
"bundleDependencies": false,
"dependencies": {

@@ -44,3 +47,2 @@ "glob": "^7.1.1",

},
"deprecated": false,
"description": "The thing npm uses to read package.json files with semantics and defaults and validation",

@@ -47,0 +49,0 @@ "devDependencies": {

@@ -25,2 +25,4 @@ {

"_requiredBy": [
"/@iarna/cli/yargs",
"/standard-version/yargs",
"/yargs"

@@ -27,0 +29,0 @@ ],

@@ -25,2 +25,4 @@ {

"_requiredBy": [
"/@iarna/cli/yargs",
"/standard-version/yargs",
"/weallbehave/yargs",

@@ -27,0 +29,0 @@ "/weallcontribute/yargs",

@@ -25,2 +25,4 @@ {

"_requiredBy": [
"/@iarna/cli/yargs",
"/standard-version/yargs",
"/weallbehave/yargs",

@@ -27,0 +29,0 @@ "/weallcontribute/yargs",

{
"_args": [
[
"rimraf@2.6.2",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "rimraf@2.6.2",

@@ -19,3 +25,2 @@ "_id": "rimraf@2.6.2",

"_requiredBy": [
"#USER",
"/",

@@ -30,4 +35,3 @@ "/cacache",

"_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
"_shasum": "2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36",
"_spec": "rimraf@2.6.2",
"_spec": "2.6.2",
"_where": "/Users/zkat/Documents/code/cipm",

@@ -45,7 +49,5 @@ "author": {

},
"bundleDependencies": false,
"dependencies": {
"glob": "^7.0.5"
},
"deprecated": false,
"description": "A deep deletion module for node (like `rm -rf`)",

@@ -52,0 +54,0 @@ "devDependencies": {

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

"_requiredBy": [
"/@iarna/cli/yargs",
"/npmlog",
"/standard-version/yargs",
"/weallbehave/yargs",

@@ -28,0 +30,0 @@ "/weallcontribute/yargs",

@@ -25,2 +25,3 @@ {

"_requiredBy": [
"/execa/cross-spawn",
"/term-size/cross-spawn"

@@ -27,0 +28,0 @@ ],

{
"_from": "slash@^1.0.0",
"_args": [
[
"slash@1.0.0",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "slash@1.0.0",
"_id": "slash@1.0.0",

@@ -9,10 +15,10 @@ "_inBundle": false,

"_requested": {
"type": "range",
"type": "version",
"registry": true,
"raw": "slash@^1.0.0",
"raw": "slash@1.0.0",
"name": "slash",
"escapedName": "slash",
"rawSpec": "^1.0.0",
"rawSpec": "1.0.0",
"saveSpec": null,
"fetchSpec": "^1.0.0"
"fetchSpec": "1.0.0"
},

@@ -23,5 +29,4 @@ "_requiredBy": [

"_resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
"_shasum": "c41f2f6c39fc16d1cd17ad4b5d896114ae470d55",
"_spec": "slash@^1.0.0",
"_where": "/Users/zkat/Documents/code/cipm/node_modules/read-package-json",
"_spec": "1.0.0",
"_where": "/Users/zkat/Documents/code/cipm",
"author": {

@@ -35,4 +40,2 @@ "name": "Sindre Sorhus",

},
"bundleDependencies": false,
"deprecated": false,
"description": "Convert Windows backslash paths to slash paths",

@@ -39,0 +42,0 @@ "devDependencies": {

@@ -25,2 +25,4 @@ {

"_requiredBy": [
"/bin-links",
"/gentle-fs",
"/npm-lifecycle"

@@ -27,0 +29,0 @@ ],

@@ -25,5 +25,7 @@ {

"_requiredBy": [
"/@iarna/cli/yargs",
"/ansi-align",
"/boxen",
"/gauge",
"/standard-version/yargs",
"/table",

@@ -30,0 +32,0 @@ "/wide-align",

@@ -25,2 +25,4 @@ {

"_requiredBy": [
"/@iarna/cli/yargs",
"/standard-version/yargs",
"/yargs"

@@ -27,0 +29,0 @@ ],

@@ -26,2 +26,3 @@ {

"/cross-spawn",
"/execa/cross-spawn",
"/term-size/cross-spawn"

@@ -28,0 +29,0 @@ ],

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

"_requiredBy": [
"/@iarna/cli/yargs",
"/cacache",
"/standard-version/yargs",
"/tacks/yargs",

@@ -28,0 +30,0 @@ "/weallbehave/yargs",

@@ -25,2 +25,4 @@ {

"_requiredBy": [
"/@iarna/cli/yargs",
"/standard-version/yargs",
"/yargs"

@@ -27,0 +29,0 @@ ],

{
"_from": "yargs@latest",
"_args": [
[
"yargs@9.0.1",
"/Users/zkat/Documents/code/cipm"
]
],
"_from": "yargs@9.0.1",
"_id": "yargs@9.0.1",

@@ -9,18 +15,16 @@ "_inBundle": false,

"_requested": {
"type": "tag",
"type": "version",
"registry": true,
"raw": "yargs@latest",
"raw": "yargs@9.0.1",
"name": "yargs",
"escapedName": "yargs",
"rawSpec": "latest",
"rawSpec": "9.0.1",
"saveSpec": null,
"fetchSpec": "latest"
"fetchSpec": "9.0.1"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/yargs/-/yargs-9.0.1.tgz",
"_shasum": "52acc23feecac34042078ee78c0c007f5085db4c",
"_spec": "yargs@latest",
"_spec": "9.0.1",
"_where": "/Users/zkat/Documents/code/cipm",

@@ -30,3 +34,2 @@ "bugs": {

},
"bundleDependencies": false,
"dependencies": {

@@ -47,3 +50,2 @@ "camelcase": "^4.1.0",

},
"deprecated": false,
"description": "yargs the modern, pirate-themed, successor to optimist.",

@@ -50,0 +52,0 @@ "devDependencies": {

{
"name": "cipm",
"version": "0.7.0",
"version": "0.7.1",
"description": "standalone 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc