@dcos/recordio
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -5,3 +5,13 @@ # Change Log | ||
<a name="0.1.6"></a> | ||
## [0.1.6](https://github.com/dcos-labs/recordio/compare/v0.1.5...v0.1.6) (2018-01-09) | ||
### Bug Fixes | ||
* **read:** introduce copychars to address memory issue ([c428026](https://github.com/dcos-labs/recordio/commit/c428026)) | ||
<a name="0.1.5"></a> | ||
## [0.1.5](https://github.com/dcos-labs/recordio/compare/v0.1.4...v0.1.5) (2017-11-16) |
@@ -6,3 +6,3 @@ { | ||
"main": "index.js", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"repository": { | ||
@@ -19,3 +19,6 @@ "type": "git", | ||
"jest-cli": "^21.2.1" | ||
}, | ||
"dependencies": { | ||
"@dcos/copychars": "^0.1.0" | ||
} | ||
} |
"use strict"; | ||
var copychars = require("@dcos/copychars").default; | ||
var RECORD_PATTERN = /^\d+\n.+/; | ||
@@ -26,3 +28,3 @@ | ||
record = rest.substring(recordStartPosition, recordEndPosition); | ||
record = copychars(rest, recordStartPosition, recordLength); | ||
rest = rest.substring(recordEndPosition); | ||
@@ -29,0 +31,0 @@ |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
101134
89
1
9
1
+ Added@dcos/copychars@^0.1.0
+ Added@dcos/copychars@0.1.2(transitive)