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
4
node_modules/es-abstract/helpers/isFinite.js
generated
vendored
4
node_modules/es-abstract/helpers/isFinite.js
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
var $isNaN = Number.isNaN || function (a) { return a !== a; };
|
||||
var $isNaN = require('./isNaN');
|
||||
|
||||
module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; };
|
||||
module.exports = function (x) { return (typeof x === 'number' || typeof x === 'bigint') && !$isNaN(x) && x !== Infinity && x !== -Infinity; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue