@wemap/routers 14.5.2 → 14.5.4

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -864,7 +864,7 @@ var Logger = _Logger, SKIP_STEP_ANGLE_MAX = deg2rad(20), StepsBuilder = class {
864
864
  }
865
865
  let I = f.properties.name || i.properties.name || OsmTagsUtils.getRef(i.rawTags), L = e.edgesWeights[n], te = Math.abs(diffAngle(Math.PI, m)) >= SKIP_STEP_ANGLE_MAX, R = Level.isRange(f.level) && !Level.isRange(l.level) || A;
866
866
  te &&= !(l.level && Level.isRange(l.level));
867
- let B = !!(R || P || w || v), V = B || x || te && g?.length !== 0;
867
+ let B = !!(R || P || w || v || _), V = B || x || te && g?.length !== 0;
868
868
  if (!o || V) {
869
869
  let e = null, i = null, a = null;
870
870
  T ? a = "elevator" : E ? a = "escalator" : D ? a = "stairs" : j ? a = "subway-entrance" : _ ? a = "gate" : v ? a = "turnstile" : O ? a = "moving-walkway" : R ? a = "incline-plane" : F ? a = F : n > 0 && (a = "turn");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wemap/routers",
3
- "version": "14.5.2",
3
+ "version": "14.5.4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -23,9 +23,9 @@
23
23
  "@turf/convex": "^6.5.0",
24
24
  "@turf/helpers": "^6.5.0",
25
25
  "@types/mapbox__polyline": "^1.0.2",
26
- "@wemap/core": "14.5.2",
27
- "@wemap/geo": "14.5.2",
28
- "@wemap/osm": "14.5.2",
26
+ "@wemap/core": "14.5.4",
27
+ "@wemap/geo": "14.5.4",
28
+ "@wemap/osm": "14.5.4",
29
29
  "@wemap/salesman.js": "^2.1.0"
30
30
  },
31
31
  "devDependencies": {