igv 2.12.5 → 2.12.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/igv.js CHANGED
@@ -20075,10 +20075,10 @@
20075
20075
  (module.exports = function (key, value) {
20076
20076
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
20077
20077
  })('versions', []).push({
20078
- version: '3.22.3',
20078
+ version: '3.22.4',
20079
20079
  mode: 'global',
20080
20080
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
20081
- license: 'https://github.com/zloirock/core-js/blob/v3.22.3/LICENSE',
20081
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
20082
20082
  source: 'https://github.com/zloirock/core-js'
20083
20083
  });
20084
20084
  });
@@ -20261,6 +20261,22 @@
20261
20261
  return object;
20262
20262
  };
20263
20263
 
20264
+ var FunctionPrototype$1 = Function.prototype; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
20265
+
20266
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
20267
+ var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name'); // additional protection from minified / mangled / dropped function names
20268
+
20269
+ var PROPER = EXISTS && function something() {
20270
+ /* empty */
20271
+ }.name === 'something';
20272
+
20273
+ var CONFIGURABLE = EXISTS && (!descriptors || descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable);
20274
+ var functionName = {
20275
+ EXISTS: EXISTS,
20276
+ PROPER: PROPER,
20277
+ CONFIGURABLE: CONFIGURABLE
20278
+ };
20279
+
20264
20280
  var functionToString = functionUncurryThis(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
20265
20281
 
20266
20282
  if (!isCallable(sharedStore.inspectSource)) {
@@ -20351,65 +20367,77 @@
20351
20367
  getterFor: getterFor
20352
20368
  };
20353
20369
 
20354
- var FunctionPrototype$1 = Function.prototype; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
20355
-
20356
- var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
20357
- var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name'); // additional protection from minified / mangled / dropped function names
20358
-
20359
- var PROPER = EXISTS && function something() {
20360
- /* empty */
20361
- }.name === 'something';
20362
-
20363
- var CONFIGURABLE = EXISTS && (!descriptors || descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable);
20364
- var functionName = {
20365
- EXISTS: EXISTS,
20366
- PROPER: PROPER,
20367
- CONFIGURABLE: CONFIGURABLE
20368
- };
20369
-
20370
- var redefine = createCommonjsModule(function (module) {
20370
+ var makeBuiltIn_1 = createCommonjsModule(function (module) {
20371
+ var defineProperty = objectDefineProperty.f;
20371
20372
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
20372
- var getInternalState = internalState.get;
20373
20373
  var enforceInternalState = internalState.enforce;
20374
+ var getInternalState = internalState.get;
20375
+ var CONFIGURABLE_LENGTH = !fails(function () {
20376
+ return defineProperty(function () {
20377
+ /* empty */
20378
+ }, 'length', {
20379
+ value: 8
20380
+ }).length !== 8;
20381
+ });
20374
20382
  var TEMPLATE = String(String).split('String');
20375
- (module.exports = function (O, key, value, options) {
20376
- var unsafe = options ? !!options.unsafe : false;
20377
- var simple = options ? !!options.enumerable : false;
20378
- var noTargetGet = options ? !!options.noTargetGet : false;
20379
- var name = options && options.name !== undefined ? options.name : key;
20380
- var state;
20381
20383
 
20382
- if (isCallable(value)) {
20383
- if (String(name).slice(0, 7) === 'Symbol(') {
20384
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
20385
- }
20384
+ var makeBuiltIn = module.exports = function (value, name, options) {
20385
+ if (String(name).slice(0, 7) === 'Symbol(') {
20386
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
20387
+ }
20386
20388
 
20387
- if (!hasOwnProperty_1(value, 'name') || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {
20388
- createNonEnumerableProperty(value, 'name', name);
20389
- }
20389
+ if (options && options.getter) name = 'get ' + name;
20390
+ if (options && options.setter) name = 'set ' + name;
20390
20391
 
20391
- state = enforceInternalState(value);
20392
+ if (!hasOwnProperty_1(value, 'name') || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {
20393
+ defineProperty(value, 'name', {
20394
+ value: name,
20395
+ configurable: true
20396
+ });
20397
+ }
20392
20398
 
20393
- if (!state.source) {
20394
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
20395
- }
20399
+ if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
20400
+ defineProperty(value, 'length', {
20401
+ value: options.arity
20402
+ });
20396
20403
  }
20397
20404
 
20398
- if (O === global$1) {
20399
- if (simple) O[key] = value;else setGlobal(key, value);
20400
- return;
20401
- } else if (!unsafe) {
20402
- delete O[key];
20403
- } else if (!noTargetGet && O[key]) {
20404
- simple = true;
20405
+ var state = enforceInternalState(value);
20406
+
20407
+ if (!hasOwnProperty_1(state, 'source')) {
20408
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
20405
20409
  }
20406
20410
 
20407
- if (simple) O[key] = value;else createNonEnumerableProperty(O, key, value); // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
20408
- })(Function.prototype, 'toString', function toString() {
20411
+ return value;
20412
+ }; // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
20413
+ // eslint-disable-next-line no-extend-native -- required
20414
+
20415
+
20416
+ Function.prototype.toString = makeBuiltIn(function toString() {
20409
20417
  return isCallable(this) && getInternalState(this).source || inspectSource(this);
20410
- });
20418
+ }, 'toString');
20411
20419
  });
20412
20420
 
20421
+ var defineBuiltIn = function (O, key, value, options) {
20422
+ var unsafe = options ? !!options.unsafe : false;
20423
+ var simple = options ? !!options.enumerable : false;
20424
+ var noTargetGet = options ? !!options.noTargetGet : false;
20425
+ var name = options && options.name !== undefined ? options.name : key;
20426
+ if (isCallable(value)) makeBuiltIn_1(value, name, options);
20427
+
20428
+ if (O === global$1) {
20429
+ if (simple) O[key] = value;else setGlobal(key, value);
20430
+ return O;
20431
+ } else if (!unsafe) {
20432
+ delete O[key];
20433
+ } else if (!noTargetGet && O[key]) {
20434
+ simple = true;
20435
+ }
20436
+
20437
+ if (simple) O[key] = value;else createNonEnumerableProperty(O, key, value);
20438
+ return O;
20439
+ };
20440
+
20413
20441
  var ceil = Math.ceil;
20414
20442
  var floor = Math.floor; // `ToIntegerOrInfinity` abstract operation
20415
20443
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
@@ -20598,10 +20626,9 @@
20598
20626
 
20599
20627
  if (options.sham || targetProperty && targetProperty.sham) {
20600
20628
  createNonEnumerableProperty(sourceProperty, 'sham', true);
20601
- } // extend global
20602
-
20629
+ }
20603
20630
 
20604
- redefine(target, key, sourceProperty, options);
20631
+ defineBuiltIn(target, key, sourceProperty, options);
20605
20632
  }
20606
20633
  };
20607
20634
 
@@ -24002,7 +24029,7 @@
24002
24029
  }
24003
24030
  };
24004
24031
 
24005
- const _version = "2.12.5";
24032
+ const _version = "2.12.6";
24006
24033
 
24007
24034
  function version() {
24008
24035
  return _version;
@@ -25046,7 +25073,7 @@
25046
25073
 
25047
25074
  menuItems.push({
25048
25075
  label: 'Save Image (PNG)',
25049
- click: () => this.saveImage()
25076
+ click: () => this.savePNG()
25050
25077
  });
25051
25078
  menuItems.push({
25052
25079
  label: 'Save Image (SVG)',
@@ -25577,7 +25604,7 @@
25577
25604
  }
25578
25605
 
25579
25606
  if (!TypedArrayPrototype[KEY] || forced) {
25580
- redefine(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype$1[KEY] || property, options);
25607
+ defineBuiltIn(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype$1[KEY] || property, options);
25581
25608
  }
25582
25609
  };
25583
25610
 
@@ -25598,7 +25625,7 @@
25598
25625
  if (!TypedArray[KEY] || forced) {
25599
25626
  // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
25600
25627
  try {
25601
- return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
25628
+ return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
25602
25629
  } catch (error) {
25603
25630
  /* empty */
25604
25631
  }
@@ -25609,7 +25636,7 @@
25609
25636
  TypedArrayConstructor = global$1[ARRAY];
25610
25637
 
25611
25638
  if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
25612
- redefine(TypedArrayConstructor, KEY, property);
25639
+ defineBuiltIn(TypedArrayConstructor, KEY, property);
25613
25640
  }
25614
25641
  }
25615
25642
  };