updates 16.4.0 → 16.4.2

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 CHANGED
@@ -45,21 +45,21 @@ The module uses global `fetch` under the hood. In Node.js HTTP proxies from envi
45
45
 
46
46
  ## Config File
47
47
 
48
- The config file is used to configure certain options of the module. It be placed as `updates.config.{js,ts,mjs,mts}` or `config/updates.config.{js,ts,mjs,mts}`, relative to `package.json`. For typescript to work in Node 22.6.0 and above, set `NODE_OPTIONS="--experimental-strip-types"` in your environment.
48
+ The config file is used to configure certain options of the module. It be placed as `updates.config.{js,ts,mjs,mts}` or `config/updates.config.{js,ts,mjs,mts}`, relative to `package.json` / `pyproject.toml` / `go.mod`.
49
49
 
50
- ```ts
51
- import type {Config} from "updates";
50
+ For typescript to work in Node 22.6.0 and above, set `NODE_OPTIONS="--experimental-strip-types"` in your environment.
52
51
 
52
+ ```ts
53
53
  export default {
54
54
  exclude: [
55
55
  "semver",
56
56
  "@vitejs/*",
57
57
  /^react(-dom)?$/,
58
58
  ],
59
- } satisfies Config;
59
+ };
60
60
  ```
61
61
 
62
- ### Config File Options
62
+ ### Config Options
63
63
 
64
64
  - `include` *Array[String|Regexp]*: Array of dependencies to include
65
65
  - `exclude` *Array[String|Regexp]*: Array of dependencies to exclude
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env -S node --experimental-strip-types
1
+ #!/usr/bin/env -S node --experimental-strip-types --no-warnings
2
2
  export type Config = {
3
3
  include?: Array<string | RegExp>;
4
4
  exclude?: Array<string | RegExp>;