@wordpress/route 0.2.1-next.8fd3f8831.0 → 0.3.1-next.06ee73755.0
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/LICENSE.md +1 -1
- package/build-module/{index.js → index.mjs} +2 -2
- package/build-module/{lock-unlock.js → lock-unlock.mjs} +1 -1
- package/build-module/{private-apis.js → private-apis.mjs} +2 -2
- package/package.json +6 -7
- /package/build-module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/{lock-unlock.js.map → lock-unlock.mjs.map} +0 -0
- /package/build-module/{private-apis.js.map → private-apis.mjs.map} +0 -0
package/LICENSE.md
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
useParams,
|
|
8
8
|
useSearch
|
|
9
9
|
} from "@tanstack/react-router";
|
|
10
|
-
import { privateApis } from "./private-apis.
|
|
10
|
+
import { privateApis } from "./private-apis.mjs";
|
|
11
11
|
function useInvalidate() {
|
|
12
12
|
const router = useRouter();
|
|
13
13
|
return () => router.invalidate();
|
|
@@ -21,4 +21,4 @@ export {
|
|
|
21
21
|
useParams,
|
|
22
22
|
useSearch
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=index.
|
|
24
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
useMatches,
|
|
17
17
|
useRouter
|
|
18
18
|
} from "@tanstack/react-router";
|
|
19
|
-
import { lock } from "./lock-unlock.
|
|
19
|
+
import { lock } from "./lock-unlock.mjs";
|
|
20
20
|
var privateApis = {};
|
|
21
21
|
lock(privateApis, {
|
|
22
22
|
// Router creation and setup
|
|
@@ -41,4 +41,4 @@ lock(privateApis, {
|
|
|
41
41
|
export {
|
|
42
42
|
privateApis
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=private-apis.
|
|
44
|
+
//# sourceMappingURL=private-apis.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/route",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1-next.06ee73755.0",
|
|
4
4
|
"description": "Routing utilities for WordPress admin interfaces.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -28,25 +28,24 @@
|
|
|
28
28
|
"build-types",
|
|
29
29
|
"*.md"
|
|
30
30
|
],
|
|
31
|
-
"type": "module",
|
|
32
31
|
"main": "build/index.cjs",
|
|
33
|
-
"module": "build-module/index.
|
|
32
|
+
"module": "build-module/index.mjs",
|
|
34
33
|
"exports": {
|
|
35
34
|
".": {
|
|
36
35
|
"types": "./build-types/index.d.ts",
|
|
37
|
-
"import": "./build-module/index.
|
|
36
|
+
"import": "./build-module/index.mjs",
|
|
38
37
|
"default": "./build/index.cjs"
|
|
39
38
|
},
|
|
40
39
|
"./package.json": "./package.json"
|
|
41
40
|
},
|
|
42
41
|
"react-native": "src/index",
|
|
43
|
-
"wpScriptModuleExports": "./build-module/index.
|
|
42
|
+
"wpScriptModuleExports": "./build-module/index.mjs",
|
|
44
43
|
"types": "build-types",
|
|
45
44
|
"sideEffects": false,
|
|
46
45
|
"dependencies": {
|
|
47
46
|
"@tanstack/history": "^1.133.28",
|
|
48
47
|
"@tanstack/react-router": "^1.120.5",
|
|
49
|
-
"@wordpress/private-apis": "^1.
|
|
48
|
+
"@wordpress/private-apis": "^1.37.1-next.06ee73755.0"
|
|
50
49
|
},
|
|
51
50
|
"peerDependencies": {
|
|
52
51
|
"react": "^18.0.0"
|
|
@@ -54,5 +53,5 @@
|
|
|
54
53
|
"publishConfig": {
|
|
55
54
|
"access": "public"
|
|
56
55
|
},
|
|
57
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "fd315436f44683a993d5f053789b5279d95b2872"
|
|
58
57
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|