Comparing version 1.2.0 to 1.2.1
'use strict'; | ||
var proj4 = require('proj4'); | ||
var proj4 = require('proj4').hasOwnProperty('default') ? require('proj4').default : require('proj4'); | ||
// Checks if `list` looks like a `[x, y]`. | ||
@@ -33,3 +33,3 @@ function isXY(list) { | ||
switch (geojson.type) { | ||
case 'Feature': | ||
case 'Feature': | ||
r.geometry = self(geojson.geometry); | ||
@@ -36,0 +36,0 @@ break; |
{ | ||
"name": "reproject", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Reproject GeoJSON from one projection/CRS to another", | ||
@@ -25,8 +25,8 @@ "repository": "git@github.com:perliedman/reproject.git", | ||
"minimist": "^1.2.0", | ||
"proj4": "^2.3.12" | ||
"proj4": "^2.4.4" | ||
}, | ||
"devDependencies": { | ||
"expect.js": "^0.3.1", | ||
"mocha": "^4.0.0" | ||
"mocha": "^5.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28733
Updatedproj4@^2.4.4