🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@spatial/helpers

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spatial/helpers - npm Package Compare versions

Comparing version
1.0.5
to
2.0.0
+4
-4
index.js

@@ -204,3 +204,3 @@ /**

return featureCollection(coordinates.map(coords => point(coords, properties)), options);
return featureCollection(coordinates.map(function (coords) { return point(coords, properties); }), options);
}

@@ -268,3 +268,3 @@

return featureCollection(coordinates.map(coords => polygon(coords, properties)), options);
return featureCollection(coordinates.map(function (coords) { return polygon(coords, properties); }), options);
}

@@ -323,3 +323,3 @@

return featureCollection(coordinates.map(coords => lineString(coords, properties)), options);
return featureCollection(coordinates.map(function (coords) { return lineString(coords, properties); }), options);
}

@@ -688,3 +688,3 @@

if (bbox.length !== 4 && bbox.length !== 6) throw new Error('bbox must be an Array of 4 or 6 numbers');
bbox.forEach((num) => {
bbox.forEach(function (num) {
if (!isNumber(num)) throw new Error('bbox must only contain numbers');

@@ -691,0 +691,0 @@ });

@@ -204,3 +204,3 @@ /**

return featureCollection(coordinates.map(coords => point(coords, properties)), options);
return featureCollection(coordinates.map(function (coords) { return point(coords, properties); }), options);
}

@@ -268,3 +268,3 @@

return featureCollection(coordinates.map(coords => polygon(coords, properties)), options);
return featureCollection(coordinates.map(function (coords) { return polygon(coords, properties); }), options);
}

@@ -323,3 +323,3 @@

return featureCollection(coordinates.map(coords => lineString(coords, properties)), options);
return featureCollection(coordinates.map(function (coords) { return lineString(coords, properties); }), options);
}

@@ -688,3 +688,3 @@

if (bbox.length !== 4 && bbox.length !== 6) throw new Error('bbox must be an Array of 4 or 6 numbers');
bbox.forEach((num) => {
bbox.forEach(function (num) {
if (!isNumber(num)) throw new Error('bbox must only contain numbers');

@@ -691,0 +691,0 @@ });

@@ -208,3 +208,3 @@ 'use strict';

return featureCollection(coordinates.map(coords => point(coords, properties)), options);
return featureCollection(coordinates.map(function (coords) { return point(coords, properties); }), options);
}

@@ -272,3 +272,3 @@

return featureCollection(coordinates.map(coords => polygon(coords, properties)), options);
return featureCollection(coordinates.map(function (coords) { return polygon(coords, properties); }), options);
}

@@ -327,3 +327,3 @@

return featureCollection(coordinates.map(coords => lineString(coords, properties)), options);
return featureCollection(coordinates.map(function (coords) { return lineString(coords, properties); }), options);
}

@@ -692,3 +692,3 @@

if (bbox.length !== 4 && bbox.length !== 6) throw new Error('bbox must be an Array of 4 or 6 numbers');
bbox.forEach((num) => {
bbox.forEach(function (num) {
if (!isNumber(num)) throw new Error('bbox must only contain numbers');

@@ -695,0 +695,0 @@ });

{
"name": "@spatial/helpers",
"version": "1.0.5",
"version": "2.0.0",
"description": "turf helpers module",

@@ -56,3 +56,3 @@ "main": "main.js",

},
"gitHead": "e448e0465bd2406d476128f71ddfbce1c6d980b0"
"gitHead": "169a7a5b931e70b4ad1941738f6cc4b51bd310fa"
}