Changeset 79a0317 for imaps-frontend/node_modules/object.assign
- Timestamp:
- 01/21/25 03:08:24 (3 days ago)
- Branches:
- main
- Parents:
- 0c6b92a
- Location:
- imaps-frontend/node_modules/object.assign
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/object.assign/CHANGELOG.md
r0c6b92a r79a0317 1 4.1.7 / 2024-12-18 2 ================== 3 * [Deps] add missing `es-object-atoms` (#86) 4 5 4.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 1 14 4.1.5 / 2023-11-30 2 15 ================== -
imaps-frontend/node_modules/object.assign/dist/browser.js
r0c6b92a r79a0317 11 11 delete assign.shim; 12 12 13 },{"./":3,"object-keys": 18}],2:[function(require,module,exports){13 },{"./":3,"object-keys":39}],2:[function(require,module,exports){ 14 14 'use strict'; 15 15 … … 17 17 var objectKeys = require('object-keys'); 18 18 var hasSymbols = require('has-symbols/shams')(); 19 var callBound = require('call-b ind/callBound');20 var toObject = Object;19 var callBound = require('call-bound'); 20 var $Object = require('es-object-atoms'); 21 21 var $push = callBound('Array.prototype.push'); 22 22 var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable'); 23 var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;23 var originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null; 24 24 25 25 // eslint-disable-next-line no-unused-vars 26 26 module.exports = function assign(target, source1) { 27 27 if (target == null) { throw new TypeError('target must be an object'); } 28 var to = toObject(target); // step 128 var to = $Object(target); // step 1 29 29 if (arguments.length === 1) { 30 30 return to; // step 2 31 31 } 32 32 for (var s = 1; s < arguments.length; ++s) { 33 var from = toObject(arguments[s]); // step 3.a.i33 var from = $Object(arguments[s]); // step 3.a.i 34 34 35 35 // step 3.a.ii: 36 36 var keys = objectKeys(from); 37 var getSymbols = hasSymbols && ( Object.getOwnPropertySymbols || originalGetSymbols);37 var getSymbols = hasSymbols && ($Object.getOwnPropertySymbols || originalGetSymbols); 38 38 if (getSymbols) { 39 39 var syms = getSymbols(from); … … 59 59 }; 60 60 61 },{"call-b ind/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){ 62 62 'use strict'; 63 63 … … 83 83 module.exports = bound; 84 84 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){ 103 86 'use strict'; 104 87 105 88 var bind = require('function-bind'); 106 var GetIntrinsic = require('get-intrinsic'); 89 90 var $apply = require('./functionApply'); 91 var $call = require('./functionCall'); 92 var $reflectApply = require('./reflectApply'); 93 94 /** @type {import('./actualApply')} */ 95 module.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 100 var bind = require('function-bind'); 101 var $apply = require('./functionApply'); 102 var actualApply = require('./actualApply'); 103 104 /** @type {import('./applyBind')} */ 105 module.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')} */ 113 module.exports = Function.prototype.apply; 114 115 },{}],7:[function(require,module,exports){ 116 'use strict'; 117 118 /** @type {import('./functionCall')} */ 119 module.exports = Function.prototype.call; 120 121 },{}],8:[function(require,module,exports){ 122 'use strict'; 123 124 var bind = require('function-bind'); 125 var $TypeError = require('es-errors/type'); 126 127 var $call = require('./functionCall'); 128 var $actualApply = require('./actualApply'); 129 130 /** @type {import('.')} */ 131 module.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')} */ 142 module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply; 143 144 },{}],10:[function(require,module,exports){ 145 'use strict'; 146 107 147 var setFunctionLength = require('set-function-length'); 108 148 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 } 149 var $defineProperty = require('es-define-property'); 150 151 var callBindBasic = require('call-bind-apply-helpers'); 152 var applyBind = require('call-bind-apply-helpers/applyBind'); 125 153 126 154 module.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); 131 157 return setFunctionLength( 132 158 func, 133 1 + $max(0, originalFunction.length - (arguments.length - 1)),159 1 + (adjustedLength > 0 ? adjustedLength : 0), 134 160 true 135 161 ); 136 };137 138 var applyBind = function applyBind() {139 return $reflectApply(bind, $apply, arguments);140 162 }; 141 163 … … 146 168 } 147 169 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'; 152 172 153 173 var GetIntrinsic = require('get-intrinsic'); 154 174 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%'); 175 var callBindBasic = require('call-bind-apply-helpers'); 176 177 /** @type {(thisArg: string, searchString: string, position?: number) => number} */ 178 var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]); 179 180 /** @type {import('.')} */ 181 module.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 193 var $defineProperty = require('es-define-property'); 194 195 var $SyntaxError = require('es-errors/syntax'); 196 var $TypeError = require('es-errors/type'); 167 197 168 198 var gopd = require('gopd'); 169 199 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('.')} */ 171 201 module.exports = function defineDataProperty( 172 202 obj, … … 216 246 }; 217 247 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){ 219 249 'use strict'; 220 250 … … 265 295 module.exports = defineProperties; 266 296 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 300 var callBind = require('call-bind-apply-helpers'); 301 var gOPD = require('gopd'); 302 303 var hasProtoAccessor; 304 try { 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 314 var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__')); 315 316 var $Object = Object; 317 var $getPrototypeOf = $Object.getPrototypeOf; 318 319 /** @type {import('./get')} */ 320 module.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('.')} */ 333 var $defineProperty = Object.defineProperty || false; 334 if ($defineProperty) { 335 try { 336 $defineProperty({}, 'a', { value: 1 }); 337 } catch (e) { 338 // IE 8 has a broken defineProperty 339 $defineProperty = false; 340 } 341 } 342 343 module.exports = $defineProperty; 344 345 },{}],16:[function(require,module,exports){ 346 'use strict'; 347 348 /** @type {import('./eval')} */ 349 module.exports = EvalError; 350 351 },{}],17:[function(require,module,exports){ 352 'use strict'; 353 354 /** @type {import('.')} */ 355 module.exports = Error; 356 357 },{}],18:[function(require,module,exports){ 358 'use strict'; 359 360 /** @type {import('./range')} */ 361 module.exports = RangeError; 362 363 },{}],19:[function(require,module,exports){ 364 'use strict'; 365 366 /** @type {import('./ref')} */ 367 module.exports = ReferenceError; 368 369 },{}],20:[function(require,module,exports){ 370 'use strict'; 371 372 /** @type {import('./syntax')} */ 373 module.exports = SyntaxError; 374 375 },{}],21:[function(require,module,exports){ 376 'use strict'; 377 378 /** @type {import('./type')} */ 379 module.exports = TypeError; 380 381 },{}],22:[function(require,module,exports){ 382 'use strict'; 383 384 /** @type {import('./uri')} */ 385 module.exports = URIError; 386 387 },{}],23:[function(require,module,exports){ 388 'use strict'; 389 390 /** @type {import('.')} */ 391 module.exports = Object; 392 393 },{}],24:[function(require,module,exports){ 268 394 'use strict'; 269 395 … … 351 477 }; 352 478 353 },{}], 9:[function(require,module,exports){479 },{}],25:[function(require,module,exports){ 354 480 'use strict'; 355 481 … … 358 484 module.exports = Function.prototype.bind || implementation; 359 485 360 },{"./implementation": 8}],10:[function(require,module,exports){486 },{"./implementation":24}],26:[function(require,module,exports){ 361 487 'use strict'; 362 488 363 489 var undefined; 364 490 365 var $SyntaxError = SyntaxError; 491 var $Object = require('es-object-atoms'); 492 493 var $Error = require('es-errors'); 494 var $EvalError = require('es-errors/eval'); 495 var $RangeError = require('es-errors/range'); 496 var $ReferenceError = require('es-errors/ref'); 497 var $SyntaxError = require('es-errors/syntax'); 498 var $TypeError = require('es-errors/type'); 499 var $URIError = require('es-errors/uri'); 500 501 var abs = require('math-intrinsics/abs'); 502 var floor = require('math-intrinsics/floor'); 503 var max = require('math-intrinsics/max'); 504 var min = require('math-intrinsics/min'); 505 var pow = require('math-intrinsics/pow'); 506 366 507 var $Function = Function; 367 var $TypeError = TypeError;368 508 369 509 // eslint-disable-next-line consistent-return … … 374 514 }; 375 515 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 } 516 var $gOPD = require('gopd'); 517 var $defineProperty = require('es-define-property'); 384 518 385 519 var throwTypeError = function () { … … 404 538 405 539 var 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 ); 540 var getDunderProto = require('dunder-proto/get'); 541 542 var getProto = (typeof Reflect === 'function' && Reflect.getPrototypeOf) 543 || $Object.getPrototypeOf 544 || getDunderProto; 545 546 var $apply = require('call-bind-apply-helpers/functionApply'); 547 var $call = require('call-bind-apply-helpers/functionCall'); 413 548 414 549 var needsEval = {}; … … 417 552 418 553 var INTRINSICS = { 554 __proto__: null, 419 555 '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, 420 556 '%Array%': Array, … … 437 573 '%encodeURI%': encodeURI, 438 574 '%encodeURIComponent%': encodeURIComponent, 439 '%Error%': Error,575 '%Error%': $Error, 440 576 '%eval%': eval, // eslint-disable-line no-eval 441 '%EvalError%': EvalError,577 '%EvalError%': $EvalError, 442 578 '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, 443 579 '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, … … 456 592 '%Math%': Math, 457 593 '%Number%': Number, 458 '%Object%': Object, 594 '%Object%': $Object, 595 '%Object.getOwnPropertyDescriptor%': $gOPD, 459 596 '%parseFloat%': parseFloat, 460 597 '%parseInt%': parseInt, 461 598 '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, 462 599 '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, 463 '%RangeError%': RangeError,464 '%ReferenceError%': ReferenceError,600 '%RangeError%': $RangeError, 601 '%ReferenceError%': $ReferenceError, 465 602 '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, 466 603 '%RegExp%': RegExp, … … 479 616 '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, 480 617 '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, 481 '%URIError%': URIError,618 '%URIError%': $URIError, 482 619 '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, 483 620 '%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 485 631 }; 486 632 … … 521 667 522 668 var LEGACY_ALIASES = { 669 __proto__: null, 523 670 '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], 524 671 '%ArrayPrototype%': ['Array', 'prototype'], … … 576 723 var bind = require('function-bind'); 577 724 var 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);725 var $concat = bind.call($call, Array.prototype.concat); 726 var $spliceApply = bind.call($apply, Array.prototype.splice); 727 var $replace = bind.call($call, String.prototype.replace); 728 var $strSlice = bind.call($call, String.prototype.slice); 729 var $exec = bind.call($call, RegExp.prototype.exec); 583 730 584 731 /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ … … 711 858 }; 712 859 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')} */ 864 module.exports = Object.getOwnPropertyDescriptor; 865 866 },{}],28:[function(require,module,exports){ 867 'use strict'; 868 869 /** @type {import('.')} */ 870 var $gOPD = require('./gOPD'); 719 871 720 872 if ($gOPD) { … … 729 881 module.exports = $gOPD; 730 882 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 886 var $defineProperty = require('es-define-property'); 737 887 738 888 var 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; 749 890 }; 750 891 751 892 hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() { 752 893 // node v0.6 has a bug where array lengths can be Set but not Defined 753 if (! hasPropertyDescriptors()) {894 if (!$defineProperty) { 754 895 return null; 755 896 } … … 764 905 module.exports = hasPropertyDescriptors; 765 906 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){ 780 908 'use strict'; 781 909 … … 783 911 var hasSymbolSham = require('./shams'); 784 912 913 /** @type {import('.')} */ 785 914 module.exports = function hasNativeSymbols() { 786 915 if (typeof origSymbol !== 'function') { return false; } … … 792 921 }; 793 922 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')} */ 797 927 /* eslint complexity: [2, 18], max-statements: [2, 33] */ 798 928 module.exports = function hasSymbols() { … … 800 930 if (typeof Symbol.iterator === 'symbol') { return true; } 801 931 932 /** @type {{ [k in symbol]?: unknown }} */ 802 933 var obj = {}; 803 934 var sym = Symbol('test'); … … 818 949 var symVal = 42; 819 950 obj[sym] = symVal; 820 for ( symin obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop951 for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop 821 952 if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } 822 953 … … 829 960 830 961 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)); 832 964 if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } 833 965 } … … 836 968 }; 837 969 838 },{}], 16:[function(require,module,exports){970 },{}],32:[function(require,module,exports){ 839 971 'use strict'; 840 972 … … 843 975 var bind = require('function-bind'); 844 976 845 /** @type { (o: {}, p: PropertyKey) => p is keyof o} */977 /** @type {import('.')} */ 846 978 module.exports = bind.call(call, $hasOwn); 847 979 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')} */ 984 module.exports = Math.abs; 985 986 },{}],34:[function(require,module,exports){ 987 'use strict'; 988 989 /** @type {import('./abs')} */ 990 module.exports = Math.floor; 991 992 },{}],35:[function(require,module,exports){ 993 'use strict'; 994 995 /** @type {import('./max')} */ 996 module.exports = Math.max; 997 998 },{}],36:[function(require,module,exports){ 999 'use strict'; 1000 1001 /** @type {import('./min')} */ 1002 module.exports = Math.min; 1003 1004 },{}],37:[function(require,module,exports){ 1005 'use strict'; 1006 1007 /** @type {import('./pow')} */ 1008 module.exports = Math.pow; 1009 1010 },{}],38:[function(require,module,exports){ 849 1011 'use strict'; 850 1012 … … 970 1132 module.exports = keysShim; 971 1133 972 },{"./isArguments": 19}],18:[function(require,module,exports){1134 },{"./isArguments":40}],39:[function(require,module,exports){ 973 1135 'use strict'; 974 1136 … … 1004 1166 module.exports = keysShim; 1005 1167 1006 },{"./implementation": 17,"./isArguments":19}],19:[function(require,module,exports){1168 },{"./implementation":38,"./isArguments":40}],40:[function(require,module,exports){ 1007 1169 'use strict'; 1008 1170 … … 1023 1185 }; 1024 1186 1025 },{}], 20:[function(require,module,exports){1187 },{}],41:[function(require,module,exports){ 1026 1188 'use strict'; 1027 1189 … … 1031 1193 var gOPD = require('gopd'); 1032 1194 1033 var $TypeError = GetIntrinsic('%TypeError%');1195 var $TypeError = require('es-errors/type'); 1034 1196 var $floor = GetIntrinsic('%Math.floor%'); 1035 1197 1198 /** @type {import('.')} */ 1036 1199 module.exports = function setFunctionLength(fn, length) { 1037 1200 if (typeof fn !== 'function') { … … 1058 1221 if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) { 1059 1222 if (hasDescriptors) { 1060 define( fn, 'length', length, true, true);1223 define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true); 1061 1224 } else { 1062 define( fn, 'length', length);1225 define(/** @type {Parameters<define>[0]} */ (fn), 'length', length); 1063 1226 } 1064 1227 } … … 1066 1229 }; 1067 1230 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){ 1069 1232 'use strict'; 1070 1233 … … 1123 1286 }; 1124 1287 1125 },{"./implementation":2}], 22:[function(require,module,exports){1288 },{"./implementation":2}],43:[function(require,module,exports){ 1126 1289 'use strict'; 1127 1290 … … 1139 1302 }; 1140 1303 1141 },{"./polyfill": 21,"define-properties":7}]},{},[1]);1304 },{"./polyfill":42,"define-properties":13}]},{},[1]); -
imaps-frontend/node_modules/object.assign/implementation.js
r0c6b92a r79a0317 4 4 var objectKeys = require('object-keys'); 5 5 var hasSymbols = require('has-symbols/shams')(); 6 var callBound = require('call-b ind/callBound');7 var toObject = Object;6 var callBound = require('call-bound'); 7 var $Object = require('es-object-atoms'); 8 8 var $push = callBound('Array.prototype.push'); 9 9 var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable'); 10 var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;10 var originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null; 11 11 12 12 // eslint-disable-next-line no-unused-vars 13 13 module.exports = function assign(target, source1) { 14 14 if (target == null) { throw new TypeError('target must be an object'); } 15 var to = toObject(target); // step 115 var to = $Object(target); // step 1 16 16 if (arguments.length === 1) { 17 17 return to; // step 2 18 18 } 19 19 for (var s = 1; s < arguments.length; ++s) { 20 var from = toObject(arguments[s]); // step 3.a.i20 var from = $Object(arguments[s]); // step 3.a.i 21 21 22 22 // step 3.a.ii: 23 23 var keys = objectKeys(from); 24 var getSymbols = hasSymbols && ( Object.getOwnPropertySymbols || originalGetSymbols);24 var getSymbols = hasSymbols && ($Object.getOwnPropertySymbols || originalGetSymbols); 25 25 if (getSymbols) { 26 26 var syms = getSymbols(from); -
imaps-frontend/node_modules/object.assign/package.json
r0c6b92a r79a0317 1 1 { 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" 96 128 }
Note:
See TracChangeset
for help on using the changeset viewer.