@octanejs/react-error-boundary 0.1.30 → 0.1.32
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 +7 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,6 +4,13 @@ Octane adapter for the public `react-error-boundary@6.1.2` API. It uses
|
|
|
4
4
|
Octane's native `@try`/`@catch` boundary rather than shipping another error
|
|
5
5
|
catching engine.
|
|
6
6
|
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @octanejs/react-error-boundary
|
|
11
|
+
pnpm add @octanejs/react-error-boundary
|
|
12
|
+
```
|
|
13
|
+
|
|
7
14
|
```tsrx
|
|
8
15
|
import { ErrorBoundary } from '@octanejs/react-error-boundary';
|
|
9
16
|
import { getErrorMessage } from '@octanejs/react-error-boundary';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/react-error-boundary",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"octane": "0.1.
|
|
41
|
+
"octane": "0.1.51"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@tsrx/react": "^0.2.61",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"react-dom": "^19.2.7",
|
|
48
48
|
"react-error-boundary": "6.1.2",
|
|
49
49
|
"vitest": "^4.1.10",
|
|
50
|
-
"octane": "0.1.
|
|
50
|
+
"octane": "0.1.51"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"test": "vitest run --root ../.. --project react-error-boundary --project react-error-boundary-ssr"
|