Update checked-in dependencies
This commit is contained in:
parent
1afca056e3
commit
6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions
9
node_modules/es-abstract/2017/WordCharacters.js
generated
vendored
9
node_modules/es-abstract/2017/WordCharacters.js
generated
vendored
|
|
@ -1,16 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
|
||||
var $TypeError = GetIntrinsic('%TypeError%');
|
||||
var $TypeError = require('es-errors/type');
|
||||
|
||||
var callBound = require('call-bind/callBound');
|
||||
var $indexOf = callBound('String.prototype.indexOf', true);
|
||||
|
||||
var Canonicalize = require('./Canonicalize');
|
||||
var Type = require('./Type');
|
||||
|
||||
var caseFolding = require('../helpers/caseFolding');
|
||||
var caseFolding = require('../helpers/caseFolding.json');
|
||||
var forEach = require('../helpers/forEach');
|
||||
var OwnPropertyKeys = require('../helpers/OwnPropertyKeys');
|
||||
|
||||
|
|
@ -19,7 +16,7 @@ var A = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'; // st
|
|||
// https://262.ecma-international.org/8.0/#sec-runtime-semantics-wordcharacters-abstract-operation
|
||||
|
||||
module.exports = function WordCharacters(IgnoreCase, Unicode) {
|
||||
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