@haskou/value-objects 7.0.1 → 7.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/README.md +0 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,8 +10,6 @@ A TypeScript library for validated, immutable primitive wrappers and small utili
|
|
|
10
10
|
|
|
11
11
|
It provides ready-to-use objects for strings, numbers, identifiers, dates, coordinates, hashes, media, and collections. Validation happens when an object is created, so code receiving one of these objects can rely on its shape.
|
|
12
12
|
|
|
13
|
-
Cryptographic operations are intentionally outside this package. Pigeon Swarm-specific cryptography lives in `@haskou/pigeon-swarm-crypto`; dependency direction is one-way, with the crypto package allowed to consume generic value-object representations and never the reverse.
|
|
14
|
-
|
|
15
13
|
The package publishes ESM and CommonJS entry points plus TypeScript declarations. Both entry points share one runtime implementation, so class identity and NullObject configuration stay consistent when imports and requires are mixed. It does not declare a Node.js engine requirement. Identifier generation uses the installed `uuid` dependency with platform-specific Node and browser implementations.
|
|
16
14
|
|
|
17
15
|
## Documentation
|
|
@@ -20,8 +18,6 @@ Full documentation is available at **https://haskou.github.io/value-objects/**.
|
|
|
20
18
|
|
|
21
19
|
The documentation includes installation, quick start, examples, error handling, serialization notes, and one reference page per exported class.
|
|
22
20
|
|
|
23
|
-
Reusable agent instructions and engineering skills are available at **https://github.com/haskou/ddd-engineer-skills**.
|
|
24
|
-
|
|
25
21
|
## Installation
|
|
26
22
|
|
|
27
23
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haskou/value-objects",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "TypeScript value objects for validated, immutable primitive values and small domain-safe data structures.",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
"@arethetypeswrong/core": "^0.18.5",
|
|
72
72
|
"@haskou/eslint-config": "^0.2.2",
|
|
73
73
|
"@types/jest": "^30.0.0",
|
|
74
|
-
"@types/node": "^26.
|
|
74
|
+
"@types/node": "^26.6.1",
|
|
75
75
|
"eslint": "^10.10.0",
|
|
76
76
|
"jest": "^30.5.1",
|
|
77
77
|
"jest-extended": "^7.0.0",
|
|
78
|
-
"prettier": "^3.9.
|
|
78
|
+
"prettier": "^3.9.7",
|
|
79
79
|
"publint": "^0.3.24",
|
|
80
80
|
"ts-jest": "^29.4.12",
|
|
81
81
|
"tsdown": "^0.23.0",
|