Comparing version 0.8.6 to 0.8.7
@@ -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) |
{ | ||
"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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54038
23
999
+ Addedabstract-leveldown@6.0.36.2.36.3.0(transitive)
+ Addeddeferred-leveldown@5.3.0(transitive)
+ Addedencoding-down@6.3.0(transitive)
+ Addedimmediate@3.2.3(transitive)
+ Addedlevel@5.0.1(transitive)
+ Addedlevel-concat-iterator@2.0.1(transitive)
+ Addedlevel-iterator-stream@4.0.2(transitive)
+ Addedlevel-js@4.0.2(transitive)
+ Addedlevel-packager@5.1.1(transitive)
+ Addedlevel-supports@1.0.1(transitive)
+ Addedleveldown@5.6.0(transitive)
+ Addedlevelup@4.4.0(transitive)
+ Addedltgt@2.2.1(transitive)
+ Addednapi-macros@2.0.0(transitive)
+ Addednode-gyp-build@4.1.1(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedtypedarray-to-buffer@3.1.5(transitive)
- Removedabstract-leveldown@5.0.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedaproba@1.2.0(transitive)
- Removedare-we-there-yet@1.1.7(transitive)
- Removedbindings@1.3.1(transitive)
- Removedbl@1.2.3(transitive)
- Removedbuffer-alloc@1.2.0(transitive)
- Removedbuffer-alloc-unsafe@1.1.0(transitive)
- Removedbuffer-fill@1.0.0(transitive)
- Removedchownr@1.1.4(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedconsole-control-strings@1.1.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddecompress-response@3.3.0(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removeddeferred-leveldown@4.0.2(transitive)
- Removeddelegates@1.0.0(transitive)
- Removeddetect-libc@1.0.3(transitive)
- Removedencoding-down@5.0.4(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedexpand-template@2.0.3(transitive)
- Removedfast-future@1.0.2(transitive)
- Removedfs-constants@1.0.0(transitive)
- Removedgauge@2.7.4(transitive)
- Removedgithub-from-package@0.0.0(transitive)
- Removedhas-unicode@2.0.1(transitive)
- Removedini@1.3.8(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedlevel@4.0.0(transitive)
- Removedlevel-iterator-stream@3.0.1(transitive)
- Removedlevel-packager@3.1.0(transitive)
- Removedleveldown@4.0.2(transitive)
- Removedlevelup@3.1.1(transitive)
- Removedmimic-response@1.0.1(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removednan@2.12.1(transitive)
- Removednapi-build-utils@1.0.2(transitive)
- Removednode-abi@2.30.1(transitive)
- Removednoop-logger@0.1.1(transitive)
- Removednpmlog@4.1.2(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedprebuild-install@5.2.5(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedpump@1.0.32.0.1(transitive)
- Removedrc@1.2.8(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedsimple-concat@1.0.1(transitive)
- Removedsimple-get@2.8.2(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
- Removedtar-fs@1.16.3(transitive)
- Removedtar-stream@1.6.2(transitive)
- Removedto-buffer@1.1.1(transitive)
- Removedwhich-pm-runs@1.1.0(transitive)
- Removedwide-align@1.1.5(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedlevel@^5.0.1