preconditions 4.0.2 → 4.0.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/CHANGELOG.md +8 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [4.0.3] - 2026-05-15
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **`engines.node`** set to **`>=20.0.0`** (broader support while staying aligned with **errr** 5.x).
|
|
13
|
+
|
|
8
14
|
## [4.0.2] - 2026-05-15
|
|
9
15
|
|
|
10
16
|
### Changed
|
|
@@ -47,10 +53,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
47
53
|
|
|
48
54
|
### Breaking
|
|
49
55
|
|
|
50
|
-
- **Node
|
|
56
|
+
- **4.0.0** initially required **Node 24+** in `package.json` **`engines`**; **4.0.3** widens support to **Node 20+** (`>=20.0.0`).
|
|
51
57
|
- **`errr` 5.x** is required as a runtime dependency; upgrade errr in consuming apps if they pin it tightly.
|
|
52
58
|
- **`core-util-is`** is no longer a transitive dependency.
|
|
53
59
|
|
|
60
|
+
[4.0.3]: https://github.com/corybill/preconditions/compare/v4.0.2...v4.0.3
|
|
54
61
|
[4.0.2]: https://github.com/corybill/preconditions/compare/v4.0.1...v4.0.2
|
|
55
62
|
[4.0.1]: https://github.com/corybill/preconditions/compare/v4.0.0...v4.0.1
|
|
56
63
|
[4.0.0]: https://github.com/corybill/preconditions/compare/v3.0.2...v4.0.0
|
package/package.json
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"default": "./lib/preconditions.js"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
-
"version": "4.0.
|
|
13
|
+
"version": "4.0.3",
|
|
14
14
|
"description": "Support for Precondition error checking in Node.js.",
|
|
15
15
|
"homepage": "https://github.com/corybill/preconditions",
|
|
16
16
|
"bugs": {
|
|
17
17
|
"url": "https://github.com/corybill/preconditions/issues"
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
|
-
"node": ">=
|
|
20
|
+
"node": ">=20.0.0"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"test": "npm run ut && npm run lint",
|