@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.
@@ -1,2 +1,2 @@
1
- import{A as e,M as t,O as n,_ as r,j as i,n as a,t as o}from"./Router-D-MQmv8e.mjs";const s=(e=[],t={},n={})=>new o(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{o as Router,a as RouterError,n as UNKNOWN_ROUTE,e as constants,s as createRouter,i as errorCodes,t as events,l as getNavigator,r as resolveForwardChain};
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 across every route-CRUD path by `isActiveRoute-forward-arm` in
56
- * `tests/functional/routes/is-active-route.test.ts`.
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;;;;;;;;;;;;;;;;;;;EAoBpB;EACA,mBAAmB,eAAe;EAClC;WACS,gBAAgB;EACzB,WAAW,mBAAmB;EAC9B,oBAAoB,wBAAwB;WACnC,oBAAoB,YAAY,eAAe;WAC/C,sBAAsB,YAAY,eAAe"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@real-router/core",
3
- "version": "0.98.0",
3
+ "version": "0.99.0",
4
4
  "type": "commonjs",
5
5
  "description": "A simple, powerful, view-agnostic, modular and extensible router",
6
6
  "main": "./dist/cjs/index.js",