Bump eslint-plugin-import to avoid vulnerability in dependency
This commit is contained in:
parent
10695e6a20
commit
ed9506bbaf
1660 changed files with 67726 additions and 27926 deletions
2
node_modules/es-abstract/2020/SameValueNonNumeric.js
generated
vendored
2
node_modules/es-abstract/2020/SameValueNonNumeric.js
generated
vendored
|
|
@ -11,7 +11,7 @@ var Type = require('./Type');
|
|||
|
||||
module.exports = function SameValueNonNumeric(x, y) {
|
||||
var xType = Type(x);
|
||||
if (xType === 'Number' || xType === 'Bigint') {
|
||||
if (xType === 'Number' || xType === 'BigInt') {
|
||||
throw new $TypeError('Assertion failed: SameValueNonNumeric does not accept Number or BigInt values');
|
||||
}
|
||||
if (xType !== Type(y)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue