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

@geoblocks/edittrack

Package Overview
Dependencies
Maintainers
5
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geoblocks/edittrack - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

6

package.json
{
"name": "@geoblocks/edittrack",
"version": "1.1.5",
"version": "1.1.6",
"description": "Geoblocks edittrack",

@@ -43,7 +43,7 @@ "module": "src/index.js",

"chai": "4.3.8",
"eslint": "8.48.0",
"eslint": "8.49.0",
"eslint-config-openlayers": "18.0.0",
"gh-pages": "6.0.0",
"mocha": "10.2.0",
"ol": "8.0.0",
"ol": "8.1.0",
"parcel": "2.9.3",

@@ -50,0 +50,0 @@ "proj4": "2.9.0",

@@ -25,6 +25,6 @@ import {toLonLat} from 'ol/proj.js';

/**
* @private
* @public
* @type {string}
*/
this.url_ = options.url;
this.url = options.url;

@@ -54,3 +54,3 @@ /**

const response = await fetch(`${this.url_}&${coordinateString}`);
const response = await fetch(`${this.url}&${coordinateString}`);
const json = await response.json();

@@ -57,0 +57,0 @@ if (json.paths) {

@@ -41,6 +41,6 @@ import {fromLonLat, toLonLat} from 'ol/proj.js';

/**
* @private
* @public
* @type {string}
*/
this.url_ = options.url;
this.url = options.url;

@@ -76,3 +76,3 @@ /**

let url = `${this.url_}/${coordinateString}?radiuses=${radiuses}&geometries=geojson`;
let url = `${this.url}/${coordinateString}?radiuses=${radiuses}&geometries=geojson`;
if (this.extraParams_) {

@@ -98,9 +98,2 @@ url += `&${this.extraParams_}`;

}
/**
* @param {string} url
*/
setUrl(url) {
this.url_ = url;
}
}
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