]> git.pld-linux.org Git - packages/npm.git/blame - cmd-shim-optional.patch
- updated to 3.10.8
[packages/npm.git] / cmd-shim-optional.patch
CommitLineData
2c86ef98 1--- npm-3.10.8/lib/build.js.orig 2016-07-01 22:52:19.000000000 +0200
2+++ npm-3.10.8/lib/build.js 2016-09-12 09:38:31.069484189 +0200
e0a4f2fd 3@@ -16,7 +16,7 @@
2c86ef98 4 var readJson = require('read-package-json')
5 var link = require('./utils/link.js')
6 var linkIfExists = link.ifExists
7-var cmdShim = require('cmd-shim')
8+var cmdShim = (process.platform === "win32") ? require("cmd-shim") : {}
9 var cmdShimIfExists = cmdShim.ifExists
10 var asyncMap = require('slide').asyncMap
11 var ini = require('ini')
12--- npm-3.10.8/package.json.orig 2016-09-09 03:21:47.000000000 +0200
13+++ npm-3.10.8/package.json 2016-09-12 09:38:42.202817644 +0200
14@@ -37,7 +37,6 @@
15 "archy": "~1.0.0",
16 "asap": "~2.0.4",
17 "chownr": "~1.0.1",
18- "cmd-shim": "~2.0.2",
19 "columnify": "~1.5.4",
20 "config-chain": "~1.1.10",
21 "dezalgo": "~1.0.3",
This page took 0.303814 seconds and 4 git commands to generate.