@modern-js/plugin-router-v5 2.60.1 → 2.60.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
export declare const DefaultNotFound: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
export declare const DefaultNotFound: () => React.JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import type { RouterConfig } from './plugin';
|
3
|
-
export declare function renderRoutes(routesConfig?: RouterConfig['routesConfig'], extraProps?: any): JSX.Element | null;
|
3
|
+
export declare function renderRoutes(routesConfig?: RouterConfig['routesConfig'], extraProps?: any): React.JSX.Element | null;
|
4
4
|
export declare function getLocation(serverContext: any): string;
|
5
5
|
export declare const urlJoin: (...parts: string[]) => string;
|
6
6
|
export declare function standardSlash(str: string): string;
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.60.
|
18
|
+
"version": "2.60.3",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/types/cli/index.d.ts",
|
21
21
|
"main": "./dist/cjs/cli/index.js",
|
@@ -59,15 +59,15 @@
|
|
59
59
|
"@types/react-router-dom": "^5.1.8",
|
60
60
|
"history": "^4.7.9",
|
61
61
|
"react-router-dom": "^5.3.4",
|
62
|
-
"@modern-js/
|
63
|
-
"@modern-js/types": "2.60.
|
64
|
-
"@modern-js/
|
65
|
-
"@modern-js/utils": "2.60.
|
62
|
+
"@modern-js/plugin": "2.60.3",
|
63
|
+
"@modern-js/types": "2.60.3",
|
64
|
+
"@modern-js/utils": "2.60.3",
|
65
|
+
"@modern-js/runtime-utils": "2.60.3"
|
66
66
|
},
|
67
67
|
"peerDependencies": {
|
68
68
|
"react": ">=17",
|
69
69
|
"react-dom": ">=17",
|
70
|
-
"@modern-js/runtime": "^2.60.
|
70
|
+
"@modern-js/runtime": "^2.60.3"
|
71
71
|
},
|
72
72
|
"devDependencies": {
|
73
73
|
"@testing-library/react": "^13.4.0",
|
@@ -79,11 +79,11 @@
|
|
79
79
|
"react-dom": "^18",
|
80
80
|
"ts-jest": "^29.1.0",
|
81
81
|
"typescript": "^5",
|
82
|
-
"@modern-js/app-tools": "2.60.
|
83
|
-
"@modern-js/
|
84
|
-
"@
|
85
|
-
"@
|
86
|
-
"@scripts/
|
82
|
+
"@modern-js/app-tools": "2.60.3",
|
83
|
+
"@modern-js/runtime": "2.60.3",
|
84
|
+
"@modern-js/core": "2.60.3",
|
85
|
+
"@scripts/build": "2.60.3",
|
86
|
+
"@scripts/jest-config": "2.60.3"
|
87
87
|
},
|
88
88
|
"sideEffects": false,
|
89
89
|
"publishConfig": {
|