Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

Location:
imaps-frontend/node_modules/es-abstract/2023
Files:
152 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/es-abstract/2023/AddEntriesFromIterable.js

    r0c6b92a r79a0317  
    1313var IteratorValue = require('./IteratorValue');
    1414var ThrowCompletion = require('./ThrowCompletion');
    15 var Type = require('./Type');
     15
     16var isObject = require('../helpers/isObject');
    1617
    1718// https://262.ecma-international.org/14.0/#sec-add-entries-from-iterable
     
    3132                }
    3233                var nextItem = IteratorValue(next);
    33                 if (Type(nextItem) !== 'Object') {
     34                if (!isObject(nextItem)) {
    3435                        var error = ThrowCompletion(new $TypeError('iterator next must return an Object, got ' + inspect(nextItem)));
    3536                        return IteratorClose(iteratorRecord, error);
  • imaps-frontend/node_modules/es-abstract/2023/AddToKeptObjects.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44var SLOT = require('internal-slot');
    55
     
    77
    88var ClearKeptObjects = require('./ClearKeptObjects');
    9 var Type = require('./Type');
     9
     10var isObject = require('../helpers/isObject');
    1011
    1112var $push = callBound('Array.prototype.push');
     
    1415
    1516module.exports = function AddToKeptObjects(object) {
    16         if (Type(object) !== 'Object') {
     17        if (!isObject(object)) {
    1718                throw new $TypeError('Assertion failed: `object` must be an Object');
    1819        }
  • imaps-frontend/node_modules/es-abstract/2023/AdvanceStringIndex.js

    r0c6b92a r79a0317  
    33var CodePointAt = require('./CodePointAt');
    44
    5 var isInteger = require('../helpers/isInteger');
    6 var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');
    7 
    85var $TypeError = require('es-errors/type');
     6var isInteger = require('math-intrinsics/isInteger');
     7var MAX_SAFE_INTEGER = require('math-intrinsics/constants/maxSafeInteger');
    98
    109// https://262.ecma-international.org/12.0/#sec-advancestringindex
  • imaps-frontend/node_modules/es-abstract/2023/ApplyStringOrNumericBinaryOperator.js

    r0c6b92a r79a0317  
    7070        var lnum = ToNumeric(lval);
    7171        var rnum = ToNumeric(rval);
    72         var T = Type(lnum);
    73         if (T !== Type(rnum)) {
     72        if (Type(lnum) !== Type(rnum)) {
    7473                throw new $TypeError('types of ' + lnum + ' and ' + rnum + ' differ');
    7574        }
    76         var Operation = table[opText][T === 'BigInt' ? 1 : 0];
     75        var Operation = table[opText][typeof lnum === 'bigint' ? 1 : 0];
    7776        return Operation(lnum, rnum);
    7877};
  • imaps-frontend/node_modules/es-abstract/2023/ArrayCreate.js

    r0c6b92a r79a0317  
    77var $SyntaxError = require('es-errors/syntax');
    88var $TypeError = require('es-errors/type');
    9 
    10 var isInteger = require('../helpers/isInteger');
    11 
    12 var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;
    13 
    14 var hasProto = require('has-proto')();
    15 
    16 var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || (
    17         hasProto
    18                 ? function (O, proto) {
    19                         O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign
    20                         return O;
    21                 }
    22                 : null
    23 );
     9var isInteger = require('math-intrinsics/isInteger');
     10var MAX_ARRAY_LENGTH = require('math-intrinsics/constants/maxArrayLength');
     11var $setProto = require('set-proto');
    2412
    2513// https://262.ecma-international.org/12.0/#sec-arraycreate
  • imaps-frontend/node_modules/es-abstract/2023/ArraySpeciesCreate.js

    r0c6b92a r79a0317  
    55var $species = GetIntrinsic('%Symbol.species%', true);
    66var $TypeError = require('es-errors/type');
     7var isInteger = require('math-intrinsics/isInteger');
    78
    89var ArrayCreate = require('./ArrayCreate');
     
    1011var IsArray = require('./IsArray');
    1112var IsConstructor = require('./IsConstructor');
    12 var Type = require('./Type');
    1313
    14 var isInteger = require('../helpers/isInteger');
     14var isObject = require('../helpers/isObject');
    1515
    1616// https://262.ecma-international.org/12.0/#sec-arrayspeciescreate
     
    3232        //      Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
    3333        // }
    34         if ($species && Type(C) === 'Object') {
     34        if ($species && isObject(C)) {
    3535                C = Get(C, $species);
    3636                if (C === null) {
  • imaps-frontend/node_modules/es-abstract/2023/AsyncFromSyncIteratorContinuation.js

    r0c6b92a r79a0317  
    77var $Promise = GetIntrinsic('%Promise%', true);
    88
    9 var callBound = require('call-bind/callBound');
     9var callBound = require('call-bound');
    1010
    1111var CreateIterResultObject = require('./CreateIterResultObject');
     
    1313var IteratorValue = require('./IteratorValue');
    1414var PromiseResolve = require('./PromiseResolve');
    15 var Type = require('./Type');
     15
     16var isObject = require('../helpers/isObject');
    1617
    1718var $then = callBound('Promise.prototype.then', true);
     
    2021
    2122module.exports = function AsyncFromSyncIteratorContinuation(result) {
    22         if (Type(result) !== 'Object') {
     23        if (!isObject(result)) {
    2324                throw new $TypeError('Assertion failed: Type(O) is not Object');
    2425        }
  • imaps-frontend/node_modules/es-abstract/2023/AsyncIteratorClose.js

    r0c6b92a r79a0317  
    1010var CompletionRecord = require('./CompletionRecord');
    1111var GetMethod = require('./GetMethod');
    12 var Type = require('./Type');
    1312
     13var isObject = require('../helpers/isObject');
    1414var isIteratorRecord = require('../helpers/records/iterator-record-2023');
    1515
    16 var callBound = require('call-bind/callBound');
     16var callBound = require('call-bound');
    1717
    1818var $then = callBound('Promise.prototype.then', true);
     
    6262                                completion['?'](); // step 6
    6363                        }
    64                         if (Type(innerResult) !== 'Object') {
     64                        if (!isObject(innerResult)) {
    6565                                throw new $TypeError('`innerResult` must be an Object'); // step 10
    6666                        }
  • imaps-frontend/node_modules/es-abstract/2023/BigInt/toString.js

    r0c6b92a r79a0317  
    33var $SyntaxError = require('es-errors/syntax');
    44var $TypeError = require('es-errors/type');
    5 
    6 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
     6var isInteger = require('math-intrinsics/isInteger');
    77
    88var $BigIntToString = callBound('BigInt.prototype.toString', true);
    9 
    10 var isInteger = require('../../helpers/isInteger');
    119
    1210// https://262.ecma-international.org/14.0/#sec-numeric-types-bigint-tostring
  • imaps-frontend/node_modules/es-abstract/2023/BigIntBitwiseOp.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44// var $BigInt = GetIntrinsic('%BigInt%', true);
    5 // var $pow = GetIntrinsic('%Math.pow%');
     5// var $pow = require('math-intrinsics/pow');
    66
    77// var BinaryAnd = require('./BinaryAnd');
  • imaps-frontend/node_modules/es-abstract/2023/ByteListBitwiseOp.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var $TypeError = require('es-errors/type');
  • imaps-frontend/node_modules/es-abstract/2023/Call.js

    r0c6b92a r79a0317  
    22
    33var GetIntrinsic = require('get-intrinsic');
    4 var callBound = require('call-bind/callBound');
     4var callBound = require('call-bound');
    55
    66var $TypeError = require('es-errors/type');
  • imaps-frontend/node_modules/es-abstract/2023/CanBeHeldWeakly.js

    r0c6b92a r79a0317  
    22
    33var KeyForSymbol = require('./KeyForSymbol');
    4 var Type = require('./Type');
     4
     5var isObject = require('../helpers/isObject');
    56
    67// https://262.ecma-international.org/14.0/#sec-canbeheldweakly
    78
    89module.exports = function CanBeHeldWeakly(v) {
    9         if (Type(v) === 'Object') {
     10        if (isObject(v)) {
    1011                return true; // step 1
    1112        }
  • imaps-frontend/node_modules/es-abstract/2023/Canonicalize.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66var hasOwn = require('hasown');
    77
  • imaps-frontend/node_modules/es-abstract/2023/CharacterRange.js

    r0c6b92a r79a0317  
    22
    33var GetIntrinsic = require('get-intrinsic');
    4 var callBound = require('call-bind/callBound');
     4var callBound = require('call-bound');
    55
    66var $fromCharCode = GetIntrinsic('%String.fromCharCode%');
  • imaps-frontend/node_modules/es-abstract/2023/CloneArrayBuffer.js

    r0c6b92a r79a0317  
    88var OrdinarySetPrototypeOf = require('./OrdinarySetPrototypeOf');
    99
    10 var isInteger = require('../helpers/isInteger');
    11 
     10var isInteger = require('math-intrinsics/isInteger');
    1211var isArrayBuffer = require('is-array-buffer');
    1312var arrayBufferSlice = require('arraybuffer.prototype.slice');
  • imaps-frontend/node_modules/es-abstract/2023/CodePointAt.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
    4 var callBound = require('call-bind/callBound');
     4var callBound = require('call-bound');
    55var isLeadingSurrogate = require('../helpers/isLeadingSurrogate');
    66var isTrailingSurrogate = require('../helpers/isTrailingSurrogate');
  • imaps-frontend/node_modules/es-abstract/2023/CompareArrayElements.js

    r0c6b92a r79a0317  
    88var ToString = require('./ToString');
    99
    10 var isNaN = require('../helpers/isNaN');
     10var isNaN = require('math-intrinsics/isNaN');
    1111
    1212// https://262.ecma-international.org/14.0/#sec-comparearrayelements
  • imaps-frontend/node_modules/es-abstract/2023/CompareTypedArrayElements.js

    r0c6b92a r79a0317  
    77var ToNumber = require('./ToNumber');
    88
    9 var isNaN = require('../helpers/isNaN');
     9var isNaN = require('math-intrinsics/isNaN');
    1010
    1111// https://262.ecma-international.org/14.0/#sec-comparetypedarrayelements
  • imaps-frontend/node_modules/es-abstract/2023/CopyDataProperties.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66var forEach = require('../helpers/forEach');
    77var every = require('../helpers/every');
    88var some = require('../helpers/some');
    9 var OwnPropertyKeys = require('../helpers/OwnPropertyKeys');
     9var OwnPropertyKeys = require('own-keys');
    1010
    1111var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
     
    1515var IsArray = require('./IsArray');
    1616var IsIntegralNumber = require('./IsIntegralNumber');
    17 var IsPropertyKey = require('./IsPropertyKey');
     17var isPropertyKey = require('../helpers/isPropertyKey');
    1818var SameValue = require('./SameValue');
    1919var ToNumber = require('./ToNumber');
    2020var ToObject = require('./ToObject');
    21 var Type = require('./Type');
     21
     22var isObject = require('../helpers/isObject');
    2223
    2324// https://262.ecma-international.org/12.0/#sec-copydataproperties
    2425
    2526module.exports = function CopyDataProperties(target, source, excludedItems) {
    26         if (Type(target) !== 'Object') {
     27        if (!isObject(target)) {
    2728                throw new $TypeError('Assertion failed: "target" must be an Object');
    2829        }
    2930
    30         if (!IsArray(excludedItems) || !every(excludedItems, IsPropertyKey)) {
     31        if (!IsArray(excludedItems) || !every(excludedItems, isPropertyKey)) {
    3132                throw new $TypeError('Assertion failed: "excludedItems" must be a List of Property Keys');
    3233        }
  • imaps-frontend/node_modules/es-abstract/2023/CreateAsyncFromSyncIterator.js

    r0c6b92a r79a0317  
    1414var IteratorNext = require('./IteratorNext');
    1515var OrdinaryObjectCreate = require('./OrdinaryObjectCreate');
    16 var Type = require('./Type');
     16
     17var isObject = require('../helpers/isObject');
     18var isIteratorRecord = require('../helpers/records/iterator-record-2023');
    1719
    1820var SLOT = require('internal-slot');
    19 
    20 var isIteratorRecord = require('../helpers/records/iterator-record-2023');
    2121
    2222var $AsyncFromSyncIteratorPrototype = GetIntrinsic('%AsyncFromSyncIteratorPrototype%', true) || {
     
    7070                                result = Call(iteratorReturn, syncIterator); // step 9.a
    7171                        }
    72                         if (Type(result) !== 'Object') { // step 11
     72                        if (!isObject(result)) { // step 11
    7373                                Call(reject, undefined, [new $TypeError('Iterator `return` method returned a non-object value.')]); // step 11.a
    7474                                return;
     
    106106                                result = Call(throwMethod, syncIterator); // step 9.a
    107107                        }
    108                         if (Type(result) !== 'Object') { // step 11
     108                        if (!isObject(result)) { // step 11
    109109                                Call(reject, undefined, [new $TypeError('Iterator `throw` method returned a non-object value.')]); // step 11.a
    110110                                return;
  • imaps-frontend/node_modules/es-abstract/2023/CreateDataProperty.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var IsPropertyKey = require('./IsPropertyKey');
     5var isPropertyKey = require('../helpers/isPropertyKey');
    66var OrdinaryDefineOwnProperty = require('./OrdinaryDefineOwnProperty');
    7 var Type = require('./Type');
     7
     8var isObject = require('../helpers/isObject');
    89
    910// https://262.ecma-international.org/6.0/#sec-createdataproperty
    1011
    1112module.exports = function CreateDataProperty(O, P, V) {
    12         if (Type(O) !== 'Object') {
     13        if (!isObject(O)) {
    1314                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1415        }
    15         if (!IsPropertyKey(P)) {
    16                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
     16        if (!isPropertyKey(P)) {
     17                throw new $TypeError('Assertion failed: P is not a Property Key');
    1718        }
    1819        var newDesc = {
  • imaps-frontend/node_modules/es-abstract/2023/CreateDataPropertyOrThrow.js

    r0c6b92a r79a0317  
    44
    55var CreateDataProperty = require('./CreateDataProperty');
    6 var IsPropertyKey = require('./IsPropertyKey');
    7 var Type = require('./Type');
     6
     7var isObject = require('../helpers/isObject');
     8var isPropertyKey = require('../helpers/isPropertyKey');
    89
    910// // https://262.ecma-international.org/14.0/#sec-createdatapropertyorthrow
    1011
    1112module.exports = function CreateDataPropertyOrThrow(O, P, V) {
    12         if (Type(O) !== 'Object') {
     13        if (!isObject(O)) {
    1314                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1415        }
    15         if (!IsPropertyKey(P)) {
    16                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
     16        if (!isPropertyKey(P)) {
     17                throw new $TypeError('Assertion failed: P is not a Property Key');
    1718        }
    1819        var success = CreateDataProperty(O, P, V);
  • imaps-frontend/node_modules/es-abstract/2023/CreateHTML.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66
    77var $replace = callBound('String.prototype.replace');
  • imaps-frontend/node_modules/es-abstract/2023/CreateListFromArrayLike.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var $TypeError = require('es-errors/type');
     
    1313var Type = require('./Type');
    1414
     15var isObject = require('../helpers/isObject');
     16
    1517var defaultElementTypes = ['Undefined', 'Null', 'Boolean', 'String', 'Symbol', 'Number', 'BigInt', 'Object'];
    1618
     
    2224                : defaultElementTypes;
    2325
    24         if (Type(obj) !== 'Object') {
     26        if (!isObject(obj)) {
    2527                throw new $TypeError('Assertion failed: `obj` must be an Object');
    2628        }
  • imaps-frontend/node_modules/es-abstract/2023/CreateMethodProperty.js

    r0c6b92a r79a0317  
    77var FromPropertyDescriptor = require('./FromPropertyDescriptor');
    88var IsDataDescriptor = require('./IsDataDescriptor');
    9 var IsPropertyKey = require('./IsPropertyKey');
     9var isPropertyKey = require('../helpers/isPropertyKey');
    1010var SameValue = require('./SameValue');
    11 var Type = require('./Type');
     11
     12var isObject = require('../helpers/isObject');
    1213
    1314// https://262.ecma-international.org/6.0/#sec-createmethodproperty
    1415
    1516module.exports = function CreateMethodProperty(O, P, V) {
    16         if (Type(O) !== 'Object') {
     17        if (!isObject(O)) {
    1718                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1819        }
    1920
    20         if (!IsPropertyKey(P)) {
    21                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
     21        if (!isPropertyKey(P)) {
     22                throw new $TypeError('Assertion failed: P is not a Property Key');
    2223        }
    2324
  • imaps-frontend/node_modules/es-abstract/2023/CreateNonEnumerableDataPropertyOrThrow.js

    r0c6b92a r79a0317  
    44
    55var DefinePropertyOrThrow = require('./DefinePropertyOrThrow');
    6 var IsPropertyKey = require('./IsPropertyKey');
    7 var Type = require('./Type');
     6
     7var isObject = require('../helpers/isObject');
     8var isPropertyKey = require('../helpers/isPropertyKey');
    89
    910// https://262.ecma-international.org/13.0/#sec-createnonenumerabledatapropertyorthrow
    1011
    1112module.exports = function CreateNonEnumerableDataPropertyOrThrow(O, P, V) {
    12         if (Type(O) !== 'Object') {
     13        if (!isObject(O)) {
    1314                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1415        }
    1516
    16         if (!IsPropertyKey(P)) {
    17                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
     17        if (!isPropertyKey(P)) {
     18                throw new $TypeError('Assertion failed: P is not a Property Key');
    1819        }
    1920
  • imaps-frontend/node_modules/es-abstract/2023/CreateRegExpStringIterator.js

    r0c6b92a r79a0317  
    1616var ToLength = require('./ToLength');
    1717var ToString = require('./ToString');
    18 var Type = require('./Type');
     18
     19var isObject = require('../helpers/isObject');
    1920
    2021var SLOT = require('internal-slot');
     
    4445var RegExpStringIteratorNext = function next() {
    4546        var O = this; // eslint-disable-line no-invalid-this
    46         if (Type(O) !== 'Object') {
     47        if (!isObject(O)) {
    4748                throw new $TypeError('receiver must be an object');
    4849        }
  • imaps-frontend/node_modules/es-abstract/2023/DateString.js

    r0c6b92a r79a0317  
    66var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
    77
    8 var $isNaN = require('../helpers/isNaN');
     8var $isNaN = require('math-intrinsics/isNaN');
    99var padTimeComponent = require('../helpers/padTimeComponent');
    1010
  • imaps-frontend/node_modules/es-abstract/2023/DefineMethodProperty.js

    r0c6b92a r79a0317  
    55var DefinePropertyOrThrow = require('./DefinePropertyOrThrow');
    66var IsExtensible = require('./IsExtensible');
    7 var IsPropertyKey = require('./IsPropertyKey');
    8 var Type = require('./Type');
     7
     8var isObject = require('../helpers/isObject');
     9var isPropertyKey = require('../helpers/isPropertyKey');
    910
    1011// https://262.ecma-international.org/13.0/#sec-definemethodproperty
    1112
    1213module.exports = function DefineMethodProperty(homeObject, key, closure, enumerable) {
    13         if (Type(homeObject) !== 'Object') {
     14        if (!isObject(homeObject)) {
    1415                throw new $TypeError('Assertion failed: `homeObject` is not an Object');
    1516        }
    16         if (!IsPropertyKey(key)) {
     17        if (!isPropertyKey(key)) {
    1718                throw new $TypeError('Assertion failed: `key` is not a Property Key or a Private Name');
    1819        }
  • imaps-frontend/node_modules/es-abstract/2023/DefinePropertyOrThrow.js

    r0c6b92a r79a0317  
    88var FromPropertyDescriptor = require('./FromPropertyDescriptor');
    99var IsDataDescriptor = require('./IsDataDescriptor');
    10 var IsPropertyKey = require('./IsPropertyKey');
     10var isPropertyKey = require('../helpers/isPropertyKey');
    1111var SameValue = require('./SameValue');
    1212var ToPropertyDescriptor = require('./ToPropertyDescriptor');
    13 var Type = require('./Type');
     13
     14var isObject = require('../helpers/isObject');
    1415
    1516// https://262.ecma-international.org/6.0/#sec-definepropertyorthrow
    1617
    1718module.exports = function DefinePropertyOrThrow(O, P, desc) {
    18         if (Type(O) !== 'Object') {
     19        if (!isObject(O)) {
    1920                throw new $TypeError('Assertion failed: Type(O) is not Object');
    2021        }
    2122
    22         if (!IsPropertyKey(P)) {
    23                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
     23        if (!isPropertyKey(P)) {
     24                throw new $TypeError('Assertion failed: P is not a Property Key');
    2425        }
    2526
  • imaps-frontend/node_modules/es-abstract/2023/DeletePropertyOrThrow.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var IsPropertyKey = require('./IsPropertyKey');
    6 var Type = require('./Type');
     5var isObject = require('../helpers/isObject');
     6var isPropertyKey = require('../helpers/isPropertyKey');
    77
    88// https://262.ecma-international.org/6.0/#sec-deletepropertyorthrow
    99
    1010module.exports = function DeletePropertyOrThrow(O, P) {
    11         if (Type(O) !== 'Object') {
     11        if (!isObject(O)) {
    1212                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1313        }
    1414
    15         if (!IsPropertyKey(P)) {
    16                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
     15        if (!isPropertyKey(P)) {
     16                throw new $TypeError('Assertion failed: P is not a Property Key');
    1717        }
    1818
  • imaps-frontend/node_modules/es-abstract/2023/EnumerableOwnProperties.js

    r0c6b92a r79a0317  
    11'use strict';
    2 
    3 var GetIntrinsic = require('get-intrinsic');
    42
    53var $TypeError = require('es-errors/type');
    64
    75var objectKeys = require('object-keys');
    8 
    9 var callBound = require('call-bind/callBound');
    10 
    11 var callBind = require('call-bind');
     6var safePushApply = require('safe-push-apply');
     7var callBound = require('call-bound');
    128
    139var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
    14 var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%'));
    1510
    1611var forEach = require('../helpers/forEach');
    17 
    18 var Type = require('./Type');
     12var isObject = require('../helpers/isObject');
    1913
    2014// https://262.ecma-international.org/14.0/#sec-enumerableownproperties
    2115
    2216module.exports = function EnumerableOwnProperties(O, kind) {
    23         if (Type(O) !== 'Object') {
     17        if (!isObject(O)) {
    2418                throw new $TypeError('Assertion failed: Type(O) is not Object');
    2519        }
     
    3327                forEach(keys, function (key) {
    3428                        if ($isEnumerable(O, key)) {
    35                                 $pushApply(results, [
     29                                safePushApply(results, [
    3630                                        kind === 'value' ? O[key] : [key, O[key]]
    3731                                ]);
  • imaps-frontend/node_modules/es-abstract/2023/FindViaPredicate.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
     4var isInteger = require('math-intrinsics/isInteger');
    45
    56var Call = require('./Call');
     
    89var IsCallable = require('./IsCallable');
    910var ToString = require('./ToString');
    10 var Type = require('./Type');
    1111
    12 var isInteger = require('../helpers/isInteger');
     12var isObject = require('../helpers/isObject');
     13
     14// https://262.ecma-international.org/14.0/#sec-findviapredicate
    1315
    1416module.exports = function FindViaPredicate(O, len, direction, predicate, thisArg) {
    15         if (Type(O) !== 'Object') {
     17        if (!isObject(O)) {
    1618                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1719        }
  • imaps-frontend/node_modules/es-abstract/2023/FlattenIntoArray.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');
     5var MAX_SAFE_INTEGER = require('math-intrinsics/constants/maxSafeInteger');
    66
    77var Call = require('./Call');
  • imaps-frontend/node_modules/es-abstract/2023/Get.js

    r0c6b92a r79a0317  
    55var inspect = require('object-inspect');
    66
    7 var IsPropertyKey = require('./IsPropertyKey');
    8 var Type = require('./Type');
     7var isObject = require('../helpers/isObject');
     8var isPropertyKey = require('../helpers/isPropertyKey');
    99
    1010// https://262.ecma-international.org/6.0/#sec-get-o-p
     
    1212module.exports = function Get(O, P) {
    1313        // 7.3.1.1
    14         if (Type(O) !== 'Object') {
     14        if (!isObject(O)) {
    1515                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1616        }
    1717        // 7.3.1.2
    18         if (!IsPropertyKey(P)) {
    19                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
     18        if (!isPropertyKey(P)) {
     19                throw new $TypeError('Assertion failed: P is not a Property Key, got ' + inspect(P));
    2020        }
    2121        // 7.3.1.3
  • imaps-frontend/node_modules/es-abstract/2023/GetIterator.js

    r0c6b92a r79a0317  
    1717var getIteratorMethod = require('../helpers/getIteratorMethod');
    1818
     19var ES = {
     20        AdvanceStringIndex: AdvanceStringIndex,
     21        GetMethod: GetMethod,
     22        IsArray: IsArray
     23};
     24
    1925// https://262.ecma-international.org/14.0/#sec-getiterator
    2026
     
    3238        if (typeof method === 'undefined') { // step 1.b
    3339                // var syncMethod = GetMethod(obj, $iterator); // step 1.b.i
    34                 var syncMethod = getIteratorMethod(
    35                         {
    36                                 AdvanceStringIndex: AdvanceStringIndex,
    37                                 GetMethod: GetMethod,
    38                                 IsArray: IsArray
    39                         },
    40                         obj
    41                 );
     40                var syncMethod = getIteratorMethod(ES, obj);
    4241                if (kind === 'async') {
    4342                        if (typeof syncMethod === 'undefined') {
  • imaps-frontend/node_modules/es-abstract/2023/GetIteratorFromMethod.js

    r0c6b92a r79a0317  
    66var GetV = require('./GetV');
    77var IsCallable = require('./IsCallable');
    8 var Type = require('./Type');
     8
     9var isObject = require('../helpers/isObject');
    910
    1011// https://262.ecma-international.org/14.0/#sec-getiteratorfrommethod
     
    1617
    1718        var iterator = Call(method, obj); // step 1
    18         if (Type(iterator) !== 'Object') {
     19        if (!isObject(iterator)) {
    1920                throw new $TypeError('iterator must return an object'); // step 2
    2021        }
  • imaps-frontend/node_modules/es-abstract/2023/GetMethod.js

    r0c6b92a r79a0317  
    55var GetV = require('./GetV');
    66var IsCallable = require('./IsCallable');
    7 var IsPropertyKey = require('./IsPropertyKey');
     7var isPropertyKey = require('../helpers/isPropertyKey');
    88
    99var inspect = require('object-inspect');
     
    1313module.exports = function GetMethod(O, P) {
    1414        // 7.3.9.1
    15         if (!IsPropertyKey(P)) {
    16                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
     15        if (!isPropertyKey(P)) {
     16                throw new $TypeError('Assertion failed: P is not a Property Key');
    1717        }
    1818
  • imaps-frontend/node_modules/es-abstract/2023/GetOwnPropertyKeys.js

    r0c6b92a r79a0317  
    1111var keys = require('object-keys');
    1212
    13 var esType = require('./Type');
     13var isObject = require('../helpers/isObject');
    1414
    1515// https://262.ecma-international.org/6.0/#sec-getownpropertykeys
    1616
    1717module.exports = function GetOwnPropertyKeys(O, Type) {
    18         if (esType(O) !== 'Object') {
     18        if (!isObject(O)) {
    1919                throw new $TypeError('Assertion failed: Type(O) is not Object');
    2020        }
  • imaps-frontend/node_modules/es-abstract/2023/GetPrototypeFromConstructor.js

    r0c6b92a r79a0317  
    99var Get = require('./Get');
    1010var IsConstructor = require('./IsConstructor');
    11 var Type = require('./Type');
     11
     12var isObject = require('../helpers/isObject');
    1213
    1314// https://262.ecma-international.org/6.0/#sec-getprototypefromconstructor
     
    1516module.exports = function GetPrototypeFromConstructor(constructor, intrinsicDefaultProto) {
    1617        var intrinsic = GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic
    17         if (Type(intrinsic) !== 'Object') {
     18        if (!isObject(intrinsic)) {
    1819                throw new $TypeError('intrinsicDefaultProto must be an object');
    1920        }
     
    2223        }
    2324        var proto = Get(constructor, 'prototype');
    24         if (Type(proto) !== 'Object') {
     25        if (!isObject(proto)) {
    2526                if (!(constructor instanceof $Function)) {
    2627                        // ignore other realms, for now
  • imaps-frontend/node_modules/es-abstract/2023/GetStringIndex.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
    4 
     3var callBound = require('call-bound');
    54var $TypeError = require('es-errors/type');
     5var isInteger = require('math-intrinsics/isInteger');
    66
    77var StringToCodePoints = require('./StringToCodePoints');
    8 
    9 var isInteger = require('../helpers/isInteger');
    108
    119var $indexOf = callBound('String.prototype.indexOf');
  • imaps-frontend/node_modules/es-abstract/2023/GetSubstitution.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
    4 
     4var inspect = require('object-inspect');
     5var isInteger = require('math-intrinsics/isInteger');
    56var regexTester = require('safe-regex-test');
    6 var every = require('../helpers/every');
    7 
    8 var inspect = require('object-inspect');
    97
    108var Get = require('./Get');
     
    1513var substring = require('./substring');
    1614var ToString = require('./ToString');
    17 var Type = require('./Type');
    1815
    19 var isInteger = require('../helpers/isInteger');
     16var every = require('../helpers/every');
     17var isObject = require('../helpers/isObject');
     18var isPrefixOf = require('../helpers/isPrefixOf');
    2019var isStringOrUndefined = require('../helpers/isStringOrUndefined');
    21 var isPrefixOf = require('../helpers/isPrefixOf');
    2220
    2321var startsWithDollarDigit = regexTester(/^\$[0-9]/);
     
    4442        }
    4543
    46         if (typeof namedCaptures !== 'undefined' && Type(namedCaptures) !== 'Object') {
     44        if (typeof namedCaptures !== 'undefined' && !isObject(namedCaptures)) {
    4745                throw new $TypeError('Assertion failed: `namedCaptures` must be `undefined` or an Object');
    4846        }
     
    115113                                ref = substring(templateRemainder, 0, gtPos + 1); // step 5.g.iii.1
    116114                                var groupName = substring(templateRemainder, 2, gtPos); // step 5.g.iii.2
    117                                 if (Type(namedCaptures) !== 'Object') {
     115                                if (!isObject(namedCaptures)) {
    118116                                        throw new $TypeError('Assertion failed: Type(namedCaptures) is not Object'); // step 5.g.iii.3
    119117                                }
  • imaps-frontend/node_modules/es-abstract/2023/GetV.js

    r0c6b92a r79a0317  
    55var inspect = require('object-inspect');
    66
    7 var IsPropertyKey = require('./IsPropertyKey');
     7var isPropertyKey = require('../helpers/isPropertyKey');
    88// var ToObject = require('./ToObject');
    99
     
    1212module.exports = function GetV(V, P) {
    1313        // 7.3.2.1
    14         if (!IsPropertyKey(P)) {
    15                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
     14        if (!isPropertyKey(P)) {
     15                throw new $TypeError('Assertion failed: P is not a Property Key, got ' + inspect(P));
    1616        }
    1717
  • imaps-frontend/node_modules/es-abstract/2023/GetValueFromBuffer.js

    r0c6b92a r79a0317  
    66var $TypeError = require('es-errors/type');
    77var $Uint8Array = GetIntrinsic('%Uint8Array%', true);
     8var isInteger = require('math-intrinsics/isInteger');
    89
    9 var callBound = require('call-bind/callBound');
     10var callBound = require('call-bound');
    1011
    1112var $slice = callBound('Array.prototype.slice');
    12 
    13 var isInteger = require('../helpers/isInteger');
    1413
    1514var IsDetachedBuffer = require('./IsDetachedBuffer');
  • imaps-frontend/node_modules/es-abstract/2023/HasOwnProperty.js

    r0c6b92a r79a0317  
    55var hasOwn = require('hasown');
    66
    7 var IsPropertyKey = require('./IsPropertyKey');
    8 var Type = require('./Type');
     7var isObject = require('../helpers/isObject');
     8var isPropertyKey = require('../helpers/isPropertyKey');
    99
    1010// https://262.ecma-international.org/6.0/#sec-hasownproperty
    1111
    1212module.exports = function HasOwnProperty(O, P) {
    13         if (Type(O) !== 'Object') {
     13        if (!isObject(O)) {
    1414                throw new $TypeError('Assertion failed: `O` must be an Object');
    1515        }
    16         if (!IsPropertyKey(P)) {
     16        if (!isPropertyKey(P)) {
    1717                throw new $TypeError('Assertion failed: `P` must be a Property Key');
    1818        }
  • imaps-frontend/node_modules/es-abstract/2023/HasProperty.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var IsPropertyKey = require('./IsPropertyKey');
    6 var Type = require('./Type');
     5var isObject = require('../helpers/isObject');
     6var isPropertyKey = require('../helpers/isPropertyKey');
    77
    88// https://262.ecma-international.org/6.0/#sec-hasproperty
    99
    1010module.exports = function HasProperty(O, P) {
    11         if (Type(O) !== 'Object') {
     11        if (!isObject(O)) {
    1212                throw new $TypeError('Assertion failed: `O` must be an Object');
    1313        }
    14         if (!IsPropertyKey(P)) {
     14        if (!isPropertyKey(P)) {
    1515                throw new $TypeError('Assertion failed: `P` must be a Property Key');
    1616        }
  • imaps-frontend/node_modules/es-abstract/2023/InstallErrorCause.js

    r0c6b92a r79a0317  
    66var Get = require('./Get');
    77var HasProperty = require('./HasProperty');
    8 var Type = require('./Type');
     8
     9var isObject = require('../helpers/isObject');
    910
    1011// https://262.ecma-international.org/13.0/#sec-installerrorcause
    1112
    1213module.exports = function InstallErrorCause(O, options) {
    13         if (Type(O) !== 'Object') {
     14        if (!isObject(O)) {
    1415                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1516        }
    1617
    17         if (Type(options) === 'Object' && HasProperty(options, 'cause')) {
     18        if (isObject(options) && HasProperty(options, 'cause')) {
    1819                var cause = Get(options, 'cause');
    1920                CreateNonEnumerableDataPropertyOrThrow(O, 'cause', cause);
  • imaps-frontend/node_modules/es-abstract/2023/InstanceofOperator.js

    r0c6b92a r79a0317  
    55var $TypeError = require('es-errors/type');
    66
    7 var $hasInstance = GetIntrinsic('Symbol.hasInstance', true);
     7var $hasInstance = GetIntrinsic('%Symbol.hasInstance%', true);
    88
    99var Call = require('./Call');
     
    1212var OrdinaryHasInstance = require('./OrdinaryHasInstance');
    1313var ToBoolean = require('./ToBoolean');
    14 var Type = require('./Type');
     14
     15var isObject = require('../helpers/isObject');
    1516
    1617// https://262.ecma-international.org/6.0/#sec-instanceofoperator
    1718
    1819module.exports = function InstanceofOperator(O, C) {
    19         if (Type(O) !== 'Object') {
     20        if (!isObject(O)) {
    2021                throw new $TypeError('Assertion failed: Type(O) is not Object');
    2122        }
  • imaps-frontend/node_modules/es-abstract/2023/InternalizeJSONProperty.js

    r0c6b92a r79a0317  
    1010var LengthOfArrayLike = require('./LengthOfArrayLike');
    1111var ToString = require('./ToString');
    12 var Type = require('./Type');
    1312
    1413var forEach = require('../helpers/forEach');
     14var isObject = require('../helpers/isObject');
    1515
    1616// https://262.ecma-international.org/14.0/#sec-internalizejsonproperty
     
    1919
    2020module.exports = function InternalizeJSONProperty(holder, name, reviver) {
    21         if (Type(holder) !== 'Object') {
     21        if (!isObject(holder)) {
    2222                throw new $TypeError('Assertion failed: `holder` is not an Object');
    2323        }
     
    3131        var val = Get(holder, name); // step 1
    3232
    33         if (Type(val) === 'Object') { // step 2
     33        if (isObject(val)) { // step 2
    3434                var isArray = IsArray(val); // step 2.a
    3535                if (isArray) { // step 2.b
  • imaps-frontend/node_modules/es-abstract/2023/Invoke.js

    r0c6b92a r79a0317  
    66var IsArray = require('./IsArray');
    77var GetV = require('./GetV');
    8 var IsPropertyKey = require('./IsPropertyKey');
     8var isPropertyKey = require('../helpers/isPropertyKey');
    99
    1010// https://262.ecma-international.org/6.0/#sec-invoke
    1111
    1212module.exports = function Invoke(O, P) {
    13         if (!IsPropertyKey(P)) {
     13        if (!isPropertyKey(P)) {
    1414                throw new $TypeError('Assertion failed: P must be a Property Key');
    1515        }
  • imaps-frontend/node_modules/es-abstract/2023/IsConcatSpreadable.js

    r0c6b92a r79a0317  
    88var IsArray = require('./IsArray');
    99var ToBoolean = require('./ToBoolean');
    10 var Type = require('./Type');
     10
     11var isObject = require('../helpers/isObject');
    1112
    1213// https://262.ecma-international.org/6.0/#sec-isconcatspreadable
    1314
    1415module.exports = function IsConcatSpreadable(O) {
    15         if (Type(O) !== 'Object') {
     16        if (!isObject(O)) {
    1617                return false;
    1718        }
  • imaps-frontend/node_modules/es-abstract/2023/IsDetachedBuffer.js

    r0c6b92a r79a0317  
    55var $byteLength = require('array-buffer-byte-length');
    66var availableTypedArrays = require('available-typed-arrays')();
    7 var callBound = require('call-bind/callBound');
     7var callBound = require('call-bound');
    88var isArrayBuffer = require('is-array-buffer');
    99var isSharedArrayBuffer = require('is-shared-array-buffer');
  • imaps-frontend/node_modules/es-abstract/2023/IsIntegralNumber.js

    r0c6b92a r79a0317  
    33var truncate = require('./truncate');
    44
    5 var $isFinite = require('../helpers/isFinite');
     5var $isFinite = require('math-intrinsics/isFinite');
    66
    77// https://262.ecma-international.org/14.0/#sec-isintegralnumber
  • imaps-frontend/node_modules/es-abstract/2023/IsLessThan.js

    r0c6b92a r79a0317  
    55var $Number = GetIntrinsic('%Number%');
    66var $TypeError = require('es-errors/type');
    7 var min = GetIntrinsic('%Math.min%');
     7var min = require('math-intrinsics/min');
     8var $isNaN = require('math-intrinsics/isNaN');
    89
    9 var $isNaN = require('../helpers/isNaN');
    10 var $charCodeAt = require('call-bind/callBound')('String.prototype.charCodeAt');
     10var $charCodeAt = require('call-bound')('String.prototype.charCodeAt');
    1111
    1212var StringToBigInt = require('./StringToBigInt');
  • imaps-frontend/node_modules/es-abstract/2023/IsLooselyEqual.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var isFinite = require('../helpers/isFinite');
     3var isFinite = require('math-intrinsics/isFinite');
    44
    55var IsStrictlyEqual = require('./IsStrictlyEqual');
     
    99var Type = require('./Type');
    1010
     11var isObject = require('../helpers/isObject');
     12
    1113// https://262.ecma-international.org/13.0/#sec-islooselyequal
    1214
    1315module.exports = function IsLooselyEqual(x, y) {
    14         var xType = Type(x);
    15         var yType = Type(y);
    16         if (xType === yType) {
     16        if (Type(x) === Type(y)) {
    1717                return IsStrictlyEqual(x, y);
    1818        }
     
    2020                return true;
    2121        }
    22         if (xType === 'Number' && yType === 'String') {
     22        if (typeof x === 'number' && typeof y === 'string') {
    2323                return IsLooselyEqual(x, ToNumber(y));
    2424        }
    25         if (xType === 'String' && yType === 'Number') {
     25        if (typeof x === 'string' && typeof y === 'number') {
    2626                return IsLooselyEqual(ToNumber(x), y);
    2727        }
    28         if (xType === 'BigInt' && yType === 'String') {
     28        if (typeof x === 'bigint' && typeof y === 'string') {
    2929                var n = StringToBigInt(y);
    3030                if (typeof n === 'undefined') {
     
    3333                return IsLooselyEqual(x, n);
    3434        }
    35         if (xType === 'String' && yType === 'BigInt') {
     35        if (typeof x === 'string' && typeof y === 'bigint') {
    3636                return IsLooselyEqual(y, x);
    3737        }
    38         if (xType === 'Boolean') {
     38        if (typeof x === 'boolean') {
    3939                return IsLooselyEqual(ToNumber(x), y);
    4040        }
    41         if (yType === 'Boolean') {
     41        if (typeof y === 'boolean') {
    4242                return IsLooselyEqual(x, ToNumber(y));
    4343        }
    44         if ((xType === 'String' || xType === 'Number' || xType === 'Symbol' || xType === 'BigInt') && yType === 'Object') {
     44        if ((typeof x === 'string' || typeof x === 'number' || typeof x === 'symbol' || typeof x === 'bigint') && isObject(y)) {
    4545                return IsLooselyEqual(x, ToPrimitive(y));
    4646        }
    47         if (xType === 'Object' && (yType === 'String' || yType === 'Number' || yType === 'Symbol' || yType === 'BigInt')) {
     47        if (isObject(x) && (typeof y === 'string' || typeof y === 'number' || typeof y === 'symbol' || typeof y === 'bigint')) {
    4848                return IsLooselyEqual(ToPrimitive(x), y);
    4949        }
    50         if ((xType === 'BigInt' && yType === 'Number') || (xType === 'Number' && yType === 'BigInt')) {
     50        if ((typeof x === 'bigint' && typeof y === 'number') || (typeof x === 'number' && typeof y === 'bigint')) {
    5151                if (!isFinite(x) || !isFinite(y)) {
    5252                        return false;
  • imaps-frontend/node_modules/es-abstract/2023/IsPromise.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var $PromiseThen = callBound('Promise.prototype.then', true);
    66
    7 var Type = require('./Type');
     7var isObject = require('../helpers/isObject');
    88
    99// https://262.ecma-international.org/6.0/#sec-ispromise
    1010
    1111module.exports = function IsPromise(x) {
    12         if (Type(x) !== 'Object') {
     12        if (!isObject(x)) {
    1313                return false;
    1414        }
  • imaps-frontend/node_modules/es-abstract/2023/IsPropertyKey.js

    r0c6b92a r79a0317  
    11'use strict';
     2
     3var isPropertyKey = require('../helpers/isPropertyKey');
    24
    35// https://262.ecma-international.org/6.0/#sec-ispropertykey
    46
    57module.exports = function IsPropertyKey(argument) {
    6         return typeof argument === 'string' || typeof argument === 'symbol';
     8        return isPropertyKey(argument);
    79};
  • imaps-frontend/node_modules/es-abstract/2023/IsRegExp.js

    r0c6b92a r79a0317  
    99var ToBoolean = require('./ToBoolean');
    1010
     11var isObject = require('../helpers/isObject');
     12
    1113// https://262.ecma-international.org/6.0/#sec-isregexp
    1214
    1315module.exports = function IsRegExp(argument) {
    14         if (!argument || typeof argument !== 'object') {
     16        if (!isObject(argument)) {
    1517                return false;
    1618        }
  • imaps-frontend/node_modules/es-abstract/2023/IsSharedArrayBuffer.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var Type = require('./Type');
     5var isObject = require('../helpers/isObject');
    66
    77var isSharedArrayBuffer = require('is-shared-array-buffer');
     
    1010
    1111module.exports = function IsSharedArrayBuffer(obj) {
    12         if (Type(obj) !== 'Object') {
     12        if (!isObject(obj)) {
    1313                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1414        }
  • imaps-frontend/node_modules/es-abstract/2023/IsStrictlyEqual.js

    r0c6b92a r79a0317  
    88
    99module.exports = function IsStrictlyEqual(x, y) {
    10         var xType = Type(x);
    11         var yType = Type(y);
    12         if (xType !== yType) {
     10        if (Type(x) !== Type(y)) {
    1311                return false;
    1412        }
    15         return xType === 'Number' ? NumberEqual(x, y) : SameValueNonNumber(x, y);
     13        return typeof x === 'number' ? NumberEqual(x, y) : SameValueNonNumber(x, y);
    1614};
  • imaps-frontend/node_modules/es-abstract/2023/IsValidIntegerIndex.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
     4var isNegativeZero = require('math-intrinsics/isNegativeZero');
    45
    56var IsDetachedBuffer = require('./IsDetachedBuffer');
    67var IsIntegralNumber = require('./IsIntegralNumber');
    7 
    8 var isNegativeZero = require('../helpers/isNegativeZero');
    98
    109var typedArrayBuffer = require('typed-array-buffer');
  • imaps-frontend/node_modules/es-abstract/2023/IsWordChar.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
    4 
    5 var callBound = require('call-bind/callBound');
     4var callBound = require('call-bound');
     5var isInteger = require('math-intrinsics/isInteger');
    66
    77var $indexOf = callBound('String.prototype.indexOf');
     
    1111
    1212var every = require('../helpers/every');
    13 var isInteger = require('../helpers/isInteger');
    1413var isRegExpRecord = require('../helpers/records/regexp-record');
    1514
  • imaps-frontend/node_modules/es-abstract/2023/IteratorClose.js

    r0c6b92a r79a0317  
    77var GetMethod = require('./GetMethod');
    88var IsCallable = require('./IsCallable');
    9 var Type = require('./Type');
    109
     10var isObject = require('../helpers/isObject');
    1111var isIteratorRecord = require('../helpers/records/iterator-record-2023');
    1212
     
    1717                throw new $TypeError('Assertion failed: `iteratorRecord` must be an Iterator Record'); // step 1
    1818        }
    19         if (Type(iteratorRecord['[[Iterator]]']) !== 'Object') {
     19        if (!isObject(iteratorRecord['[[Iterator]]'])) {
    2020                throw new $TypeError('Assertion failed: iteratorRecord.[[Iterator]] must be an Object'); // step 1
    2121        }
     
    5555        completionThunk = null; // ensure it's not called twice.
    5656
    57         if (Type(innerResult) !== 'Object') {
     57        if (!isObject(innerResult)) {
    5858                throw new $TypeError('iterator .return must return an object');
    5959        }
  • imaps-frontend/node_modules/es-abstract/2023/IteratorComplete.js

    r0c6b92a r79a0317  
    55var Get = require('./Get');
    66var ToBoolean = require('./ToBoolean');
    7 var Type = require('./Type');
     7
     8var isObject = require('../helpers/isObject');
    89
    910// https://262.ecma-international.org/6.0/#sec-iteratorcomplete
    1011
    1112module.exports = function IteratorComplete(iterResult) {
    12         if (Type(iterResult) !== 'Object') {
     13        if (!isObject(iterResult)) {
    1314                throw new $TypeError('Assertion failed: Type(iterResult) is not Object');
    1415        }
  • imaps-frontend/node_modules/es-abstract/2023/IteratorNext.js

    r0c6b92a r79a0317  
    44
    55var Call = require('./Call');
    6 var Type = require('./Type');
    76
     7var isObject = require('../helpers/isObject');
    88var isIteratorRecord = require('../helpers/records/iterator-record-2023');
    99
     
    2222        }
    2323
    24         if (Type(result) !== 'Object') {
     24        if (!isObject(result)) {
    2525                throw new $TypeError('iterator next must return an object'); // step 3
    2626        }
  • imaps-frontend/node_modules/es-abstract/2023/IteratorToList.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66
    77var $arrayPush = callBound('Array.prototype.push');
  • imaps-frontend/node_modules/es-abstract/2023/IteratorValue.js

    r0c6b92a r79a0317  
    44
    55var Get = require('./Get');
    6 var Type = require('./Type');
     6
     7var isObject = require('../helpers/isObject');
    78
    89// https://262.ecma-international.org/6.0/#sec-iteratorvalue
    910
    1011module.exports = function IteratorValue(iterResult) {
    11         if (Type(iterResult) !== 'Object') {
     12        if (!isObject(iterResult)) {
    1213                throw new $TypeError('Assertion failed: Type(iterResult) is not Object');
    1314        }
  • imaps-frontend/node_modules/es-abstract/2023/KeyForSymbol.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66
    77var $keyFor = callBound('Symbol.keyFor', true);
  • imaps-frontend/node_modules/es-abstract/2023/LengthOfArrayLike.js

    r0c6b92a r79a0317  
    55var Get = require('./Get');
    66var ToLength = require('./ToLength');
    7 var Type = require('./Type');
     7
     8var isObject = require('../helpers/isObject');
    89
    910// https://262.ecma-international.org/11.0/#sec-lengthofarraylike
    1011
    1112module.exports = function LengthOfArrayLike(obj) {
    12         if (Type(obj) !== 'Object') {
     13        if (!isObject(obj)) {
    1314                throw new $TypeError('Assertion failed: `obj` must be an Object');
    1415        }
  • imaps-frontend/node_modules/es-abstract/2023/MakeDate.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var $isFinite = require('../helpers/isFinite');
     3var $isFinite = require('math-intrinsics/isFinite');
     4
    45var msPerDay = require('../helpers/timeConstants').msPerDay;
    56
  • imaps-frontend/node_modules/es-abstract/2023/MakeDay.js

    r0c6b92a r79a0317  
    55var $DateUTC = GetIntrinsic('%Date.UTC%');
    66
    7 var $isFinite = require('../helpers/isFinite');
     7var $isFinite = require('math-intrinsics/isFinite');
    88
    99var DateFromTime = require('./DateFromTime');
  • imaps-frontend/node_modules/es-abstract/2023/MakeMatchIndicesIndexPairArray.js

    r0c6b92a r79a0317  
    2121};
    2222
    23 var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;
     23var MAX_ARRAY_LENGTH = require('math-intrinsics/constants/maxArrayLength');
    2424
    2525// https://262.ecma-international.org/13.0/#sec-getmatchindexpair
  • imaps-frontend/node_modules/es-abstract/2023/MakeTime.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var $isFinite = require('../helpers/isFinite');
     3var $isFinite = require('math-intrinsics/isFinite');
    44var timeConstants = require('../helpers/timeConstants');
    55var msPerSecond = timeConstants.msPerSecond;
  • imaps-frontend/node_modules/es-abstract/2023/MonthFromTime.js

    r0c6b92a r79a0317  
    11'use strict';
     2
     3var $RangeError = require('es-errors/range');
    24
    35var DayWithinYear = require('./DayWithinYear');
     
    4547                return 11;
    4648        }
     49
     50        throw new $RangeError('Assertion failed: `day` is out of range');
    4751};
  • imaps-frontend/node_modules/es-abstract/2023/Number/add.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
    4 
    5 var isFinite = require('../../helpers/isFinite');
    6 var isNaN = require('../../helpers/isNaN');
     4var isFinite = require('math-intrinsics/isFinite');
     5var isNaN = require('math-intrinsics/isNaN');
    76
    87// https://262.ecma-international.org/12.0/#sec-numeric-types-number-add
  • imaps-frontend/node_modules/es-abstract/2023/Number/divide.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
    4 
    5 var isFinite = require('../../helpers/isFinite');
    6 var isNaN = require('../../helpers/isNaN');
     4var isFinite = require('math-intrinsics/isFinite');
     5var isNaN = require('math-intrinsics/isNaN');
    76
    87// https://262.ecma-international.org/11.0/#sec-numeric-types-number-divide
  • imaps-frontend/node_modules/es-abstract/2023/Number/exponentiate.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var GetIntrinsic = require('get-intrinsic');
    4 // var isNegativeZero = require('is-negative-zero');
    5 
    6 var $pow = GetIntrinsic('%Math.pow%');
     3// var isNegativeZero = require('math-intrinsics/isNegativeZero');
     4var $pow = require('math-intrinsics/pow');
    75
    86var $TypeError = require('es-errors/type');
    97
    108/*
    11 var abs = require('../../helpers/abs');
    12 var isFinite = require('../../helpers/isFinite');
    13 var isNaN = require('../../helpers/isNaN');
     9var abs = require('math-intrinsics/abs');
     10var isFinite = require('math-intrinsics/isFinite');
     11var isNaN = require('math-intrinsics/isNaN');
    1412
    15 var IsInteger = require('../IsInteger');
     13var IsInteger = require('math-intrinsics/isInteger');
    1614*/
    1715
  • imaps-frontend/node_modules/es-abstract/2023/Number/remainder.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
    4 
    5 var isNaN = require('../../helpers/isNaN');
    6 var isFinite = require('../../helpers/isFinite');
     4var isNaN = require('math-intrinsics/isNaN');
     5var isFinite = require('math-intrinsics/isFinite');
    76
    87var truncate = require('../truncate');
  • imaps-frontend/node_modules/es-abstract/2023/Number/sameValue.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var isNegativeZero = require('is-negative-zero');
    4 
     3var isNegativeZero = require('math-intrinsics/isNegativeZero');
    54var $TypeError = require('es-errors/type');
    65
  • imaps-frontend/node_modules/es-abstract/2023/Number/toString.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
    4 
    5 var callBound = require('call-bind/callBound');
     4var callBound = require('call-bound');
     5var isInteger = require('math-intrinsics/isInteger');
    66
    77var $numberToString = callBound('Number.prototype.toString');
    8 
    9 var isInteger = require('../../helpers/isInteger');
    108
    119// https://262.ecma-international.org/14.0/#sec-numeric-types-number-tostring
  • imaps-frontend/node_modules/es-abstract/2023/ObjectDefineProperties.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var DefinePropertyOrThrow = require('./DefinePropertyOrThrow');
     
    1010var forEach = require('../helpers/forEach');
    1111var getOwnPropertyDescriptor = require('gopd');
    12 var OwnPropertyKeys = require('../helpers/OwnPropertyKeys');
     12var OwnPropertyKeys = require('own-keys');
    1313
    1414var $push = callBound('Array.prototype.push');
    1515
    1616// https://262.ecma-international.org/6.0/#sec-objectdefineproperties
     17
     18/** @type {<T extends Record<PropertyKey, unknown> = {}>(O: T, Properties: object) => T} */
    1719module.exports = function ObjectDefineProperties(O, Properties) {
    1820        var props = ToObject(Properties); // step 1
    1921        var keys = OwnPropertyKeys(props); // step 2
     22        /** @type {[string | symbol, import('../types').Descriptor][]} */
    2023        var descriptors = []; // step 3
    2124
  • imaps-frontend/node_modules/es-abstract/2023/OrdinaryDefineOwnProperty.js

    r0c6b92a r79a0317  
    99var IsAccessorDescriptor = require('./IsAccessorDescriptor');
    1010var IsExtensible = require('./IsExtensible');
    11 var IsPropertyKey = require('./IsPropertyKey');
     11var isPropertyKey = require('../helpers/isPropertyKey');
    1212var ToPropertyDescriptor = require('./ToPropertyDescriptor');
    1313var SameValue = require('./SameValue');
    14 var Type = require('./Type');
    1514var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor');
     15
     16var isObject = require('../helpers/isObject');
    1617
    1718// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty
    1819
    1920module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) {
    20         if (Type(O) !== 'Object') {
     21        if (!isObject(O)) {
    2122                throw new $TypeError('Assertion failed: O must be an Object');
    2223        }
    23         if (!IsPropertyKey(P)) {
     24        if (!isPropertyKey(P)) {
    2425                throw new $TypeError('Assertion failed: P must be a Property Key');
    2526        }
  • imaps-frontend/node_modules/es-abstract/2023/OrdinaryGetOwnProperty.js

    r0c6b92a r79a0317  
    44var $TypeError = require('es-errors/type');
    55
    6 var callBound = require('call-bind/callBound');
     6var callBound = require('call-bound');
    77
    88var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
     
    1111
    1212var IsArray = require('./IsArray');
    13 var IsPropertyKey = require('./IsPropertyKey');
     13var isPropertyKey = require('../helpers/isPropertyKey');
    1414var IsRegExp = require('./IsRegExp');
    1515var ToPropertyDescriptor = require('./ToPropertyDescriptor');
    16 var Type = require('./Type');
     16
     17var isObject = require('../helpers/isObject');
    1718
    1819// https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty
    1920
    2021module.exports = function OrdinaryGetOwnProperty(O, P) {
    21         if (Type(O) !== 'Object') {
     22        if (!isObject(O)) {
    2223                throw new $TypeError('Assertion failed: O must be an Object');
    2324        }
    24         if (!IsPropertyKey(P)) {
     25        if (!isPropertyKey(P)) {
    2526                throw new $TypeError('Assertion failed: P must be a Property Key');
    2627        }
  • imaps-frontend/node_modules/es-abstract/2023/OrdinaryGetPrototypeOf.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var $getProto = require('../helpers/getProto');
    6 
    7 var Type = require('./Type');
     5var $getProto = require('get-proto');
     6var isObject = require('../helpers/isObject');
    87
    98// https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof
    109
    1110module.exports = function OrdinaryGetPrototypeOf(O) {
    12         if (Type(O) !== 'Object') {
     11        if (!isObject(O)) {
    1312                throw new $TypeError('Assertion failed: O must be an Object');
    1413        }
  • imaps-frontend/node_modules/es-abstract/2023/OrdinaryHasInstance.js

    r0c6b92a r79a0317  
    55var Get = require('./Get');
    66var IsCallable = require('./IsCallable');
    7 var Type = require('./Type');
     7
     8var isObject = require('../helpers/isObject');
    89
    910// https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance
     
    1314                return false;
    1415        }
    15         if (Type(O) !== 'Object') {
     16        if (!isObject(O)) {
    1617                return false;
    1718        }
    1819        var P = Get(C, 'prototype');
    19         if (Type(P) !== 'Object') {
     20        if (!isObject(P)) {
    2021                throw new $TypeError('OrdinaryHasInstance called on an object with an invalid prototype property.');
    2122        }
  • imaps-frontend/node_modules/es-abstract/2023/OrdinaryHasProperty.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var IsPropertyKey = require('./IsPropertyKey');
    6 var Type = require('./Type');
     5var isObject = require('../helpers/isObject');
     6var isPropertyKey = require('../helpers/isPropertyKey');
    77
    88// https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty
    99
    1010module.exports = function OrdinaryHasProperty(O, P) {
    11         if (Type(O) !== 'Object') {
     11        if (!isObject(O)) {
    1212                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1313        }
    14         if (!IsPropertyKey(P)) {
     14        if (!isPropertyKey(P)) {
    1515                throw new $TypeError('Assertion failed: P must be a Property Key');
    1616        }
  • imaps-frontend/node_modules/es-abstract/2023/OrdinaryObjectCreate.js

    r0c6b92a r79a0317  
    88
    99var IsArray = require('./IsArray');
    10 var Type = require('./Type');
    1110
    1211var forEach = require('../helpers/forEach');
     12var isObject = require('../helpers/isObject');
    1313
    1414var SLOT = require('internal-slot');
     
    1919
    2020module.exports = function OrdinaryObjectCreate(proto) {
    21         if (proto !== null && Type(proto) !== 'Object') {
     21        if (proto !== null && !isObject(proto)) {
    2222                throw new $TypeError('Assertion failed: `proto` must be null or an object');
    2323        }
  • imaps-frontend/node_modules/es-abstract/2023/OrdinarySetPrototypeOf.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
    4 
    5 var $setProto = require('../helpers/setProto');
     4var $setProto = require('set-proto');
    65
    76var OrdinaryGetPrototypeOf = require('./OrdinaryGetPrototypeOf');
     7
     8var isObject = require('../helpers/isObject');
    89
    910// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof
    1011
    1112module.exports = function OrdinarySetPrototypeOf(O, V) {
    12         if (typeof V !== 'object') {
     13        if (V !== null && !isObject(V)) {
    1314                throw new $TypeError('Assertion failed: V must be Object or Null');
    1415        }
  • imaps-frontend/node_modules/es-abstract/2023/OrdinaryToPrimitive.js

    r0c6b92a r79a0317  
    66var Get = require('./Get');
    77var IsCallable = require('./IsCallable');
    8 var Type = require('./Type');
     8
     9var isObject = require('../helpers/isObject');
    910
    1011var inspect = require('object-inspect');
     
    1314
    1415module.exports = function OrdinaryToPrimitive(O, hint) {
    15         if (Type(O) !== 'Object') {
     16        if (!isObject(O)) {
    1617                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1718        }
     
    2728                if (IsCallable(method)) {
    2829                        var result = Call(method, O);
    29                         if (Type(result) !== 'Object') {
     30                        if (!isObject(result)) {
    3031                                return result;
    3132                        }
  • imaps-frontend/node_modules/es-abstract/2023/ParseHexOctet.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var GetIntrinsic = require('get-intrinsic');
    4 
    5 var $Number = GetIntrinsic('%Number%');
    63var $SyntaxError = require('es-errors/syntax');
    74var $TypeError = require('es-errors/type');
     
    107var substring = require('./substring');
    118
    12 var isNaN = require('../helpers/isNaN');
     9var isNaN = require('math-intrinsics/isNaN');
    1310
    1411// https://262.ecma-international.org/14.0/#sec-parsehexoctet
     
    2926        var hexDigits = substring(string, position, position + 2); // step 3
    3027
    31         var n = $Number('0x' + hexDigits);
     28        var n = +('0x' + hexDigits);
    3229        if (isNaN(n)) {
    3330                return [new $SyntaxError('Invalid hexadecimal characters')];
  • imaps-frontend/node_modules/es-abstract/2023/QuoteJSONString.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66var forEach = require('../helpers/forEach');
    77var isLeadingSurrogate = require('../helpers/isLeadingSurrogate');
     
    99
    1010var $charCodeAt = callBound('String.prototype.charCodeAt');
     11var $strSplit = callBound('String.prototype.split');
    1112
    1213var StringToCodePoints = require('./StringToCodePoints');
     
    3435        var product = '"';
    3536        if (value) {
    36                 forEach(StringToCodePoints(value), function (C) {
     37                forEach($strSplit(StringToCodePoints(value), ''), function (C) {
    3738                        if (hasOwn(escapes, C)) {
    3839                                product += escapes[C];
    3940                        } else {
    4041                                var cCharCode = $charCodeAt(C, 0);
    41                                 if (cCharCode < 0x20 || isLeadingSurrogate(C) || isTrailingSurrogate(C)) {
     42                                if (cCharCode < 0x20 || isLeadingSurrogate(cCharCode) || isTrailingSurrogate(cCharCode)) {
    4243                                        product += UnicodeEscape(C);
    4344                                } else {
  • imaps-frontend/node_modules/es-abstract/2023/RawBytesToNumeric.js

    r0c6b92a r79a0317  
    22
    33var GetIntrinsic = require('get-intrinsic');
    4 var callBound = require('call-bind/callBound');
     4var callBound = require('call-bound');
    55
    66var $RangeError = require('es-errors/range');
  • imaps-frontend/node_modules/es-abstract/2023/RegExpExec.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var regexExec = require('call-bind/callBound')('RegExp.prototype.exec');
     5var regexExec = require('call-bound')('RegExp.prototype.exec');
    66
    77var Call = require('./Call');
    88var Get = require('./Get');
    99var IsCallable = require('./IsCallable');
    10 var Type = require('./Type');
     10
     11var isObject = require('../helpers/isObject');
    1112
    1213// https://262.ecma-international.org/6.0/#sec-regexpexec
    1314
    1415module.exports = function RegExpExec(R, S) {
    15         if (Type(R) !== 'Object') {
     16        if (!isObject(R)) {
    1617                throw new $TypeError('Assertion failed: `R` must be an Object');
    1718        }
     
    2223        if (IsCallable(exec)) {
    2324                var result = Call(exec, R, [S]);
    24                 if (typeof result === 'object') {
     25                if (result === null || isObject(result)) {
    2526                        return result;
    2627                }
  • imaps-frontend/node_modules/es-abstract/2023/RegExpHasFlag.js

    r0c6b92a r79a0317  
    22
    33var GetIntrinsic = require('get-intrinsic');
    4 var callBound = require('call-bind/callBound');
     4var callBound = require('call-bound');
    55
    66var $TypeError = require('es-errors/type');
     
    88
    99var SameValue = require('./SameValue');
    10 var Type = require('./Type');
     10
     11var isObject = require('../helpers/isObject');
    1112
    1213var $indexOf = callBound('String.prototype.indexOf');
     
    2223        }
    2324
    24         if (Type(R) !== 'Object') {
     25        if (!isObject(R)) {
    2526                throw new $TypeError('Assertion failed: Type(R) is not Object');
    2627        }
  • imaps-frontend/node_modules/es-abstract/2023/SameValue.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var $isNaN = require('../helpers/isNaN');
     3var $isNaN = require('math-intrinsics/isNaN');
    44
    55// http://262.ecma-international.org/5.1/#sec-9.12
  • imaps-frontend/node_modules/es-abstract/2023/SameValueNonNumber.js

    r0c6b92a r79a0317  
    99
    1010module.exports = function SameValueNonNumber(x, y) {
    11         var xType = Type(x);
    12         if (xType === 'Number') {
     11        if (typeof x === 'number') {
    1312                throw new $TypeError('Assertion failed: SameValueNonNumber does not accept Number values');
    1413        }
    15         if (xType !== Type(y)) {
     14        if (Type(x) !== Type(y)) {
    1615                throw new $TypeError('SameValueNonNumber requires two non-Number values of the same type.');
    1716        }
  • imaps-frontend/node_modules/es-abstract/2023/SameValueZero.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var $isNaN = require('../helpers/isNaN');
     3var $isNaN = require('math-intrinsics/isNaN');
    44
    55// https://262.ecma-international.org/6.0/#sec-samevaluezero
  • imaps-frontend/node_modules/es-abstract/2023/Set.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var IsPropertyKey = require('./IsPropertyKey');
     5var isPropertyKey = require('../helpers/isPropertyKey');
    66var SameValue = require('./SameValue');
    7 var Type = require('./Type');
     7
     8var isObject = require('../helpers/isObject');
    89
    910// IE 9 does not throw in strict mode when writability/configurability/extensibility is violated
     
    2021
    2122module.exports = function Set(O, P, V, Throw) {
    22         if (Type(O) !== 'Object') {
     23        if (!isObject(O)) {
    2324                throw new $TypeError('Assertion failed: `O` must be an Object');
    2425        }
    25         if (!IsPropertyKey(P)) {
     26        if (!isPropertyKey(P)) {
    2627                throw new $TypeError('Assertion failed: `P` must be a Property Key');
    2728        }
  • imaps-frontend/node_modules/es-abstract/2023/SetFunctionLength.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
     4var isInteger = require('math-intrinsics/isInteger');
    45
    56var DefinePropertyOrThrow = require('./DefinePropertyOrThrow');
    67var HasOwnProperty = require('./HasOwnProperty');
    78var IsExtensible = require('./IsExtensible');
    8 
    9 var isInteger = require('../helpers/isInteger');
    109
    1110// https://262.ecma-international.org/12.0/#sec-setfunctionlength
  • imaps-frontend/node_modules/es-abstract/2023/SetIntegrityLevel.js

    r0c6b92a r79a0317  
    1414var IsAccessorDescriptor = require('./IsAccessorDescriptor');
    1515var ToPropertyDescriptor = require('./ToPropertyDescriptor');
    16 var Type = require('./Type');
     16
     17var isObject = require('../helpers/isObject');
    1718
    1819// https://262.ecma-international.org/6.0/#sec-setintegritylevel
    1920
    2021module.exports = function SetIntegrityLevel(O, level) {
    21         if (Type(O) !== 'Object') {
     22        if (!isObject(O)) {
    2223                throw new $TypeError('Assertion failed: Type(O) is not Object');
    2324        }
  • imaps-frontend/node_modules/es-abstract/2023/SetTypedArrayFromArrayLike.js

    r0c6b92a r79a0317  
    33var $RangeError = require('es-errors/range');
    44var $TypeError = require('es-errors/type');
     5var isInteger = require('math-intrinsics/isInteger');
    56
    67var isTypedArray = require('is-typed-array');
     
    89var typedArrayLength = require('typed-array-length');
    910var whichTypedArray = require('which-typed-array');
    10 
    11 var isInteger = require('../helpers/isInteger');
    1211
    1312var Get = require('./Get');
  • imaps-frontend/node_modules/es-abstract/2023/SetTypedArrayFromTypedArray.js

    r0c6b92a r79a0317  
    44var $SyntaxError = require('es-errors/syntax');
    55var $TypeError = require('es-errors/type');
    6 
     6var callBound = require('call-bound');
     7var isInteger = require('math-intrinsics/isInteger');
    78var typedArrayBuffer = require('typed-array-buffer');
    89var typedArrayByteLength = require('typed-array-byte-length');
     
    1011var typedArrayLength = require('typed-array-length');
    1112var whichTypedArray = require('which-typed-array');
    12 
    13 var isInteger = require('../helpers/isInteger');
    1413
    1514var CloneArrayBuffer = require('./CloneArrayBuffer');
     
    2120var TypedArrayElementSize = require('./TypedArrayElementSize');
    2221var TypedArrayElementType = require('./TypedArrayElementType');
     22
     23var $ArrayBuffer = callBound('ArrayBuffer', true);
    2324
    2425// https://262.ecma-international.org/14.0/#sec-settypedarrayfromtypedarray
     
    9192                var srcByteLength = typedArrayByteLength(source); // step 17.a
    9293
    93                 srcBuffer = CloneArrayBuffer(srcBuffer, srcByteOffset, srcByteLength); // step 17.b
     94                srcBuffer = CloneArrayBuffer(srcBuffer, srcByteOffset, srcByteLength, $ArrayBuffer); // step 17.b
    9495
    9596                srcByteIndex = 0; // step 17.c
  • imaps-frontend/node_modules/es-abstract/2023/SetValueInBuffer.js

    r0c6b92a r79a0317  
    55var $SyntaxError = require('es-errors/syntax');
    66var $TypeError = require('es-errors/type');
     7var isInteger = require('math-intrinsics/isInteger');
    78var $Uint8Array = GetIntrinsic('%Uint8Array%', true);
    8 
    9 var isInteger = require('../helpers/isInteger');
    109
    1110var IsBigIntElementType = require('./IsBigIntElementType');
  • imaps-frontend/node_modules/es-abstract/2023/SortIndexedProperties.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
    4 
    53var $TypeError = require('es-errors/type');
     4var callBound = require('call-bound');
     5var isInteger = require('math-intrinsics/isInteger');
    66
    77var Get = require('./Get');
    88var HasProperty = require('./HasProperty');
    99var ToString = require('./ToString');
    10 var Type = require('./Type');
    1110
    1211var isAbstractClosure = require('../helpers/isAbstractClosure');
    13 var isInteger = require('../helpers/isInteger');
     12var isObject = require('../helpers/isObject');
    1413
    1514var $push = callBound('Array.prototype.push');
     
    1918
    2019module.exports = function SortIndexedProperties(obj, len, SortCompare, holes) {
    21         if (Type(obj) !== 'Object') {
     20        if (!isObject(obj)) {
    2221                throw new $TypeError('Assertion failed: Type(obj) is not Object');
    2322        }
  • imaps-frontend/node_modules/es-abstract/2023/SpeciesConstructor.js

    r0c6b92a r79a0317  
    77
    88var IsConstructor = require('./IsConstructor');
    9 var Type = require('./Type');
     9
     10var isObject = require('../helpers/isObject');
    1011
    1112// https://262.ecma-international.org/6.0/#sec-speciesconstructor
    1213
    1314module.exports = function SpeciesConstructor(O, defaultConstructor) {
    14         if (Type(O) !== 'Object') {
     15        if (!isObject(O)) {
    1516                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1617        }
     
    1920                return defaultConstructor;
    2021        }
    21         if (Type(C) !== 'Object') {
     22        if (!isObject(C)) {
    2223                throw new $TypeError('O.constructor is not an Object');
    2324        }
  • imaps-frontend/node_modules/es-abstract/2023/StringCreate.js

    r0c6b92a r79a0317  
    77var $SyntaxError = require('es-errors/syntax');
    88var $TypeError = require('es-errors/type');
     9var setProto = require('set-proto');
    910
    1011var DefinePropertyOrThrow = require('./DefinePropertyOrThrow');
    11 
    12 var setProto = require('../helpers/setProto');
    1312
    1413// https://262.ecma-international.org/6.0/#sec-stringcreate
  • imaps-frontend/node_modules/es-abstract/2023/StringGetOwnProperty.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
     4var isNegativeZero = require('math-intrinsics/isNegativeZero');
    45
    5 var callBound = require('call-bind/callBound');
     6var callBound = require('call-bound');
    67var $charAt = callBound('String.prototype.charAt');
    78var $stringToString = callBound('String.prototype.toString');
     
    910var CanonicalNumericIndexString = require('./CanonicalNumericIndexString');
    1011var IsIntegralNumber = require('./IsIntegralNumber');
    11 var IsPropertyKey = require('./IsPropertyKey');
    12 var Type = require('./Type');
    1312
    14 var isNegativeZero = require('is-negative-zero');
     13var isObject = require('../helpers/isObject');
     14var isPropertyKey = require('../helpers/isPropertyKey');
    1515
    1616// https://262.ecma-international.org/12.0/#sec-stringgetownproperty
     
    1818module.exports = function StringGetOwnProperty(S, P) {
    1919        var str;
    20         if (Type(S) === 'Object') {
     20        if (isObject(S)) {
    2121                try {
    2222                        str = $stringToString(S);
     
    2626                throw new $TypeError('Assertion failed: `S` must be a boxed string object');
    2727        }
    28         if (!IsPropertyKey(P)) {
    29                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
     28        if (!isPropertyKey(P)) {
     29                throw new $TypeError('Assertion failed: P is not a Property Key');
    3030        }
    3131        if (typeof P !== 'string') {
  • imaps-frontend/node_modules/es-abstract/2023/StringIndexOf.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var $TypeError = require('es-errors/type');
    6 
    7 var isInteger = require('../helpers/isInteger');
     6var isInteger = require('math-intrinsics/isInteger');
    87
    98var $slice = callBound('String.prototype.slice');
  • imaps-frontend/node_modules/es-abstract/2023/StringPad.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66
    77var ToLength = require('./ToLength');
  • imaps-frontend/node_modules/es-abstract/2023/StringToCodePoints.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66
    77var $push = callBound('Array.prototype.push');
  • imaps-frontend/node_modules/es-abstract/2023/StringToNumber.js

    r0c6b92a r79a0317  
    33var GetIntrinsic = require('get-intrinsic');
    44
    5 var $Number = GetIntrinsic('%Number%');
    65var $RegExp = GetIntrinsic('%RegExp%');
    76var $TypeError = require('es-errors/type');
    87var $parseInteger = GetIntrinsic('%parseInt%');
    98
    10 var callBound = require('call-bind/callBound');
     9var callBound = require('call-bound');
    1110var regexTester = require('safe-regex-test');
    1211
     
    2827        }
    2928        if (isBinary(argument)) {
    30                 return $Number($parseInteger($strSlice(argument, 2), 2));
     29                return +$parseInteger($strSlice(argument, 2), 2);
    3130        }
    3231        if (isOctal(argument)) {
    33                 return $Number($parseInteger($strSlice(argument, 2), 8));
     32                return +$parseInteger($strSlice(argument, 2), 8);
    3433        }
    3534        if (hasNonWS(argument) || isInvalidHexLiteral(argument)) {
     
    4039                return StringToNumber(trimmed);
    4140        }
    42         return $Number(argument);
     41        return +argument;
    4342};
  • imaps-frontend/node_modules/es-abstract/2023/SymbolDescriptiveString.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66
    77var $SymbolToString = callBound('Symbol.prototype.toString', true);
  • imaps-frontend/node_modules/es-abstract/2023/TestIntegrityLevel.js

    r0c6b92a r79a0317  
    55
    66var every = require('../helpers/every');
    7 var OwnPropertyKeys = require('../helpers/OwnPropertyKeys');
     7var OwnPropertyKeys = require('own-keys');
    88
    99var IsDataDescriptor = require('./IsDataDescriptor');
    1010var IsExtensible = require('./IsExtensible');
    1111var ToPropertyDescriptor = require('./ToPropertyDescriptor');
    12 var Type = require('./Type');
     12
     13var isObject = require('../helpers/isObject');
    1314
    1415// https://262.ecma-international.org/6.0/#sec-testintegritylevel
    1516
    1617module.exports = function TestIntegrityLevel(O, level) {
    17         if (Type(O) !== 'Object') {
     18        if (!isObject(O)) {
    1819                throw new $TypeError('Assertion failed: Type(O) is not Object');
    1920        }
     
    2223        }
    2324        var status = IsExtensible(O);
    24         if (status) {
     25        if (status || !$gOPD) {
    2526                return false;
    2627        }
  • imaps-frontend/node_modules/es-abstract/2023/TimeClip.js

    r0c6b92a r79a0317  
    44
    55var $Date = GetIntrinsic('%Date%');
    6 var $Number = GetIntrinsic('%Number%');
    76
    8 var $isFinite = require('../helpers/isFinite');
     7var $isFinite = require('math-intrinsics/isFinite');
     8var abs = require('math-intrinsics/abs');
    99
    10 var abs = require('./abs');
    1110var ToNumber = require('./ToNumber');
    1211
     
    1716                return NaN;
    1817        }
    19         return $Number(new $Date(ToNumber(time)));
     18        return +new $Date(ToNumber(time));
    2019};
    2120
  • imaps-frontend/node_modules/es-abstract/2023/TimeString.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var $isNaN = require('../helpers/isNaN');
     5var $isNaN = require('math-intrinsics/isNaN');
    66
    77var HourFromTime = require('./HourFromTime');
  • imaps-frontend/node_modules/es-abstract/2023/TimeZoneString.js

    r0c6b92a r79a0317  
    55var $Date = GetIntrinsic('%Date%');
    66var $TypeError = require('es-errors/type');
    7 
    8 var isInteger = require('../helpers/isInteger');
    9 
    10 var callBound = require('call-bind/callBound');
     7var callBound = require('call-bound');
     8var isInteger = require('math-intrinsics/isInteger');
    119
    1210var $indexOf = callBound('String.prototype.indexOf');
  • imaps-frontend/node_modules/es-abstract/2023/ToBigInt64.js

    r0c6b92a r79a0317  
    44
    55var $BigInt = GetIntrinsic('%BigInt%', true);
    6 var $pow = GetIntrinsic('%Math.pow%');
     6var $pow = require('math-intrinsics/pow');
    77
    88var ToBigInt = require('./ToBigInt');
  • imaps-frontend/node_modules/es-abstract/2023/ToBigUint64.js

    r0c6b92a r79a0317  
    44
    55var $BigInt = GetIntrinsic('%BigInt%', true);
    6 var $pow = GetIntrinsic('%Math.pow%');
     6
     7var $pow = require('math-intrinsics/pow');
    78
    89var ToBigInt = require('./ToBigInt');
  • imaps-frontend/node_modules/es-abstract/2023/ToDateString.js

    r0c6b92a r79a0317  
    77var $String = GetIntrinsic('%String%');
    88
    9 var $isNaN = require('../helpers/isNaN');
     9var $isNaN = require('math-intrinsics/isNaN');
    1010
    1111// https://262.ecma-international.org/6.0/#sec-todatestring
  • imaps-frontend/node_modules/es-abstract/2023/ToInt16.js

    r0c6b92a r79a0317  
    55var truncate = require('./truncate');
    66
    7 var isFinite = require('../helpers/isFinite');
     7var isFinite = require('math-intrinsics/isFinite');
    88
    99// https://262.ecma-international.org/14.0/#sec-toint16
  • imaps-frontend/node_modules/es-abstract/2023/ToInt32.js

    r0c6b92a r79a0317  
    55var truncate = require('./truncate');
    66
    7 var isFinite = require('../helpers/isFinite');
     7var isFinite = require('math-intrinsics/isFinite');
    88
    99// https://262.ecma-international.org/14.0/#sec-toint32
  • imaps-frontend/node_modules/es-abstract/2023/ToInt8.js

    r0c6b92a r79a0317  
    55var truncate = require('./truncate');
    66
    7 var isFinite = require('../helpers/isFinite');
     7var isFinite = require('math-intrinsics/isFinite');
    88
    99// https://262.ecma-international.org/14.0/#sec-toint8
  • imaps-frontend/node_modules/es-abstract/2023/ToIntegerOrInfinity.js

    r0c6b92a r79a0317  
    44var truncate = require('./truncate');
    55
    6 var $isNaN = require('../helpers/isNaN');
    7 var $isFinite = require('../helpers/isFinite');
     6var $isNaN = require('math-intrinsics/isNaN');
     7var $isFinite = require('math-intrinsics/isFinite');
    88
    99// https://262.ecma-international.org/14.0/#sec-tointegerorinfinity
  • imaps-frontend/node_modules/es-abstract/2023/ToLength.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');
     3var MAX_SAFE_INTEGER = require('math-intrinsics/constants/maxSafeInteger');
    44
    55var ToIntegerOrInfinity = require('./ToIntegerOrInfinity');
  • imaps-frontend/node_modules/es-abstract/2023/ToNumber.js

    r0c6b92a r79a0317  
    2323                return StringToNumber(value);
    2424        }
    25         return $Number(value);
     25        return +value;
    2626};
  • imaps-frontend/node_modules/es-abstract/2023/ToPropertyDescriptor.js

    r0c6b92a r79a0317  
    55var $TypeError = require('es-errors/type');
    66
    7 var Type = require('./Type');
     7var IsCallable = require('./IsCallable');
    88var ToBoolean = require('./ToBoolean');
    9 var IsCallable = require('./IsCallable');
     9
     10var isObject = require('../helpers/isObject');
    1011
    1112// https://262.ecma-international.org/5.1/#sec-8.10.5
    1213
    1314module.exports = function ToPropertyDescriptor(Obj) {
    14         if (Type(Obj) !== 'Object') {
     15        if (!isObject(Obj)) {
    1516                throw new $TypeError('ToPropertyDescriptor requires an object');
    1617        }
  • imaps-frontend/node_modules/es-abstract/2023/ToUint16.js

    r0c6b92a r79a0317  
    55var truncate = require('./truncate');
    66
    7 var isFinite = require('../helpers/isFinite');
     7var isFinite = require('math-intrinsics/isFinite');
    88
    99// https://262.ecma-international.org/14.0/#sec-touint16
  • imaps-frontend/node_modules/es-abstract/2023/ToUint32.js

    r0c6b92a r79a0317  
    55var truncate = require('./truncate');
    66
    7 var isFinite = require('../helpers/isFinite');
     7var isFinite = require('math-intrinsics/isFinite');
    88
    99// https://262.ecma-international.org/14.0/#sec-touint32
  • imaps-frontend/node_modules/es-abstract/2023/ToUint8.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var isFinite = require('../helpers/isFinite');
     3var isFinite = require('math-intrinsics/isFinite');
    44
    55var modulo = require('./modulo');
  • imaps-frontend/node_modules/es-abstract/2023/ToUint8Clamp.js

    r0c6b92a r79a0317  
    44var floor = require('./floor');
    55
    6 var $isNaN = require('../helpers/isNaN');
     6var $isNaN = require('math-intrinsics/isNaN');
    77
    88// https://262.ecma-international.org/6.0/#sec-touint8clamp
  • imaps-frontend/node_modules/es-abstract/2023/ToZeroPaddedDecimalString.js

    r0c6b92a r79a0317  
    55var $String = GetIntrinsic('%String%');
    66var $RangeError = require('es-errors/range');
     7var isInteger = require('math-intrinsics/isInteger');
    78
    89var StringPad = require('./StringPad');
    9 
    10 var isInteger = require('../helpers/isInteger');
    1110
    1211// https://262.ecma-international.org/13.0/#sec-tozeropaddeddecimalstring
  • imaps-frontend/node_modules/es-abstract/2023/TypedArrayElementSize.js

    r0c6b92a r79a0317  
    33var $SyntaxError = require('es-errors/syntax');
    44var $TypeError = require('es-errors/type');
    5 
    6 var isInteger = require('../helpers/isInteger');
    7 
     5var isInteger = require('math-intrinsics/isInteger');
    86var whichTypedArray = require('which-typed-array');
    97
     
    1412module.exports = function TypedArrayElementSize(O) {
    1513        var type = whichTypedArray(O);
    16         if (type === false) {
     14        if (!type) {
    1715                throw new $TypeError('Assertion failed: `O` must be a TypedArray');
    1816        }
  • imaps-frontend/node_modules/es-abstract/2023/TypedArrayElementType.js

    r0c6b92a r79a0317  
    1212module.exports = function TypedArrayElementType(O) {
    1313        var type = whichTypedArray(O);
    14         if (type === false) {
     14        if (!type) {
    1515                throw new $TypeError('Assertion failed: `O` must be a TypedArray');
    1616        }
  • imaps-frontend/node_modules/es-abstract/2023/UnicodeEscape.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66
    77var $charCodeAt = callBound('String.prototype.charCodeAt');
  • imaps-frontend/node_modules/es-abstract/2023/ValidateAndApplyPropertyDescriptor.js

    r0c6b92a r79a0317  
    1111var IsDataDescriptor = require('./IsDataDescriptor');
    1212var IsGenericDescriptor = require('./IsGenericDescriptor');
    13 var IsPropertyKey = require('./IsPropertyKey');
     13var isPropertyKey = require('../helpers/isPropertyKey');
    1414var SameValue = require('./SameValue');
    1515var Type = require('./Type');
     16
     17var isObject = require('../helpers/isObject');
    1618
    1719// https://262.ecma-international.org/13.0/#sec-validateandapplypropertydescriptor
     
    2224module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) {
    2325        var oType = Type(O);
    24         if (oType !== 'Undefined' && oType !== 'Object') {
     26        if (typeof O !== 'undefined' && !isObject(O)) {
    2527                throw new $TypeError('Assertion failed: O must be undefined or an Object');
    2628        }
    27         if (!IsPropertyKey(P)) {
     29        if (!isPropertyKey(P)) {
    2830                throw new $TypeError('Assertion failed: P must be a Property Key');
    2931        }
  • imaps-frontend/node_modules/es-abstract/2023/ValidateTypedArray.js

    r0c6b92a r79a0317  
    44
    55var IsDetachedBuffer = require('./IsDetachedBuffer');
    6 var Type = require('./Type');
     6
     7var isObject = require('../helpers/isObject');
    78
    89var isTypedArray = require('is-typed-array');
     
    1213
    1314module.exports = function ValidateTypedArray(O) {
    14         if (Type(O) !== 'Object') {
     15        if (!isObject(O)) {
    1516                throw new $TypeError('Assertion failed: `O` must be an Object'); // step 1
    1617        }
  • imaps-frontend/node_modules/es-abstract/2023/WeakRefDeref.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var $TypeError = require('es-errors/type');
  • imaps-frontend/node_modules/es-abstract/2023/WordCharacters.js

    r0c6b92a r79a0317  
    33var $TypeError = require('es-errors/type');
    44
    5 var callBound = require('call-bind/callBound');
     5var callBound = require('call-bound');
    66var $indexOf = callBound('String.prototype.indexOf', true);
    77
     
    1111var forEach = require('../helpers/forEach');
    1212var isRegExpRecord = require('../helpers/records/regexp-record');
    13 var OwnPropertyKeys = require('../helpers/OwnPropertyKeys');
     13var OwnPropertyKeys = require('own-keys');
    1414
    1515var basicWordChars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'; // step 1
  • imaps-frontend/node_modules/es-abstract/2023/YearFromTime.js

    r0c6b92a r79a0317  
    55var $Date = GetIntrinsic('%Date%');
    66
    7 var callBound = require('call-bind/callBound');
     7var callBound = require('call-bound');
    88
    99var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear');
  • imaps-frontend/node_modules/es-abstract/2023/abs.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var GetIntrinsic = require('get-intrinsic');
    4 
    5 var $abs = GetIntrinsic('%Math.abs%');
     3var $abs = require('math-intrinsics/abs');
    64
    75// http://262.ecma-international.org/5.1/#sec-5.2
  • imaps-frontend/node_modules/es-abstract/2023/clamp.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var GetIntrinsic = require('get-intrinsic');
    4 
    53var $TypeError = require('es-errors/type');
    6 var max = GetIntrinsic('%Math.max%');
    7 var min = GetIntrinsic('%Math.min%');
     4var max = require('math-intrinsics/max');
     5var min = require('math-intrinsics/min');
    86
    97// https://262.ecma-international.org/12.0/#clamping
  • imaps-frontend/node_modules/es-abstract/2023/floor.js

    r0c6b92a r79a0317  
    22
    33// var modulo = require('./modulo');
    4 var $floor = Math.floor;
     4var $floor = require('math-intrinsics/floor');
    55
    66// http://262.ecma-international.org/11.0/#eqn-floor
  • imaps-frontend/node_modules/es-abstract/2023/max.js

    r0c6b92a r79a0317  
    11'use strict';
    2 
    3 var GetIntrinsic = require('get-intrinsic');
    42
    53// https://262.ecma-international.org/6.0/#sec-algorithm-conventions
    64
    7 module.exports = GetIntrinsic('%Math.max%');
     5module.exports = require('math-intrinsics/max');
  • imaps-frontend/node_modules/es-abstract/2023/min.js

    r0c6b92a r79a0317  
    11'use strict';
    2 
    3 var GetIntrinsic = require('get-intrinsic');
    42
    53// https://262.ecma-international.org/6.0/#sec-algorithm-conventions
    64
    7 module.exports = GetIntrinsic('%Math.min%');
     5module.exports = require('math-intrinsics/min');
  • imaps-frontend/node_modules/es-abstract/2023/substring.js

    r0c6b92a r79a0317  
    22
    33var $TypeError = require('es-errors/type');
    4 
    5 var isInteger = require('../helpers/isInteger');
    6 
    7 var callBound = require('call-bind/callBound');
     4var isInteger = require('math-intrinsics/isInteger');
     5var callBound = require('call-bound');
    86
    97var $slice = callBound('String.prototype.slice');
  • imaps-frontend/node_modules/es-abstract/2023/thisBigIntValue.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var $SyntaxError = require('es-errors/syntax');
    66var $bigIntValueOf = callBound('BigInt.prototype.valueOf', true);
    77
    8 var Type = require('./Type');
    9 
    108// https://262.ecma-international.org/11.0/#sec-thisbigintvalue
    119
    1210module.exports = function thisBigIntValue(value) {
    13         var type = Type(value);
    14         if (type === 'BigInt') {
     11        if (typeof value === 'bigint') {
    1512                return value;
    1613        }
  • imaps-frontend/node_modules/es-abstract/2023/thisBooleanValue.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf');
     3var $BooleanValueOf = require('call-bound')('Boolean.prototype.valueOf');
    44
    55// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object
  • imaps-frontend/node_modules/es-abstract/2023/thisNumberValue.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var $NumberValueOf = callBound('Number.prototype.valueOf');
  • imaps-frontend/node_modules/es-abstract/2023/thisStringValue.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf');
     3var $StringValueOf = require('call-bound')('String.prototype.valueOf');
    44
    55// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object
  • imaps-frontend/node_modules/es-abstract/2023/thisSymbolValue.js

    r0c6b92a r79a0317  
    22
    33var $SyntaxError = require('es-errors/syntax');
    4 var callBound = require('call-bind/callBound');
     4var callBound = require('call-bound');
    55
    66var $SymbolValueOf = callBound('Symbol.prototype.valueOf', true);
     
    99
    1010module.exports = function thisSymbolValue(value) {
     11        if (typeof value === 'symbol') {
     12                return value;
     13        }
     14
    1115        if (!$SymbolValueOf) {
    1216                throw new $SyntaxError('Symbols are not supported; thisSymbolValue requires that `value` be a Symbol or a Symbol object');
    1317        }
    14         if (typeof value === 'symbol') {
    15                 return value;
    16         }
     18
    1719        return $SymbolValueOf(value);
    1820};
  • imaps-frontend/node_modules/es-abstract/2023/thisTimeValue.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var $DateGetTime = require('call-bind/callBound')('Date.prototype.getTime');
     3var timeValue = require('../helpers/timeValue');
    44
    55// https://262.ecma-international.org/6.0/#sec-properties-of-the-date-prototype-object
    66
    77module.exports = function thisTimeValue(value) {
    8         return $DateGetTime(value);
     8        return timeValue(value);
    99};
Note: See TracChangeset for help on using the changeset viewer.