Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency npm-check-updates to v16 - autoclosed #44

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 18, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
npm-check-updates 12.5.11 -> 16.14.20 age adoption passing confidence

Release Notes

raineorshine/npm-check-updates (npm-check-updates)

v16.14.20

Compare Source

v16.14.19

Compare Source

v16.14.18

Compare Source

v16.14.17

Compare Source

v16.14.16

Compare Source

v16.14.15

Compare Source

v16.14.14

Compare Source

v16.14.13

Compare Source

v16.14.12

Compare Source

v16.14.11

Compare Source

v16.14.10

Compare Source

v16.14.9

Compare Source

v16.14.8

Compare Source

v16.14.7

Compare Source

v16.14.6

Compare Source

v16.14.5

Compare Source

v16.14.4

Compare Source

v16.14.3

Compare Source

v16.14.2

Compare Source

v16.14.1

Compare Source

v16.14.0

Compare Source

bun

Feature

  • Added experimental support for bun package manager.
  • Automatically used if bun.lockb is detected.
  • Assistance needed to test it out on different platforms.
$ ncu --packageManager bun
$ ncu -p bun

Thanks to @​ImBIOS for the PR!

v16.13.4

Compare Source

v16.13.3

Compare Source

v16.13.2

Compare Source

v16.13.1

Compare Source

v16.13.0

Compare Source

Feature

  • Added --install option to control auto-install behavior.

Usage:

ncu --install [value]

Default: prompt

Control the auto-install behavior.

alwaysRuns your package manager's install command automatically after upgrading.
neverDoes not install and does not prompt.
promptShows a message after upgrading that recommends an install, but does not install. In interactive mode, prompts for install. (default)

v16.12.3

Compare Source

v16.12.2

Compare Source

v16.12.1

Compare Source

v16.12.0

Compare Source

v16.11.2

Compare Source

v16.11.1

Compare Source

v16.11.0

Compare Source

v16.10.19

Compare Source

v16.10.18

Compare Source

v16.10.17

Compare Source

v16.10.16

Compare Source

v16.10.15

Compare Source

v16.10.14

Compare Source

v16.10.13

Compare Source

v16.10.12

Compare Source

v16.10.11

Compare Source

v16.10.10

Compare Source

v16.10.9

Compare Source

v16.10.8

Compare Source

v16.10.7

Compare Source

v16.10.6

Compare Source

v16.10.5

Compare Source

v16.10.4

Compare Source

v16.10.3

Compare Source

v16.10.2

Compare Source

v16.10.1

Compare Source

v16.10.0

Compare Source

Feature

  • Added filterResults option to filter out upgrades based on a user provided function.

filterResults runs after new versions are fetched, in contrast to filter and filterVersion, which run before. This allows you to filter out upgrades with filterResults 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.

/** Filter out non-major version updates.
  @​param {string} packageName               The name of the dependency.
  @​param {string} currentVersion            Current version declaration (may be range).
  @​param {SemVer[]} currentVersionSemver    Current version declaration in semantic versioning format (may be range).
  @​param {string} upgradedVersion           Upgraded version.
  @​param {SemVer} upgradedVersionSemver     Upgraded version in semantic versioning format.
  @​returns {boolean}                        Return true if the upgrade should be kept, otherwise it will be ignored.
*/
filterResults: (packageName, {currentVersion, currentVersionSemver, upgradedVersion, upgradedVersionSemver}) => {
  const currentMajorVersion = currentVersionSemver?.[0]?.major
  const upgradedMajorVersion = upgradedVersionSemver?.major
  if (currentMajorVersion && upgradedMajorVersion) {
    return currentMajorVersion < upgradedMajorVersion
  }
  return true
}

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
@&#8203;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:

npm install -g $(ncu -g --format lines)

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

  • Added workspace support! 🚢

Upgrade all workspaces:

ncu --workspaces
ncu -ws

Upgrade a single workspace:

ncu --workspace a
ncu -w a

Upgrade more than one workspace:

ncu --workspace a --workspace b
ncu -w a -w b

Upgrade all workspaces AND the root project:

