Switch branches/tags
Find file History
Pull request Compare This branch is 839 commits behind latest.
Latest commit 116b6c6 Jul 28, 2016 @isaacs isaacs committed with zkat lifecycle: split node_module path parts properly
In lifecycle scripts, any `node_modules/.bin` existing in the heirarchy
should be turned into an entry in the PATH environment variable.
However, prior to this commit, it was splitting based on the string
`node_modules`, rather than restricting it to only path portions like
`/node_modules/` or `\node_modules\`.  So, a path containing an entry
like `my_node_modules` would be improperly split.

Fixes: #13456
PR-URL: #13518
Credit: @isaacs
Reviewed-By: @zkat
Permalink
..
Failed to load latest commit information.
completion file-completion: Ensure that 'npm cache ls' outputs real filenames May 5, 2016
child-path.js child-path: Compute the path of a new child module in only one place Oct 8, 2015
completion.sh completion: don't break global COMP_WORDBREAKS Aug 7, 2015
correct-mkdir.js cache: ignore enoent on chownr while adding packages to cache Jun 30, 2016
deep-sort-object.js deep-sort-object: preserve array order in package.json Jan 27, 2016
depr-check.js src: make the npm source comply with `standard` Jun 26, 2015
error-handler.js src: bring code up to standard@6 compatibility May 3, 2016
error-message.js error-message: Improve error reporting for opt deps Sep 8, 2016
escape-arg.js test: fix Windows-specific test issues May 3, 2016
escape-exec-path.js test: fix Windows-specific test issues May 3, 2016
gently-rm.js gentlyrm: Don't abort early if npm controlled path is missing Jan 21, 2016
get-publish-config.js unpublish: extract config into function Apr 24, 2015
git.js progress-bars: Make sure we turn off progress bars when running stuff Jun 16, 2016
is-windows-bash.js src: Refactor windows detection out into lib functions May 3, 2016
is-windows-shell.js src: Refactor windows detection out into lib functions May 3, 2016
is-windows.js src: Refactor windows detection out into lib functions May 3, 2016
lifecycle.js lifecycle: split node_module path parts properly Sep 8, 2016
link.js link: fix absolute link resolution May 3, 2016
locker.js src: make the npm source comply with `standard` Jun 26, 2015
map-to-registry.js config: only send token to registry hosts Mar 17, 2016
module-name.js util: fix module-name on windows May 3, 2016
no-progress-while-running.js progress-bars: Make sure we turn off progress bars when running stuff Jun 16, 2016
output.js output: Standardize how we write to stdout Jun 16, 2016
package-id.js package-id: rename into utils, from install/get-package-id Oct 8, 2015
parse-json.js install: version: Fix package.json handling to always allow BOM at start Jul 1, 2015
pulse-till-done.js output: Standardize how we write to stdout Jun 16, 2016
read-local-package.js src: make the npm source comply with `standard` Jun 26, 2015
rename.js install: wrap rename so errors have stack traces Dec 3, 2015
save-stack.js install: wrap rename so errors have stack traces Dec 3, 2015
spawn.js progress-bars: Make sure we turn off progress bars when running stuff Jun 16, 2016
tar.js tar: ignore *.orig files Sep 8, 2016
temp-filename.js Refactor to use uniqueFilename from a module instead of internally Jun 26, 2015
umask.js src: make the npm source comply with `standard` Jun 26, 2015
usage.js usage: fix typo from aliase -> alias Jun 2, 2016
warn-deprecated.js src: make the npm source comply with `standard` Jun 26, 2015