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
17
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.8.0 to 1.9.0

1

dist/esm/add.d.ts

@@ -33,3 +33,2 @@ import { IFeature } from "@esri/arcgis-rest-common-types";

*
* @param requestOptions - Options for the request.
* ```js

@@ -36,0 +35,0 @@ * import { addFeatures } from '@esri/arcgis-rest-feature-service';

@@ -9,3 +9,2 @@ /* Copyright (c) 2017 Environmental Systems Research Institute, Inc.

*
* @param requestOptions - Options for the request.
* ```js

@@ -12,0 +11,0 @@ * import { addFeatures } from '@esri/arcgis-rest-feature-service';

2

dist/esm/helpers.js

@@ -0,1 +1,3 @@

/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
/**

@@ -2,0 +4,0 @@ * Used internally by the package to ensure that first order request options are passed through as request parameters.

@@ -0,1 +1,3 @@

/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
export * from "./query";

@@ -2,0 +4,0 @@ export * from "./add";

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

*
* @param requestOptions - Options for the request.
* ```js

@@ -14,0 +13,0 @@ * import { addFeatures } from '@esri/arcgis-rest-feature-service';

"use strict";
/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +5,0 @@ /**

"use strict";
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +5,0 @@ var tslib_1 = require("tslib");

/* @preserve
* @esri/arcgis-rest-feature-service - v1.8.0 - Apache-2.0
* @esri/arcgis-rest-feature-service - v1.9.0 - Apache-2.0
* Copyright (c) 2017-2018 Esri, Inc.
* Fri Aug 17 2018 09:47:35 GMT-0700 (PDT)
* Tue Sep 11 2018 10:42:03 GMT-0700 (PDT)
*/

@@ -38,2 +38,4 @@ (function (global, factory) {

/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
/**

@@ -124,3 +126,2 @@ * Used internally by the package to ensure that first order request options are passed through as request parameters.

*
* @param requestOptions - Options for the request.
* ```js

@@ -354,2 +355,5 @@ * import { addFeatures } from '@esri/arcgis-rest-feature-service';

/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
exports.getFeature = getFeature;

@@ -356,0 +360,0 @@ exports.queryFeatures = queryFeatures;

/* @preserve
* @esri/arcgis-rest-feature-service - v1.8.0 - Apache-2.0
* @esri/arcgis-rest-feature-service - v1.9.0 - Apache-2.0
* Copyright (c) 2017-2018 Esri, Inc.
* Fri Aug 17 2018 09:47:41 GMT-0700 (PDT)
* Tue Sep 11 2018 10:42:09 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.8.0",
"version": "1.9.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.7.1",
"@esri/arcgis-rest-request": "^1.7.1"
"@esri/arcgis-rest-common-types": "^1.9.0",
"@esri/arcgis-rest-request": "^1.9.0"
},
"devDependencies": {
"@esri/arcgis-rest-common-types": "^1.8.0",
"@esri/arcgis-rest-request": "^1.8.0"
"@esri/arcgis-rest-common-types": "^1.9.0",
"@esri/arcgis-rest-request": "^1.9.0"
},

@@ -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

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