@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Gutenberg
2
2
 
3
- Copyright 2016-2025 by the contributors
3
+ Copyright 2016-2026 by the contributors
4
4
 
5
5
  **License for Contributions (on and after April 15, 2021)**
6
6
 
@@ -7,7 +7,7 @@ import {
7
7
  useParams,
8
8
  useSearch
9
9
  } from "@tanstack/react-router";
10
- import { privateApis } from "./private-apis.js";
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.js.map
24
+ //# sourceMappingURL=index.mjs.map
@@ -8,4 +8,4 @@ export {
8
8
  lock,
9
9
  unlock
10
10
  };
11
- //# sourceMappingURL=lock-unlock.js.map
11
+ //# sourceMappingURL=lock-unlock.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.js";
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.js.map
44
+ //# sourceMappingURL=private-apis.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/route",
3
- "version": "0.2.1-next.8fd3f8831.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.js",
32
+ "module": "build-module/index.mjs",
34
33
  "exports": {
35
34
  ".": {
36
35
  "types": "./build-types/index.d.ts",
37
- "import": "./build-module/index.js",
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.js",
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.36.1-next.8fd3f8831.0"
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": "e582b351bc4c4b8734bb087f63a3beec9875c3c7"
56
+ "gitHead": "fd315436f44683a993d5f053789b5279d95b2872"
58
57
  }
File without changes