@haskou/value-objects 2.12.0 → 2.13.1
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 +8 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
# @haskou/value-objects
|
|
2
|
+
|
|
1
3
|
[](https://github.com/haskou/value-objects/actions/workflows/ci.yml?query=branch%3Amaster)
|
|
2
4
|
[](https://codecov.io/gh/haskou/value-objects)
|
|
3
5
|
[](https://www.npmjs.com/package/@haskou/value-objects)
|
|
6
|
+
[](https://docs.renovatebot.com/)
|
|
4
7
|
[](LICENSE.txt)
|
|
5
8
|
|
|
9
|
+
A TypeScript library for validated, immutable primitive wrappers and small utility value objects.
|
|
10
|
+
|
|
11
|
+
It provides ready-to-use objects for strings, numbers, identifiers, dates, coordinates, hashes, media, collections, and cryptographic payload helpers. Validation happens when an object is created, so code receiving one of these objects can rely on its shape.
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## Documentation
|
|
7
15
|
|
|
8
16
|
Full documentation is available at **https://haskou.github.io/value-objects/**.
|
|
@@ -11,11 +19,6 @@ The documentation includes installation, quick start, examples, error handling,
|
|
|
11
19
|
|
|
12
20
|
Reusable agent instructions and engineering skills are available at **https://github.com/haskou/ddd-engineer-skills**.
|
|
13
21
|
|
|
14
|
-
# Value Objects
|
|
15
|
-
|
|
16
|
-
A TypeScript library for validated, immutable primitive wrappers and small utility value objects.
|
|
17
|
-
|
|
18
|
-
It provides ready-to-use objects for strings, numbers, identifiers, dates, coordinates, hashes, media, collections, and cryptographic payload helpers. Validation happens when an object is created, so code receiving one of these objects can rely on its shape.
|
|
19
22
|
|
|
20
23
|
## Installation
|
|
21
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haskou/value-objects",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.1",
|
|
4
4
|
"description": "TypeScript value objects for validated, immutable primitive values and small domain-safe data structures.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"tslib": "^2.8.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@haskou/eslint-config": "^0.1.
|
|
75
|
+
"@haskou/eslint-config": "^0.1.2",
|
|
76
76
|
"@types/jest": "^30.0.0",
|
|
77
|
-
"@types/node": "^
|
|
77
|
+
"@types/node": "^26.0.1",
|
|
78
78
|
"eslint": "^10.5.0",
|
|
79
79
|
"jest": "^30.4.2",
|
|
80
80
|
"jest-extended": "^7.0.0",
|
|
@@ -82,6 +82,6 @@
|
|
|
82
82
|
"ts-jest": "^29.4.11",
|
|
83
83
|
"typescript": "^6.0.3",
|
|
84
84
|
"vitepress": "^1.6.4",
|
|
85
|
-
"vue": "^3.5.
|
|
85
|
+
"vue": "^3.5.39"
|
|
86
86
|
}
|
|
87
87
|
}
|