Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dcos/recordio

Package Overview
Dependencies
Maintainers
10
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dcos/recordio - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

10

CHANGELOG.md

@@ -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)

5

package.json

@@ -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"
}
}

4

src/read.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc