@operato/headroom 1.2.0 → 1.2.35

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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [1.2.35](https://github.com/hatiolab/operato/compare/v1.2.34...v1.2.35) (2023-05-12)
7
+
8
+
9
+ ### :bug: Bug Fix
10
+
11
+ * license ([d14bd65](https://github.com/hatiolab/operato/commit/d14bd659d04ed69ff4332bd6e04aef4319ed6231))
12
+
13
+
14
+
15
+ ### [1.2.28](https://github.com/hatiolab/operato/compare/v1.2.27...v1.2.28) (2023-04-29)
16
+
17
+
18
+ ### :bug: Bug Fix
19
+
20
+ * remove unused resolutions and update modules ([1e62235](https://github.com/hatiolab/operato/commit/1e62235677619fa28d337cbe99b46b6d1f8a40fc))
21
+ * update module's version ([4df042c](https://github.com/hatiolab/operato/commit/4df042cf1594532aa7925f57b725541cf88a6f43))
22
+
23
+
24
+
6
25
  ## [1.2.0](https://github.com/hatiolab/operato/compare/v1.1.84...v1.2.0) (2023-03-06)
7
26
 
8
27
  **Note:** Version bump only for package @operato/headroom
@@ -10,7 +10,7 @@ function normalizeUpDown(t) {
10
10
  * @param {DOMElement} elem the header element
11
11
  * @param {Object} options options for the widget
12
12
  */
13
- export default class Headroom {
13
+ class Headroom {
14
14
  constructor(elem, options) {
15
15
  options = options || {};
16
16
  Object.assign(this, Headroom.options, options);
@@ -195,4 +195,5 @@ Headroom.options = {
195
195
  initial: 'headroom'
196
196
  }
197
197
  };
198
+ export default Headroom;
198
199
  //# sourceMappingURL=headroom.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"headroom.js","sourceRoot":"","sources":["../../src/headroom.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,eAAe,CAAA;AAEvC,SAAS,eAAe,CAAC,CAAM;IAC7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aAAM;YACL,IAAI,CAAC,MAAM,EAAE,CAAA;SACd;QAED,IAAI,OAAO,CAAC,MAAM,EAAE;YAClB,IAAI,CAAC,MAAM,EAAE,CAAA;SACd;aAAM;YACL,IAAI,CAAC,SAAS,EAAE,CAAA;SACjB;QAED,IAAI,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE;YAC7B,IAAI,CAAC,KAAK,EAAE,CAAA;SACb;aAAM,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE;YAClC,IAAI,CAAC,GAAG,EAAE,CAAA;SACX;IACH,CAAC;;AA1OD;;;GAGG;AACI,gBAAO,GAAG;IACf,SAAS,EAAE;QACT,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,CAAC;KACR;IACD,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE;QACP,MAAM,EAAE,kBAAkB;QAC1B,MAAM,EAAE,kBAAkB;QAC1B,QAAQ,EAAE,oBAAoB;QAC9B,GAAG,EAAE,eAAe;QACpB,MAAM,EAAE,mBAAmB;QAC3B,MAAM,EAAE,kBAAkB;QAC1B,SAAS,EAAE,sBAAsB;QACjC,OAAO,EAAE,UAAU;KACpB;CACF,CAAA","sourcesContent":["import trackScroll from './trackScroll'\n\nfunction normalizeUpDown(t: any) {\n return t === Object(t) ? t : { down: t, up: t }\n}\n\n/**\n * UI enhancement for fixed headers.\n * Hides header when scrolling down\n * Shows header when scrolling up\n * @constructor\n * @param {DOMElement} elem the header element\n * @param {Object} options options for the widget\n */\nexport default class Headroom {\n /**\n * Default options\n * @type {Object}\n */\n static options = {\n tolerance: {\n up: 0,\n down: 0\n },\n offset: 0,\n scroller: window,\n classes: {\n frozen: 'headroom--frozen',\n pinned: 'headroom--pinned',\n unpinned: 'headroom--unpinned',\n top: 'headroom--top',\n notTop: 'headroom--not-top',\n bottom: 'headroom--bottom',\n notBottom: 'headroom--not-bottom',\n initial: 'headroom'\n }\n }\n\n private classes: { [key: string]: any }\n private elem: HTMLElement\n private tolerance: any\n private offset: any\n private initialised: boolean\n private frozen: boolean\n private scrollTracker: any\n private scroller: any\n\n private onPin?: Function\n private onUnpin?: Function\n private onTop?: Function\n private onNotTop?: Function\n private onBottom?: Function\n private onNotBottom?: Function\n\n constructor(elem: HTMLElement, options: any) {\n options = options || {}\n Object.assign(this, Headroom.options, options)\n this.classes = Object.assign({}, Headroom.options.classes, options.classes)\n\n this.elem = elem\n this.tolerance = normalizeUpDown(this.tolerance)\n this.offset = normalizeUpDown(this.offset)\n this.initialised = false\n this.frozen = false\n }\n\n /**\n * Start listening to scrolling\n * @public\n */\n init() {\n if (!this.initialised) {\n this.addClass('initial')\n this.initialised = true\n\n // defer event registration to handle browser\n // potentially restoring previous scroll position\n setTimeout(\n function (self) {\n self.scrollTracker = trackScroll(\n self.scroller,\n { offset: self.offset, tolerance: self.tolerance },\n self.update.bind(self)\n )\n },\n 100,\n this\n )\n }\n\n return this\n }\n\n /**\n * Destroy the widget, clearing up after itself\n * @public\n */\n destroy() {\n this.initialised = false\n Object.keys(this.classes).forEach(this.removeClass, this)\n this.scrollTracker?.destroy()\n }\n\n /**\n * Unpin the element\n * @public\n */\n unpin() {\n if (this.hasClass('pinned') || !this.hasClass('unpinned')) {\n this.addClass('unpinned')\n this.removeClass('pinned')\n\n if (this.onUnpin) {\n this.onUnpin.call(this)\n }\n }\n }\n\n /**\n * Pin the element\n * @public\n */\n pin() {\n if (this.hasClass('unpinned')) {\n this.addClass('pinned')\n this.removeClass('unpinned')\n\n if (this.onPin) {\n this.onPin.call(this)\n }\n }\n }\n\n /**\n * Freezes the current state of the widget\n * @public\n */\n freeze() {\n this.frozen = true\n this.addClass('frozen')\n }\n\n /**\n * Re-enables the default behaviour of the widget\n * @public\n */\n unfreeze() {\n this.frozen = false\n this.removeClass('frozen')\n }\n\n top() {\n if (!this.hasClass('top')) {\n this.addClass('top')\n this.removeClass('notTop')\n\n if (this.onTop) {\n this.onTop.call(this)\n }\n }\n }\n\n notTop() {\n if (!this.hasClass('notTop')) {\n this.addClass('notTop')\n this.removeClass('top')\n\n if (this.onNotTop) {\n this.onNotTop.call(this)\n }\n }\n }\n\n bottom() {\n if (!this.hasClass('bottom')) {\n this.addClass('bottom')\n this.removeClass('notBottom')\n\n if (this.onBottom) {\n this.onBottom.call(this)\n }\n }\n }\n\n notBottom() {\n if (!this.hasClass('notBottom')) {\n this.addClass('notBottom')\n this.removeClass('bottom')\n\n if (this.onNotBottom) {\n this.onNotBottom.call(this)\n }\n }\n }\n\n shouldUnpin(details: any) {\n var scrollingDown = details.direction === 'down'\n\n return scrollingDown && !details.top && details.toleranceExceeded\n }\n\n shouldPin(details: any) {\n var scrollingUp = details.direction === 'up'\n\n return (scrollingUp && details.toleranceExceeded) || details.top\n }\n\n addClass(className: string) {\n this.elem.classList.add.apply(this.elem.classList, this.classes[className].split(' '))\n }\n\n removeClass(className: string) {\n this.elem.classList.remove.apply(this.elem.classList, this.classes[className].split(' '))\n }\n\n hasClass(className: string) {\n return this.classes[className].split(' ').every(function (cls: string) {\n //@ts-ignore\n return this.classList.contains(cls)\n }, this.elem)\n }\n\n update(details: any) {\n if (details.isOutOfBounds) {\n // Ignore bouncy scrolling in OSX\n return\n }\n\n if (this.frozen === true) {\n return\n }\n\n if (details.top) {\n this.top()\n } else {\n this.notTop()\n }\n\n if (details.bottom) {\n this.bottom()\n } else {\n this.notBottom()\n }\n\n if (this.shouldUnpin(details)) {\n this.unpin()\n } else if (this.shouldPin(details)) {\n this.pin()\n }\n }\n}\n"]}
1
+ {"version":3,"file":"headroom.js","sourceRoot":"","sources":["../../src/headroom.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,eAAe,CAAA;AAEvC,SAAS,eAAe,CAAC,CAAM;IAC7B,OAAO,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EA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E,CAAA;SACjB;QAED,IAAI,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE;YAC7B,IAAI,CAAC,KAAK,EAAE,CAAA;SACb;aAAM,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE;YAClC,IAAI,CAAC,GAAG,EAAE,CAAA;SACX;IACH,CAAC;;AA1OD;;;GAGG;AACI,gBAAO,GAAG;IACf,SAAS,EAAE;QACT,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,CAAC;KACR;IACD,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE;QACP,MAAM,EAAE,kBAAkB;QAC1B,MAAM,EAAE,kBAAkB;QAC1B,QAAQ,EAAE,oBAAoB;QAC9B,GAAG,EAAE,eAAe;QACpB,MAAM,EAAE,mBAAmB;QAC3B,MAAM,EAAE,kBAAkB;QAC1B,SAAS,EAAE,sBAAsB;QACjC,OAAO,EAAE,UAAU;KACpB;CACF,CAAA;eAtBkB,QAAQ","sourcesContent":["import trackScroll from './trackScroll'\n\nfunction normalizeUpDown(t: any) {\n return t === Object(t) ? t : { down: t, up: t }\n}\n\n/**\n * UI enhancement for fixed headers.\n * Hides header when scrolling down\n * Shows header when scrolling up\n * @constructor\n * @param {DOMElement} elem the header element\n * @param {Object} options options for the widget\n */\nexport default class Headroom {\n /**\n * Default options\n * @type {Object}\n */\n static options = {\n tolerance: {\n up: 0,\n down: 0\n },\n offset: 0,\n scroller: window,\n classes: {\n frozen: 'headroom--frozen',\n pinned: 'headroom--pinned',\n unpinned: 'headroom--unpinned',\n top: 'headroom--top',\n notTop: 'headroom--not-top',\n bottom: 'headroom--bottom',\n notBottom: 'headroom--not-bottom',\n initial: 'headroom'\n }\n }\n\n private classes: { [key: string]: any }\n private elem: HTMLElement\n private tolerance: any\n private offset: any\n private initialised: boolean\n private frozen: boolean\n private scrollTracker: any\n private scroller: any\n\n private onPin?: Function\n private onUnpin?: Function\n private onTop?: Function\n private onNotTop?: Function\n private onBottom?: Function\n private onNotBottom?: Function\n\n constructor(elem: HTMLElement, options: any) {\n options = options || {}\n Object.assign(this, Headroom.options, options)\n this.classes = Object.assign({}, Headroom.options.classes, options.classes)\n\n this.elem = elem\n this.tolerance = normalizeUpDown(this.tolerance)\n this.offset = normalizeUpDown(this.offset)\n this.initialised = false\n this.frozen = false\n }\n\n /**\n * Start listening to scrolling\n * @public\n */\n init() {\n if (!this.initialised) {\n this.addClass('initial')\n this.initialised = true\n\n // defer event registration to handle browser\n // potentially restoring previous scroll position\n setTimeout(\n function (self) {\n self.scrollTracker = trackScroll(\n self.scroller,\n { offset: self.offset, tolerance: self.tolerance },\n self.update.bind(self)\n )\n },\n 100,\n this\n )\n }\n\n return this\n }\n\n /**\n * Destroy the widget, clearing up after itself\n * @public\n */\n destroy() {\n this.initialised = false\n Object.keys(this.classes).forEach(this.removeClass, this)\n this.scrollTracker?.destroy()\n }\n\n /**\n * Unpin the element\n * @public\n */\n unpin() {\n if (this.hasClass('pinned') || !this.hasClass('unpinned')) {\n this.addClass('unpinned')\n this.removeClass('pinned')\n\n if (this.onUnpin) {\n this.onUnpin.call(this)\n }\n }\n }\n\n /**\n * Pin the element\n * @public\n */\n pin() {\n if (this.hasClass('unpinned')) {\n this.addClass('pinned')\n this.removeClass('unpinned')\n\n if (this.onPin) {\n this.onPin.call(this)\n }\n }\n }\n\n /**\n * Freezes the current state of the widget\n * @public\n */\n freeze() {\n this.frozen = true\n this.addClass('frozen')\n }\n\n /**\n * Re-enables the default behaviour of the widget\n * @public\n */\n unfreeze() {\n this.frozen = false\n this.removeClass('frozen')\n }\n\n top() {\n if (!this.hasClass('top')) {\n this.addClass('top')\n this.removeClass('notTop')\n\n if (this.onTop) {\n this.onTop.call(this)\n }\n }\n }\n\n notTop() {\n if (!this.hasClass('notTop')) {\n this.addClass('notTop')\n this.removeClass('top')\n\n if (this.onNotTop) {\n this.onNotTop.call(this)\n }\n }\n }\n\n bottom() {\n if (!this.hasClass('bottom')) {\n this.addClass('bottom')\n this.removeClass('notBottom')\n\n if (this.onBottom) {\n this.onBottom.call(this)\n }\n }\n }\n\n notBottom() {\n if (!this.hasClass('notBottom')) {\n this.addClass('notBottom')\n this.removeClass('bottom')\n\n if (this.onNotBottom) {\n this.onNotBottom.call(this)\n }\n }\n }\n\n shouldUnpin(details: any) {\n var scrollingDown = details.direction === 'down'\n\n return scrollingDown && !details.top && details.toleranceExceeded\n }\n\n shouldPin(details: any) {\n var scrollingUp = details.direction === 'up'\n\n return (scrollingUp && details.toleranceExceeded) || details.top\n }\n\n addClass(className: string) {\n this.elem.classList.add.apply(this.elem.classList, this.classes[className].split(' '))\n }\n\n removeClass(className: string) {\n this.elem.classList.remove.apply(this.elem.classList, this.classes[className].split(' '))\n }\n\n hasClass(className: string) {\n return this.classes[className].split(' ').every(function (cls: string) {\n //@ts-ignore\n return this.classList.contains(cls)\n }, this.elem)\n }\n\n update(details: any) {\n if (details.isOutOfBounds) {\n // Ignore bouncy scrolling in OSX\n return\n }\n\n if (this.frozen === true) {\n return\n }\n\n if (details.top) {\n this.top()\n } else {\n this.notTop()\n }\n\n if (details.bottom) {\n this.bottom()\n } else {\n this.notBottom()\n }\n\n if (this.shouldUnpin(details)) {\n this.unpin()\n } else if (this.shouldPin(details)) {\n this.pin()\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../src/features.ts","../src/scroller.ts","../src/trackscroll.ts","../src/headroom.ts","../src/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"f1c9fe42b65437a61104e601eb298c5c859fb522b483f1bdb700eed67a16f980",{"version":"e48de2c8816453116eefde59946be7cf46ba17bba071720ae185cd7b6ce223df","signature":"65cd96f22f3a9fc204376e5014afc95a5d10a96aff56dfbaa071715643ecc242"},{"version":"d221b1764061102eda9c630e6913d0d00b9d25b2df02e4bbb5fb2edc701374d3","signature":"b8bff71b49f749ec314c29e9f5bc1c1e7ee96ee8a35e9aa36a20e644d66577b8"},{"version":"92bb3192171d225529f78ebe83159b5452e8e0f01a60ab4a4613635cb1f08315","signature":"117abb5cdcd2fd56eb1ace847c568b0636e3bc667c7594f05689fec68568d5d7"},{"version":"99d7858c001fef84df0c56830a92365fd235d32f9bc4618e97ee961efd2e3d36","signature":"769c966ef166205a08c0382a298a6c5877951599d805931a963ae5650ee46391"},{"version":"7373eeb33a93b5309265e5bdb31fe43e6eb701ff675371d6300359bf1cb8008c","signature":"35c1202e93852c1c233191971b8c4aefe5d3f9df287991585fe305078c0880e6"},"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f",{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"2c45b35f4850881ab132f80d3cb51e8a359a4d8fafdc5ff2401d260dc27862f4","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","a15eb098ed86a4135cba05d77e792d6189fa8607a00c9b1b381c0e9550c04ba5",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"cc4fa603eb4f28847cfa5bfb698dd186a0864853383d49f2478b3482d5caca9e",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[95],[49,95],[52,95],[53,58,86,95],[54,65,66,73,83,94,95],[54,55,65,73,95],[56,95],[57,58,66,74,95],[58,83,91,95],[59,61,65,73,95],[60,95],[61,62,95],[65,95],[63,65,95],[65,66,67,83,94,95],[65,66,67,80,83,86,95],[95,99],[61,68,73,83,94,95],[65,66,68,69,73,83,91,94,95],[68,70,83,91,94,95],[49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101],[65,71,95],[72,94,95],[61,65,73,83,95],[74,95],[75,95],[52,76,95],[77,93,95,99],[78,95],[79,95],[65,80,81,95],[80,82,95,97],[53,65,83,84,85,86,95],[53,83,85,95],[83,84,95],[86,95],[87,95],[65,89,90,95],[89,90,95],[58,73,83,91,95],[92,95],[73,93,95],[53,68,79,94,95],[58,95],[83,95,96],[95,97],[95,98],[53,58,65,67,76,83,94,95,97,99],[83,95,100],[43,95],[43,46,95],[43,47,95],[43,44,45,95],[47]],"referencedMap":[[103,1],[49,2],[50,2],[52,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,12],[64,13],[63,14],[65,13],[66,15],[67,16],[51,17],[101,1],[68,18],[69,19],[70,20],[102,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,31],[82,32],[83,33],[85,34],[84,35],[86,36],[87,37],[88,1],[89,38],[90,39],[91,40],[92,41],[93,42],[94,43],[95,44],[96,45],[97,46],[98,47],[99,48],[100,49],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[44,50],[47,51],[48,52],[45,50],[46,53]],"exportedModulesMap":[[103,1],[49,2],[50,2],[52,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,12],[64,13],[63,14],[65,13],[66,15],[67,16],[51,17],[101,1],[68,18],[69,19],[70,20],[102,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,31],[82,32],[83,33],[85,34],[84,35],[86,36],[87,37],[88,1],[89,38],[90,39],[91,40],[92,41],[93,42],[94,43],[95,44],[96,45],[97,46],[98,47],[99,48],[100,49],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[48,54]],"semanticDiagnosticsPerFile":[103,49,50,52,53,54,55,56,57,58,59,60,61,62,64,63,65,66,67,51,101,68,69,70,102,71,72,73,74,75,76,77,78,79,80,81,82,83,85,84,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,43,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,44,47,48,45,46]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/tslib/tslib.d.ts","../src/features.ts","../src/scroller.ts","../src/trackscroll.ts","../src/headroom.ts","../src/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"f1c9fe42b65437a61104e601eb298c5c859fb522b483f1bdb700eed67a16f980",{"version":"e48de2c8816453116eefde59946be7cf46ba17bba071720ae185cd7b6ce223df","signature":"65cd96f22f3a9fc204376e5014afc95a5d10a96aff56dfbaa071715643ecc242"},{"version":"d221b1764061102eda9c630e6913d0d00b9d25b2df02e4bbb5fb2edc701374d3","signature":"b8bff71b49f749ec314c29e9f5bc1c1e7ee96ee8a35e9aa36a20e644d66577b8"},{"version":"92bb3192171d225529f78ebe83159b5452e8e0f01a60ab4a4613635cb1f08315","signature":"117abb5cdcd2fd56eb1ace847c568b0636e3bc667c7594f05689fec68568d5d7"},{"version":"99d7858c001fef84df0c56830a92365fd235d32f9bc4618e97ee961efd2e3d36","signature":"769c966ef166205a08c0382a298a6c5877951599d805931a963ae5650ee46391"},{"version":"7373eeb33a93b5309265e5bdb31fe43e6eb701ff675371d6300359bf1cb8008c","signature":"35c1202e93852c1c233191971b8c4aefe5d3f9df287991585fe305078c0880e6"},"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"f749812878fecfa53cfc13b36e5d35086fb6377983a9df44175da83ccc23af1f","affectsGlobalScope":true},"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3",{"version":"211e3f15fbced4ab4be19f49ffa990b9ff20d749d33b65ff753be691e7616239","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","216717f17c095cde1dc19375e1ab3af0a4a485355860c077a4f9d6ea59fab5b5","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"00dee7cdca8b8420c47ea4a31a34b8e8294013ebc4f463fd941e867e7bf05029","affectsGlobalScope":true},"80473bd0dd90ca1e166514c2dfead9d5803f9c51418864ca35abbeec6e6847e1","1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","3bd1b21f21d18995315d232c5c7e868651e109396f3ca48fa8ab15f57a20d911","a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","4f3fdeba4e28e21aa719c081b8dc8f91d47e12e773389b9d35679c08151c9d37","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7",{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"a73ae8c0e62103bb9e21bb6538700881bf135b9a8b125b857ec68edfa0da4ed3","affectsGlobalScope":true},{"version":"e1c1b2fbe236bf7ee3e342eeae7e20efb8988a0ac7da1cbbfa2c1f66b76c3423","affectsGlobalScope":true},"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a6dd3dba8e665ac43d279e0fdf5219edda0eed69b5e9a5061f46cd6a65c4f7a1",{"version":"677646e2620795c98a539fb12fb531f10331c217cef1492132b2518f894fa92d","affectsGlobalScope":true}],"root":[[46,50]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[97],[51,97],[54,97],[55,60,88,97],[56,67,68,75,85,96,97],[56,57,67,75,97],[58,97],[59,60,68,76,97],[60,85,93,97],[61,63,67,75,97],[62,97],[63,64,97],[67,97],[65,67,97],[67,68,69,85,96,97],[67,68,69,82,85,88,97],[97,101],[63,70,75,85,96,97],[67,68,70,71,75,85,93,96,97],[70,72,85,93,96,97],[51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],[67,73,97],[74,96,97],[63,67,75,85,97],[76,97],[77,97],[54,78,97],[79,95,97,101],[80,97],[81,97],[67,82,83,97],[82,84,97,99],[55,67,85,86,87,88,97],[55,85,87,97],[85,86,97],[88,97],[89,97],[67,91,92,97],[91,92,97],[60,75,85,93,97],[94,97],[75,95,97],[55,70,81,96,97],[60,97],[85,97,98],[97,99],[97,100],[55,60,67,69,78,85,96,97,99,101],[85,97,102],[45,97],[45,48,97],[45,49,97],[45,46,47,97],[49]],"referencedMap":[[105,1],[51,2],[52,2],[54,3],[55,4],[56,5],[57,6],[58,7],[59,8],[60,9],[61,10],[62,11],[63,12],[64,12],[66,13],[65,14],[67,13],[68,15],[69,16],[53,17],[103,1],[70,18],[71,19],[72,20],[104,21],[73,22],[74,23],[75,24],[76,25],[77,26],[78,27],[79,28],[80,29],[81,30],[82,31],[83,31],[84,32],[85,33],[87,34],[86,35],[88,36],[89,37],[90,1],[91,38],[92,39],[93,40],[94,41],[95,42],[96,43],[97,44],[98,45],[99,46],[100,47],[101,48],[102,49],[45,1],[43,1],[44,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[46,50],[49,51],[50,52],[47,50],[48,53]],"exportedModulesMap":[[105,1],[51,2],[52,2],[54,3],[55,4],[56,5],[57,6],[58,7],[59,8],[60,9],[61,10],[62,11],[63,12],[64,12],[66,13],[65,14],[67,13],[68,15],[69,16],[53,17],[103,1],[70,18],[71,19],[72,20],[104,21],[73,22],[74,23],[75,24],[76,25],[77,26],[78,27],[79,28],[80,29],[81,30],[82,31],[83,31],[84,32],[85,33],[87,34],[86,35],[88,36],[89,37],[90,1],[91,38],[92,39],[93,40],[94,41],[95,42],[96,43],[97,44],[98,45],[99,46],[100,47],[101,48],[102,49],[45,1],[43,1],[44,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[50,54]],"semanticDiagnosticsPerFile":[105,51,52,54,55,56,57,58,59,60,61,62,63,64,66,65,67,68,69,53,103,70,71,72,104,73,74,75,76,77,78,79,80,81,82,83,84,85,87,86,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,45,43,44,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,46,49,50,47,48]},"version":"5.0.4"}
package/package.json CHANGED
@@ -2,9 +2,10 @@
2
2
  "name": "@operato/headroom",
3
3
  "description": "Webcomponent headroom following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "1.2.0",
5
+ "version": "1.2.35",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
+ "license": "MIT",
8
9
  "publishConfig": {
9
10
  "access": "public",
10
11
  "@operato:registry": "https://registry.npmjs.org"
@@ -28,23 +29,23 @@
28
29
  "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
29
30
  },
30
31
  "devDependencies": {
31
- "@custom-elements-manifest/analyzer": "^0.4.17",
32
+ "@custom-elements-manifest/analyzer": "^0.8.1",
32
33
  "@hatiolab/prettier-config": "^1.0.0",
33
- "@open-wc/eslint-config": "^8.0.2",
34
+ "@open-wc/eslint-config": "^10.0.0",
34
35
  "@open-wc/testing": "^3.1.6",
35
36
  "@types/lodash-es": "^4.17.5",
36
- "@typescript-eslint/eslint-plugin": "^4.33.0",
37
- "@typescript-eslint/parser": "^4.33.0",
38
- "@web/dev-server": "^0.1.34",
39
- "@web/test-runner": "^0.15.0",
40
- "concurrently": "^5.3.0",
41
- "eslint": "^7.32.0",
37
+ "@typescript-eslint/eslint-plugin": "^5.59.1",
38
+ "@typescript-eslint/parser": "^5.59.1",
39
+ "@web/dev-server": "^0.2.1",
40
+ "@web/test-runner": "^0.16.1",
41
+ "concurrently": "^8.0.1",
42
+ "eslint": "^8.39.0",
42
43
  "eslint-config-prettier": "^8.3.0",
43
44
  "husky": "^8.0.1",
44
- "lint-staged": "^10.5.4",
45
+ "lint-staged": "^13.2.2",
45
46
  "prettier": "^2.4.1",
46
47
  "tslib": "^2.3.1",
47
- "typescript": "^4.8.4"
48
+ "typescript": "^5.0.4"
48
49
  },
49
50
  "customElements": "custom-elements.json",
50
51
  "prettier": "@hatiolab/prettier-config",
@@ -59,5 +60,5 @@
59
60
  "prettier --write"
60
61
  ]
61
62
  },
62
- "gitHead": "7b4a27e31f0da517352d5ebde600299584013bf9"
63
+ "gitHead": "2cf1488b4b0f72f8309b8b8f24620a4f1b3a685c"
63
64
  }