survey-node
survey-node copied to clipboard
Bump npm-check-updates from 3.1.21 to 16.10.16
Bumps npm-check-updates from 3.1.21 to 16.10.16.
Release notes
Sourced from npm-check-updates's releases.
v16.10.0
Feature
- Added
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.
/** 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.8.0
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:
npm install -g $(ncu -g --format lines) </tr></table>
... (truncated)
Changelog
Sourced from npm-check-updates's changelog.
Changelog
This file documents all major version releases. For other releases, please read the commit history.
[16.0.0] - 2022-07-23
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.https://github.com/raineorshine/npm-check-updates/compare/v15.3.4...v16.0.0
[15.0.0] - 2022-06-30
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 nopackage-lock.json
in the current folder, and there is ayarn.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 nowhttps://github.com/raineorshine/npm-check-updates/compare/v14.1.1...v15.0.0
[14.0.0] - 2022-06-16
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
- You can now upgrade to a specific tag, e.g.
--target @next
. Thanks to IMalyugin.https://github.com/raineorshine/npm-check-updates/compare/v13.1.5...v14.0.0
[13.0.0] - 2022-05-15
Breaking
- node >= 14 is now required
- Several options which have long been deprecated have been removed:
--greatest
- Instead use--target greatest
... (truncated)
Commits
89f275a
16.10.1653d99da
Fix doctor mode with pnpm (#1308).c467e24
16.10.15a56601c
Bump minor and patch dependencies.eec0739
16.10.1442f4d9b
Parse deprecated timeout option from npm config as a number (#1303).d546eba
16.10.13aba3513
lint9fa783d
Fix namespaced workspace matching. Fixes #1304.5e46ec0
getAllPackages: Minor refactor.- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)