byte-range-stream
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "byte-range-stream", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Create a multipart/byteranges stream based on passed ranges", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
# byte-range-stream | ||
[![npm version](http://img.shields.io/npm/v/byte-range-stream.svg?style=flat-square)](http://browsenpm.org/package/byte-range-stream)[![Build Status](http://img.shields.io/travis/rexxars/byte-range-stream/master.svg?style=flat-square)](https://travis-ci.org/rexxars/byte-range-stream) | ||
Create a multipart/byteranges stream based on passed ranges. | ||
@@ -4,0 +6,0 @@ |
@@ -56,4 +56,4 @@ 'use strict' | ||
const isLast = i === lastIndex | ||
this._append(range, next => next(this._options.getChunk(range)), isLast) | ||
this._numChunks++ | ||
this._append(range, next => Promise.resolve(this._options.getChunk(range)).then(next), isLast) | ||
}) | ||
@@ -60,0 +60,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
8734
60