Update checked-in dependencies
This commit is contained in:
parent
1afca056e3
commit
6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions
7
node_modules/es-abstract/2020/IsWordChar.js
generated
vendored
7
node_modules/es-abstract/2020/IsWordChar.js
generated
vendored
|
|
@ -1,8 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
|
||||
var $TypeError = GetIntrinsic('%TypeError%');
|
||||
var $TypeError = require('es-errors/type');
|
||||
|
||||
var callBound = require('call-bind/callBound');
|
||||
|
||||
|
|
@ -10,7 +8,6 @@ var $indexOf = callBound('String.prototype.indexOf');
|
|||
|
||||
var IsArray = require('./IsArray');
|
||||
var IsInteger = require('./IsInteger');
|
||||
var Type = require('./Type');
|
||||
var WordCharacters = require('./WordCharacters');
|
||||
|
||||
var every = require('../helpers/every');
|
||||
|
|
@ -32,7 +29,7 @@ module.exports = function IsWordChar(e, InputLength, Input, IgnoreCase, Unicode)
|
|||
if (!IsArray(Input) || !every(Input, isChar)) {
|
||||
throw new $TypeError('Assertion failed: `Input` must be a List of characters');
|
||||
}
|
||||
if (Type(IgnoreCase) !== 'Boolean' || Type(Unicode) !== 'Boolean') {
|
||||
if (typeof IgnoreCase !== 'boolean' || typeof Unicode !== 'boolean') {
|
||||
throw new $TypeError('Assertion failed: `IgnoreCase` and `Unicode` must be booleans');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue