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
8
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 3.1.1 to 3.1.2

4

dist/umd/service-admin.umd.js
/* @preserve
* @esri/arcgis-rest-service-admin - v3.1.1 - Apache-2.0
* @esri/arcgis-rest-service-admin - v3.1.2 - Apache-2.0
* Copyright (c) 2017-2021 Esri, Inc.
* Mon Jun 07 2021 11:08:48 GMT-0700 (Pacific Daylight Time)
* Wed Jun 16 2021 15:14:14 GMT-0600 (Mountain Daylight Time)
*/

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

/* @preserve
* @esri/arcgis-rest-service-admin - v3.1.1 - Apache-2.0
* @esri/arcgis-rest-service-admin - v3.1.2 - Apache-2.0
* Copyright (c) 2017-2021 Esri, Inc.
* Mon Jun 07 2021 11:08:50 GMT-0700 (Pacific Daylight Time)
* Wed Jun 16 2021 15:14:16 GMT-0600 (Mountain 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="undefined"!=typeof globalThis?globalThis:e||self).arcgisRest=e.arcgisRest||{},e.arcgisRest,e.arcgisRest)}(this,function(e,a,s){"use strict";var n=function(){return(n=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e}).apply(this,arguments)};e.addToServiceDefinition=function(e,r){var t=a.cleanUrl(e).replace("/rest/services","/rest/admin/services")+"/addToDefinition";return r.params=n({addToDefinition:{}},r.params),r.layers&&0<r.layers.length&&(r.params.addToDefinition.layers=r.layers),r.tables&&0<r.tables.length&&(r.params.addToDefinition.tables=r.tables),a.request(t,r)},e.createFeatureService=function(i){return s.determineOwner(i).then(function(e){var r=n(n({},i),{rawResponse:!1}),t=s.getPortalUrl(i)+"/content/users/"+e+(r.folderId&&"/"!==r.folderId?"/"+r.folderId:"")+"/createService";return r.params=n({createParameters:r.item,outputType:"featureService"},r.params),a.request(t,r)})},e.updateServiceDefinition=function(e,r){var t=a.cleanUrl(e).replace("/rest/services","/rest/admin/services")+"/updateDefinition";return r.params=n({updateDefinition:{}},r.params),r.updateDefinition&&(r.params.updateDefinition=r.updateDefinition),a.request(t,r)},Object.defineProperty(e,"__esModule",{value:!0})});
!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="undefined"!=typeof globalThis?globalThis:e||self).arcgisRest=e.arcgisRest||{},e.arcgisRest,e.arcgisRest)}(this,function(e,i,a){"use strict";var s=function(){return(s=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e}).apply(this,arguments)};e.addToServiceDefinition=function(e,r){return e=i.cleanUrl(e).replace("/rest/services","/rest/admin/services")+"/addToDefinition",r.params=s({addToDefinition:{}},r.params),r.layers&&0<r.layers.length&&(r.params.addToDefinition.layers=r.layers),r.tables&&0<r.tables.length&&(r.params.addToDefinition.tables=r.tables),i.request(e,r)},e.createFeatureService=function(t){return a.determineOwner(t).then(function(e){var r=s(s({},t),{rawResponse:!1}),e=a.getPortalUrl(t)+"/content/users/"+e+(r.folderId&&"/"!==r.folderId?"/"+r.folderId:"")+"/createService";return r.params=s({createParameters:r.item,outputType:"featureService"},r.params),i.request(e,r)})},e.updateServiceDefinition=function(e,r){return e=i.cleanUrl(e).replace("/rest/services","/rest/admin/services")+"/updateDefinition",r.params=s({updateDefinition:{}},r.params),r.updateDefinition&&(r.params.updateDefinition=r.updateDefinition),i.request(e,r)},Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=service-admin.umd.min.js.map
{
"name": "@esri/arcgis-rest-service-admin",
"version": "3.1.1",
"version": "3.1.2",
"description": "Service administration helpers for @esri/arcgis-rest-js",

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

"dependencies": {
"@esri/arcgis-rest-types": "^3.1.1",
"@esri/arcgis-rest-types": "^3.1.2",
"tslib": "^1.13.0"
},
"devDependencies": {
"@esri/arcgis-rest-auth": "^3.1.1",
"@esri/arcgis-rest-portal": "^3.1.1",
"@esri/arcgis-rest-request": "^3.1.1"
"@esri/arcgis-rest-auth": "^3.1.2",
"@esri/arcgis-rest-portal": "^3.1.2",
"@esri/arcgis-rest-request": "^3.1.2"
},

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

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