@esri/arcgis-rest-feature-service
Advanced tools
Comparing version 1.10.0 to 1.11.0
@@ -1,2 +0,2 @@ | ||
/* @esri/arcgis-rest-feature-service - v1.1.1 - Mon Mar 05 2018 10:57:35 GMT-0800 (PST) | ||
/* @esri/arcgis-rest-feature-service - v1.1.0 - Mon Mar 05 2018 09:45:38 GMT-0800 (PST) | ||
* Copyright (c) 2018 Environmental Systems Research Institute, Inc. | ||
@@ -3,0 +3,0 @@ * Apache-2.0 */ |
@@ -1,2 +0,2 @@ | ||
/* @esri/arcgis-rest-feature-service - v1.1.1 - Mon Mar 05 2018 10:57:37 GMT-0800 (PST) | ||
/* @esri/arcgis-rest-feature-service - v1.1.0 - Mon Mar 05 2018 09:45:41 GMT-0800 (PST) | ||
* Copyright (c) 2018 Environmental Systems Research Institute, Inc. | ||
@@ -3,0 +3,0 @@ * Apache-2.0 */ |
/* @preserve | ||
* @esri/arcgis-rest-feature-service - v1.10.0 - Apache-2.0 | ||
* @esri/arcgis-rest-feature-service - v1.11.0 - Apache-2.0 | ||
* Copyright (c) 2017-2018 Esri, Inc. | ||
* Mon Sep 17 2018 13:53:28 GMT-0700 (PDT) | ||
* Wed Sep 19 2018 14:12:15 GMT-0600 (MDT) | ||
*/ | ||
@@ -6,0 +6,0 @@ (function (global, factory) { |
/* @preserve | ||
* @esri/arcgis-rest-feature-service - v1.10.0 - Apache-2.0 | ||
* @esri/arcgis-rest-feature-service - v1.11.0 - Apache-2.0 | ||
* Copyright (c) 2017-2018 Esri, Inc. | ||
* Mon Sep 17 2018 13:53:38 GMT-0700 (PDT) | ||
* Wed Sep 19 2018 14:12:18 GMT-0600 (MDT) | ||
*/ | ||
!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.10.0", | ||
"version": "1.11.0", | ||
"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.10.0", | ||
"@esri/arcgis-rest-request": "^1.10.0" | ||
"@esri/arcgis-rest-common-types": "^1.11.0", | ||
"@esri/arcgis-rest-request": "^1.11.0" | ||
}, | ||
"devDependencies": { | ||
"@esri/arcgis-rest-common-types": "^1.10.0", | ||
"@esri/arcgis-rest-request": "^1.10.0" | ||
"@esri/arcgis-rest-common-types": "^1.11.0", | ||
"@esri/arcgis-rest-request": "^1.11.0" | ||
}, | ||
@@ -26,0 +26,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
1
162254
70
1879