Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@esri/arcgis-rest-feature-service

Package Overview
Dependencies
Maintainers
16
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esri/arcgis-rest-feature-service - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

1

dist/esm/add.js

@@ -34,4 +34,5 @@ /* Copyright (c) 2017 Environmental Systems Research Institute, Inc.

options.params.features = requestOptions.adds;
delete options.params.adds;
return request(url, options);
}
//# sourceMappingURL=add.js.map

@@ -30,4 +30,5 @@ /* Copyright (c) 2017 Environmental Systems Research Institute, Inc.

options.params.objectIds = requestOptions.deletes;
delete options.params.deletes;
return request(url, options);
}
//# sourceMappingURL=delete.js.map

@@ -33,4 +33,5 @@ /* Copyright (c) 2017 Environmental Systems Research Institute, Inc.

options.params.features = requestOptions.updates;
delete options.params.updates;
return request(url, options);
}
//# sourceMappingURL=update.js.map

@@ -36,2 +36,3 @@ "use strict";

options.params.features = requestOptions.adds;
delete options.params.adds;
return arcgis_rest_request_1.request(url, options);

@@ -38,0 +39,0 @@ }

@@ -32,2 +32,3 @@ "use strict";

options.params.objectIds = requestOptions.deletes;
delete options.params.deletes;
return arcgis_rest_request_1.request(url, options);

@@ -34,0 +35,0 @@ }

@@ -35,2 +35,3 @@ "use strict";

options.params.features = requestOptions.updates;
delete options.params.updates;
return arcgis_rest_request_1.request(url, options);

@@ -37,0 +38,0 @@ }

5

dist/umd/feature-service.umd.js
/* @preserve
* @esri/arcgis-rest-feature-service - v1.4.1 - Wed Jun 20 2018 09:27:01 GMT-0700 (PDT)
* @esri/arcgis-rest-feature-service - v1.4.2 - Sun Jul 08 2018 11:12:35 GMT-0700 (PDT)
* Copyright (c) 2017 - 2018 Environmental Systems Research Institute, Inc.

@@ -148,2 +148,3 @@ * Apache-2.0

options.params.features = requestOptions.adds;
delete options.params.adds;
return arcgisRestRequest.request(url, options);

@@ -181,2 +182,3 @@ }

options.params.features = requestOptions.updates;
delete options.params.updates;
return arcgisRestRequest.request(url, options);

@@ -211,2 +213,3 @@ }

options.params.objectIds = requestOptions.deletes;
delete options.params.deletes;
return arcgisRestRequest.request(url, options);

@@ -213,0 +216,0 @@ }

/* @preserve
* @esri/arcgis-rest-feature-service - v1.4.1 - Wed Jun 20 2018 09:27:06 GMT-0700 (PDT)
* @esri/arcgis-rest-feature-service - v1.4.2 - Sun Jul 08 2018 11:12:41 GMT-0700 (PDT)
* Copyright (c) 2017 - 2018 Environmental Systems Research Institute, Inc.
* Apache-2.0
*/
!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.arcgisRest=e.arcgisRest||{},e.arcgisRest)}(this,function(e,r){"use strict";var t=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var u in r=arguments[t])Object.prototype.hasOwnProperty.call(r,u)&&(e[u]=r[u]);return e};function a(e,r){Object.keys(e).forEach(function(t){"url"!==t&&"params"!==t&&"authentication"!==t&&"httpMethod"!==t&&"fetch"!==t&&"portal"!==t&&"maxUrlLength"!==t&&(r.params[t]=e[t])})}e.getFeature=function(e){var a=e.url+"/"+e.id,u=t({httpMethod:"GET"},e);return r.request(a,u).then(function(e){return e.feature})},e.queryFeatures=function(e){var u=t({params:{},httpMethod:"GET",url:e.url},e);return a(e,u),u.params.where||(u.params.where="1=1"),u.params.outFields||(u.params.outFields="*"),r.request(u.url+"/query",u)},e.addFeatures=function(e){var u=e.url+"/addFeatures",s=t({params:{}},e);return a(e,s),s.params.features=e.adds,r.request(u,s)},e.updateFeatures=function(e){var u=e.url+"/updateFeatures",s=t({params:{}},e);return a(e,s),s.params.features=e.updates,r.request(u,s)},e.deleteFeatures=function(e){var u=e.url+"/deleteFeatures",s=t({params:{}},e);return a(e,s),s.params.objectIds=e.deletes,r.request(u,s)},Object.defineProperty(e,"__esModule",{value:!0})});
!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.arcgisRest=e.arcgisRest||{},e.arcgisRest)}(this,function(e,r){"use strict";var t=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e};function a(e,r){Object.keys(e).forEach(function(t){"url"!==t&&"params"!==t&&"authentication"!==t&&"httpMethod"!==t&&"fetch"!==t&&"portal"!==t&&"maxUrlLength"!==t&&(r.params[t]=e[t])})}e.getFeature=function(e){var a=e.url+"/"+e.id,s=t({httpMethod:"GET"},e);return r.request(a,s).then(function(e){return e.feature})},e.queryFeatures=function(e){var s=t({params:{},httpMethod:"GET",url:e.url},e);return a(e,s),s.params.where||(s.params.where="1=1"),s.params.outFields||(s.params.outFields="*"),r.request(s.url+"/query",s)},e.addFeatures=function(e){var s=e.url+"/addFeatures",u=t({params:{}},e);return a(e,u),u.params.features=e.adds,delete u.params.adds,r.request(s,u)},e.updateFeatures=function(e){var s=e.url+"/updateFeatures",u=t({params:{}},e);return a(e,u),u.params.features=e.updates,delete u.params.updates,r.request(s,u)},e.deleteFeatures=function(e){var s=e.url+"/deleteFeatures",u=t({params:{}},e);return a(e,u),u.params.objectIds=e.deletes,delete u.params.deletes,r.request(s,u)},Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=feature-service.umd.min.js.map
{
"name": "@esri/arcgis-rest-feature-service",
"version": "1.4.1",
"version": "1.4.2",
"description": "Feature service helpers for @esri/arcgis-rest-request",

@@ -22,4 +22,4 @@ "main": "dist/node/index.js",

"devDependencies": {
"@esri/arcgis-rest-common-types": "^1.4.1",
"@esri/arcgis-rest-request": "^1.4.1"
"@esri/arcgis-rest-common-types": "^1.4.2",
"@esri/arcgis-rest-request": "^1.4.2"
},

@@ -26,0 +26,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc