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
12
node_modules/es-abstract/2015/IsArray.js
generated
vendored
12
node_modules/es-abstract/2015/IsArray.js
generated
vendored
|
|
@ -1,14 +1,4 @@
|
|||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
|
||||
var $Array = GetIntrinsic('%Array%');
|
||||
|
||||
// eslint-disable-next-line global-require
|
||||
var toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString');
|
||||
|
||||
// https://ecma-international.org/ecma-262/6.0/#sec-isarray
|
||||
|
||||
module.exports = $Array.isArray || function IsArray(argument) {
|
||||
return toStr(argument) === '[object Array]';
|
||||
};
|
||||
module.exports = require('../helpers/IsArray');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue