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-date-object/test/index.js
generated
vendored
4
node_modules/is-date-object/test/index.js
generated
vendored
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
var test = require('tape');
|
||||
var isDate = require('../');
|
||||
var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator !== 'undefined';
|
||||
var hasToStringTag = require('has-tostringtag/shams')();
|
||||
|
||||
test('not Dates', function (t) {
|
||||
t.notOk(isDate(), 'undefined is not Date');
|
||||
|
|
@ -19,7 +19,7 @@ test('not Dates', function (t) {
|
|||
t.end();
|
||||
});
|
||||
|
||||
test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) {
|
||||
test('@@toStringTag', { skip: !hasToStringTag }, function (t) {
|
||||
var realDate = new Date();
|
||||
var fakeDate = {
|
||||
toString: function () { return String(realDate); },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue