Skip to content

Update npm to the latest version 🚀 - #32

Open
greenkeeper[bot] wants to merge 1 commit into
masterfrom
greenkeeper/npm-6.0.0
Open

Update npm to the latest version 🚀#32
greenkeeper[bot] wants to merge 1 commit into
masterfrom
greenkeeper/npm-6.0.0

Conversation

@greenkeeper

Copy link
Copy Markdown

Version 6.0.0 of npm was just published.

Dependency npm
Current Version 5.8.0
Type devDependency

The version 6.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of npm.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Commits

The new version differs by 121 commits.

  • 7e679fd6.0.0
  • 73e50a7test: prepublish-only: Use our own copy of npm
  • 82dfa546.0.0-next.2
  • 408a7ffupdate AUTHORS
  • 1b021d0doc: update changelog for npm@6.0.0
  • 9c1eb94inflate-shrinkwrap: For git changelings use version as resolved
  • 2facb35has-modern-meta: Correctly identify git changelings
  • e4ed976install/deps: Let git deps w/ lock only match package.json
  • 552ff6daudit: Ensure we don't mutate the shrinkwrap
  • f2386e1test: standard common-tap
  • 1d8ac24test: JSON parse error message changed slightly
  • cd36a21audit: Avoid config-meta's literal-only test
  • 09c7348test: Default audit to off when testing
  • 8e71334audit: Add docs
  • be393a2audit: Temporarily suppress git metadata till there's an opt-in

There are 121 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeperBot added a commit that referenced this pull request May 10, 2018
@greenkeeper

Copy link
Copy Markdown
Author

Version 6.0.1 just got published.

Update to this version instead 🚀

Release Notesv6.0.1

CTRL-C OUT DURING PACKAGE EXTRACTION AS MUCH AS YOU WANT!

SHRONKWRAPS AND LACKFILES

If a published modules had legacy npm-shrinkwrap.json we were saving ordinary registry dependencies (name@version) to your package-lock.json as https:// URLs instead of versions.

  • 89102c0d9 When saving the lock-file compute how the dependency is being required instead of using _resolved in the package.json. This fixes the bug that was converting registry dependencies into https:// dependencies. (@iarna)
  • 676f1239a When encountering a https:// URL in our lockfiles that point at our default registry, extract the version and use them as registry dependencies. This lets us heal package-lock.json files produced by 6.0.0 (@iarna)

AUDIT AUDIT EVERYWHERE

You can't use it quite yet, but we do have a few last moment patches to npm audit to make it even better when it is turned on!

  • b2e4f48f5 Make sure we hide stream errors on background audit submissions. Previously some classes of error could end up being displayed (harmlessly) during installs. (@iarna)
  • 1fe0c7fea Include session and scope in requests (as we do in other requests to the registry). (@iarna)
  • d04656461 Exit with non-zero status when vulnerabilities are found. So you can have npm audit as a test or prepublish step! (@iarna)
  • fcdbcbacc Verify lockfile integrity before running. You'd get an error either way, but this way it's faster and can give you more concrete instructions on how to fix it. (@iarna)
  • 2ac8edd42 Refuse to run in global mode. Audits require a lockfile and globals don't have one. Yet. (@iarna)
  • 3dcc240db Timeout audit requests eventually. (@iarna)

Looking forward

We're still a way from having node@11, so now's a good time to ensure we don't warn about being used with it.

DOCUMENTATION IMPROVEMENTS

DEPENDENCY UPDATES

Commits

The new version differs by 32 commits.

  • 13656946.0.1
  • 7163421doc: update changelog for npm@6.0.1 final
  • ed1aebfunsupported: Allow node@11, when it comes
  • 3dcc240audit: Timeout audit requests eventually
  • 279ef3a6.0.1-next.0
  • 44cad2dupdate AUTHORS
  • b08d903travis: Add node v10
  • 328531amailmap: Update with real names
  • 3a94056lock-verify@2.0.2 (fix bundling)
  • 5702175audit: Only report audit as being unsupported on 404 and >= 500
  • cb560d4doc: update changelog for npm@6.0.1
  • 7a6555edocs: describe what colors in outdated mean
  • b7fca10docs: add from field back into git dependencies
  • be51b38makefile: call cache clean with --force
  • 2ac8eddaudit: Refuse to run in global mode

There are 32 commits in total.

See the full diff

greenkeeperBot added a commit that referenced this pull request May 24, 2018
@greenkeeper

Copy link
Copy Markdown
Author

Version 6.1.0 just got published.

Update to this version instead 🚀

Release Notesv6.1.0

Look at that! A feature bump! npm@6 was super-exciting not just because it used a bigger number than ever before, but also because it included a super shiny new command: npm audit. Well, we've kept working on it since then and have some really nice improvements for it. You can expect more of them, and the occasional fix, in the next few releases as more users start playing with it and we get more feedback about what y'all would like to see from something like this.

I, for one, have started running it (and the new subcommand...) in all my projects, and it's one of those things that I don't know how I ever functioned -without- it! This will make a world of difference to so many people as far as making the npm ecosystem a higher-quality, safer commons for all of us.

This is also a good time to remind y'all that we have a new RFCs repository, along with a new process for them. This repo is open to anyone's RFCs, and has already received some great ideas about where we can take the CLI (and, to a certain extent, the registry). It's a great place to get feedback, and completely replaces feature requests in the main repo, so we won't be accepting feature requests there at all anymore. Check it out if you have something you'd like to suggest, or if you want to keep track of what the future might look like!

NEW FEATURE: npm audit fix

This is the biggie with this release! npm audit fix does exactly what it says on the tin. It takes all the actionable reports from your npm audit and runs the installs automatically for you, so you don't have to try to do all that mechanical work yourself!

Note that by default, npm audit fix will stick to semver-compatible changes, so you should be able to safely run it on most projects and carry on with your day without having to track down what breaking changes were included. If you want your (toplevel) dependencies to accept semver-major bumps as well, you can use npm audit fix --force and it'll toss those in, as well. Since it's running the npm installer under the hood, it also supports --production and --only=dev flags, as well as things like --dry-run, --json, and --package-lock-only, if you want more control over what it does.

Give it a whirl and tell us what you think! See npm help audit for full docs!

  • 3800a660d Add npm audit fix subcommand to automatically fix detected vulnerabilities. (@zkat)

OTHER NEW audit FEATURES

  • 1854b1c7f#20568 Add support for npm audit --json to print the report in JSON format. (@finnp)
  • 85b86169d#20570 Include number of audited packages in npm install summary output. (@zkat)
  • 957cbe275npm-audit-report@1.2.1: Overhaul audit install and detail output format. The new format is terser and fits more closely into the visual style of the CLI, while still providing you with the important bits of information you need. They also include a bit more detail on the footer about what actions you can take! (@zkat)

NEW FEATURE: GIT DEPS AND npm init <pkg>!

Another exciting change that came with npm@6 was the new npm init command that allows for community-authored generators. That means you can, for example, do npm init react-app and it'll one-off download, install, and run create-react-app for you, without requiring or keeping around any global installs. That is, it basically just calls out to npx.

The first version of this command only really supported registry dependencies, but now, @jdalton went ahead and extended this feature so you can use hosted git dependencies, and their shorthands.

So go ahead and do npm init facebook/create-react-app and it'll grab the package from the github repo now! Or you can use it with a private github repository to maintain your organizational scaffolding tools or whatnot. ✨

FIX WRITE AFTER END ERROR

First introduced in 5.8.0, this finally puts to bed errors where you would occasionally see Error: write after end at MiniPass.write.

DETECT CHANGES IN GIT SPECIFIERS

  • 0e1726c03 We can now determine if the commitid of a git dependency in the lockfile is derived from the specifier in the package.json and if it isn't we now trigger an update for it. (@iarna)

OTHER BUGFIXES

  • 442d2484f2f0c88351631d30a34 When requesting the update of a direct dependency that was also a transitive dependency to a version incompatible with the transitive requirement and you had a lock-file but did not have a node_modules folder then npm would fail to provide a new copy of the transitive dependency, resulting in an invalid lock-file that could not self heal. (@iarna)
  • be5dd0f49#20715 Cleanup output of npm ci summary report. (@legodude17)
  • 98ffe4adb Node.js now has a test that scans for things that look like conflict markers in source code. This was triggering false positives on a fixture in a test of npm's ability to heal lockfiles with conflicts in them. (@iarna)
  • a41c0393c#20538 Make the new npm view work when the license field is an object instead of a string. (@zkat)
  • eb7522073#20582 Add support for environments (like Docker) where the expected binary for opening external URLs is not available. (@bcoe)
  • 212266529#20536 Fix a spurious colon in the new update notifier message and add support for the npm canary. (@zkat)
  • 5ee1384d0#20597 Infer a version range when a package.json has a dist-tag instead of a version range in one of its dependency specs. Previously, this would cause dependencies to be flagged as invalid. (@zkat)
  • 4fa68ae41#20585 Make sure scoped bundled deps are shown in the new publish preview, too. (@zkat)
  • 1f3ee6b7ecacache@11.0.2: Stop dropping size from metadata on npm cache verify. (@jfmartinez)
  • 91ef93691#20513 Fix nested command aliases. (@mmermerkaya)
  • 18b2b3cf7npm-lifecycle@2.0.3: Make sure different versions of the Path env var on Windows all get node_modules/.bin prepended when running lifecycle scripts. (@laggingreflex)

DOCUMENTATION

DEPENDENCY BUMPS

Commits

