@noldova/context.exceptions 0.0.3 → 0.0.4
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 +1 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ function readName(values: Map<string, string>): string {
|
|
|
27
27
|
return name; // Narrowed to string by the guard.
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
readName(new Map([["name", "Fixture"]])); // "Fixture"
|
|
30
31
|
new ArgumentNullException("input").message; // "Value cannot be null or undefined. (Parameter 'input')"
|
|
31
32
|
new InputException("Cannot read input.", new ExceptionOptions(new Error("Bad encoding."))).name; // "InputException"
|
|
32
33
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noldova/context.exceptions",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "api/index.js",
|
|
6
6
|
"types": "api/index.d.ts",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"registry": "https://registry.npmjs.org/"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@noldova/context.core": "0.0.
|
|
23
|
-
}
|
|
22
|
+
"@noldova/context.core": "0.0.4"
|
|
23
|
+
},
|
|
24
|
+
"gitHead": "15e2532ec1c46998b0403aeb8c009bd903b15362"
|
|
24
25
|
}
|