Comparing version 1.0.2 to 1.0.3
@@ -18,3 +18,3 @@ const BufferList = require('bl/BufferList') | ||
if (!res) { | ||
type = options.type || typeof chunk === 'string' ? 'string' : 'buffer' | ||
type = options.type || (typeof chunk === 'string' ? 'string' : 'buffer') | ||
res = TypeDefault[type]() | ||
@@ -21,0 +21,0 @@ } |
{ | ||
"name": "it-concat", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Concat all buffers/strings yielded from an async iterable into a single BufferList/string", | ||
@@ -28,3 +28,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@types/bl": "^2.1.0", | ||
"@types/bl": "^4.1.0", | ||
"ava": "^3.12.1", | ||
@@ -34,3 +34,3 @@ "nyc": "^15.1.0", | ||
"random-int": "^2.0.1", | ||
"standard": "^14.3.1" | ||
"standard": "^16.0.3" | ||
}, | ||
@@ -37,0 +37,0 @@ "repository": { |
# it-concat | ||
[![Build Status](https://travis-ci.org/alanshaw/it-concat.svg?branch=master)](https://travis-ci.org/alanshaw/it-concat) | ||
[![dependencies Status](https://david-dm.org/alanshaw/it-concat/status.svg)](https://david-dm.org/alanshaw/it-concat) | ||
[![dependencies Status](https://status.david-dm.org/gh/alanshaw/it-concat.svg)](https://david-dm.org/alanshaw/it-concat) | ||
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
@@ -6,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
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
8650
82