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/object.assign
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/object.assign/CHANGELOG.md

    r0c6b92a r79a0317  
     14.1.7 / 2024-12-18
     2==================
     3  * [Deps] add missing `es-object-atoms` (#86)
     4
     54.1.6 / 2024-12-18
     6==================
     7  * [Refactor] use `call-bound` directly; use `es-object-atoms`
     8  * [Deps] update `call-bind`, `has-symbols`
     9  * [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `hasown`, `mock-property`, `ses`, `tape`
     10  * [actions] split out node 10-20, and 20+
     11  * [actions] remove redundant finisher
     12  * [Tests] replace `aud` with `npm audit`
     13
    1144.1.5 / 2023-11-30
    215==================
  • imaps-frontend/node_modules/object.assign/dist/browser.js

    r0c6b92a r79a0317  
    1111delete assign.shim;
    1212
    13 },{"./":3,"object-keys":18}],2:[function(require,module,exports){
     13},{"./":3,"object-keys":39}],2:[function(require,module,exports){
    1414'use strict';
    1515
     
    1717var objectKeys = require('object-keys');
    1818var hasSymbols = require('has-symbols/shams')();
    19 var callBound = require('call-bind/callBound');
    20 var toObject = Object;
     19var callBound = require('call-bound');
     20var $Object = require('es-object-atoms');
    2121var $push = callBound('Array.prototype.push');
    2222var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
    23 var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;
     23var originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null;
    2424
    2525// eslint-disable-next-line no-unused-vars
    2626module.exports = function assign(target, source1) {
    2727        if (target == null) { throw new TypeError('target must be an object'); }
    28         var to = toObject(target); // step 1
     28        var to = $Object(target); // step 1
    2929        if (arguments.length === 1) {
    3030                return to; // step 2
    3131        }
    3232        for (var s = 1; s < arguments.length; ++s) {
    33                 var from = toObject(arguments[s]); // step 3.a.i
     33                var from = $Object(arguments[s]); // step 3.a.i
    3434
    3535                // step 3.a.ii:
    3636                var keys = objectKeys(from);
    37                 var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);
     37                var getSymbols = hasSymbols && ($Object.getOwnPropertySymbols || originalGetSymbols);
    3838                if (getSymbols) {
    3939                        var syms = getSymbols(from);
     
    5959};
    6060
    61 },{"call-bind/callBound":4,"has-symbols/shams":15,"object-keys":18}],3:[function(require,module,exports){
     61},{"call-bound":11,"es-object-atoms":23,"has-symbols/shams":31,"object-keys":39}],3:[function(require,module,exports){
    6262'use strict';
    6363
     
    8383module.exports = bound;
    8484
    85 },{"./implementation":2,"./polyfill":21,"./shim":22,"call-bind":5,"define-properties":7}],4:[function(require,module,exports){
    86 'use strict';
    87 
    88 var GetIntrinsic = require('get-intrinsic');
    89 
    90 var callBind = require('./');
    91 
    92 var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
    93 
    94 module.exports = function callBoundIntrinsic(name, allowMissing) {
    95         var intrinsic = GetIntrinsic(name, !!allowMissing);
    96         if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
    97                 return callBind(intrinsic);
    98         }
    99         return intrinsic;
    100 };
    101 
    102 },{"./":5,"get-intrinsic":10}],5:[function(require,module,exports){
     85},{"./implementation":2,"./polyfill":42,"./shim":43,"call-bind":10,"define-properties":13}],4:[function(require,module,exports){
    10386'use strict';
    10487
    10588var bind = require('function-bind');
    106 var GetIntrinsic = require('get-intrinsic');
     89
     90var $apply = require('./functionApply');
     91var $call = require('./functionCall');
     92var $reflectApply = require('./reflectApply');
     93
     94/** @type {import('./actualApply')} */
     95module.exports = $reflectApply || bind.call($call, $apply);
     96
     97},{"./functionApply":6,"./functionCall":7,"./reflectApply":9,"function-bind":25}],5:[function(require,module,exports){
     98'use strict';
     99
     100var bind = require('function-bind');
     101var $apply = require('./functionApply');
     102var actualApply = require('./actualApply');
     103
     104/** @type {import('./applyBind')} */
     105module.exports = function applyBind() {
     106        return actualApply(bind, $apply, arguments);
     107};
     108
     109},{"./actualApply":4,"./functionApply":6,"function-bind":25}],6:[function(require,module,exports){
     110'use strict';
     111
     112/** @type {import('./functionApply')} */
     113module.exports = Function.prototype.apply;
     114
     115},{}],7:[function(require,module,exports){
     116'use strict';
     117
     118/** @type {import('./functionCall')} */
     119module.exports = Function.prototype.call;
     120
     121},{}],8:[function(require,module,exports){
     122'use strict';
     123
     124var bind = require('function-bind');
     125var $TypeError = require('es-errors/type');
     126
     127var $call = require('./functionCall');
     128var $actualApply = require('./actualApply');
     129
     130/** @type {import('.')} */
     131module.exports = function callBindBasic(args) {
     132        if (args.length < 1 || typeof args[0] !== 'function') {
     133                throw new $TypeError('a function is required');
     134        }
     135        return $actualApply(bind, $call, args);
     136};
     137
     138},{"./actualApply":4,"./functionCall":7,"es-errors/type":21,"function-bind":25}],9:[function(require,module,exports){
     139'use strict';
     140
     141/** @type {import('./reflectApply')} */
     142module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
     143
     144},{}],10:[function(require,module,exports){
     145'use strict';
     146
    107147var setFunctionLength = require('set-function-length');
    108148
    109 var $TypeError = GetIntrinsic('%TypeError%');
    110 var $apply = GetIntrinsic('%Function.prototype.apply%');
    111 var $call = GetIntrinsic('%Function.prototype.call%');
    112 var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
    113 
    114 var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
    115 var $max = GetIntrinsic('%Math.max%');
    116 
    117 if ($defineProperty) {
    118         try {
    119                 $defineProperty({}, 'a', { value: 1 });
    120         } catch (e) {
    121                 // IE 8 has a broken defineProperty
    122                 $defineProperty = null;
    123         }
    124 }
     149var $defineProperty = require('es-define-property');
     150
     151var callBindBasic = require('call-bind-apply-helpers');
     152var applyBind = require('call-bind-apply-helpers/applyBind');
    125153
    126154module.exports = function callBind(originalFunction) {
    127         if (typeof originalFunction !== 'function') {
    128                 throw new $TypeError('a function is required');
    129         }
    130         var func = $reflectApply(bind, $call, arguments);
     155        var func = callBindBasic(arguments);
     156        var adjustedLength = originalFunction.length - (arguments.length - 1);
    131157        return setFunctionLength(
    132158                func,
    133                 1 + $max(0, originalFunction.length - (arguments.length - 1)),
     159                1 + (adjustedLength > 0 ? adjustedLength : 0),
    134160                true
    135161        );
    136 };
    137 
    138 var applyBind = function applyBind() {
    139         return $reflectApply(bind, $apply, arguments);
    140162};
    141163
     
    146168}
    147169
    148 },{"function-bind":9,"get-intrinsic":10,"set-function-length":20}],6:[function(require,module,exports){
    149 'use strict';
    150 
    151 var hasPropertyDescriptors = require('has-property-descriptors')();
     170},{"call-bind-apply-helpers":8,"call-bind-apply-helpers/applyBind":5,"es-define-property":15,"set-function-length":41}],11:[function(require,module,exports){
     171'use strict';
    152172
    153173var GetIntrinsic = require('get-intrinsic');
    154174
    155 var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);
    156 if ($defineProperty) {
    157         try {
    158                 $defineProperty({}, 'a', { value: 1 });
    159         } catch (e) {
    160                 // IE 8 has a broken defineProperty
    161                 $defineProperty = false;
    162         }
    163 }
    164 
    165 var $SyntaxError = GetIntrinsic('%SyntaxError%');
    166 var $TypeError = GetIntrinsic('%TypeError%');
     175var callBindBasic = require('call-bind-apply-helpers');
     176
     177/** @type {(thisArg: string, searchString: string, position?: number) => number} */
     178var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
     179
     180/** @type {import('.')} */
     181module.exports = function callBoundIntrinsic(name, allowMissing) {
     182        // eslint-disable-next-line no-extra-parens
     183        var intrinsic = /** @type {Parameters<typeof callBindBasic>[0][0]} */ (GetIntrinsic(name, !!allowMissing));
     184        if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
     185                return callBindBasic([intrinsic]);
     186        }
     187        return intrinsic;
     188};
     189
     190},{"call-bind-apply-helpers":8,"get-intrinsic":26}],12:[function(require,module,exports){
     191'use strict';
     192
     193var $defineProperty = require('es-define-property');
     194
     195var $SyntaxError = require('es-errors/syntax');
     196var $TypeError = require('es-errors/type');
    167197
    168198var gopd = require('gopd');
    169199
    170 /** @type {(obj: Record<PropertyKey, unknown>, property: PropertyKey, value: unknown, nonEnumerable?: boolean | null, nonWritable?: boolean | null, nonConfigurable?: boolean | null, loose?: boolean) => void} */
     200/** @type {import('.')} */
    171201module.exports = function defineDataProperty(
    172202        obj,
     
    216246};
    217247
    218 },{"get-intrinsic":10,"gopd":11,"has-property-descriptors":12}],7:[function(require,module,exports){
     248},{"es-define-property":15,"es-errors/syntax":20,"es-errors/type":21,"gopd":28}],13:[function(require,module,exports){
    219249'use strict';
    220250
     
    265295module.exports = defineProperties;
    266296
    267 },{"define-data-property":6,"has-property-descriptors":12,"object-keys":18}],8:[function(require,module,exports){
     297},{"define-data-property":12,"has-property-descriptors":29,"object-keys":39}],14:[function(require,module,exports){
     298'use strict';
     299
     300var callBind = require('call-bind-apply-helpers');
     301var gOPD = require('gopd');
     302
     303var hasProtoAccessor;
     304try {
     305        // eslint-disable-next-line no-extra-parens, no-proto
     306        hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
     307} catch (e) {
     308        if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
     309                throw e;
     310        }
     311}
     312
     313// eslint-disable-next-line no-extra-parens
     314var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
     315
     316var $Object = Object;
     317var $getPrototypeOf = $Object.getPrototypeOf;
     318
     319/** @type {import('./get')} */
     320module.exports = desc && typeof desc.get === 'function'
     321        ? callBind([desc.get])
     322        : typeof $getPrototypeOf === 'function'
     323                ? /** @type {import('./get')} */ function getDunder(value) {
     324                        // eslint-disable-next-line eqeqeq
     325                        return $getPrototypeOf(value == null ? value : $Object(value));
     326                }
     327                : false;
     328
     329},{"call-bind-apply-helpers":8,"gopd":28}],15:[function(require,module,exports){
     330'use strict';
     331
     332/** @type {import('.')} */
     333var $defineProperty = Object.defineProperty || false;
     334if ($defineProperty) {
     335        try {
     336                $defineProperty({}, 'a', { value: 1 });
     337        } catch (e) {
     338                // IE 8 has a broken defineProperty
     339                $defineProperty = false;
     340        }
     341}
     342
     343module.exports = $defineProperty;
     344
     345},{}],16:[function(require,module,exports){
     346'use strict';
     347
     348/** @type {import('./eval')} */
     349module.exports = EvalError;
     350
     351},{}],17:[function(require,module,exports){
     352'use strict';
     353
     354/** @type {import('.')} */
     355module.exports = Error;
     356
     357},{}],18:[function(require,module,exports){
     358'use strict';
     359
     360/** @type {import('./range')} */
     361module.exports = RangeError;
     362
     363},{}],19:[function(require,module,exports){
     364'use strict';
     365
     366/** @type {import('./ref')} */
     367module.exports = ReferenceError;
     368
     369},{}],20:[function(require,module,exports){
     370'use strict';
     371
     372/** @type {import('./syntax')} */
     373module.exports = SyntaxError;
     374
     375},{}],21:[function(require,module,exports){
     376'use strict';
     377
     378/** @type {import('./type')} */
     379module.exports = TypeError;
     380
     381},{}],22:[function(require,module,exports){
     382'use strict';
     383
     384/** @type {import('./uri')} */
     385module.exports = URIError;
     386
     387},{}],23:[function(require,module,exports){
     388'use strict';
     389
     390/** @type {import('.')} */
     391module.exports = Object;
     392
     393},{}],24:[function(require,module,exports){
    268394'use strict';
    269395
     
    351477};
    352478
    353 },{}],9:[function(require,module,exports){
     479},{}],25:[function(require,module,exports){
    354480'use strict';
    355481
     
    358484module.exports = Function.prototype.bind || implementation;
    359485
    360 },{"./implementation":8}],10:[function(require,module,exports){
     486},{"./implementation":24}],26:[function(require,module,exports){
    361487'use strict';
    362488
    363489var undefined;
    364490
    365 var $SyntaxError = SyntaxError;
     491var $Object = require('es-object-atoms');
     492
     493var $Error = require('es-errors');
     494var $EvalError = require('es-errors/eval');
     495var $RangeError = require('es-errors/range');
     496var $ReferenceError = require('es-errors/ref');
     497var $SyntaxError = require('es-errors/syntax');
     498var $TypeError = require('es-errors/type');
     499var $URIError = require('es-errors/uri');
     500
     501var abs = require('math-intrinsics/abs');
     502var floor = require('math-intrinsics/floor');
     503var max = require('math-intrinsics/max');
     504var min = require('math-intrinsics/min');
     505var pow = require('math-intrinsics/pow');
     506
    366507var $Function = Function;
    367 var $TypeError = TypeError;
    368508
    369509// eslint-disable-next-line consistent-return
     
    374514};
    375515
    376 var $gOPD = Object.getOwnPropertyDescriptor;
    377 if ($gOPD) {
    378         try {
    379                 $gOPD({}, '');
    380         } catch (e) {
    381                 $gOPD = null; // this is IE 8, which has a broken gOPD
    382         }
    383 }
     516var $gOPD = require('gopd');
     517var $defineProperty = require('es-define-property');
    384518
    385519var throwTypeError = function () {
     
    404538
    405539var hasSymbols = require('has-symbols')();
    406 var hasProto = require('has-proto')();
    407 
    408 var getProto = Object.getPrototypeOf || (
    409         hasProto
    410                 ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
    411                 : null
    412 );
     540var getDunderProto = require('dunder-proto/get');
     541
     542var getProto = (typeof Reflect === 'function' && Reflect.getPrototypeOf)
     543        || $Object.getPrototypeOf
     544        || getDunderProto;
     545
     546var $apply = require('call-bind-apply-helpers/functionApply');
     547var $call = require('call-bind-apply-helpers/functionCall');
    413548
    414549var needsEval = {};
     
    417552
    418553var INTRINSICS = {
     554        __proto__: null,
    419555        '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
    420556        '%Array%': Array,
     
    437573        '%encodeURI%': encodeURI,
    438574        '%encodeURIComponent%': encodeURIComponent,
    439         '%Error%': Error,
     575        '%Error%': $Error,
    440576        '%eval%': eval, // eslint-disable-line no-eval
    441         '%EvalError%': EvalError,
     577        '%EvalError%': $EvalError,
    442578        '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
    443579        '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
     
    456592        '%Math%': Math,
    457593        '%Number%': Number,
    458         '%Object%': Object,
     594        '%Object%': $Object,
     595        '%Object.getOwnPropertyDescriptor%': $gOPD,
    459596        '%parseFloat%': parseFloat,
    460597        '%parseInt%': parseInt,
    461598        '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
    462599        '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
    463         '%RangeError%': RangeError,
    464         '%ReferenceError%': ReferenceError,
     600        '%RangeError%': $RangeError,
     601        '%ReferenceError%': $ReferenceError,
    465602        '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
    466603        '%RegExp%': RegExp,
     
    479616        '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
    480617        '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
    481         '%URIError%': URIError,
     618        '%URIError%': $URIError,
    482619        '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
    483620        '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
    484         '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
     621        '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
     622
     623        '%Function.prototype.call%': $call,
     624        '%Function.prototype.apply%': $apply,
     625        '%Object.defineProperty%': $defineProperty,
     626        '%Math.abs%': abs,
     627        '%Math.floor%': floor,
     628        '%Math.max%': max,
     629        '%Math.min%': min,
     630        '%Math.pow%': pow
    485631};
    486632
     
    521667
    522668var LEGACY_ALIASES = {
     669        __proto__: null,
    523670        '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
    524671        '%ArrayPrototype%': ['Array', 'prototype'],
     
    576723var bind = require('function-bind');
    577724var hasOwn = require('hasown');
    578 var $concat = bind.call(Function.call, Array.prototype.concat);
    579 var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
    580 var $replace = bind.call(Function.call, String.prototype.replace);
    581 var $strSlice = bind.call(Function.call, String.prototype.slice);
    582 var $exec = bind.call(Function.call, RegExp.prototype.exec);
     725var $concat = bind.call($call, Array.prototype.concat);
     726var $spliceApply = bind.call($apply, Array.prototype.splice);
     727var $replace = bind.call($call, String.prototype.replace);
     728var $strSlice = bind.call($call, String.prototype.slice);
     729var $exec = bind.call($call, RegExp.prototype.exec);
    583730
    584731/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
     
    711858};
    712859
    713 },{"function-bind":9,"has-proto":13,"has-symbols":14,"hasown":16}],11:[function(require,module,exports){
    714 'use strict';
    715 
    716 var GetIntrinsic = require('get-intrinsic');
    717 
    718 var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
     860},{"call-bind-apply-helpers/functionApply":6,"call-bind-apply-helpers/functionCall":7,"dunder-proto/get":14,"es-define-property":15,"es-errors":17,"es-errors/eval":16,"es-errors/range":18,"es-errors/ref":19,"es-errors/syntax":20,"es-errors/type":21,"es-errors/uri":22,"es-object-atoms":23,"function-bind":25,"gopd":28,"has-symbols":30,"hasown":32,"math-intrinsics/abs":33,"math-intrinsics/floor":34,"math-intrinsics/max":35,"math-intrinsics/min":36,"math-intrinsics/pow":37}],27:[function(require,module,exports){
     861'use strict';
     862
     863/** @type {import('./gOPD')} */
     864module.exports = Object.getOwnPropertyDescriptor;
     865
     866},{}],28:[function(require,module,exports){
     867'use strict';
     868
     869/** @type {import('.')} */
     870var $gOPD = require('./gOPD');
    719871
    720872if ($gOPD) {
     
    729881module.exports = $gOPD;
    730882
    731 },{"get-intrinsic":10}],12:[function(require,module,exports){
    732 'use strict';
    733 
    734 var GetIntrinsic = require('get-intrinsic');
    735 
    736 var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
     883},{"./gOPD":27}],29:[function(require,module,exports){
     884'use strict';
     885
     886var $defineProperty = require('es-define-property');
    737887
    738888var hasPropertyDescriptors = function hasPropertyDescriptors() {
    739         if ($defineProperty) {
    740                 try {
    741                         $defineProperty({}, 'a', { value: 1 });
    742                         return true;
    743                 } catch (e) {
    744                         // IE 8 has a broken defineProperty
    745                         return false;
    746                 }
    747         }
    748         return false;
     889        return !!$defineProperty;
    749890};
    750891
    751892hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
    752893        // node v0.6 has a bug where array lengths can be Set but not Defined
    753         if (!hasPropertyDescriptors()) {
     894        if (!$defineProperty) {
    754895                return null;
    755896        }
     
    764905module.exports = hasPropertyDescriptors;
    765906
    766 },{"get-intrinsic":10}],13:[function(require,module,exports){
    767 'use strict';
    768 
    769 var test = {
    770         foo: {}
    771 };
    772 
    773 var $Object = Object;
    774 
    775 module.exports = function hasProto() {
    776         return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
    777 };
    778 
    779 },{}],14:[function(require,module,exports){
     907},{"es-define-property":15}],30:[function(require,module,exports){
    780908'use strict';
    781909
     
    783911var hasSymbolSham = require('./shams');
    784912
     913/** @type {import('.')} */
    785914module.exports = function hasNativeSymbols() {
    786915        if (typeof origSymbol !== 'function') { return false; }
     
    792921};
    793922
    794 },{"./shams":15}],15:[function(require,module,exports){
    795 'use strict';
    796 
     923},{"./shams":31}],31:[function(require,module,exports){
     924'use strict';
     925
     926/** @type {import('./shams')} */
    797927/* eslint complexity: [2, 18], max-statements: [2, 33] */
    798928module.exports = function hasSymbols() {
     
    800930        if (typeof Symbol.iterator === 'symbol') { return true; }
    801931
     932        /** @type {{ [k in symbol]?: unknown }} */
    802933        var obj = {};
    803934        var sym = Symbol('test');
     
    818949        var symVal = 42;
    819950        obj[sym] = symVal;
    820         for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
     951        for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
    821952        if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
    822953
     
    829960
    830961        if (typeof Object.getOwnPropertyDescriptor === 'function') {
    831                 var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
     962                // eslint-disable-next-line no-extra-parens
     963                var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
    832964                if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
    833965        }
     
    836968};
    837969
    838 },{}],16:[function(require,module,exports){
     970},{}],32:[function(require,module,exports){
    839971'use strict';
    840972
     
    843975var bind = require('function-bind');
    844976
    845 /** @type {(o: {}, p: PropertyKey) => p is keyof o} */
     977/** @type {import('.')} */
    846978module.exports = bind.call(call, $hasOwn);
    847979
    848 },{"function-bind":9}],17:[function(require,module,exports){
     980},{"function-bind":25}],33:[function(require,module,exports){
     981'use strict';
     982
     983/** @type {import('./abs')} */
     984module.exports = Math.abs;
     985
     986},{}],34:[function(require,module,exports){
     987'use strict';
     988
     989/** @type {import('./abs')} */
     990module.exports = Math.floor;
     991
     992},{}],35:[function(require,module,exports){
     993'use strict';
     994
     995/** @type {import('./max')} */
     996module.exports = Math.max;
     997
     998},{}],36:[function(require,module,exports){
     999'use strict';
     1000
     1001/** @type {import('./min')} */
     1002module.exports = Math.min;
     1003
     1004},{}],37:[function(require,module,exports){
     1005'use strict';
     1006
     1007/** @type {import('./pow')} */
     1008module.exports = Math.pow;
     1009
     1010},{}],38:[function(require,module,exports){
    8491011'use strict';
    8501012
     
    9701132module.exports = keysShim;
    9711133
    972 },{"./isArguments":19}],18:[function(require,module,exports){
     1134},{"./isArguments":40}],39:[function(require,module,exports){
    9731135'use strict';
    9741136
     
    10041166module.exports = keysShim;
    10051167
    1006 },{"./implementation":17,"./isArguments":19}],19:[function(require,module,exports){
     1168},{"./implementation":38,"./isArguments":40}],40:[function(require,module,exports){
    10071169'use strict';
    10081170
     
    10231185};
    10241186
    1025 },{}],20:[function(require,module,exports){
     1187},{}],41:[function(require,module,exports){
    10261188'use strict';
    10271189
     
    10311193var gOPD = require('gopd');
    10321194
    1033 var $TypeError = GetIntrinsic('%TypeError%');
     1195var $TypeError = require('es-errors/type');
    10341196var $floor = GetIntrinsic('%Math.floor%');
    10351197
     1198/** @type {import('.')} */
    10361199module.exports = function setFunctionLength(fn, length) {
    10371200        if (typeof fn !== 'function') {
     
    10581221        if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
    10591222                if (hasDescriptors) {
    1060                         define(fn, 'length', length, true, true);
     1223                        define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
    10611224                } else {
    1062                         define(fn, 'length', length);
     1225                        define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
    10631226                }
    10641227        }
     
    10661229};
    10671230
    1068 },{"define-data-property":6,"get-intrinsic":10,"gopd":11,"has-property-descriptors":12}],21:[function(require,module,exports){
     1231},{"define-data-property":12,"es-errors/type":21,"get-intrinsic":26,"gopd":28,"has-property-descriptors":29}],42:[function(require,module,exports){
    10691232'use strict';
    10701233
     
    11231286};
    11241287
    1125 },{"./implementation":2}],22:[function(require,module,exports){
     1288},{"./implementation":2}],43:[function(require,module,exports){
    11261289'use strict';
    11271290
     
    11391302};
    11401303
    1141 },{"./polyfill":21,"define-properties":7}]},{},[1]);
     1304},{"./polyfill":42,"define-properties":13}]},{},[1]);
  • imaps-frontend/node_modules/object.assign/implementation.js

    r0c6b92a r79a0317  
    44var objectKeys = require('object-keys');
    55var hasSymbols = require('has-symbols/shams')();
    6 var callBound = require('call-bind/callBound');
    7 var toObject = Object;
     6var callBound = require('call-bound');
     7var $Object = require('es-object-atoms');
    88var $push = callBound('Array.prototype.push');
    99var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
    10 var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;
     10var originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null;
    1111
    1212// eslint-disable-next-line no-unused-vars
    1313module.exports = function assign(target, source1) {
    1414        if (target == null) { throw new TypeError('target must be an object'); }
    15         var to = toObject(target); // step 1
     15        var to = $Object(target); // step 1
    1616        if (arguments.length === 1) {
    1717                return to; // step 2
    1818        }
    1919        for (var s = 1; s < arguments.length; ++s) {
    20                 var from = toObject(arguments[s]); // step 3.a.i
     20                var from = $Object(arguments[s]); // step 3.a.i
    2121
    2222                // step 3.a.ii:
    2323                var keys = objectKeys(from);
    24                 var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);
     24                var getSymbols = hasSymbols && ($Object.getOwnPropertySymbols || originalGetSymbols);
    2525                if (getSymbols) {
    2626                        var syms = getSymbols(from);
  • imaps-frontend/node_modules/object.assign/package.json

    r0c6b92a r79a0317  
    11{
    2         "name": "object.assign",
    3         "version": "4.1.5",
    4         "author": "Jordan Harband",
    5         "funding": {
    6                 "url": "https://github.com/sponsors/ljharb"
    7         },
    8         "description": "ES6 spec-compliant Object.assign shim. From https://github.com/es-shims/es6-shim",
    9         "license": "MIT",
    10         "main": "index.js",
    11         "scripts": {
    12                 "prepack": "npmignore --auto --commentLines=autogenerated",
    13                 "pretest": "npm run lint && es-shim-api --bound",
    14                 "test": "npm run tests-only && npm run test:ses",
    15                 "posttest": "aud --production",
    16                 "tests-only": "npm run test:implementation && npm run test:shim",
    17                 "test:native": "nyc node test/native",
    18                 "test:shim": "nyc node test/shimmed",
    19                 "test:implementation": "nyc node test",
    20                 "test:ses": "node test/ses-compat",
    21                 "lint": "eslint .",
    22                 "build": "mkdir -p dist && browserify browserShim.js > dist/browser.js",
    23                 "prepublishOnly": "safe-publish-latest && npm run build",
    24                 "prepublish": "not-in-publish || npm run prepublishOnly"
    25         },
    26         "repository": {
    27                 "type": "git",
    28                 "url": "git://github.com/ljharb/object.assign.git"
    29         },
    30         "keywords": [
    31                 "Object.assign",
    32                 "assign",
    33                 "ES6",
    34                 "extend",
    35                 "$.extend",
    36                 "jQuery",
    37                 "_.extend",
    38                 "Underscore",
    39                 "es-shim API",
    40                 "polyfill",
    41                 "shim"
    42         ],
    43         "dependencies": {
    44                 "call-bind": "^1.0.5",
    45                 "define-properties": "^1.2.1",
    46                 "has-symbols": "^1.0.3",
    47                 "object-keys": "^1.1.1"
    48         },
    49         "devDependencies": {
    50                 "@es-shims/api": "^2.4.2",
    51                 "@ljharb/eslint-config": "^21.1.0",
    52                 "aud": "^2.0.3",
    53                 "browserify": "^16.5.2",
    54                 "eslint": "=8.8.0",
    55                 "for-each": "^0.3.3",
    56                 "functions-have-names": "^1.2.3",
    57                 "has-strict-mode": "^1.0.1",
    58                 "hasown": "^2.0.0",
    59                 "is": "^3.3.0",
    60                 "mock-property": "^1.0.3",
    61                 "npmignore": "^0.3.1",
    62                 "nyc": "^10.3.2",
    63                 "safe-publish-latest": "^2.0.0",
    64                 "ses": "^0.11.1",
    65                 "tape": "^5.7.2"
    66         },
    67         "testling": {
    68                 "files": "test/index.js",
    69                 "browsers": [
    70                         "iexplore/6.0..latest",
    71                         "firefox/3.0..6.0",
    72                         "firefox/15.0..latest",
    73                         "firefox/nightly",
    74                         "chrome/4.0..10.0",
    75                         "chrome/20.0..latest",
    76                         "chrome/canary",
    77                         "opera/10.0..latest",
    78                         "opera/next",
    79                         "safari/4.0..latest",
    80                         "ipad/6.0..latest",
    81                         "iphone/6.0..latest",
    82                         "android-browser/4.2"
    83                 ]
    84         },
    85         "engines": {
    86                 "node": ">= 0.4"
    87         },
    88         "publishConfig": {
    89                 "ignore": [
    90                         ".github/workflows",
    91                         "bower.json",
    92                         "browserShim.js",
    93                         "!dist/"
    94                 ]
    95         }
     2  "_from": "object.assign@^4.1.7",
     3  "_id": "object.assign@4.1.7",
     4  "_inBundle": false,
     5  "_integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==",
     6  "_location": "/object.assign",
     7  "_phantomChildren": {},
     8  "_requested": {
     9    "type": "range",
     10    "registry": true,
     11    "raw": "object.assign@^4.1.7",
     12    "name": "object.assign",
     13    "escapedName": "object.assign",
     14    "rawSpec": "^4.1.7",
     15    "saveSpec": null,
     16    "fetchSpec": "^4.1.7"
     17  },
     18  "_requiredBy": [
     19    "/es-abstract",
     20    "/jsx-ast-utils"
     21  ],
     22  "_resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz",
     23  "_shasum": "8c14ca1a424c6a561b0bb2a22f66f5049a945d3d",
     24  "_spec": "object.assign@^4.1.7",
     25  "_where": "/home/stevetosak/Proekt/IMaps/imaps-frontend/node_modules/es-abstract",
     26  "author": {
     27    "name": "Jordan Harband"
     28  },
     29  "bugs": {
     30    "url": "https://github.com/ljharb/object.assign/issues"
     31  },
     32  "bundleDependencies": false,
     33  "dependencies": {
     34    "call-bind": "^1.0.8",
     35    "call-bound": "^1.0.3",
     36    "define-properties": "^1.2.1",
     37    "es-object-atoms": "^1.0.0",
     38    "has-symbols": "^1.1.0",
     39    "object-keys": "^1.1.1"
     40  },
     41  "deprecated": false,
     42  "description": "ES6 spec-compliant Object.assign shim. From https://github.com/es-shims/es6-shim",
     43  "devDependencies": {
     44    "@es-shims/api": "^2.5.1",
     45    "@ljharb/eslint-config": "^21.1.1",
     46    "browserify": "^16.5.2",
     47    "eslint": "=8.8.0",
     48    "for-each": "^0.3.3",
     49    "functions-have-names": "^1.2.3",
     50    "has-strict-mode": "^1.0.1",
     51    "hasown": "^2.0.2",
     52    "mock-property": "^1.1.0",
     53    "npmignore": "^0.3.1",
     54    "nyc": "^10.3.2",
     55    "safe-publish-latest": "^2.0.0",
     56    "ses": "^1.10.0",
     57    "tape": "^5.9.0"
     58  },
     59  "engines": {
     60    "node": ">= 0.4"
     61  },
     62  "funding": {
     63    "url": "https://github.com/sponsors/ljharb"
     64  },
     65  "homepage": "https://github.com/ljharb/object.assign#readme",
     66  "keywords": [
     67    "Object.assign",
     68    "assign",
     69    "ES6",
     70    "extend",
     71    "$.extend",
     72    "jQuery",
     73    "_.extend",
     74    "Underscore",
     75    "es-shim API",
     76    "polyfill",
     77    "shim"
     78  ],
     79  "license": "MIT",
     80  "main": "index.js",
     81  "name": "object.assign",
     82  "publishConfig": {
     83    "ignore": [
     84      ".github/workflows",
     85      "bower.json",
     86      "browserShim.js",
     87      "!dist/"
     88    ]
     89  },
     90  "repository": {
     91    "type": "git",
     92    "url": "git://github.com/ljharb/object.assign.git"
     93  },
     94  "scripts": {
     95    "build": "mkdir -p dist && browserify browserShim.js > dist/browser.js",
     96    "lint": "eslint .",
     97    "posttest": "npx npm@'>=10.2' audit --production",
     98    "prepack": "npmignore --auto --commentLines=autogenerated",
     99    "prepublish": "not-in-publish || npm run prepublishOnly",
     100    "prepublishOnly": "safe-publish-latest && npm run build",
     101    "pretest": "npm run lint && es-shim-api --bound",
     102    "test": "npm run tests-only && npm run test:ses",
     103    "test:implementation": "nyc node test",
     104    "test:native": "nyc node test/native",
     105    "test:ses": "node test/ses-compat",
     106    "test:shim": "nyc node test/shimmed",
     107    "tests-only": "npm run test:implementation && npm run test:shim"
     108  },
     109  "testling": {
     110    "files": "test/index.js",
     111    "browsers": [
     112      "iexplore/6.0..latest",
     113      "firefox/3.0..6.0",
     114      "firefox/15.0..latest",
     115      "firefox/nightly",
     116      "chrome/4.0..10.0",
     117      "chrome/20.0..latest",
     118      "chrome/canary",
     119      "opera/10.0..latest",
     120      "opera/next",
     121      "safari/4.0..latest",
     122      "ipad/6.0..latest",
     123      "iphone/6.0..latest",
     124      "android-browser/4.2"
     125    ]
     126  },
     127  "version": "4.1.7"
    96128}
Note: See TracChangeset for help on using the changeset viewer.