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

gtfs2lc

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gtfs2lc - npm Package Compare versions

Comparing version 0.8.6 to 0.8.7

12

lib/StreamIterator.js

@@ -7,14 +7,4 @@ const util = require('util'),

this._iterator = AsyncIterator.wrap(stream);
this._streamEnded = false;
this._currentCB;
this._currentPromise;
this._iterator.on("end", () => {
this._streamEnded = true;
if(this._currentPromise) {
this._currentPromise();
}
if (this._currentCB) {
this._currentCB();
}
});
};

@@ -33,3 +23,3 @@

var object = this._iterator.read();
if (!object && !this._streamEnded) {
if (!object && !this._iterator.ended && this._iterator._state < 2) {
this._iterator.once("readable", async () => {

@@ -36,0 +26,0 @@ object = await this.next(callback)

4

package.json
{
"name": "gtfs2lc",
"version": "0.8.6",
"version": "0.8.7",
"description": "Mapping script from gtfs to (linked) connections",

@@ -35,3 +35,3 @@ "main": "lib/gtfs2lc.js",

"jsonld-stream": "^1.0.4",
"level": "^4.0.0",
"level": "^5.0.1",
"n3": "^0.4.5",

@@ -38,0 +38,0 @@ "uri-templates": "^0.2.0"

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