Comparing version 1.0.2 to 1.0.3
@@ -408,2 +408,9 @@ 'use strict'; | ||
function objectEqual(leftHandOperand, rightHandOperand, options) { | ||
// This block can be removed once support for Node v0.10 is dropped because | ||
// buffers are properly detected as iterables in later versions. | ||
if (typeof Buffer === 'function' && | ||
typeof Buffer.isBuffer === 'function' && | ||
Buffer.isBuffer(leftHandOperand)) { | ||
return iterableEqual(leftHandOperand, rightHandOperand, options); | ||
} | ||
var leftHandKeys = getEnumerableKeys(leftHandOperand); | ||
@@ -410,0 +417,0 @@ var rightHandKeys = getEnumerableKeys(rightHandOperand); |
@@ -88,3 +88,3 @@ { | ||
}, | ||
"version": "1.0.2" | ||
"version": "1.0.3" | ||
} |
@@ -102,4 +102,7 @@ <h1 align=center> | ||
- `eql(-0, +0).should.be.false;` | ||
- All own and inherited enumerable properties are considered: | ||
- `eql(Object.create({ foo: { a: 1 } }), Object.create({ foo: { a: 1 } })).should.be.true;` | ||
- `eql(Object.create({ foo: { a: 1 } }), Object.create({ foo: { a: 2 } })).should.be.false;` | ||
- Arguments are not Arrays: | ||
- `eql([], arguments).should.be.false;` | ||
- `eql([], Array.prototype.slice.call(arguments)).should.be.true;` |
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
22339
406
108