Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: upgrade npm to 2.7.6 #1390

Merged
merged 3 commits into from
Apr 10, 2015
Merged

deps: upgrade npm to 2.7.6 #1390

merged 3 commits into from
Apr 10, 2015

Commits on Apr 10, 2015

  1. deps: upgrade npm to 2.7.6

    PR-URL: nodejs#1390
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    othiym23 committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    cc8376a View commit details
    Browse the repository at this point in the history
  2. deps: make node-gyp work with io.js

    Every npm version bump requires a few patches to be floated on
    node-gyp for io.js compatibility. These patches are found in
    03d1992,
    5de334c, and
    da730c7. This commit squashes
    them into a single commit.
    
    PR-URL: nodejs#990
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and othiym23 committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    09d4a28 View commit details
    Browse the repository at this point in the history
  3. win,node-gyp: optionally 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 causes many compiled addons to break when node.exe or iojs.exe are
    renamed, because when the binary has been renamed the addon DLL can't
    find the (right) .exe file to load its imports from.
    
    This patch gives compiled addon developers an option to overcome this
    restriction by compiling a delay-load hook into their binary. The
    delay-load hook ensures that whenever a module tries to load imports
    from node.exe/iojs.exe, it'll just look at the process image, thereby
    making the addon work regardless of what name the node/iojs binary has.
    
    To enable this feature, the addon developer must set the
    'win_delay_load_hook' option to 'true' in their binding.gyp file, like
    this:
    
    ```
    {
      'targets': [
        {
          'target_name': 'ernie',
          'win_delay_load_hook': 'true',
          ...
    ```
    
    Bug: nodejs#751
    Bug: nodejs#965
    Upstream PR: nodejs/node-gyp#599
    
    PR-URL: nodejs#1251
    Reviewed-By: Rod Vagg <rod@vagg.org>
    
    PR-URL: nodejs#1266
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    piscisaureus authored and othiym23 committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    907aaf3 View commit details
    Browse the repository at this point in the history