Update dependency npm-check-updates to v16 #147
+4,004
−2,445
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:
12.2.1
->16.10.0
Release Notes
raineorshine/npm-check-updates
v16.10.0
Compare Source
Feature
filterResults
option to filter out upgrades based on a user provided function.filterResults
runs after new versions are fetched, in contrast tofilter
andfilterVersion
, which run before. This allows you to filter out upgrades withfilterResults
based on how the version has changed (e.g. a major version change).Only available in .ncurc.js or when importing npm-check-updates as a module.
For the SemVer type definition, see: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring
Thanks to mslowiak for this enhancement!
v16.9.0
Compare Source
v16.8.2
Compare Source
v16.8.1
Compare Source
v16.8.0
Compare Source
Feature
Added
--format lines
$ ncu --format lines
@ava/typescript@^4.0.0
ava@^5.2.0
eslint@^8.36.0
lerna@^6.5.1
typescript@^5.0.2
This is particularly useful for upgrading global modules:
Thanks to @vanodevium for the PR!
v16.7.13
Compare Source
v16.7.12
Compare Source
v16.7.11
Compare Source
v16.7.10
Compare Source
v16.7.9
Compare Source
v16.7.8
Compare Source
v16.7.7
Compare Source
v16.7.6
Compare Source
v16.7.5
Compare Source
v16.7.4
Compare Source
v16.7.3
Compare Source
v16.7.2
Compare Source
v16.7.1
Compare Source
v16.7.0
Compare Source
v16.6.5
Compare Source
v16.6.4
Compare Source
v16.6.3
Compare Source
v16.6.2
Compare Source
v16.6.1
Compare Source
v16.6.0
Compare Source
v16.5.6
Compare Source
v16.5.5
Compare Source
v16.5.4
Compare Source
v16.5.3
Compare Source
v16.5.2
Compare Source
v16.5.1
Compare Source
v16.5.0
Compare Source
v16.4.3
Compare Source
v16.4.2
Compare Source
v16.4.1
Compare Source
v16.4.0
Compare Source
Feature
Added
--cacheClear
option for—you guessed it—clearing the cache 🫥.This brings the suite of cache-related options to:
--cache
: Cache versions to the cache file.--cacheClear
: Clear the default cache, or the cache file specified by --cacheFile.--cacheExpiration <min>
: Cache expiration in minutes (default: 10).--cacheFile <path>
: Filepath for the cache file (default: "~/.ncu-cache.json").Thanks to @ly3xqhl8g9 whose code is gratefully more lucid than his username.
v16.3.25
Compare Source
v16.3.24
Compare Source
v16.3.23
Compare Source
v16.3.22
Compare Source
v16.3.21
Compare Source
v16.3.20
Compare Source
v16.3.19
Compare Source
v16.3.18
Compare Source
v16.3.17
Compare Source
v16.3.16
Compare Source
v16.3.15
Compare Source
v16.3.14
Compare Source
v16.3.13
Compare Source
v16.3.12
Compare Source
v16.3.11
Compare Source
v16.3.10
Compare Source
v16.3.9
Compare Source
v16.3.8
Compare Source
v16.3.7
Compare Source
v16.3.6
Compare Source
v16.3.5
Compare Source
v16.3.4
Compare Source
v16.3.3
Compare Source
v16.3.2
Compare Source
v16.3.1
Compare Source
v16.3.0
Compare Source
Feature
Upgrade all workspaces:
Upgrade a single workspace:
Upgrade more than one workspace:
Upgrade all workspaces AND the root project:
Upgrade a single workspace AND the root project:
Notes
workspaces
or--workspace
is run in--interactive
mode, ncu will prompt tonpm install
once in the root project rather than separately in each workspace (#1182).--deep
will not trigger workspace support.v16.2.1
Compare Source
v16.2.0
Compare Source
v16.1.3
Compare Source
v16.1.2
Compare Source
v16.1.1
Compare Source
v16.1.0
Compare Source
v16.0.6
Compare Source
v16.0.5
Compare Source
v16.0.4
Compare Source
v16.0.3
Compare Source
v16.0.2
Compare Source
v16.0.1
Compare Source
v16.0.0
Compare Source
Breaking
v14.0.0
. Add--stdin
for old behavior.ncu -f '*vite*'
would not include@vitejs/plugin-react
. Now, filters will match any part of the package name, including the scope. Use a more specific glob or regex expression for old behavior.raineorshine/npm-check-updates@v15.3.4...v16.0.0
v15.3.4
Compare Source
v15.3.3
Compare Source
v15.3.2
Compare Source
v15.3.1
Compare Source
v15.3.0
Compare Source
v15.2.6
Compare Source
v15.2.5
Compare Source
v15.2.4
Compare Source
v15.2.3
Compare Source
v15.2.2
Compare Source
v15.2.1
Compare Source
v15.2.0
Compare Source
v15.1.0
Compare Source
v15.0.5
Compare Source
v15.0.4
Compare Source
v15.0.3
Compare Source
v15.0.2
Compare Source
v15.0.1
Compare Source
v15.0.0
Compare Source
Breaking
update-notifier
with has a moderate severity vulnerability--packageManager
is not given, there is nopackage-lock.json
in the current folder, and there is ayarn.lock
in an ancestor directory, npm-check-updates will now use yarn.--packageManager yarn
explicitly before, you may not have to nowraineorshine/npm-check-updates@v14.1.1...v15.0.0
v14.1.1
Compare Source
v14.1.0
Compare Source
Features
Group
You can now group upgrades by risk level using
--format group
:Interactive mode was completely rewritten for a better user experience.
Inspired by npm-check.
Combine with
--format group
for a truly luxe experience:A new option
--packageManager staticRegistry
allows upgrades to be recommended from a static JSON file. This can be used to power custom versioning infrastructure that is completely independent from the npm registry.Thanks to agrouse who did a fine job on the PR.
Example:
my-registry.json:
The latest versions of
prettier
andtypescript
are set in the registry file. Whenncu
is run, it will recommend upgrades from the static registry file without touching the npm registry:$ ncu --packageManager staticRegistry --registry ./my-registry.json Checking /Users/raine/projects/ncu-issues/14.1.0/package.json [====================] 2/2 100% prettier ^2.0.1 → ^2.7.0 typescript ^3.4.0 → ^4.7.0 Run ncu -u to upgrade package.json
v14.0.2
Compare Source
v14.0.1
Compare Source
v14.0.0
Compare Source
Breaking
Prerelease versions are now "upgraded" to versions with a different preid.
For example, if you have a dependency at
1.3.3-next.1
and the version fetched by ncu is1.2.3-dev.2
, ncu will suggest an "upgrade" to1.2.3-dev.2
. This is because prerelease versions with different preids are incomparable. Since they are incomparable, ncu now assumes the fetched version is desired.Since this change affects only prereleases, there is no impact on default
ncu
usage that fetches thelatest
version. With--pre 1
or--target newest
or--target greatest
, this change could affect which version is suggested if versions with different preids are published. The change was made to support the new--target @​[tag]
feature.If you have a use case where this change is not what is desired, please report an issue. The intention is for zero disruption to current usage.
Features
--target @​next
. Thanks to IMalyugin.raineorshine/npm-check-updates@v13.1.5...v14.0.0
v13.1.5
Compare Source
v13.1.4
Compare Source
v13.1.3
Compare Source
v13.1.2
Compare Source
v13.1.1
Compare Source
v13.1.0
Compare Source
v13.0.4
Compare Source
v13.0.3
Compare Source
v13.0.2
Compare Source
v13.0.1
Compare Source
v13.0.0
Compare Source
Breaking
--greatest
- Instead use--target greatest
--newest
- Instead use--target newest
--ownerChanged
- Instead use--format ownerChanged
--semverLevel
- Renamed to--target
raineorshine/npm-check-updates@v12.5.12...v13.0.0
v12.5.12
Compare Source
v12.5.11
Compare Source
v12.5.10
Compare Source
v12.5.9
Compare Source
v12.5.8
Compare Source
v12.5.7
Compare Source
v12.5.6
Compare Source
v12.5.5
Compare Source
v12.5.4
Compare Source
v12.5.3
Compare Source
v12.5.2
Compare Source
v12.5.1
Compare Source
v12.5.0
Compare Source
v12.4.0
Compare Source
v12.3.1
Compare Source
v12.3.0
Compare Source
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 you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.