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

osm2json

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

osm2json - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

5

CHANGELOG.md

@@ -5,2 +5,6 @@ # Change Log

## [2.2.1] - 2017-09-11
### Fixed
- Support empty tags in changesets [#4](https://github.com/digidem/osm2json/pull/4)
## [2.2.0] - 2017-09-08

@@ -37,2 +41,3 @@ ### Added

[2.2.1]: https://github.com/digidem/osm2json/compare/v2.2.0...v2.2.1
[2.2.0]: https://github.com/digidem/osm2json/compare/v2.1.0...v2.2.0

@@ -39,0 +44,0 @@ [2.1.0]: https://github.com/digidem/osm2json/compare/v2.0.0...v2.1.0

2

lib/osm2json.js

@@ -176,3 +176,3 @@ /**

case 'tag':
if (!attr.k || !attr.v) {
if (!attr.k || attr.v == null) {
return this.onError(new Error('<tag> missing k or v attribute'))

@@ -179,0 +179,0 @@ }

{
"name": "osm2json",
"version": "2.2.0",
"version": "2.2.1",
"description": "Converts an OSM XML file to OSM JSON objects as a transform stream",

@@ -5,0 +5,0 @@ "main": "lib/osm2json.js",

@@ -147,3 +147,4 @@ [ {

"tags": {
"test": "relation"
"test": "relation",
"empty": ""
},

@@ -150,0 +151,0 @@ "timestamp": "2013-09-05T19:38:11Z",

@@ -147,3 +147,4 @@ [ {

"tags": {
"test": "relation"
"test": "relation",
"empty": ""
},

@@ -150,0 +151,0 @@ "timestamp": "2013-09-05T19:38:11Z",

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