npm-check-updates 22.1.1 → 22.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -1
- package/build/cli.cjs +44 -44
- package/build/cli.cjs.map +1 -1
- package/build/cli.js +1038 -1028
- package/build/cli.js.map +1 -1
- package/build/index.cjs +397 -381
- package/build/index.cjs.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.js +10917 -10730
- package/build/index.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -275,7 +275,7 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
|
|
|
275
275
|
</tr>
|
|
276
276
|
<tr>
|
|
277
277
|
<td><a href="#format">--format <value></a></td>
|
|
278
|
-
<td>Modify the output formatting or show additional information. Specify one or more comma-delimited values: dep, group, ownerChanged, repo, time, lines, installedVersion. (default: [])</td>
|
|
278
|
+
<td>Modify the output formatting or show additional information. Specify one or more comma-delimited values: dep, group, ownerChanged, repo, time, lines, installedVersion, cooldown. (default: [])</td>
|
|
279
279
|
</tr>
|
|
280
280
|
<tr>
|
|
281
281
|
<td>-g, --global</td>
|
|
@@ -506,6 +506,22 @@ You can also provide a custom function in your .ncurc.js file or when importing
|
|
|
506
506
|
cooldown: packageName => (packageName.startsWith('@my-company') ? 0 : 3)
|
|
507
507
|
```
|
|
508
508
|
|
|
509
|
+
### Cooldown Formatting
|
|
510
|
+
|
|
511
|
+
When using `--format cooldown` alongside the `--cooldown` option, `ncu` will show a list of packages that were skipped due to the `--cooldown` threshold.
|
|
512
|
+
|
|
513
|
+
Example:
|
|
514
|
+
|
|
515
|
+
```js
|
|
516
|
+
ncu --format cooldown --cooldown 7
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
Output:
|
|
520
|
+
|
|
521
|
+
Skipped due to 7-day cooldown
|
|
522
|
+
@typescript-eslint/parser ^8.50.0 → ^8.59.1 5 days ago
|
|
523
|
+
eslint ^10.0.1 → ^10.3.0 1 day ago
|
|
524
|
+
|
|
509
525
|
## doctor
|
|
510
526
|
|
|
511
527
|
Usage:
|
|
@@ -670,6 +686,7 @@ Modify the output formatting or show additional information. Specify one or more
|
|
|
670
686
|
<tr><td>repo</td><td>Infers and displays links to the package's source code repository. Requires packages to be installed.</td></tr>
|
|
671
687
|
<tr><td>diff</td><td>Display link to compare the changes between package versions.</td></tr>
|
|
672
688
|
<tr><td>time</td><td>Shows the publish time of each upgrade.</td></tr>
|
|
689
|
+
<tr><td>cooldown</td><td>Shows a list of packages that were skipped due to the --cooldown threshold.</td></tr>
|
|
673
690
|
</table>
|
|
674
691
|
|
|
675
692
|
## groupFunction
|