Update dependency npm-check-updates to v16 #147
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.0Release Notes
raineorshine/npm-check-updates
v16.10.0Compare Source
Feature
filterResultsoption to filter out upgrades based on a user provided function.filterResultsruns after new versions are fetched, in contrast tofilterandfilterVersion, which run before. This allows you to filter out upgrades withfilterResultsbased 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.0Compare Source
v16.8.2Compare Source
v16.8.1Compare Source
v16.8.0Compare 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.13Compare Source
v16.7.12Compare Source
v16.7.11Compare Source
v16.7.10Compare Source
v16.7.9Compare Source
v16.7.8Compare Source
v16.7.7Compare Source
v16.7.6Compare Source
v16.7.5Compare Source
v16.7.4Compare Source
v16.7.3Compare Source
v16.7.2Compare Source
v16.7.1Compare Source
v16.7.0Compare Source
v16.6.5Compare Source
v16.6.4Compare Source
v16.6.3Compare Source
v16.6.2Compare Source
v16.6.1Compare Source
v16.6.0Compare Source
v16.5.6Compare Source
v16.5.5Compare Source
v16.5.4Compare Source
v16.5.3Compare Source
v16.5.2Compare Source
v16.5.1Compare Source
v16.5.0Compare Source
v16.4.3Compare Source
v16.4.2Compare Source
v16.4.1Compare Source
v16.4.0Compare Source
Feature
Added
--cacheClearoption 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.25Compare Source
v16.3.24Compare Source
v16.3.23Compare Source
v16.3.22Compare Source
v16.3.21Compare Source
v16.3.20Compare Source
v16.3.19Compare Source
v16.3.18Compare Source
v16.3.17Compare Source
v16.3.16Compare Source
v16.3.15Compare Source
v16.3.14Compare Source
v16.3.13Compare Source
v16.3.12Compare Source
v16.3.11Compare Source
v16.3.10Compare Source
v16.3.9Compare Source
v16.3.8Compare Source
v16.3.7Compare Source
v16.3.6Compare Source
v16.3.5Compare Source
v16.3.4Compare Source
v16.3.3Compare Source
v16.3.2Compare Source
v16.3.1Compare Source
v16.3.0Compare 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
workspacesor--workspaceis run in--interactivemode, ncu will prompt tonpm installonce in the root project rather than separately in each workspace (#1182).--deepwill not trigger workspace support.v16.2.1Compare Source
v16.2.0Compare Source
v16.1.3Compare Source
v16.1.2Compare Source
v16.1.1Compare Source
v16.1.0Compare Source
v16.0.6Compare Source
v16.0.5Compare Source
v16.0.4Compare Source
v16.0.3Compare Source
v16.0.2Compare Source
v16.0.1Compare Source
v16.0.0Compare Source
Breaking
v14.0.0. Add--stdinfor 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.4Compare Source
v15.3.3Compare Source
v15.3.2Compare Source
v15.3.1Compare Source
v15.3.0Compare Source
v15.2.6Compare Source
v15.2.5Compare Source
v15.2.4Compare Source
v15.2.3Compare Source
v15.2.2Compare Source
v15.2.1Compare Source
v15.2.0Compare Source
v15.1.0Compare Source
v15.0.5Compare Source
v15.0.4Compare Source
v15.0.3Compare Source
v15.0.2Compare Source
v15.0.1Compare Source
v15.0.0Compare Source
Breaking
update-notifierwith has a moderate severity vulnerability--packageManageris not given, there is nopackage-lock.jsonin the current folder, and there is ayarn.lockin an ancestor directory, npm-check-updates will now use yarn.--packageManager yarnexplicitly before, you may not have to nowraineorshine/npm-check-updates@v14.1.1...v15.0.0
v14.1.1Compare Source
v14.1.0Compare 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 groupfor a truly luxe experience:A new option
--packageManager staticRegistryallows 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:
{ "prettier": "2.7.0", "typescript": "4.7.0" }The latest versions of
prettierandtypescriptare set in the registry file. Whenncuis 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.jsonv14.0.2Compare Source
v14.0.1Compare Source
v14.0.0Compare 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.1and 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
ncuusage that fetches thelatestversion. With--pre 1or--target newestor--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.5Compare Source
v13.1.4Compare Source
v13.1.3Compare Source
v13.1.2Compare Source
v13.1.1Compare Source
v13.1.0Compare Source
v13.0.4Compare Source
v13.0.3Compare Source
v13.0.2Compare Source
v13.0.1Compare Source
v13.0.0Compare Source
Breaking
--greatest- Instead use--target greatest--newest- Instead use--target newest--ownerChanged- Instead use--format ownerChanged--semverLevel- Renamed to--targetraineorshine/npm-check-updates@v12.5.12...v13.0.0
v12.5.12Compare Source
v12.5.11Compare Source
v12.5.10Compare Source
v12.5.9Compare Source
v12.5.8Compare Source
v12.5.7Compare Source
v12.5.6Compare Source
v12.5.5Compare Source
v12.5.4Compare Source
v12.5.3Compare Source
v12.5.2Compare Source
v12.5.1Compare Source
v12.5.0Compare Source
v12.4.0Compare Source
v12.3.1Compare Source
v12.3.0Compare 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.