chore(deps): update npm to v6 #2
Closed
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.
This PR contains the following updates:
>=5.0.0->>=6.4.1Release Notes
npm/cli
v6.4.1Compare Source
BUGFIXES
4bd40f543#42
Prevent blowing up on malformed responses from the
npm auditendpoint, suchas with third-party registries.
(@framp)
0e576f0aa#46
Fix
NO_PROXYsupport by renaming npm-side config to--noproxy. Theenvironment variable should still work.
(@SneakyFish5)
d8e811d6a#33
Disable
update-notifierchecks when a CI environment is detected.(@Sibiraj-S)
1bc5b8cea#47
Fix issue where
postpackscripts would break ifpackwas used with--dry-run.(@larsgw)
DEPENDENCY BUMPS
4c57316d5figgy-pudding@3.4.1(@zkat)
85f4d7905cacache@11.2.0(@zkat)
d20ac242anpm-packlist@1.1.11:No real changes in npm-packlist, but npm-bundled included a
circular dependency fix, as well as adding a proper LICENSE file.
(@isaacs)
e8d5f4418npm.community#632
libcipm@2.0.2:Fixes issue where
npm ciwasn't running thepreparelifecycle script wheninstalling git dependencies
(@edahlseng)
a5e6f78e9JSONStream@1.3.4:Fixes memory leak problem when streaming large files (like legacy npm search).
(@daern91)
3b940331dnpm.community#1042
npm-lifecycle@2.1.0:Fixes issue for Windows user where multiple
Path/PATHvariables were beingadded to the environment and breaking things in all sorts of fun and
interesting ways.
(@JimiC)
d612d2ce8npm-registry-client@8.6.0(@iarna)
1f6ba1cb1opener@1.5.0(@domenic)
37b8f405frequest@2.88.0(@mikeal)
bb91a2a14tacks@1.2.7(@iarna)
30bc9900aci-info@1.4.0:Adds support for two more CI services
(@watson)
1d2fa4dddmarked@0.5.0(@joshbruce)
DOCUMENTATION
08ecde292#54
Mention registry terms of use in manpage and registry docs and update language
in README for it.
(@kemitchell)
de956405d#41
Add documentation for
--dry-runininstallandpackdocs.(@reconbot)
95031b90c#48
Update republish time and lightly reorganize republish info.
(@neverett)
767699b68#53
Correct
npm@6.4.0release date in changelog.(@charmander)
3fea3166e#55
Align command descriptions in help text.
(@erik)
v6.4.0Compare Source
NEW FEATURES
6e9f04b0bnpm/cli#8
Search for authentication token defined by environment variables by preventing
the translation layer from env variable to npm option from breaking
:_authToken.(@mkhl)
84bfd23e7npm/cli#35
Stop filtering out non-IPv4 addresses from
local-addrs, making npm actuallyuse IPv6 addresses when it must.
(@valentin2105)
792c8c709npm/cli#31
configurable audit level for non-zero exit
npm auditcurrently exits with exit code 1 if any vulnerabilities are found of any level.Add a flag of
--audit-leveltonpm auditto allow it to pass if only vulnerabilities below a certain level are found.Example:
npm audit --audit-level=highwill exit with 0 if only low or moderate level vulns are detected.(@lennym)
BUGFIXES
d81146181npm/cli#32
Don't check for updates to npm when we are updating npm itself.
(@olore)
DEPENDENCY UPDATES
A very special dependency update event! Since the release of
node-gyp@3.8.0, an awkwardversion conflict that was preventing
requestfrom begin flattened wasresolved. This means two things:
npm auditnow shows no vulnerabilities for npm itself!Thanks, @rvagg!
866d776c2request@2.87.0(@simov)
f861c2b57node-gyp@3.8.0(@rvagg)
32e6947c6npm/cli#39
colors@1.1.2:REVERT REVERT, newer versions of this library are broken and print ansi
codes even when disabled.
(@iarna)
beb96b92clibcipm@2.0.1(@zkat)
348fc91advalidate-npm-package-license@3.0.4: Fixes errors with empty or string-onlylicense fields.
(@Gudahtt)
e57d34575iferr@1.0.2(@shesek)
46f1c6ad4tar@4.4.6(@isaacs)
50df1bf69hosted-git-info@2.7.1(@iarna)
(@Erveon)
(@huochunpeng)
DOCUMENTATION
af98e76ednpm/cli#34
Remove
npm publishfrom list of commands not affected by--dry-run.(@joebowbeer)
e2b0f0921npm/cli#36
Tweak formatting in repository field examples.
(@noahbenham)
e2346e770npm/cli#14
Used
process.envexamples to make accessing certainnpm run-scriptsenvironment variables more clear.
(@mwarger)
v6.3.0Compare Source
This is basically the same as the prerelease, but two dependencies have been
bumped due to bugs that had been around for a while.
0a22be42efiggy-pudding@3.2.0(@zkat)
0096f6997cacache@11.1.0(@zkat)
v6.2.0Compare Source
In case you missed it, we
moved!. We
look forward to seeing future PRs landing in
npm/cli in the future, and we'll be chatting with
you all in npm.community. Go check it out!
This final release of
npm@6.2.0includes a couple of features that weren'tquite ready on time but that we'd still like to include. Enjoy!
FEATURES
244b18380#20554
Add support for tab-separated output for
npm auditdata with the--parseableflag.(@luislobo)
7984206e2#12697
Add new
sign-git-commitconfig to control whether the git commit itself getssigned, or just the tag (which is the default).
(@tribou)
FIXES
4c32413a5#19418
Do not use
SETto fetch the env in git-bash or Cygwin.(@gucong3000)
DEPENDENCY BUMPS
d9b2712a6request@2.81.0: Downgraded to allow better deduplication. This doesintroduce a bunch of
hoek-related audit reports, but they don't affect npmitself so we consider it safe. We'll upgrade
requestagain oncenode-gypunpins it.
(@simov)
2ac48f863node-gyp@3.7.0(@MylesBorins)
8dc6d7640cli-table3@​0.5.0:cli-table2is unmaintained and requiredlodash. Withthis dependency bump, we've removed
lodashfrom our tree, which cut backtarball size by another 300kb.
(@Turbo87)
90c759feenpm-audit-report@1.3.1(@zkat)
4231a0a1eAdd
cli-table3to bundleDeps.(@iarna)
322d9c2f1Make
standardhappy.(@iarna)
DOCS
5724983ea#21165
Fix some markdown formatting in npm-disputes.md.
(@hchiam)
738178315#20920
Explicitly state that republishing an unpublished package requires a 72h
waiting period.
(@gmattie)
f0a372b07Replace references to the old repo or issue tracker. We're at npm/cli now!
(@zkat)
v6.1.0Compare Source
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.171f3182fnode-tar#180
npm.community#35
pacote@8.1.5: Fix write-after-end errors.(@zkat)
DETECT CHANGES IN GIT SPECIFIERS
0e1726c03We 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 BUGS
442d2484f2f0c88351631d30a34When 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_modulesfolder 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 cisummary report.(@legodude17)
98ffe4adbNode.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)
DEPENDENCY UPDATES
3f2e306b8Using
npm audit fix, replace some transitive dependencies with securityissues with versions that don't have any.
(@iarna)
1d07134e0tar@4.4.1:Dropping to 4.4.1 from 4.4.2 due to npm/node-tar#183
(@zkat)
v6.0.1Compare Source
AUDIT SHOULDN'T WAIT FOREVER
This will likely be reduced further with the goal that the audit process
shouldn't noticibly slow down your builds regardless of your network
situation.
3dcc240dbTimeout 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.
ed1aebf55Allow node@11, when it comes.
(@iarna)
v6.0.0Compare Source
Hey y'all! Here's another
npm@6release -- withnode@10around the corner,this might well be the last prerelease before we tag
6.0.0! There's two majorfeatures included with this release, along with a few miscellaneous fixes and
changes.
EXTENDED
npm initSCAFFOLDINGThanks to the wonderful efforts of @jdalton of
lodash fame,
npm initcan now be used to invoke custom scaffolding tools!You can now do things like
npm init react-appornpm init esmto scaffold annpm package by running
create-react-appandcreate-esm, respectively. Thisalso adds an
npm createalias, to correspond to Yarn'syarn createfeature,which inspired this.
008a83642ed81d1426833046e45#20303
Add an
npm initfeature that calls out tonpxwhen invoked with positionalarguments. (@jdalton)
DEPENDENCY AUDITING
This version of npm adds a new command,
npm audit, which will run a securityaudit of your project's dependency tree and notify you about any actions you may
need to take.
The registry-side services required for this command to work will be available
on the main npm registry in the coming weeks. Until then, you won't get much out
of trying to use this on the CLI.
As part of this change, the npm CLI now sends scrubbed and cryptographically
anonymized metadata about your dependency tree to your configured registry, to
allow notifying you about the existence of critical security flaws. For details
about how the CLI protects your privacy when it shares this metadata, see
npm help audit, or read the docs fornpm auditonline. You
can disable this altogether by doing
npm config set audit false, but will nolonger benefit from the service.
f4bc648ea#20389
npm-registry-fetch@1.1.0(@iarna)
594d16987#20389
npm-audit-report@1.0.5(@iarna)
8c77dde741d8ac2492552ff6d6409c734803#20389
Add new
npm auditcommand.(@iarna)
be393a290#20389
Temporarily suppress git metadata till there's an opt-in.
(@iarna)
8e713344f#20389
Document the new command.
(@iarna)
Default audit to off when running the npm test suite itself.
(@iarna)
MORE
package-lock.jsonFORMAT CHANGES?!820f74ae2#20384
Add
fromfield back into package-lock for git dependencies. This will givenpm the information it needs to figure out whether git deps are valid,
specially when running with legacy install metadata or in
--package-lock-onlymode when there's nonode_modules. This should helpremove a significant amount of git-related churn on the lock-file.
(@zkat)
BUGFIXES
9d5d0a18a#20358
npm install-test(akanpm it) will no longer generatepackage-lock.jsonwhen running with
--no-package-lockorpackage-lock=false.(@raymondfeng)
e4ed976e22facb35fb9c1eb945b#20390
Fix a scenario where a git dependency had a comittish associated with it
that was not a complete commitid.
npmwould never consider that entryin the
package.jsonas matching the entry in thepackage-lock.jsonandthis resulted in inappropriate pruning or reinstallation of git
dependencies. This has been addressed in two ways, first, the addition of the
fromfield as described in #20384 meanswe can exactly match the
package.json. Second, when that's missing (when working witholder
package-lock.jsonfiles), we assume that the match is ok. (Ifit's not, we'll fix it up when a real installation is done.)
(@iarna)
DEPENDENCIES
1c1f89b73libnpx@10.2.0(@zkat)
242d8a647pacote@8.1.0(@zkat)
DOCS
a1c77d614#20331
Fix broken link to 'private-modules' page. The redirect went away when the new
npm website went up, but the new URL is better anyway.
(@vipranarayan14)
ad7a5962d#20279
Document the
--if-presentoption fornpm run-script.(@aleclarson)
v5.10.0Compare Source
v5.8.0Compare Source
v5.7.1Compare Source
v5.7.0Compare Source
v5.6.0Compare Source
v5.5.1Compare Source
v5.5.0Compare Source
v5.4.2Compare Source
v5.4.1Compare Source
v5.4.0Compare Source
v5.3.0Compare Source
v5.2.0Compare Source
v5.1.0Compare Source
v5.0.4Compare Source
v5.0.3Compare Source
v5.0.2Compare Source
v5.0.1Compare Source
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.