You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above example filters out non-major version updates.
354
+
For the SemVer type definition, see: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring
359
355
360
356
## format
361
357
@@ -375,11 +371,9 @@ Modify the output formatting or show additional information. Specify one or more
375
371
376
372
## groupFunction
377
373
378
-
Usage:
379
-
380
-
ncu --groupFunction [fn]
374
+
Customize how packages are divided into groups when using `--format group`.
381
375
382
-
Customize how packages are divided into groups when using `--format group`. Only available in .ncurc.js or when importing npm-check-updates as a module:
376
+
Only available in .ncurc.js or when importing npm-check-updates as a module.
383
377
384
378
```js
385
379
/**
@@ -504,7 +498,7 @@ Determines the version to upgrade to. (default: "latest")
504
498
You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module:
505
499
506
500
```js
507
-
/**Custom target.
501
+
/**Upgrade major version zero to the next minor version, and everything else to latest.
508
502
@paramdependencyName The name of the dependency.
509
503
@paramparsedVersion A parsed Semver object from semver-utils.
510
504
(See https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
return`Customize how packages are divided into groups when using \`--format group\`. Only available in .ncurc.js or when importing npm-check-updates as a module:
180
+
return`Customize how packages are divided into groups when using \`--format group\`.
181
+
182
+
Only available in .ncurc.js or when importing npm-check-updates as a module.
0 commit comments