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 +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3320 -3125
- package/package.json +15 -17
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
|
|
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
|
-
|
|
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
|
-
}
|
|
59
|
+
};
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
### Config
|
|
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