GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: upgrade npm to 2.7.0 by othiym23 · Pull Request #1080 · nodejs/node

Conversation

@othiym23

@othiym23 othiym23 commented Mar 6, 2015

Copy link
Copy Markdown
Contributor

This was actually a pretty significant release for a number of reasons, because I tried to merge or otherwise resolve as many of npm's outstanding pull requests as I could. The CHANGELOG.md has the full details, but here are the bits most pertinent to io.js:

  • 145af65
    #4887 Replace calls to the
    node-gyp script bundled with npm by passing the
    --node-gyp=/path/to/node-gyp option to npm. Swap in pangyp or a version
    of node-gyp modified to work better with io.js without having to touch
    npm's code! (@ackalker)
  • 2f6a1df
    #1999 Only run stop and start
    scripts (plus their pre- and post- scripts) when there's no restart script
    defined. This makes it easier to support graceful restarts of services
    managed by npm. (@watilde /
    @scien)
  • 448efd0
    #2853 Add support for --dev and
    --prod to npm ls, so that you can list only the trees of production or
    development dependencies, as desired.
    (@watilde)
  • a0a8777
    #7463 Split the list printed by
    npm run-script into lifecycle scripts and scripts directly invoked via npm run-script. (@watilde)
  • a5edc17
    #6749 [email protected]:
    Support for passing scopes to npm init so packages are initialized as part
    of that scope / organization / team. (@watilde)

Includes a cherry-picked version of @cjihrig's combined node-gyp patch. It would be really great to get rid of the need for that patch sooooon.
The 3 features at the end are what caused the semver-minor bump, but do read the full CHANGELOG for a lengthy discussion of why the second change might be considered a breaking change, but isn't in fact. Semver can be pretty nuanced.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
othiym23 and others added 2 commits March 6, 2015 03:00
@othiym23
deps: upgrade npm to 2.7.0
204a871
@cjihrig @othiym23
deps: make node-gyp work with io.js
fe02e98
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 <[email protected]>
@othiym23 othiym23 changed the title deps: upgrade to 2.7.0 deps: upgrade npm to 2.7.0 Mar 6, 2015
@cjihrig

cjihrig commented Mar 6, 2015

Copy link
Copy Markdown
Contributor

LGTM. make test and make test-npm passed for me locally. Is anyone opposed to landing this due to the potential breaking change mentioned above?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123

Fishrock123 commented Mar 6, 2015

Copy link
Copy Markdown
Contributor

Considering discussion in #942, I'd say land it.

Personally, I'm not really sure what to test for landing npm bumps.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123 Fishrock123 mentioned this pull request Mar 6, 2015
Release proposal: v1.5.0 #1060
Closed
cjihrig pushed a commit that referenced this pull request Mar 6, 2015
@othiym23 @cjihrig
deps: upgrade npm to 2.7.0
fe14802
PR-URL: #1080
Reviewed-By: Colin Ihrig <[email protected]>
@cjihrig

cjihrig commented Mar 6, 2015

Copy link
Copy Markdown
Contributor

Thanks! Landed in fe14802 and dee07e2.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cjihrig cjihrig closed this Mar 6, 2015
@wraithgar
wraithgar deleted the npm-2.7.0 branch June 26, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@othiym23 @cjihrig @Fishrock123
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.