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

@esri/arcgis-rest-service-admin

Package Overview
Dependencies
Maintainers
7
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.0.2 to 2.0.3

4

dist/umd/service-admin.umd.js
/* @preserve
* @esri/arcgis-rest-service-admin - v2.0.2 - Apache-2.0
* @esri/arcgis-rest-service-admin - v2.0.3 - Apache-2.0
* Copyright (c) 2017-2019 Esri, Inc.
* Mon May 20 2019 09:27:16 GMT-0700 (Pacific Daylight Time)
* Thu May 23 2019 12:21:00 GMT-0700 (Pacific Daylight Time)
*/

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

/* @preserve
* @esri/arcgis-rest-service-admin - v2.0.2 - Apache-2.0
* @esri/arcgis-rest-service-admin - v2.0.3 - Apache-2.0
* Copyright (c) 2017-2019 Esri, Inc.
* Mon May 20 2019 09:27:18 GMT-0700 (Pacific Daylight Time)
* Thu May 23 2019 12:21:02 GMT-0700 (Pacific Daylight Time)
*/
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@esri/arcgis-rest-request"),require("@esri/arcgis-rest-portal")):"function"==typeof define&&define.amd?define(["exports","@esri/arcgis-rest-request","@esri/arcgis-rest-portal"],r):r(e.arcgisRest=e.arcgisRest||{},e.arcgisRest,e.arcgisRest)}(this,function(e,r,t){"use strict";var s=function(){return(s=Object.assign||function(e){for(var r,t=1,s=arguments.length;t<s;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)};e.createFeatureService=function(e){var i=t.determineOwner(e),n=t.getPortalUrl(e)+"/content/users/"+i+"/createService",a=s({},e,{rawResponse:!1});return a.params=s({createParameters:a.item,outputType:"featureService"},a.params),a.folderId&&"/"!==a.folderId?r.request(n,a).then(function(e){if(e.success)return t.moveItem({itemId:e.itemId,folderId:a.folderId,authentication:a.authentication}).then(function(r){if(r.success)return e;throw Error("A problem was encountered when trying to move the service to a different folder.")});throw Error("A problem was encountered when trying to create the service.")}):r.request(n,a)},e.addToServiceDefinition=function(e,t){var i=r.cleanUrl(e).replace("/rest/services","/rest/admin/services")+"/addToDefinition";return t.params=s({addToDefinition:{}},t.params),t.layers&&t.layers.length>0&&(t.params.addToDefinition.layers=t.layers),t.tables&&t.tables.length>0&&(t.params.addToDefinition.tables=t.tables),r.request(i,t)},Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=service-admin.umd.min.js.map
{
"name": "@esri/arcgis-rest-service-admin",
"version": "2.0.2",
"version": "2.0.3",
"description": "Service administration helpers for @esri/arcgis-rest-js",

@@ -16,9 +16,9 @@ "main": "dist/node/index.js",

"dependencies": {
"@esri/arcgis-rest-types": "^2.0.2",
"@esri/arcgis-rest-types": "^2.0.3",
"tslib": "^1.9.3"
},
"devDependencies": {
"@esri/arcgis-rest-auth": "^2.0.2",
"@esri/arcgis-rest-portal": "^2.0.2",
"@esri/arcgis-rest-request": "^2.0.2"
"@esri/arcgis-rest-auth": "^2.0.3",
"@esri/arcgis-rest-portal": "^2.0.3",
"@esri/arcgis-rest-request": "^2.0.3"
},

@@ -25,0 +25,0 @@ "peerDependencies": {

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