The new version differs by 39 commits.

  • 4c65cd96.1.0
  • b152d3escripts: Make release script include tests
  • f29b7a6doc: Changelog for 6.1.0
  • 631d30adeps: Use shrinkwrap root for relative pathing
  • 2f0c883inflate-shrinkwrap: Stop shortcircuiting tree walks with fake children
  • 442d248shrinkwrap: Stop special-casing fake children in shrinkwraps
  • 3f2e306deps: audit-fix our transitive deps
  • be5dd0fci: pause log before logging summary (#20715)
  • 0e1726cdeps: Now that from is in the lockfile, tighten git matching
  • 171f318pacote@8.1.5
  • 1d07134tar@4.4.1
  • 98ffe4atest: Make sure the naive node conflict scanner is ok
  • a8d89d9doc: Fix changelog for 6.0.1
  • 83a70516.1.0-next.0
  • 91d6f5fupdate AUTHORS

There are 39 commits in total.

See the full diff

greenkeeperBot added a commit that referenced this pull request Jul 14, 2018
@greenkeeper

Copy link
Copy Markdown
Author

Version 6.2.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 58 commits.

  • ab3c62a6.2.0
  • 0cfe801update AUTHORS
  • 890c132doc: update changelog for npm@6.2.0
  • 7a08a9bempty
  • 322d9c2chore: Make standard happy
  • 4231a0ameta: Add cli-table3 to bundledeps
  • f0a372bdocs: replace references to the old repo or issue tracker (#5)
  • 4c32413run-script: Do not use SET to fetch the env in git-bash or cygwin
  • 7984206version: Add new sign-git-commit config (#12697)
  • 244b183audit: add support for --parseable output (#20554)
  • 7381783docs: republish waiting period (#20920)
  • 5724983docs: remove back-ticks not being parsed as markdown (#21165)
  • 90c759fnpm-audit-report@1.3.1
  • 8dc6d76cli-table3@0.5.0
  • 2ac48f8node-gyp@3.7.0

There are 58 commits in total.

See the full diff

greenkeeperBot added a commit that referenced this pull request Aug 2, 2018
@greenkeeper

Copy link
Copy Markdown
Author

Version 6.3.0 just got published.

Update to this version instead 🚀

Release Notesv6.3.0

This is basically the same as the prerelease, but two dependencies have been bumped due to bugs that had been around for a while.

Commits

The new version differs by 21 commits.

  • 14bd2146.3.0
  • 0a53c10changelog: update generator script
  • fa54524doc: update changelog for npm@6.3.0
  • 0096f69cacache@11.1.0
  • 0a22be4figgy-pudding@3.2.0
  • 5b8929a6.3.0-next.0
  • 92c9301update AUTHORS
  • 95963eedoc: update changelog for npm@6.3.0
  • e115f9ddocs: use https when possible. (#7)
  • ad0dd22version: allow prerelease identifier (#26)
  • 9db1540deps: remove wrappy from package.json (#27)
  • 21cf0abprofile: better explanation on OTP (#24)
  • a9ac871utils: use the extracted stringify-package module (#21)
  • a67db56docs: replace troubleshooting.md with posts (#17)
  • 35e51f7docs: update build status url (#18)

There are 21 commits in total.

See the full diff

greenkeeperBot added a commit that referenced this pull request Aug 15, 2018
@greenkeeper

Copy link
Copy Markdown
Author

Version 6.4.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 20 commits.

There are 20 commits in total.

See the full diff

greenkeeperBot added a commit that referenced this pull request Aug 29, 2018
@greenkeeper

Copy link
Copy Markdown
Author

Version 6.4.1 just got published.

Update to this version instead 🚀

Release Notesv6.4.1

BUGFIXES

  • 4bd40f543#42 Prevent blowing up on malformed responses from the npm audit endpoint, such as with third-party registries. (@framp)
  • 0e576f0aa#46 Fix NO_PROXY support by renaming npm-side config to --noproxy. The environment variable should still work. (@SneakyFish5)
  • d8e811d6a#33 Disable update-notifier checks when a CI environment is detected. (@Sibiraj-S)
  • 1bc5b8cea#47 Fix issue where postpack scripts would break if pack was used with --dry-run. (@larsgw)

DEPENDENCY BUMPS

DOCUMENTATION

Commits

The new version differs by 33 commits.

  • 59e50566.4.1
  • bae4ede6.4.1-next.0
  • e3a0762update AUTHORS
  • f8396dddoc: update changelog for npm@6.4.1
  • 7eeacdbgen-changelog: fix npm.community url parsing
  • d4242d4gen-changelog: appease standard
  • bced18egen-changelog: Strip CRs from commit messages
  • 54b4bc8gen-changelog: git update incresed length of "short" hashes
  • f5eed2egen-changelog: Default repo is npm/cli now
  • ee5066agen-changelog: match npm.community urls in addition to github ones
  • f86570dgen-changelog: Actually match content on fixes lines
  • 1d2fa4dmarked@0.5.0
  • 30bc990ci-info@1.4.0
  • 1bc5b8cpack: add dryRun option to packDirectory (#47)
  • d8e811dupdate-notifier: skip checking for updates in CI environments

There are 33 commits in total.

See the full diff

greenkeeperBot added a commit that referenced this pull request Dec 10, 2018
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.5.0.

Update to this version instead 🚀

Commits

The new version differs by 42 commits.

There are 42 commits in total.

See the full diff

greenkeeperBot added a commit that referenced this pull request Jan 17, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.6.0.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • bb8688d6.6.0
  • f277bcedoc: update changelog for npm@6.6.0
  • 46639bachore: Update package-lock.json for https tarball URLs

See the full diff

greenkeeperBot added a commit that referenced this pull request Jan 23, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.7.0.

Update to this version instead 🚀

Commits

The new version differs by 15 commits.

  • 550bf70misc: adding @types to ignore list to fix git clean -fd
  • d721410npm-registry-couchapp@2.7.1
  • f6e31a76.7.0
  • b09bc8cdoc: update changelog for npm@6.7.0
  • 5a7962ewrite-file-atomic@2.4.2
  • 0af8c00libcipm@3.0.3
  • 7547504deps: bump to libnpmpublish@1.1.1
  • b522597test: use fakeRegistry for org test
  • 5948a10org: fix org set validation
  • 46cdebetest: use fakeRegistry to fix failing tests
  • e959e14doc: add manpage for npm-org
  • 50463f5org: improve usage errors and add org ls filtering
  • cfea6eahook: fix default usage message for npm hook
  • 8543fc3pacote@9.4.0
  • 4027070org: fix usage error

See the full diff

greenkeeperBot added a commit that referenced this pull request Feb 14, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.8.0.

Update to this version instead 🚀

Release Notes for v6.8.0

This release includes an implementation of RFC #10, documenting an optional field that can be used to specify the directory path for a package within a monorepo.

NEW FEATURES

BUGFIXES

DEPENDENCY BUMPS

MISC

Commits

The new version differs by 26 commits.

  • 67142b36.8.0
  • c7da272chore: update changelog for final 6.8.0 release
  • 338571cread-package-tree@5.2.2
  • 0c97036Revert "install/dedupe: fix hoisting of packages with peerDeps (#147)" (#152)
  • 26b768d6.8.0-next.2
  • b436cb0update AUTHORS
  • 7b87710chore: update changelog for 6.8.0
  • d513709Fix issue with sub folder local references (#86)
  • 7c62cde6.8.0-next.1
  • f54bf9echore: update changelog for 6.8.0
  • 32d34c0npm-packlist@1.3.0
  • 322fef4normalize-package-data@2.5.0
  • 3c22d1aaccess: ls-collaborators is ok with non-scoped (#151)
  • 309260d6.8.0-next.0
  • f28a94cupdate AUTHORS

There are 26 commits in total.

See the full diff

greenkeeperBot added a commit that referenced this pull request Mar 6, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.9.0.

Update to this version instead 🚀

Commits

The new version differs by 52 commits ahead by 52, behind by 26.

  • 656bce76.9.0
  • de0ebe16.9.0-next.0
  • 5ac0950update AUTHORS
  • f957798doc: update changelog for npm@6.9.0
  • 96e4fa9tap@12.5.3
  • 9b8b651npm-packlist@1.4.1
  • 2b78288test: add core to default inclusion tests in pack
  • 57e771alicensee@6.1.0 (#164)
  • 2ba3a0finstall: add --before date support for time traveling~ (#90)
  • baaedbcpacote@9.5.0
  • b7b54f2install: add support for package aliases (#3)
  • 2ce23balock-verify@2.1.0
  • e135c2bupdate: re-enable updating local packages
  • 8047b19install: match git semver ranges (#115)
  • 433020edocs: described exit codes in npm-audit docs

There are 52 commits in total.

See the full diff

greenkeeperBot added a commit that referenced this pull request Jun 27, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.9.1.

Update to this version instead 🚀

Release Notes for v6.9.1

BUGFIXES

DEPENDENCIES

Commits

The new version differs by 12 commits.

See the full diff

greenkeeperBot added a commit that referenced this pull request Jun 27, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.9.2.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Jul 3, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.10.0.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Oct 29, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.12.1.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Nov 5, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.13.0.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Nov 19, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.13.1.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Dec 3, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.13.2.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Dec 10, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.13.3.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Dec 11, 2019
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.13.4.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Jan 9, 2020
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.13.5.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Jan 9, 2020
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.13.6.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Jan 28, 2020
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.13.7.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Feb 27, 2020
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.14.0.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Feb 28, 2020
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.14.1.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Mar 3, 2020
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.14.2.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Mar 19, 2020
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.14.3.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request Mar 25, 2020
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.14.4.

Update to this version instead 🚀

greenkeeperBot added a commit that referenced this pull request May 4, 2020
@greenkeeper

Copy link
Copy Markdown
Author
  • The devDependencynpm was updated from 5.10.0 to 6.14.5.

Update to this version instead 🚀

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants