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

geojson-elevation

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geojson-elevation - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

index.js

@@ -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

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