Bump packages to fix linter
This commit is contained in:
parent
ed9506bbaf
commit
0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions
19
node_modules/object-is/implementation.js
generated
vendored
Normal file
19
node_modules/object-is/implementation.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
'use strict';
|
||||
|
||||
var numberIsNaN = function (value) {
|
||||
return value !== value;
|
||||
};
|
||||
|
||||
module.exports = function is(a, b) {
|
||||
if (a === 0 && b === 0) {
|
||||
return 1 / a === 1 / b;
|
||||
}
|
||||
if (a === b) {
|
||||
return true;
|
||||
}
|
||||
if (numberIsNaN(a) && numberIsNaN(b)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue