Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2021-07-27 16:54:26 +00:00
parent 6b0d45a5c6
commit cc1adb825a
4247 changed files with 144820 additions and 149530 deletions

28
node_modules/es-abstract/test/helpers/isByteValue.js generated vendored Normal file
View file

@ -0,0 +1,28 @@
'use strict';
var test = require('tape');
var forEach = require('foreach');
var debug = require('object-inspect');
var isByteValue = require('../../helpers/isByteValue');
var v = require('es-value-fixtures');
test('isByteValue', function (t) {
forEach([].concat(
v.notNonNegativeIntegers,
-1,
-42,
-Infinity,
Infinity,
v.nonIntegerNumbers
), function (nonByteValue) {
t.equal(isByteValue(nonByteValue), false, debug(nonByteValue) + ' is not a byte value');
});
for (var i = 0; i <= 255; i += 1) {
t.equal(isByteValue(i), true, i + ' is a byte value');
}
t.equal(isByteValue(256), false, '256 is not a byte value');
t.end();
});