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
8
node_modules/array-includes/polyfill.js
generated
vendored
8
node_modules/array-includes/polyfill.js
generated
vendored
|
|
@ -3,5 +3,11 @@
|
|||
var implementation = require('./implementation');
|
||||
|
||||
module.exports = function getPolyfill() {
|
||||
return Array.prototype.includes || implementation;
|
||||
if (
|
||||
Array.prototype.includes
|
||||
&& Array(1).includes(undefined) // https://bugzilla.mozilla.org/show_bug.cgi?id=1767541
|
||||
) {
|
||||
return Array.prototype.includes;
|
||||
}
|
||||
return implementation;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue