node/deps/npm/node_modules
Bert Belder 3d46fefe0c win,node-gyp: allow node.exe/iojs.exe to be renamed
On Windows, when node or io.js attempts to dynamically load a compiled
addon, the compiled addon tries to load node.exe or iojs.exe again -
depending on which import library the module used when it was linked.
This makes it impossible to rename node.exe or iojs.exe, because when
that happens the module can't find its dependencies.

With this patch, a delay-load hook is added to all modules that are
compiled with node-gyp. The delay-load hook ensures that whenever a
module tries to load imports from node.exe/iojs.exe, it'll just refer
back to the process image, thus making it possible to rename the
iojs/node binary.

Bug: https://github.com/iojs/io.js/issues/751
Bug: https://github.com/iojs/io.js/issues/965
Upstream PR: https://github.com/TooTallNate/node-gyp/pull/599

PR-URL: https://github.com/iojs/io.js/pull/1251
Reviewed-By: Rod Vagg <rod@vagg.org>
2015-03-24 21:18:26 -07:00
..
abbrev npm: upgrade to v1.4.14 2014-06-06 15:07:29 -07:00
ansi npm: Upgrade to v1.4.21 2014-07-31 09:05:30 -07:00
ansicolors npm: Upgrade to 1.3.17 2013-12-11 10:20:26 -08:00
ansistyles npm: Upgrade to 1.3.17 2013-12-11 10:20:26 -08:00
archy npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
async-some deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -07:00
block-stream npm: Upgrade to v1.3.5 2013-07-24 13:23:44 -07:00
char-spinner npm: upgrade to v1.4.14 2014-06-06 15:07:29 -07:00
child-process-close npm: Upgrade to 1.2.21 2013-05-14 14:37:59 -07:00
chmodr npm: Update to 1.2.14 2013-03-06 15:41:06 -08:00
chownr Do not gitignore npm's node_modules 2012-06-11 09:54:39 -07:00
cmd-shim deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -07:00
columnify deps: upgrade npm to 2.6.0 2015-02-22 07:42:24 +01:00
config-chain npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
dezalgo npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
editor npm: Upgrade to v1.4.21 2014-07-31 09:05:30 -07:00
fs-vacuum npm: upgrade to v2.1.18 2015-01-08 23:49:03 +01:00
fs-write-stream-atomic npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
fstream deps: upgrade npm to 2.5.1 2015-02-06 18:38:36 +01:00
fstream-npm npm: upgrade to v2.1.18 2015-01-08 23:49:03 +01:00
github-url-from-git deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -07:00
github-url-from-username-repo deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -07:00
glob deps: upgrade npm to 2.7.1 2015-03-15 21:41:52 -04:00
graceful-fs deps: upgrade npm to 2.7.3 2015-03-23 16:31:02 -07:00
inflight deps: upgrade npm to 2.7.1 2015-03-15 21:41:52 -04:00
inherits npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
ini deps: upgrade npm to 2.6.0 2015-02-22 07:42:24 +01:00
init-package-json deps: upgrade npm to 2.7.0 2015-03-06 11:20:05 -05:00
lockfile deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -07:00
lru-cache npm: Upgrade to 1.3.17 2013-12-11 10:20:26 -08:00
minimatch deps: upgrade npm to 2.7.3 2015-03-23 16:31:02 -07:00
mkdirp npm: Update to v1.4.23 2014-08-19 11:17:36 -04:00
node-gyp win,node-gyp: allow node.exe/iojs.exe to be renamed 2015-03-24 21:18:26 -07:00
nopt npm: Upgrade to v1.4.21 2014-07-31 09:05:30 -07:00
normalize-git-url deps: upgrade npm to 2.7.1 2015-03-15 21:41:52 -04:00
normalize-package-data npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
npm-cache-filename npm: upgrade to v1.4.14 2014-06-06 15:07:29 -07:00
npm-install-checks deps: upgrade npm to 2.2.0 2015-01-18 13:51:49 +01:00
npm-package-arg npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
npm-registry-client deps: upgrade npm to 2.7.3 2015-03-23 16:31:02 -07:00
npm-user-validate npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
npmlog npm: Upgrade to v1.4.21 2014-07-31 09:05:30 -07:00
once npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
opener npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
osenv npm: Upgrade to v1.4.21 2014-07-31 09:05:30 -07:00
path-is-inside npm: upgrade to 1.4.6 2014-03-25 17:42:22 -07:00
read npm: Upgrade to v1.3.5 2013-07-24 13:23:44 -07:00
read-installed deps: upgrade npm to 2.7.1 2015-03-15 21:41:52 -04:00
read-package-json deps: upgrade npm to 2.7.1 2015-03-15 21:41:52 -04:00
readable-stream deps: upgrade npm to 2.2.0 2015-01-18 13:51:49 +01:00
realize-package-specifier npm: upgrade to v2.1.18 2015-01-08 23:49:03 +01:00
request deps: upgrade npm to 2.7.1 2015-03-15 21:41:52 -04:00
retry npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
rimraf deps: upgrade npm to 2.7.3 2015-03-23 16:31:02 -07:00
semver deps: upgrade npm to 2.7.0 2015-03-06 11:20:05 -05:00
sha deps: upgrade npm to 2.6.0 2015-02-22 07:42:24 +01:00
slide deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -07:00
sorted-object npm: upgrade to 1.4.6 2014-03-25 17:42:22 -07:00
tar npm: upgrade to v2.1.18 2015-01-08 23:49:03 +01:00
text-table npm: Upgrade to 1.3.17 2013-12-11 10:20:26 -08:00
uid-number npm: upgrade to v2.1.18 2015-01-08 23:49:03 +01:00
umask deps: upgrade npm to 2.6.0 2015-02-22 07:42:24 +01:00
which deps: upgrade npm to 2.7.0 2015-03-06 11:20:05 -05:00
wrappy npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00
write-file-atomic npm: Upgrade to v2.1.6 2014-11-05 10:35:43 -08:00