@modern-js/plugin-router-v5 0.0.0-nightly-20240928170637 → 0.0.0-nightly-20240930170705

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.
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
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
- /// <reference types="react" />
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": "0.0.0-nightly-20240928170637",
18
+ "version": "0.0.0-nightly-20240930170705",
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/runtime-utils": "0.0.0-nightly-20240928170637",
63
- "@modern-js/types": "0.0.0-nightly-20240928170637",
64
- "@modern-js/utils": "0.0.0-nightly-20240928170637",
65
- "@modern-js/plugin": "0.0.0-nightly-20240928170637"
62
+ "@modern-js/plugin": "0.0.0-nightly-20240930170705",
63
+ "@modern-js/types": "0.0.0-nightly-20240930170705",
64
+ "@modern-js/utils": "0.0.0-nightly-20240930170705",
65
+ "@modern-js/runtime-utils": "0.0.0-nightly-20240930170705"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": ">=17",
69
69
  "react-dom": ">=17",
70
- "@modern-js/runtime": "0.0.0-nightly-20240928170637"
70
+ "@modern-js/runtime": "0.0.0-nightly-20240930170705"
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": "0.0.0-nightly-20240928170637",
83
- "@modern-js/core": "0.0.0-nightly-20240928170637",
84
- "@modern-js/runtime": "0.0.0-nightly-20240928170637",
85
- "@scripts/build": "0.0.0-nightly-20240928170637",
86
- "@scripts/jest-config": "0.0.0-nightly-20240928170637"
82
+ "@modern-js/app-tools": "0.0.0-nightly-20240930170705",
83
+ "@modern-js/core": "0.0.0-nightly-20240930170705",
84
+ "@scripts/build": "0.0.0-nightly-20240930170705",
85
+ "@modern-js/runtime": "0.0.0-nightly-20240930170705",
86
+ "@scripts/jest-config": "0.0.0-nightly-20240930170705"
87
87
  },
88
88
  "sideEffects": false,
89
89
  "publishConfig": {