Comparing version 0.9.17 to 0.9.18
14
base.js
@@ -62,2 +62,9 @@ // Copyright (c) 2015 Uber Technologies, Inc. | ||
// istanbul ignore next | ||
WriteResult.rangedError = function rangedError(err, start, end, value) { | ||
err.offest = start; | ||
err.endOffset = end; | ||
return new WriteResult(err, start, value); | ||
}; | ||
WriteResult.just = function just(offset) { | ||
@@ -86,2 +93,9 @@ return new WriteResult(null, offset); | ||
// istanbul ignore next | ||
ReadResult.rangedError = function rangedError(err, start, end, value) { | ||
err.offest = start; | ||
err.endOffset = end; | ||
return new ReadResult(err, start, value); | ||
}; | ||
ReadResult.just = function just(offset, value) { | ||
@@ -88,0 +102,0 @@ return new ReadResult(null, offset, value); |
@@ -174,3 +174,2 @@ // Copyright (c) 2015 Uber Technologies, Inc. | ||
} | ||
str += '\n'; | ||
} | ||
@@ -177,0 +176,0 @@ return str; |
{ | ||
"name": "bufrw", | ||
"version": "0.9.17", | ||
"version": "0.9.18", | ||
"description": "Buffer Reading and Writing", | ||
@@ -22,3 +22,3 @@ "keywords": [], | ||
"error": "^5.1.1", | ||
"hexer": "^1.4.2", | ||
"hexer": "^1.4.3", | ||
"readable-stream": "1.0.33", | ||
@@ -25,0 +25,0 @@ "xtend": "^4.0.0" |
@@ -171,6 +171,4 @@ // Copyright (c) 2015 Uber Technologies, Inc. | ||
}); | ||
dump.split(/\n/).forEach(function each(line, i, lines) { | ||
if (line.length || i < lines.length - 1) { | ||
self.assert.comment(line); | ||
} | ||
dump.split(/\n/).forEach(function each(line) { | ||
self.assert.comment(line); | ||
}); | ||
@@ -177,0 +175,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
161308
4012
Updatedhexer@^1.4.3