geojson-elevation
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -1,2 +0,2 @@ | ||
var coordEach = require('turf-meta').coordEach; | ||
var coordEach = require('@turf/meta').coordEach; | ||
@@ -3,0 +3,0 @@ module.exports = { |
@@ -0,0 +0,0 @@ ## ISC License |
{ | ||
"name": "geojson-elevation", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Add elevation data to GeoJSON objects", | ||
@@ -20,8 +20,8 @@ "homepage": "https://github.com/perliedman/geojson-elevation", | ||
"node-hgt": "^1.2.2", | ||
"turf-meta": "^3.0.1" | ||
"@turf/meta": "^6.0.2" | ||
}, | ||
"devDependencies": { | ||
"tap-spec": "^4.1.1", | ||
"tap-spec": "^5.0.0", | ||
"tape": "^4.2.2" | ||
} | ||
} |
@@ -6,3 +6,3 @@ GeoJSON Elevation | ||
[![npm version](https://img.shields.io/npm/v/geojson-elevation.svg)](https://www.npmjs.com/package/geojson-elevation) [![Build status](https://travis-ci.org/perliedman/geojson-elevation.png)](https://travis-ci.org/perliedman/geojson-elevation) | ||
[![npm version](https://img.shields.io/npm/v/geojson-elevation.svg)](https://www.npmjs.com/package/geojson-elevation) [![Build status](https://travis-ci.org/perliedman/geojson-elevation.svg?branch=master)](https://travis-ci.org/perliedman/geojson-elevation) | ||
@@ -42,3 +42,3 @@ Add juicy elevation data to your fresh [GeoJSON](http://geojson.org/). | ||
addElevation(geojson, new TileSet('./data'), function(err) { | ||
addElevation(geojson, new TileSet('./data'), function(err, geojson) { | ||
if (!err) { | ||
@@ -45,0 +45,0 @@ console.log(JSON.stringify(geojson)); |
@@ -0,0 +0,0 @@ var addElevation = require('./').addElevation, |
var test = require('tape'), | ||
addElevation = require('../').addElevation, | ||
TileSet = require('node-hgt').TileSet, | ||
coordReduce = require('turf-meta').coordReduce; | ||
coordReduce = require('@turf/meta').coordReduce; | ||
@@ -6,0 +6,0 @@ test('can add elevation to LineString', function(t) { |
Sorry, the diff of this file is not supported yet
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
25967031
+ Added@turf/meta@^6.0.2
+ Added@turf/helpers@6.5.0(transitive)
+ Added@turf/meta@6.5.0(transitive)
+ Addedpsl@1.10.0(transitive)
- Removedturf-meta@^3.0.1
- Removedpsl@1.13.0(transitive)
- Removedturf-meta@3.0.12(transitive)