immediate-error 6.4.0 → 6.4.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 +5 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
Note: plesae upgrade to [latest version](https://npmjs.com/immediate-error) unless you neeed to use AssertionError and NativeAssertionError.
|
|
3
|
+
|
|
1
4
|
# `immediate-error`
|
|
2
5
|
|
|
3
6
|
This is a utility to throw an error in FP.
|
|
@@ -43,4 +46,5 @@ immediateError('Error!', MyCustomError) // throws a MyCustomError with the messa
|
|
|
43
46
|
|
|
44
47
|
```
|
|
45
48
|
## License
|
|
46
|
-
Unlicense
|
|
49
|
+
Unlicense
|
|
50
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "immediate-error",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.1",
|
|
4
4
|
"description": "throw errors in fp",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@positive-numbers/zero": "^3.0.0",
|
|
62
62
|
"assert-fn": "^1.0.1",
|
|
63
63
|
"attempt-statement": "^1.2.0",
|
|
64
|
-
"construct-new": "
|
|
64
|
+
"construct-new": "2.0.3",
|
|
65
65
|
"es-errors": "^1.3.0",
|
|
66
66
|
"es-object-atoms": "^1.1.1",
|
|
67
67
|
"get-intrinsic": "^1.3.1",
|
|
@@ -70,6 +70,6 @@
|
|
|
70
70
|
"yanoop": "^1.0.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"jest": "
|
|
73
|
+
"jest": "latest"
|
|
74
74
|
}
|
|
75
75
|
}
|