New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eeacms/volto-arcgis-block

Package Overview
Dependencies
Maintainers
9
Versions
334
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eeacms/volto-arcgis-block - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

8

CHANGELOG.md

@@ -7,4 +7,12 @@ ### Changelog

#### [0.1.5](https://github.com/eea/volto-arcgis-block/compare/0.1.4...0.1.5)
- Update config file and parametrized service urls [`#13`](https://github.com/eea/volto-arcgis-block/pull/13)
- Get data from config file [`6c44e9d`](https://github.com/eea/volto-arcgis-block/commit/6c44e9d9a917e74a38fcf6e83e434c4a0750b465)
#### [0.1.4](https://github.com/eea/volto-arcgis-block/compare/0.1.3...0.1.4)
> 30 September 2021
- UseCase development [`#11`](https://github.com/eea/volto-arcgis-block/pull/11)
- Bugs n improvements [`#12`](https://github.com/eea/volto-arcgis-block/pull/12)

@@ -11,0 +19,0 @@ - Generated use case map, layer management, lateral menu render and code format to ESLint [`#10`](https://github.com/eea/volto-arcgis-block/pull/10)

2

package.json
{
"name": "@eeacms/volto-arcgis-block",
"version": "0.1.4",
"version": "0.1.5",
"description": "volto-arcgis-block: Volto add-on",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -9,9 +9,7 @@ const config = {

RegionLayer:
'https://bm-eugis.tk/arcgis/rest/services/CLMS/UseCasesRegion/MapServer/0',
'https://bm-eugis.ml/arcgis/rest/services/CLMS/UseCasesRegion_count/MapServer/0',
SpatialCoverageLayer:
'https://bm-eugis.tk/arcgis/rest/services/CLMS/UseCasesSpatialCoverage/MapServer/0',
QueryService:
'https://bm-eugis.tk/arcgis/rest/services/CLMS/UseCasesSpatialCoverage/MapServer/0/query',
'https://bm-eugis.ml/arcgis/rest/services/CLMS/UseCasesSpatialCoverage/MapServer/0',
},
};
export default config;

@@ -24,2 +24,3 @@ import React, { createRef } from 'react';

this.mapCfg = props.cfg.Map;
this.serviceCfg = props.cfg.Services;
this.compCfg = this.props.cfg.Components;

@@ -127,4 +128,3 @@ this.url = this.props.cfg.url;

id: 'layerSpatial',
url:
'https://bm-eugis.tk/arcgis/rest/services/CLMS/UseCasesSpatialCoverage/MapServer/0',
url: this.serviceCfg.SpatialCoverageLayer,
});

@@ -134,4 +134,3 @@

id: 'layerRegion',
url:
'https://bm-eugis.tk/arcgis/rest/services/CLMS/UseCasesRegion_count/MapServer/0',
url: this.serviceCfg.RegionLayer,
});

@@ -203,3 +202,3 @@

let xmlhttp;
const url = `https://bm-eugis.tk/arcgis/rest/services/CLMS/UseCasesSpatialCoverage/MapServer/0/query?where=Region+%3D+%27${region}%27&text=&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&outFields=*&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=&having=&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&historicMoment=&returnDistinctValues=false&resultOffset=&resultRecordCount=&queryByDistance=&returnExtentOnly=false&datumTransformation=&parameterValues=&rangeValues=&quantizationParameters=&featureEncoding=esriDefault&f=pjson`;
const url = `${this.serviceCfg.SpatialCoverageLayer}/query?where=Region+%3D+%27${region}%27&text=&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&outFields=*&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=&having=&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&historicMoment=&returnDistinctValues=false&resultOffset=&resultRecordCount=&queryByDistance=&returnExtentOnly=false&datumTransformation=&parameterValues=&rangeValues=&quantizationParameters=&featureEncoding=esriDefault&f=pjson`;
xmlhttp = new XMLHttpRequest();

@@ -206,0 +205,0 @@ xmlhttp.onreadystatechange = function () {

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