stream-json
Advanced tools
Comparing version 1.7.2 to 1.7.3
@@ -31,2 +31,5 @@ 'use strict'; | ||
} | ||
if (options.numberAsString) { | ||
this.numberValue = this.stringValue; | ||
} | ||
} | ||
@@ -33,0 +36,0 @@ } |
{ | ||
"name": "stream-json", | ||
"version": "1.7.2", | ||
"version": "1.7.3", | ||
"description": "stream-json is the micro-library of Node.js stream components for creating custom JSON processing pipelines with a minimal memory footprint. It can parse JSON files far exceeding available memory streaming individual primitives using a SAX-inspired API. Includes utilities to stream JSON database dumps.", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/uhop/stream-json", |
@@ -116,2 +116,3 @@ # stream-json [![NPM version][npm-image]][npm-url] | ||
- 1.7.3 *added an assembler option to treat numbers as strings.* | ||
- 1.7.2 *added an error check for JSONL parsing. Thx [Marc-Andre Boily](https://github.com/maboily)!* | ||
@@ -118,0 +119,0 @@ - 1.7.1 *minor bugfix and improved error reporting.* |
@@ -35,3 +35,3 @@ 'use strict'; | ||
this._transform = this._wait || this._filter; | ||
this._assembler = new Assembler(options && {reviver: options.reviver}); | ||
this._assembler = new Assembler(options); | ||
} | ||
@@ -38,0 +38,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
90424
2313
159