@real-router/core 0.98.0 → 0.99.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/dist/cjs/{Router-C1_OSSv1.js → Router-Ct_5AHRe.js} +2 -2
- package/dist/cjs/Router-Ct_5AHRe.js.map +1 -0
- package/dist/cjs/api/cloneRouter.d.ts.map +1 -1
- package/dist/cjs/api.js +1 -1
- package/dist/cjs/api.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/namespaces/RoutesNamespace/routesStore.d.ts +7 -2
- package/dist/cjs/namespaces/RoutesNamespace/routesStore.d.ts.map +1 -1
- package/dist/esm/{Router-D-MQmv8e.mjs → Router-CGuo-GUt.mjs} +2 -2
- package/dist/esm/Router-CGuo-GUt.mjs.map +1 -0
- package/dist/esm/api/cloneRouter.d.mts.map +1 -1
- package/dist/esm/api.mjs +1 -1
- package/dist/esm/api.mjs.map +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/namespaces/RoutesNamespace/routesStore.d.mts +7 -2
- package/dist/esm/namespaces/RoutesNamespace/routesStore.d.mts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/Router-C1_OSSv1.js.map +0 -1
- package/dist/esm/Router-D-MQmv8e.mjs.map +0 -1
package/dist/esm/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{M as e,N as t,j as n,k as r,n as i,t as a,v as o}from"./Router-CGuo-GUt.mjs";const s=(e=[],t={},n={})=>new a(e,t,n),c=new WeakMap,l=e=>{let t=c.get(e);return t||(t=Object.freeze({navigate:e.navigate,getState:e.getState,isActiveRoute:e.isActiveRoute,canNavigateTo:e.canNavigateTo,subscribe:e.subscribe,subscribeLeave:e.subscribeLeave,isLeaveApproved:e.isLeaveApproved}),c.set(e,t)),t};export{a as Router,i as RouterError,r as UNKNOWN_ROUTE,n as constants,s as createRouter,e as errorCodes,t as events,l as getNavigator,o as resolveForwardChain};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -52,8 +52,13 @@ interface RoutesStore<Dependencies extends DefaultDependencies = DefaultDependen
|
|
|
52
52
|
* `false` here silently switches the arm OFF, which is a correctness bug
|
|
53
53
|
* wearing a performance change's clothes: a `<Link>` to a forwarding route
|
|
54
54
|
* would render inactive again (the defect #1573 shipped the arm to fix).
|
|
55
|
-
* Pinned
|
|
56
|
-
* `
|
|
55
|
+
* Pinned in `tests/functional/routes/isActiveRoute.test.ts`, describe
|
|
56
|
+
* `"forwardTo arm survives route-CRUD (#1595)"` — and the generative pin in
|
|
57
|
+
* `tests/property/cloneRouter.properties.ts`. ⚠ That describe name is now
|
|
58
|
+
* narrower than its contents: route-CRUD WAS the whole enumeration until
|
|
59
|
+
* #1800 showed `cloneRouter` writes forward config without being route-CRUD,
|
|
60
|
+
* so a clone case lives there too. (The old reference here named a file that
|
|
61
|
+
* has never existed and a describe that does not either.)
|
|
57
62
|
*/
|
|
58
63
|
hasAnyForward: boolean;
|
|
59
64
|
routeCustomFields: Record<string, Record<string, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routesStore.d.mts","names":[],"sources":["../../../../src/namespaces/RoutesNamespace/routesStore.ts"],"mappings":";;;;;;UA4DiB,YACf,qBAAqB,sBAAsB;;;;;;;;;;;;;WAclC,aAAa;WACb,QAAQ;EACjB,MAAM;EACN,SAAS;;;;;;;WAOA,gBAAgB;;;;;;;;WAQhB,kBAAkB;EAC3B,oBAAoB
|
|
1
|
+
{"version":3,"file":"routesStore.d.mts","names":[],"sources":["../../../../src/namespaces/RoutesNamespace/routesStore.ts"],"mappings":";;;;;;UA4DiB,YACf,qBAAqB,sBAAsB;;;;;;;;;;;;;WAclC,aAAa;WACb,QAAQ;EACjB,MAAM;EACN,SAAS;;;;;;;WAOA,gBAAgB;;;;;;;;WAQhB,kBAAkB;EAC3B,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAyBpB;EACA,mBAAmB,eAAe;EAClC;WACS,gBAAgB;EACzB,WAAW,mBAAmB;EAC9B,oBAAoB,wBAAwB;WACnC,oBAAoB,YAAY,eAAe;WAC/C,sBAAsB,YAAY,eAAe"}
|