geonames-stream
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -5,6 +5,10 @@ | ||
bun = require('bun'), | ||
output = new require('readable-stream/passthrough')(); | ||
passthrough = require('readable-stream/passthrough'); | ||
module.exports = function(){ | ||
var parser = unzip.Parse() | ||
module.exports = function() { | ||
var output = new passthrough(); | ||
var parser = unzip.Parse(); | ||
parser | ||
.on( 'error', console.error.bind( console ) ) | ||
@@ -23,2 +27,2 @@ .on( 'entry', function( entry ) { | ||
return stream; | ||
} | ||
}; |
{ | ||
"name": "geonames-stream", | ||
"author": "mapzen", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Streaming geonames parser", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/geopipes/geonames-stream", |
@@ -7,7 +7,8 @@ | ||
var tests = [ | ||
require('./interface.js') | ||
require('./interface.js'), | ||
require('./reusable-streams.js') | ||
]; | ||
tests.map(function(t) { | ||
t.all(tape, common) | ||
t.all(tape, common); | ||
}); |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
13089
18
255
3