npm-check-updates 22.2.1 → 22.2.3
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 +10 -0
- package/build/chunks/chunk-D-V8JGID.js +29 -0
- package/build/chunks/chunk-jrEOD7hJ.cjs +1 -0
- package/build/cli.cjs +32 -32
- package/build/cli.cjs.map +1 -1
- package/build/cli.js +18 -17
- package/build/cli.js.map +1 -1
- package/build/index.cjs +448 -442
- package/build/index.cjs.map +1 -1
- package/build/index.js +21673 -21129
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -506,6 +506,16 @@ 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
|
+
### Package Manager Configurations
|
|
510
|
+
|
|
511
|
+
If `--cooldown` is not set explicitly, `ncu` automatically reads the cooldown configuration from your package manager's config file:
|
|
512
|
+
|
|
513
|
+
<table>
|
|
514
|
+
<tr><td>npm</td><td>Reads `min-release-age` from `.npmrc`.</td></tr>
|
|
515
|
+
<tr><td>yarn</td><td>Reads `npmMinimalAgeGate` from `.yarnrc.yml`, excluding packages matched by `npmPreapprovedPackages`.</td></tr>
|
|
516
|
+
<tr><td>pnpm</td><td>Reads `minimumReleaseAge` from `pnpm-workspace.yaml`, excluding packages matched by `minimumReleaseAgeExclude`.</td></tr>
|
|
517
|
+
</table>
|
|
518
|
+
|
|
509
519
|
### Cooldown Formatting
|
|
510
520
|
|
|
511
521
|
When using `--format cooldown` alongside the `--cooldown` option, `ncu` will show a list of packages that were skipped due to the `--cooldown` threshold.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createRequire as c } from "node:module";
|
|
2
|
+
var i = Object.create, _ = Object.defineProperty, O = Object.getOwnPropertyDescriptor, b = Object.getOwnPropertyNames, P = Object.getPrototypeOf, u = Object.prototype.hasOwnProperty, f = (e, r) => () => (e && (r = e(e = 0)), r), j = (e, r) => () => (r || (e((r = { exports: {} }).exports, r), e = null), r.exports), x = (e, r) => {
|
|
3
|
+
let t = {};
|
|
4
|
+
for (var o in e)
|
|
5
|
+
_(t, o, {
|
|
6
|
+
get: e[o],
|
|
7
|
+
enumerable: !0
|
|
8
|
+
});
|
|
9
|
+
return r || _(t, Symbol.toStringTag, { value: "Module" }), t;
|
|
10
|
+
}, n = (e, r, t, o) => {
|
|
11
|
+
if (r && typeof r == "object" || typeof r == "function")
|
|
12
|
+
for (var p = b(r), l = 0, s = p.length, a; l < s; l++)
|
|
13
|
+
a = p[l], !u.call(e, a) && a !== t && _(e, a, {
|
|
14
|
+
get: ((v) => r[v]).bind(null, a),
|
|
15
|
+
enumerable: !(o = O(r, a)) || o.enumerable
|
|
16
|
+
});
|
|
17
|
+
return e;
|
|
18
|
+
}, w = (e, r, t) => (t = e != null ? i(P(e)) : {}, n(r || !e || !e.__esModule ? _(t, "default", {
|
|
19
|
+
value: e,
|
|
20
|
+
enumerable: !0
|
|
21
|
+
}) : t, e)), M = (e) => u.call(e, "module.exports") ? e["module.exports"] : n(_({}, "__esModule", { value: !0 }), e), S = /* @__PURE__ */ c(import.meta.url);
|
|
22
|
+
export {
|
|
23
|
+
M as a,
|
|
24
|
+
S as i,
|
|
25
|
+
f as n,
|
|
26
|
+
w as o,
|
|
27
|
+
x as r,
|
|
28
|
+
j as t
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var i=Object.create,u=Object.defineProperty,O=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,f=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,P=(e,r)=>()=>(e&&(r=e(e=0)),r),g=(e,r)=>()=>(r||(e((r={exports:{}}).exports,r),e=null),r.exports),s=(e,r)=>{let t={};for(var o in e)u(t,o,{get:e[o],enumerable:!0});return r||u(t,Symbol.toStringTag,{value:"Module"}),t},p=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(var a=v(r),_=0,c=a.length,n;_<c;_++)n=a[_],!l.call(e,n)&&n!==t&&u(e,n,{get:(b=>r[b]).bind(null,n),enumerable:!(o=O(r,n))||o.enumerable});return e},j=(e,r,t)=>(t=e!=null?i(f(e)):{},p(r||!e||!e.__esModule?u(t,"default",{value:e,enumerable:!0}):t,e)),y=e=>l.call(e,"module.exports")?e["module.exports"]:p(u({},"__esModule",{value:!0}),e);Object.defineProperty(exports,"__commonJSMin",{enumerable:!0,get:function(){return g}});Object.defineProperty(exports,"__esmMin",{enumerable:!0,get:function(){return P}});Object.defineProperty(exports,"__exportAll",{enumerable:!0,get:function(){return s}});Object.defineProperty(exports,"__toCommonJS",{enumerable:!0,get:function(){return y}});Object.defineProperty(exports,"__toESM",{enumerable:!0,get:function(){return j}});
|