@bleedingdev/modern-js-types 3.9.0-ultramodern.2 → 3.9.0-ultramodern.21

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 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
@@ -8,6 +8,17 @@ export type ServerPlugin = {
8
8
  name: string;
9
9
 
10
10
  options?: Record<string, any>;
11
+ /** Module specifiers loaded dynamically by this plugin in a Node deployment. */
12
+ includeEntries?: string[];
11
13
  };
12
14
 
13
15
  export type SSRMode = 'string' | 'stream' | false;
16
+
17
+ /**
18
+ * Request-scoped diagnostics callbacks. They are declared here, not in a
19
+ * server or solution package, so the runtime can type its own SSR context
20
+ * without depending on either.
21
+ */
22
+ export type OnError = (err: unknown, key?: string) => void;
23
+
24
+ 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.2",
20
+ "version": "3.9.0-ultramodern.21",
21
21
  "types": "./index.d.ts",
22
22
  "exports": {
23
23
  ".": {
@@ -47,20 +47,21 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@jest/types": "^30.5.1"
50
+ "@jest/types": "^30.5.1",
51
+ "@types/react": "^19.3.0",
52
+ "type-fest": "5.10.0"
51
53
  },
52
54
  "devDependencies": {
53
55
  "@types/babel__core": "^7.20.5",
54
- "@types/node": "^26.4.1",
55
- "http-proxy-middleware": "^4.2.0",
56
- "type-fest": "5.9.0"
56
+ "@types/node": "^26.6.2",
57
+ "http-proxy-middleware": "^4.2.0"
57
58
  },
58
59
  "sideEffects": false,
59
60
  "publishConfig": {
60
61
  "access": "public"
61
62
  },
62
63
  "scripts": {
63
- "test": "rstest --passWithNoTests"
64
+ "test": "rstest"
64
65
  },
65
66
  "main": ""
66
67
  }