ncu --workspaces --root

Upgrade a single workspace AND the root project:

ncu --workspace a --root

Notes

  • If workspaces or --workspace is run in --interactive mode, ncu will prompt to npm install once in the root project rather than separately in each workspace (#​1182).
  • Running --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
  • Automatic detection of package data on stdin has been removed. This feature was deprecated in v14.0.0. Add --stdin for old behavior.
  • Wild card filters now apply to scoped packages. Previously, 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
  • node >= 14.14 is now required (#​1145)
    • Needed to upgrade update-notifier with has a moderate severity vulnerability
  • yarn autodetect has been improved (#​1148)
    • This is a patch, though technically it is breaking. In the obscure case where --packageManager is not given, there is no package-lock.json in the current folder, and there is a yarn.lock in an ancestor directory, npm-check-updates will now use yarn.
    • More practically, if you needed to specify --packageManager yarn explicitly before, you may not have to now

raineorshine/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:

image
Interactive Mode

Interactive mode was completely rewritten for a better user experience.

Inspired by npm-check.

image

Combine with --format group for a truly luxe experience:

image
Static Registry

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:

$ ncu --packageManager staticRegistry --registry ./my-registry.json

my-registry.json:

{
  "prettier": "2.7.0",
  "typescript": "4.7.0"
}

The latest versions of prettier and typescript are set in the registry file. When ncu 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 is 1.2.3-dev.2, ncu will suggest an "upgrade" to 1.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 the latest 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 @&#8203;[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
  • You can now upgrade to a specific tag, e.g. --target @&#8203;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
  • node >= 14 is now required
  • Several options which have long been deprecated have been removed:
    • --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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch 3 times, most recently from 423bd38 to 123363a Compare March 30, 2023 01:24
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from 123363a to bd20bfe Compare April 3, 2023 10:11
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from bd20bfe to a506227 Compare April 17, 2023 13:24
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from a506227 to d804d93 Compare May 28, 2023 09:48
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from d804d93 to 4b7c2f0 Compare June 24, 2023 01:15
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from 4b7c2f0 to e2694ea Compare July 7, 2023 03:46
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from e2694ea to a87a47a Compare July 16, 2023 23:13
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from a87a47a to 2d5f48b Compare July 25, 2023 19:46
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch 3 times, most recently from ec9b5c7 to 91ffb35 Compare August 12, 2023 22:29
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch 5 times, most recently from 51e225e to aef9e31 Compare August 23, 2023 16:10
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from aef9e31 to 96c4096 Compare August 28, 2023 17:15
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch 5 times, most recently from e0eb03e to 8ba8cee Compare September 13, 2023 16:27
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch 2 times, most recently from 4f5b107 to b5e4dce Compare September 17, 2023 17:07
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from b5e4dce to 18bb50c Compare October 5, 2023 00:01
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from 18bb50c to d234cbc Compare October 12, 2023 14:18
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch 2 times, most recently from 83babee to a2e46cb Compare November 19, 2023 21:31
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from a2e46cb to 8cabf19 Compare November 20, 2023 00:52
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from 8cabf19 to 46e288e Compare December 13, 2023 18:11
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch 2 times, most recently from bf55743 to 7edbc89 Compare January 26, 2024 20:19
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from 7edbc89 to 93b2cef Compare February 10, 2024 15:43
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch 2 times, most recently from 853e577 to 98c268e Compare March 15, 2024 23:12
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from 98c268e to a2b80ce Compare March 25, 2024 16:38
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from a2b80ce to 7051aaf Compare April 25, 2024 15:16
@renovate renovate bot force-pushed the renovate/npm-check-updates-16.x branch from 7051aaf to 9eb53c3 Compare April 25, 2024 19:14
@renovate renovate bot changed the title Update dependency npm-check-updates to v16 Update dependency npm-check-updates to v16 - autoclosed Jul 31, 2024
@renovate renovate bot closed this Jul 31, 2024
@renovate renovate bot deleted the renovate/npm-check-updates-16.x branch July 31, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants