@bleedingdev/modern-js-types 3.9.0-ultramodern.1 → 3.9.0-ultramodern.11
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/cli/index.d.ts +1 -5
- package/common/index.d.ts +9 -0
- package/package.json +6 -5
package/cli/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Config as JestConfigTypes } from '@jest/types';
|
|
2
|
+
import type * as React from 'react';
|
|
2
3
|
|
|
3
4
|
export type JestConfig = JestConfigTypes.InitialOptions;
|
|
4
5
|
|
|
@@ -64,11 +65,6 @@ export interface Route {
|
|
|
64
65
|
loader?: any;
|
|
65
66
|
loaderDeps?: any;
|
|
66
67
|
action?: any;
|
|
67
|
-
/**
|
|
68
|
-
* @deprecated React Router v8 no longer accepts `hasErrorBoundary` on route
|
|
69
|
-
* objects. Provide `error`/`errorElement` instead and let the router infer
|
|
70
|
-
* the boundary.
|
|
71
|
-
*/
|
|
72
68
|
hasErrorBoundary?: boolean;
|
|
73
69
|
shouldRevalidate?: any;
|
|
74
70
|
validateSearch?: any;
|
package/common/index.d.ts
CHANGED
|
@@ -11,3 +11,12 @@ export type ServerPlugin = {
|
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export type SSRMode = 'string' | 'stream' | false;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Request-scoped diagnostics callbacks. They are declared here, not in a
|
|
17
|
+
* server or solution package, so the runtime can type its own SSR context
|
|
18
|
+
* without depending on either.
|
|
19
|
+
*/
|
|
20
|
+
export type OnError = (err: unknown, key?: string) => void;
|
|
21
|
+
|
|
22
|
+
export type OnTiming = (name: string, dur: number) => void;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"modern",
|
|
18
18
|
"modern.js"
|
|
19
19
|
],
|
|
20
|
-
"version": "3.9.0-ultramodern.
|
|
20
|
+
"version": "3.9.0-ultramodern.11",
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
@@ -47,13 +47,14 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@jest/types": "^30.
|
|
50
|
+
"@jest/types": "^30.5.1",
|
|
51
|
+
"@types/react": "^19.2.18",
|
|
52
|
+
"type-fest": "5.9.0"
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
55
|
"@types/babel__core": "^7.20.5",
|
|
54
|
-
"@types/node": "^26.
|
|
55
|
-
"http-proxy-middleware": "^4.2.0"
|
|
56
|
-
"type-fest": "5.8.0"
|
|
56
|
+
"@types/node": "^26.4.1",
|
|
57
|
+
"http-proxy-middleware": "^4.2.0"
|
|
57
58
|
},
|
|
58
59
|
"sideEffects": false,
|
|
59
60
|
"publishConfig": {
|