goldstein 6.1.2 → 7.0.0
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/ChangeLog +7 -0
- package/README.md +2 -2
- package/package.json +4 -4
package/ChangeLog
CHANGED
package/README.md
CHANGED
|
@@ -280,7 +280,7 @@ const [error, result] = try hello('world');
|
|
|
280
280
|
Is the same as:
|
|
281
281
|
|
|
282
282
|
```js
|
|
283
|
-
import tryCatch from 'try-catch';
|
|
283
|
+
import {tryCatch} from 'try-catch';
|
|
284
284
|
|
|
285
285
|
const [error, result] = tryCatch(hello, 'world');
|
|
286
286
|
```
|
|
@@ -310,7 +310,7 @@ const [error, result] ?= hello('world');
|
|
|
310
310
|
Is the same as:
|
|
311
311
|
|
|
312
312
|
```js
|
|
313
|
-
import tryCatch from 'try-catch';
|
|
313
|
+
import {tryCatch} from 'try-catch';
|
|
314
314
|
|
|
315
315
|
const [error, result] = tryCatch(hello, 'world');
|
|
316
316
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "goldstein",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "JavaScript with no limits",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@putout/plugin-declare": "^6.0.0",
|
|
31
31
|
"@putout/plugin-logical-expressions": "^8.0.0",
|
|
32
|
-
"@putout/plugin-try-catch": "^
|
|
32
|
+
"@putout/plugin-try-catch": "^7.0.0",
|
|
33
33
|
"@putout/printer": "^16.0.0",
|
|
34
34
|
"acorn": "^8.7.1",
|
|
35
35
|
"acorn-typescript": "^1.4.13",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"mock-require": "^3.0.3",
|
|
55
55
|
"montag": "^1.2.1",
|
|
56
56
|
"nodemon": "^3.0.1",
|
|
57
|
-
"redlint": "^
|
|
57
|
+
"redlint": "^5.0.0",
|
|
58
58
|
"runsome": "^1.0.0",
|
|
59
59
|
"supertape": "^11.0.4",
|
|
60
60
|
"typescript": "^5.0.3"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
63
|
-
"node": ">=
|
|
63
|
+
"node": ">=22"
|
|
64
64
|
},
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|