@tramvai/module-router 1.55.1 → 1.55.5

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/lib/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from 'tslib';
2
2
  import { provide, commandLineListTokens, Module } from '@tramvai/core';
3
- import { Provider, setLogger, Router } from '@tinkoff/router';
3
+ import { Provider, setLogger, isWildcard, isHistoryFallback, Router } from '@tinkoff/router';
4
4
  export { Link, Provider, useNavigate, useRoute, useRouter, useUrl } from '@tinkoff/router';
5
5
  import { LOGGER_TOKEN, BUNDLE_MANAGER_TOKEN, ACTION_REGISTRY_TOKEN, RESPONSE_MANAGER_TOKEN, CONTEXT_TOKEN, COMPONENT_REGISTRY_TOKEN, COMBINE_REDUCERS, REQUEST_MANAGER_TOKEN, ACTION_PAGE_RUNNER_TOKEN } from '@tramvai/tokens-common';
6
6
  import { ROUTER_GUARD_TOKEN, ROUTE_TRANSFORM_TOKEN, ROUTER_TOKEN, ROUTES_TOKEN, ROUTE_RESOLVE_TOKEN, ROUTER_SPA_ACTIONS_RUN_MODE_TOKEN, PAGE_SERVICE_TOKEN } from '@tramvai/tokens-router';
@@ -536,6 +536,7 @@ const bundleInfo = ({ routes, routeTransform, }) => {
536
536
  .concat((_b = (await loadAdditional())) !== null && _b !== void 0 ? _b : [])
537
537
  .map(routeTransform)
538
538
  .map(prop('path'))
539
+ .filter((path) => !isWildcard(path) && !isHistoryFallback(path))
539
540
  .sort());
540
541
  },
541
542
  deps: {
package/lib/index.js CHANGED
@@ -548,6 +548,7 @@ const bundleInfo = ({ routes, routeTransform, }) => {
548
548
  .concat((_b = (await loadAdditional())) !== null && _b !== void 0 ? _b : [])
549
549
  .map(routeTransform)
550
550
  .map(prop__default["default"]('path'))
551
+ .filter((path) => !router.isWildcard(path) && !router.isHistoryFallback(path))
551
552
  .sort());
552
553
  },
553
554
  deps: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-router",
3
- "version": "1.55.1",
3
+ "version": "1.55.5",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "browser": {
@@ -23,25 +23,25 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@tinkoff/errors": "0.2.18",
26
- "@tinkoff/router": "0.1.67",
26
+ "@tinkoff/router": "0.1.68",
27
27
  "@tinkoff/url": "0.7.37",
28
- "@tramvai/tokens-render": "1.55.1",
29
- "@tramvai/tokens-router": "1.55.1",
30
- "@tramvai/tokens-server": "1.55.1",
31
- "@tramvai/experiments": "1.55.1"
28
+ "@tramvai/tokens-render": "1.55.5",
29
+ "@tramvai/tokens-router": "1.55.5",
30
+ "@tramvai/tokens-server": "1.55.5",
31
+ "@tramvai/experiments": "1.55.5"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@tinkoff/utils": "^2.1.2",
35
- "@tramvai/cli": "1.55.1",
36
- "@tramvai/core": "1.55.1",
37
- "@tramvai/module-log": "1.55.1",
38
- "@tramvai/module-server": "1.55.1",
39
- "@tramvai/papi": "1.55.1",
40
- "@tramvai/state": "1.55.1",
41
- "@tramvai/test-helpers": "1.55.1",
42
- "@tramvai/test-mocks": "1.55.1",
43
- "@tramvai/tokens-common": "1.55.1",
44
- "@tinkoff/dippy": "0.7.37",
35
+ "@tramvai/cli": "1.55.5",
36
+ "@tramvai/core": "1.55.5",
37
+ "@tramvai/module-log": "1.55.5",
38
+ "@tramvai/module-server": "1.55.5",
39
+ "@tramvai/papi": "1.55.5",
40
+ "@tramvai/state": "1.55.5",
41
+ "@tramvai/test-helpers": "1.55.5",
42
+ "@tramvai/test-mocks": "1.55.5",
43
+ "@tramvai/tokens-common": "1.55.5",
44
+ "@tinkoff/dippy": "0.7.38",
45
45
  "react": "*",
46
46
  "tslib": "^2.0.3"
47
47
  },