Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 580aed4

Browse files
committed
patchIssue3992: disable coverage checking
The upstream patches have made it into the Node releases used by coveralls, so the replacement instances are no longer being invoked. Remove them from coverage checking so I can get my 100% back.
1 parent 5e98690 commit 580aed4

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## [0.12.1] - 2016-0308
4+
5+
* Disable coverage testing for [patchIssue3992][doc:patchIssue3992] to
6+
avoid taking a penalty on node versions that have been updated.
7+
38
## [0.12.0] - 2016-0308
49

510
* **API** Replace `setClassLayout` with [bindConstructorLayout][doc:bindConstructorLayout].

lib/patchIssue3992.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ function checkInt(buffer, value, offset, ext, max, min) {
6262
* violations if the function doesn't appear to be a method, and about
6363
* defining functions within a block if the test is in an if
6464
* statement. */
65+
/* istanbul ignore next */
6566
Buffer.prototype.writeIntLE = issue3992IsResolved
6667
? Buffer.prototype.writeIntLE
6768
: function(value, offset, byteLength, noAssert) {
@@ -89,6 +90,7 @@ Buffer.prototype.writeIntLE = issue3992IsResolved
8990
return offset + byteLength;
9091
};
9192

93+
/* istanbul ignore next */
9294
Buffer.prototype.writeIntBE = issue3992IsResolved
9395
? Buffer.prototype.writeIntBE
9496
: function(value, offset, byteLength, noAssert) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "buffer-layout",
3-
"version": "0.12.0",
3+
"version": "0.12.1",
44
"description": "Translation between JavaScript values and Buffers",
55
"keywords": [
66
"Buffer",

0 commit comments

Comments
 (0)