@twin.org/core 0.0.2-next.6 → 0.0.2-next.7
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/dist/cjs/index.cjs
CHANGED
|
@@ -3562,6 +3562,7 @@ class Coerce {
|
|
|
3562
3562
|
* @returns The coerced value.
|
|
3563
3563
|
*/
|
|
3564
3564
|
static byType(value, type) {
|
|
3565
|
+
// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
|
|
3565
3566
|
switch (type) {
|
|
3566
3567
|
case CoerceType.String:
|
|
3567
3568
|
return Coerce.string(value);
|
package/dist/esm/index.mjs
CHANGED
|
@@ -3560,6 +3560,7 @@ class Coerce {
|
|
|
3560
3560
|
* @returns The coerced value.
|
|
3561
3561
|
*/
|
|
3562
3562
|
static byType(value, type) {
|
|
3563
|
+
// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
|
|
3563
3564
|
switch (type) {
|
|
3564
3565
|
case CoerceType.String:
|
|
3565
3566
|
return Coerce.string(value);
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @twin.org/core - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.7](https://github.com/twinfoundation/framework/compare/core-v0.0.2-next.6...core-v0.0.2-next.7) (2025-08-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/nameof bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
16
|
+
* devDependencies
|
|
17
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
18
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
19
|
+
|
|
3
20
|
## [0.0.2-next.6](https://github.com/twinfoundation/framework/compare/core-v0.0.2-next.5...core-v0.0.2-next.6) (2025-08-27)
|
|
4
21
|
|
|
5
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/core",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.7",
|
|
4
4
|
"description": "Helper methods/classes for data type checking/validation/guarding/error handling",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/nameof": "0.0.2-next.
|
|
17
|
+
"@twin.org/nameof": "0.0.2-next.7",
|
|
18
18
|
"intl-messageformat": "10.7.16",
|
|
19
19
|
"rfc6902": "5.1.2"
|
|
20
20
|
},
|