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.7.0 to 1.7.1

dist/esm/features.d.ts

4

dist/umd/feature-service.umd.js
/* @preserve
* @esri/arcgis-rest-feature-service - v1.7.0 - Apache-2.0
* @esri/arcgis-rest-feature-service - v1.7.1 - Apache-2.0
* Copyright (c) 2017-2018 Esri, Inc.
* Wed Aug 08 2018 00:07:13 GMT-0700 (PDT)
* Fri Aug 10 2018 14:26:41 GMT-0700 (PDT)
*/

@@ -6,0 +6,0 @@ (function (global, factory) {

/* @preserve
* @esri/arcgis-rest-feature-service - v1.7.0 - Apache-2.0
* @esri/arcgis-rest-feature-service - v1.7.1 - Apache-2.0
* Copyright (c) 2017-2018 Esri, Inc.
* Wed Aug 08 2018 00:07:19 GMT-0700 (PDT)
* Fri Aug 10 2018 14:26:43 GMT-0700 (PDT)
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@esri/arcgis-rest-request")):"function"==typeof define&&define.amd?define(["exports","@esri/arcgis-rest-request"],t):t(e.arcgisRest=e.arcgisRest||{},e.arcgisRest)}(this,function(e,t){"use strict";var r=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e};function a(e,t){Object.keys(e).forEach(function(r){"url"!==r&&"params"!==r&&"authentication"!==r&&"httpMethod"!==r&&"fetch"!==r&&"portal"!==r&&"maxUrlLength"!==r&&(t.params[r]=e[r])})}e.getFeature=function(e){var a=e.url+"/"+e.id,s=r({httpMethod:"GET"},e);return t.request(a,s).then(function(e){return e.feature})},e.queryFeatures=function(e){var s=r({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="*"),t.request(s.url+"/query",s)},e.addFeatures=function(e){var s=e.url+"/addFeatures",u=r({params:{}},e);return a(e,u),u.params.features=e.adds,delete u.params.adds,t.request(s,u)},e.updateFeatures=function(e){var s=e.url+"/updateFeatures",u=r({params:{}},e);return a(e,u),u.params.features=e.updates,delete u.params.updates,t.request(s,u)},e.deleteFeatures=function(e){var s=e.url+"/deleteFeatures",u=r({params:{}},e);return a(e,u),u.params.objectIds=e.deletes,delete u.params.deletes,t.request(s,u)},e.getAttachments=function(e){return t.request(e.url+"/"+e.featureId+"/attachments",e)},e.addAttachment=function(e){var a=r({params:{}},e);return a.params.attachment=e.attachment,t.request(a.url+"/"+a.featureId+"/addAttachment",a)},e.updateAttachment=function(e){var a=r({params:{}},e);return a.params.attachment=e.attachment,a.params.attachmentId=e.attachmentId,t.request(a.url+"/"+a.featureId+"/updateAttachment",a)},e.deleteAttachments=function(e){var a=r({params:{}},e);return a.params.attachmentIds=e.attachmentIds,t.request(a.url+"/"+a.featureId+"/deleteAttachments",a)},e.queryRelated=function(e){var s=r({params:{},httpMethod:"GET",url:e.url},e);return a(e,s),s.params.definitionExpression||(s.params.definitionExpression="1=1"),s.params.outFields||(s.params.outFields="*"),s.params.relationshipId||(s.params.relationshipId=0),t.request(s.url+"/queryRelatedRecords",s)},Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=feature-service.umd.min.js.map
{
"name": "@esri/arcgis-rest-feature-service",
"version": "1.7.0",
"version": "1.7.1",
"description": "Feature service helpers for @esri/arcgis-rest-request",

@@ -18,8 +18,8 @@ "main": "dist/node/index.js",

"peerDependencies": {
"@esri/arcgis-rest-common-types": "^1.5.1",
"@esri/arcgis-rest-request": "^1.5.1"
"@esri/arcgis-rest-common-types": "^1.7.1",
"@esri/arcgis-rest-request": "^1.7.1"
},
"devDependencies": {
"@esri/arcgis-rest-common-types": "^1.7.0",
"@esri/arcgis-rest-request": "^1.7.0"
"@esri/arcgis-rest-common-types": "^1.7.1",
"@esri/arcgis-rest-request": "^1.7.1"
},

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

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