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/is-boolean-object/test/index.js
generated
vendored
4
node_modules/is-boolean-object/test/index.js
generated
vendored
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
var test = require('tape');
|
||||
var isBoolean = require('../');
|
||||
var hasSymbols = require('has-symbols/shams')();
|
||||
var hasToStringTag = require('has-tostringtag/shams')();
|
||||
|
||||
test('not Booleans', function (t) {
|
||||
t.test('primitives', function (st) {
|
||||
|
|
@ -29,7 +29,7 @@ test('not Booleans', function (t) {
|
|||
t.end();
|
||||
});
|
||||
|
||||
test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) {
|
||||
test('@@toStringTag', { skip: !hasToStringTag }, function (t) {
|
||||
var fakeBoolean = {
|
||||
toString: function () { return 'true'; },
|
||||
valueOf: function () { return true; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue