@esri/arcgis-rest-routing 4.10.2 → 4.10.3

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,7 +1,7 @@
1
1
  /* @preserve
2
- * @esri/arcgis-rest-routing - v4.10.2 - Apache-2.0
2
+ * @esri/arcgis-rest-routing - v4.10.3 - Apache-2.0
3
3
  * Copyright (c) 2017-2026 Esri, Inc.
4
- * Tue Apr 07 2026 14:52:46 GMT+0000 (Coordinated Universal Time)
4
+ * Wed Jun 17 2026 23:15:10 GMT+0000 (Coordinated Universal Time)
5
5
  */
6
6
  import { request, cleanUrl, appendCustomParams } from '@esri/arcgis-rest-request';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /* @preserve
2
- * @esri/arcgis-rest-routing - v4.10.2 - Apache-2.0
2
+ * @esri/arcgis-rest-routing - v4.10.3 - Apache-2.0
3
3
  * Copyright (c) 2017-2026 Esri, Inc.
4
- * Tue Apr 07 2026 14:52:46 GMT+0000 (Coordinated Universal Time)
4
+ * Wed Jun 17 2026 23:15:10 GMT+0000 (Coordinated Universal Time)
5
5
  */
6
6
  import{request as r,cleanUrl as e,appendCustomParams as i}from"@esri/arcgis-rest-request";const t="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",n="https://route.arcgis.com/arcgis/rest/services/World/ClosestFacility/NAServer/ClosestFacility_World",s="https://route.arcgis.com/arcgis/rest/services/World/ServiceAreas/NAServer/ServiceArea_World",a="https://route.arcgis.com/arcgis/rest/services/World/OriginDestinationCostMatrix/NAServer/OriginDestinationCostMatrix_World";function o(r){return r.map(r=>function(r){return 2===r.length||3===r.length}(r)?r.join():function(r){return void 0!==r.latitude||void 0!==r.lat}(r)?r.lat?r.long+","+r.lat:r.longitude+","+r.latitude:r.x+","+r.y)}function u(r){let e=0,i=0;const t=[];let n,s;const a=r.match(/((\+|-)[^+-]+)/g),o=parseInt(a[0],32);for(let r=1;r<a.length;r+=2)n=parseInt(a[r],32)+e,e=n,s=parseInt(a[r+1],32)+i,i=s,t.push([n/o,s/o]);return{paths:[t]}}function c(r){return Object.prototype.hasOwnProperty.call(r,"features")}function l(r){return"url"in r}
7
7
  /* @preserve
@@ -1,7 +1,7 @@
1
1
  /* @preserve
2
- * @esri/arcgis-rest-routing - v4.10.2 - Apache-2.0
2
+ * @esri/arcgis-rest-routing - v4.10.3 - Apache-2.0
3
3
  * Copyright (c) 2017-2026 Esri, Inc.
4
- * Tue Apr 07 2026 14:52:46 GMT+0000 (Coordinated Universal Time)
4
+ * Wed Jun 17 2026 23:15:10 GMT+0000 (Coordinated Universal Time)
5
5
  */
6
6
  (function (global, factory) {
7
7
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@esri/arcgis-rest-request')) :
@@ -1,7 +1,7 @@
1
1
  /* @preserve
2
- * @esri/arcgis-rest-routing - v4.10.2 - Apache-2.0
2
+ * @esri/arcgis-rest-routing - v4.10.3 - Apache-2.0
3
3
  * Copyright (c) 2017-2026 Esri, Inc.
4
- * Tue Apr 07 2026 14:52:46 GMT+0000 (Coordinated Universal Time)
4
+ * Wed Jun 17 2026 23:15:10 GMT+0000 (Coordinated Universal Time)
5
5
  */
6
6
  !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@esri/arcgis-rest-request")):"function"==typeof define&&define.amd?define(["exports","@esri/arcgis-rest-request"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).arcgisRest=e.arcgisRest||{},e.arcgisRest)}(this,function(e,r){"use strict";const i="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",t="https://route.arcgis.com/arcgis/rest/services/World/ClosestFacility/NAServer/ClosestFacility_World",n="https://route.arcgis.com/arcgis/rest/services/World/ServiceAreas/NAServer/ServiceArea_World",s="https://route.arcgis.com/arcgis/rest/services/World/OriginDestinationCostMatrix/NAServer/OriginDestinationCostMatrix_World";function a(e){return e.map(e=>function(e){return 2===e.length||3===e.length}(e)?e.join():function(e){return void 0!==e.latitude||void 0!==e.lat}(e)?e.lat?e.long+","+e.lat:e.longitude+","+e.latitude:e.x+","+e.y)}function o(e){let r=0,i=0;const t=[];let n,s;const a=e.match(/((\+|-)[^+-]+)/g),o=parseInt(a[0],32);for(let e=1;e<a.length;e+=2)n=parseInt(a[e],32)+r,r=n,s=parseInt(a[e+1],32)+i,i=s,t.push([n/o,s/o]);return{paths:[t]}}function u(e){return Object.prototype.hasOwnProperty.call(e,"features")}function c(e){return"url"in e}
7
7
  /* @preserve
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/arcgis-rest-routing",
3
- "version": "4.10.2",
3
+ "version": "4.10.3",
4
4
  "description": "Routing helpers for @esri/arcgis-rest-js",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -51,7 +51,7 @@
51
51
  "@esri/arcgis-rest-request": "^4.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@esri/arcgis-rest-request": "^4.10.2"
54
+ "@esri/arcgis-rest-request": "^4.10.3"
55
55
  },
56
56
  "contributors": [
57
57
  "Gavin Rehkemper <gavin@gavinr.com>"