georender-pack
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -179,8 +179,9 @@ var getNormals = require('polyline-normals') | ||
function decodeLabels (buf, offset, data, id) { | ||
data.labels[id] = [] | ||
do { | ||
var labelLength = varint.decode(buf, offset) | ||
if (labelLength === 0) continue | ||
offset+=varint.decode.bytes | ||
var labelData = buf.slice(offset, offset+labelLength) | ||
offset+=labelLength | ||
if (!data.labels[id]) data.labels[id] = [] | ||
data.labels[id].push(labelData.toString()) | ||
@@ -187,0 +188,0 @@ } while (labelLength > 0) |
@@ -25,3 +25,2 @@ module.exports = function (members, deps, rid) { | ||
var refs = deps[members[i].id].refs | ||
if (!refs[0]) console.error(refs) | ||
var fkey = refs[0] | ||
@@ -83,3 +82,2 @@ var lkey = refs[refs.length-1] | ||
i = fif | ||
//sorted[sorted.length-1].reverse = false | ||
reverse = false | ||
@@ -86,0 +84,0 @@ break |
{ | ||
"name": "georender-pack", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "pack and unpack osm data based on the peermaps buffer schema", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4
68856
22
2292