update modules

This commit is contained in:
Joel Male
2022-11-10 20:43:16 +10:00
parent c9072d53a3
commit 29d4f522f2
5233 changed files with 476623 additions and 533020 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
'use strict';
var test = require('tape');
var isString = require('..');
var hasSymbols = typeof Symbol === 'function' && typeof Symbol('') === 'symbol';
var isString = require('../');
var hasToStringTag = require('has-tostringtag/shams')();
test('not Strings', function (t) {
t.notOk(isString(), 'undefined is not String');
@@ -22,7 +22,7 @@ test('not Strings', function (t) {
t.end();
});
test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) {
test('@@toStringTag', { skip: !hasToStringTag }, function (t) {
var fakeString = {
toString: function () { return '7'; },
valueOf: function () { return '42'; }