From 97d264d7e3d5e3d9847fd322ea56c9a8a07f7877 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 18:37:53 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Update=20linting=20devDependenci?= =?UTF-8?q?es=20(#39627)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 📦 Update linting devDependencies * `amp lint --fix` --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Rozenberg --- build-system/common/ci.js | 40 +-- .../eslint-rules/restrict-this-access.js | 4 +- build-system/task-runner/amp-task-runner.js | 4 +- build-system/tasks/get-zindex/js.js | 4 +- .../tasks/runtime-test/custom-launchers.js | 4 +- .../tasks/runtime-test/runtime-test-base.js | 8 +- .../0.1/amp-ad-network-doubleclick-impl.js | 6 +- .../amp-animation/0.1/parsers/css-expr-ast.js | 28 +- .../0.1/parsers/keyframes-extractor.js | 4 +- .../amp-animation/0.1/web-animations.js | 4 +- extensions/amp-app-banner/1.0/component.js | 4 +- extensions/amp-carousel/0.1/slidescroll.js | 24 +- extensions/amp-carousel/0.2/amp-carousel.js | 8 +- .../0.1/amp-date-countdown.js | 16 +- .../amp-date-countdown/1.0/component.js | 16 +- .../amp-date-picker/0.1/amp-date-picker.js | 12 +- .../amp-image-viewer/0.1/amp-image-viewer.js | 4 +- extensions/amp-next-page/0.1/amp-next-page.js | 8 +- .../amp-social-share/0.1/amp-social-share.js | 4 +- .../amp-truncate-text/0.1/binary-search.js | 8 +- package-lock.json | 308 +++++++++--------- package.json | 12 +- src/amp-story-player/amp-story-player-impl.js | 4 +- .../bento-mega-menu/1.0/component/types.ts | 4 +- src/core/context/values.js | 4 +- src/custom-element.js | 4 +- src/friendly-iframe-embed.js | 4 +- src/preact/parse-props.js | 4 +- src/service/video-manager-impl.js | 4 +- src/style-installer.js | 4 +- src/utils/log.js | 4 +- testing/fake-dom.js | 4 +- 32 files changed, 285 insertions(+), 285 deletions(-) diff --git a/build-system/common/ci.js b/build-system/common/ci.js index e390db0b281e..f7556220248b 100644 --- a/build-system/common/ci.js +++ b/build-system/common/ci.js @@ -66,8 +66,8 @@ function isPullRequestBuild() { return isGithubActions ? env('GITHUB_EVENT_NAME') === 'pull_request' : isCircleci - ? !isCircleciPushBranch(env('CIRCLE_BRANCH')) - : false; + ? !isCircleciPushBranch(env('CIRCLE_BRANCH')) + : false; } /** @@ -78,8 +78,8 @@ function isPushBuild() { return isGithubActions ? env('GITHUB_EVENT_NAME') === 'push' : isCircleci - ? isCircleciPushBranch(env('CIRCLE_BRANCH')) - : false; + ? isCircleciPushBranch(env('CIRCLE_BRANCH')) + : false; } /** @@ -90,8 +90,8 @@ function ciPullRequestBranch() { return isGithubActions ? env('GITHUB_HEAD_REF') : isCircleci - ? env('CIRCLE_BRANCH') - : ''; + ? env('CIRCLE_BRANCH') + : ''; } /** @@ -102,8 +102,8 @@ function ciPullRequestSha() { return isGithubActions ? require(env('GITHUB_EVENT_PATH')).pull_request.head.sha : isCircleci - ? env('CIRCLE_SHA1') - : ''; + ? env('CIRCLE_SHA1') + : ''; } /** @@ -114,8 +114,8 @@ function ciPushBranch() { return isGithubActions ? env('GITHUB_REF') : isCircleci - ? env('CIRCLE_BRANCH') - : ''; + ? env('CIRCLE_BRANCH') + : ''; } /** @@ -126,8 +126,8 @@ function ciCommitSha() { return isGithubActions ? env('GITHUB_SHA') : isCircleci - ? env('CIRCLE_SHA1') - : ''; + ? env('CIRCLE_SHA1') + : ''; } /** @@ -138,8 +138,8 @@ function ciBuildId() { return isGithubActions ? env('GITHUB_RUN_ID') : isCircleci - ? env('CIRCLE_WORKFLOW_ID') - : ''; + ? env('CIRCLE_WORKFLOW_ID') + : ''; } /** @@ -150,8 +150,8 @@ function ciBuildUrl() { return isGithubActions ? `${env('GITHUB_SERVER_URL')}/${env('GITHUB_REPOSITORY')}/actions/runs/${env('GITHUB_RUN_ID')}` // prettier-ignore : isCircleci - ? `https://app.circleci.com/pipelines/workflows/${env('CIRCLE_WORKFLOW_ID')}` // prettier-ignore - : ''; + ? `https://app.circleci.com/pipelines/workflows/${env('CIRCLE_WORKFLOW_ID')}` // prettier-ignore + : ''; } /** @@ -162,8 +162,8 @@ function ciJobId() { return isGithubActions ? env('GITHUB_RUN_NUMBER') : isCircleci - ? env('CIRCLE_JOB') - : ''; + ? env('CIRCLE_JOB') + : ''; } /** @@ -200,8 +200,8 @@ function ciRepoSlug() { return isGithubActions ? env('GITHUB_REPOSITORY') : isCircleci - ? `${env('CIRCLE_PROJECT_USERNAME')}/${env('CIRCLE_PROJECT_REPONAME')}` - : ''; + ? `${env('CIRCLE_PROJECT_USERNAME')}/${env('CIRCLE_PROJECT_REPONAME')}` + : ''; } /** diff --git a/build-system/eslint-rules/restrict-this-access.js b/build-system/eslint-rules/restrict-this-access.js index d9a7862c7032..aefa4f3c2249 100644 --- a/build-system/eslint-rules/restrict-this-access.js +++ b/build-system/eslint-rules/restrict-this-access.js @@ -98,8 +98,8 @@ module.exports = function (context) { property.type === 'Identifier' ? property.name : property.type === 'Literal' - ? property.value - : null; + ? property.value + : null; if (!name) { context.report({ diff --git a/build-system/task-runner/amp-task-runner.js b/build-system/task-runner/amp-task-runner.js index 6ae4fc52d3c3..1c6550518d59 100644 --- a/build-system/task-runner/amp-task-runner.js +++ b/build-system/task-runner/amp-task-runner.js @@ -45,8 +45,8 @@ function getTime(start) { return mins !== 0 ? `${mins}m ${secs}s` : secs != 0 - ? `${secs}s` - : `${msecs}ms`; + ? `${secs}s` + : `${msecs}ms`; } /** diff --git a/build-system/tasks/get-zindex/js.js b/build-system/tasks/get-zindex/js.js index 2434adcfc2cb..a5fc418c21f3 100644 --- a/build-system/tasks/get-zindex/js.js +++ b/build-system/tasks/get-zindex/js.js @@ -120,8 +120,8 @@ async function getZindexJs(filename) { const name = types.isStringLiteral(key) ? key.value : types.isIdentifier(key) - ? key.name - : null; + ? key.name + : null; if (!name) { return; } diff --git a/build-system/tasks/runtime-test/custom-launchers.js b/build-system/tasks/runtime-test/custom-launchers.js index 3d4675ac57ba..bd96683d0aa1 100644 --- a/build-system/tasks/runtime-test/custom-launchers.js +++ b/build-system/tasks/runtime-test/custom-launchers.js @@ -29,8 +29,8 @@ const customLaunchers = { base: argv.headless ? 'ChromeHeadless' : argv.chrome_canary - ? 'ChromeCanary' - : 'Chrome', + ? 'ChromeCanary' + : 'Chrome', flags: argv.chrome_flags ? argv.chrome_flags.split(',').map((flag) => `--${flag}`) : DEFAULT_CHROME_FLAGS, diff --git a/build-system/tasks/runtime-test/runtime-test-base.js b/build-system/tasks/runtime-test/runtime-test-base.js index af0a9a7d643f..0a0bf0133449 100644 --- a/build-system/tasks/runtime-test/runtime-test-base.js +++ b/build-system/tasks/runtime-test/runtime-test-base.js @@ -109,10 +109,10 @@ class RuntimeTestConfig { const browser = argv.edge ? 'EdgeCustom' : argv.firefox - ? 'FirefoxCustom' - : argv.safari - ? 'SafariCustom' - : 'ChromeCustom'; + ? 'FirefoxCustom' + : argv.safari + ? 'SafariCustom' + : 'ChromeCustom'; Object.assign(this, {browsers: [browser], customLaunchers}); } diff --git a/extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js b/extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js index ff8ef69ccb10..a8e1d58e5364 100644 --- a/extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js +++ b/extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js @@ -743,9 +743,9 @@ export class AmpAdNetworkDoubleclickImpl extends AmpA4A { this.initialSize_ = this.isFluidPrimaryRequest_ ? {width: 0, height: 0} : width && height - ? // width/height could be 'auto' in which case we fallback to measured. - {width, height} - : this.getIntersectionElementLayoutBox(); + ? // width/height could be 'auto' in which case we fallback to measured. + {width, height} + : this.getIntersectionElementLayoutBox(); this.jsonTargeting = tryParseJson(this.element.getAttribute('json')) || {}; this.adKey = this.generateAdKey_( `${this.initialSize_.width}x${this.initialSize_.height}` diff --git a/extensions/amp-animation/0.1/parsers/css-expr-ast.js b/extensions/amp-animation/0.1/parsers/css-expr-ast.js index c58e87b65efc..bd3389095b4d 100644 --- a/extensions/amp-animation/0.1/parsers/css-expr-ast.js +++ b/extensions/amp-animation/0.1/parsers/css-expr-ast.js @@ -193,10 +193,10 @@ export class CssConcatNode extends CssNode { opt_array instanceof CssConcatNode ? opt_array.array_ : Array.isArray(opt_array) - ? opt_array - : opt_array - ? [opt_array] - : []; + ? opt_array + : opt_array + ? [opt_array] + : []; /** @const @private {?Array} */ this.dimensions_ = opt_dimensions || null; } @@ -707,8 +707,8 @@ export function createPositionNode(value) { kw == 'left' || kw == 'right' ? 'w' : kw == 'top' || kw == 'bottom' - ? 'h' - : ''; + ? 'h' + : ''; dims[i] = dims[i + 1] = dim; } } @@ -815,14 +815,14 @@ export class CssTranslateNode extends CssFuncNode { suffix == '' ? ['w', 'h'] : suffix == 'x' - ? ['w'] - : suffix == 'y' - ? ['h'] - : suffix == 'z' - ? ['z'] - : suffix == '3d' - ? ['w', 'h', 'z'] - : null + ? ['w'] + : suffix == 'y' + ? ['h'] + : suffix == 'z' + ? ['z'] + : suffix == '3d' + ? ['w', 'h', 'z'] + : null ); /** @const @protected {string} */ this.suffix_ = suffix; diff --git a/extensions/amp-animation/0.1/parsers/keyframes-extractor.js b/extensions/amp-animation/0.1/parsers/keyframes-extractor.js index 59b95b2d351c..0a128060b518 100644 --- a/extensions/amp-animation/0.1/parsers/keyframes-extractor.js +++ b/extensions/amp-animation/0.1/parsers/keyframes-extractor.js @@ -129,8 +129,8 @@ function buildKeyframes(keyframesRule) { keyframeRule.keyText == 'from' ? 0 : keyframeRule.keyText == 'to' - ? 1 - : parseFloat(keyframeRule.keyText) / 100; + ? 1 + : parseFloat(keyframeRule.keyText) / 100; const {style} = keyframeRule; for (let j = 0; j < style.length; j++) { const styleName = style[j]; diff --git a/extensions/amp-animation/0.1/web-animations.js b/extensions/amp-animation/0.1/web-animations.js index dd0b5ff3f1bb..dff58ea30d84 100644 --- a/extensions/amp-animation/0.1/web-animations.js +++ b/extensions/amp-animation/0.1/web-animations.js @@ -1152,8 +1152,8 @@ class CssContextImpl { this.vars_ && this.vars_[varName] != undefined ? this.vars_[varName] : this.currentTarget_ - ? this.measure(this.currentTarget_, varName) - : null; + ? this.measure(this.currentTarget_, varName) + : null; if (rawValue == null || rawValue === '') { user().warn(TAG, `Variable not found: "${varName}"`); } diff --git a/extensions/amp-app-banner/1.0/component.js b/extensions/amp-app-banner/1.0/component.js index 9209deb0125e..d7d1bd2a0f92 100644 --- a/extensions/amp-app-banner/1.0/component.js +++ b/extensions/amp-app-banner/1.0/component.js @@ -114,8 +114,8 @@ export function BentoAppBanner(props) { const AppBannerForCurrentPlatform = platformUtils.isIos() ? AppBannerIOS : platformUtils.isAndroid() - ? AppBannerAndroid - : null; + ? AppBannerAndroid + : null; if (!AppBannerForCurrentPlatform) { logger.info( diff --git a/extensions/amp-carousel/0.1/slidescroll.js b/extensions/amp-carousel/0.1/slidescroll.js index fa183d63a642..b052c55dcf58 100644 --- a/extensions/amp-carousel/0.1/slidescroll.js +++ b/extensions/amp-carousel/0.1/slidescroll.js @@ -160,8 +160,8 @@ export class AmpSlideScroll extends AMP.BaseElement { .startsWith('10.3') ? true : this.isIos_ - ? false - : !isExperimentOn(this.win, 'amp-carousel-chrome-scroll-snap'); + ? false + : !isExperimentOn(this.win, 'amp-carousel-chrome-scroll-snap'); /** @private {boolean} */ this.hasFirstResizedOccured_ = false; @@ -567,8 +567,8 @@ export class AmpSlideScroll extends AMP.BaseElement { const timeout = this.hasNativeSnapPoints_ ? NATIVE_SNAP_TIMEOUT : this.isIos_ - ? IOS_CUSTOM_SNAP_TIMEOUT - : CUSTOM_SNAP_TIMEOUT; + ? IOS_CUSTOM_SNAP_TIMEOUT + : CUSTOM_SNAP_TIMEOUT; // Timer that detects scroll end and/or end of snap scroll. this.waitForScrollSettled_(timeout); @@ -693,15 +693,15 @@ export class AmpSlideScroll extends AMP.BaseElement { newIndex < 0 ? this.noOfSlides_ - 1 : newIndex >= this.noOfSlides_ - ? 0 - : newIndex; + ? 0 + : newIndex; } else { newIndex = newIndex < 0 ? 0 : newIndex >= this.noOfSlides_ - ? this.noOfSlides_ - 1 - : newIndex; + ? this.noOfSlides_ - 1 + : newIndex; } return newIndex; } @@ -779,8 +779,8 @@ export class AmpSlideScroll extends AMP.BaseElement { return currentIndex - 1 >= 0 ? currentIndex - 1 : this.shouldLoop_ - ? this.noOfSlides_ - 1 - : null; + ? this.noOfSlides_ - 1 + : null; } /** @@ -793,8 +793,8 @@ export class AmpSlideScroll extends AMP.BaseElement { return currentIndex + 1 < this.noOfSlides_ ? currentIndex + 1 : this.shouldLoop_ - ? 0 - : null; + ? 0 + : null; } /** diff --git a/extensions/amp-carousel/0.2/amp-carousel.js b/extensions/amp-carousel/0.2/amp-carousel.js index 07bda9795c06..7f6c3e586064 100644 --- a/extensions/amp-carousel/0.2/amp-carousel.js +++ b/extensions/amp-carousel/0.2/amp-carousel.js @@ -404,8 +404,8 @@ class AmpCarousel extends AMP.BaseElement { return currentIndex - 1 >= 0 ? currentIndex - 1 : this.element.hasAttribute('loop') - ? this.slides_.length - 1 - : null; + ? this.slides_.length - 1 + : null; } /** @@ -418,8 +418,8 @@ class AmpCarousel extends AMP.BaseElement { return currentIndex + 1 < this.slides_.length ? currentIndex + 1 : this.element.hasAttribute('loop') - ? 0 - : null; + ? 0 + : null; } /** diff --git a/extensions/amp-date-countdown/0.1/amp-date-countdown.js b/extensions/amp-date-countdown/0.1/amp-date-countdown.js index dca0fa8cc7d5..ee6e9a368b84 100644 --- a/extensions/amp-date-countdown/0.1/amp-date-countdown.js +++ b/extensions/amp-date-countdown/0.1/amp-date-countdown.js @@ -283,18 +283,18 @@ export class AmpDateCountdown extends AMP.BaseElement { TimeUnit[this.biggestUnit_] == TimeUnit.HOURS ? this.supportBackDate_(Math.floor(ms / MILLISECONDS_IN_HOUR)) : TimeUnit[this.biggestUnit_] < TimeUnit.HOURS - ? this.supportBackDate_( - Math.floor((ms % MILLISECONDS_IN_DAY) / MILLISECONDS_IN_HOUR) - ) - : 0; + ? this.supportBackDate_( + Math.floor((ms % MILLISECONDS_IN_DAY) / MILLISECONDS_IN_HOUR) + ) + : 0; const m = TimeUnit[this.biggestUnit_] == TimeUnit.MINUTES ? this.supportBackDate_(Math.floor(ms / MILLISECONDS_IN_MINUTE)) : TimeUnit[this.biggestUnit_] < TimeUnit.MINUTES - ? this.supportBackDate_( - Math.floor((ms % MILLISECONDS_IN_HOUR) / MILLISECONDS_IN_MINUTE) - ) - : 0; + ? this.supportBackDate_( + Math.floor((ms % MILLISECONDS_IN_HOUR) / MILLISECONDS_IN_MINUTE) + ) + : 0; const s = TimeUnit[this.biggestUnit_] == TimeUnit.SECONDS ? this.supportBackDate_(Math.floor(ms / MILLISECONDS_IN_SECOND)) diff --git a/extensions/amp-date-countdown/1.0/component.js b/extensions/amp-date-countdown/1.0/component.js index bb1783db6294..86252b03f61c 100644 --- a/extensions/amp-date-countdown/1.0/component.js +++ b/extensions/amp-date-countdown/1.0/component.js @@ -182,18 +182,18 @@ function getYDHMSFromMs(ms, biggestUnit, countUp) { TimeUnit[biggestUnit] == TimeUnit.HOURS ? supportBackDate(Math.floor(ms / MILLISECONDS_IN_HOUR)) : TimeUnit[biggestUnit] < TimeUnit.HOURS - ? supportBackDate( - Math.floor((ms % MILLISECONDS_IN_DAY) / MILLISECONDS_IN_HOUR) - ) - : 0; + ? supportBackDate( + Math.floor((ms % MILLISECONDS_IN_DAY) / MILLISECONDS_IN_HOUR) + ) + : 0; const m = TimeUnit[biggestUnit] == TimeUnit.MINUTES ? supportBackDate(Math.floor(ms / MILLISECONDS_IN_MINUTE)) : TimeUnit[biggestUnit] < TimeUnit.MINUTES - ? supportBackDate( - Math.floor((ms % MILLISECONDS_IN_HOUR) / MILLISECONDS_IN_MINUTE) - ) - : 0; + ? supportBackDate( + Math.floor((ms % MILLISECONDS_IN_HOUR) / MILLISECONDS_IN_MINUTE) + ) + : 0; const s = TimeUnit[biggestUnit] == TimeUnit.SECONDS ? supportBackDate(Math.floor(ms / MILLISECONDS_IN_SECOND)) diff --git a/extensions/amp-date-picker/0.1/amp-date-picker.js b/extensions/amp-date-picker/0.1/amp-date-picker.js index d4c56247daa9..09e0ddfe1af2 100644 --- a/extensions/amp-date-picker/0.1/amp-date-picker.js +++ b/extensions/amp-date-picker/0.1/amp-date-picker.js @@ -1084,10 +1084,10 @@ export class AmpDatePicker extends AMP.BaseElement { target === this.dateField_ ? 'date' : target === this.startDateField_ - ? 'startDate' - : target === this.endDateField_ - ? 'endDate' - : ''; + ? 'startDate' + : target === this.endDateField_ + ? 'endDate' + : ''; const moment = this.createMoment_(target.value); const isValid = moment && moment.isValid() && moment.year() > MIN_PICKER_YEAR; @@ -1461,8 +1461,8 @@ export class AmpDatePicker extends AMP.BaseElement { focusedInput === START_DATE ? this.startDateField_ : focusedInput === END_DATE - ? this.endDateField_ - : this.dateField_; + ? this.endDateField_ + : this.dateField_; this.updateDateFieldFocus_(focusedField, this.state_['isOpen']); this.setState_({ diff --git a/extensions/amp-image-viewer/0.1/amp-image-viewer.js b/extensions/amp-image-viewer/0.1/amp-image-viewer.js index c4cfe9a77776..6172425f98f5 100644 --- a/extensions/amp-image-viewer/0.1/amp-image-viewer.js +++ b/extensions/amp-image-viewer/0.1/amp-image-viewer.js @@ -171,8 +171,8 @@ export class AmpImageViewer extends AMP.BaseElement { const laidOutPromise = haveImg ? Promise.resolve() : img.tagName === 'IMG' - ? loadPromise(img) - : img.signals().whenSignal(CommonSignals_Enum.LOAD_END); + ? loadPromise(img) + : img.signals().whenSignal(CommonSignals_Enum.LOAD_END); if (!haveImg) { Services.ownersForDoc(this.element).scheduleLayout(this.element, img); diff --git a/extensions/amp-next-page/0.1/amp-next-page.js b/extensions/amp-next-page/0.1/amp-next-page.js index 92c018388027..9f7f1a32ca5d 100644 --- a/extensions/amp-next-page/0.1/amp-next-page.js +++ b/extensions/amp-next-page/0.1/amp-next-page.js @@ -70,10 +70,10 @@ export class AmpNextPage extends AMP.BaseElement { const prohibitedAttribute = element.hasAttribute('deep-parsing') ? 'deep-parsing' : element.hasAttribute('xssi-prefix') - ? 'xssi-prefix' - : element.hasAttribute('max-pages') - ? 'max-pages' - : null; + ? 'xssi-prefix' + : element.hasAttribute('max-pages') + ? 'max-pages' + : null; if (prohibitedAttribute) { this.unsupportedFeatureWarn_(prohibitedAttribute); } diff --git a/extensions/amp-social-share/0.1/amp-social-share.js b/extensions/amp-social-share/0.1/amp-social-share.js index 0d507410c52b..573c62fb2362 100644 --- a/extensions/amp-social-share/0.1/amp-social-share.js +++ b/extensions/amp-social-share/0.1/amp-social-share.js @@ -148,8 +148,8 @@ class AmpSocialShare extends AMP.BaseElement { this.platform_.isIos() && (isMailTo || isSms) ? '_top' : this.element.hasAttribute('data-target') - ? this.element.getAttribute('data-target') - : '_blank'; + ? this.element.getAttribute('data-target') + : '_blank'; if (isSms) { // http://stackoverflow.com/a/19126326 // This code path seems to be stable for both iOS and Android. diff --git a/extensions/amp-truncate-text/0.1/binary-search.js b/extensions/amp-truncate-text/0.1/binary-search.js index 7d888c04e2bf..06f6898953fe 100644 --- a/extensions/amp-truncate-text/0.1/binary-search.js +++ b/extensions/amp-truncate-text/0.1/binary-search.js @@ -83,9 +83,9 @@ export function binarySearch( const index = !isNaN(prefIndex) ? prefIndex : // If we stopped, high is either less than or equal to low. So if we have - // a high preference, actually return the current value of low. - preference == BinarySearchPreference.NEXT - ? low - : high; + // a high preference, actually return the current value of low. + preference == BinarySearchPreference.NEXT + ? low + : high; return -(index + 1); } diff --git a/package-lock.json b/package-lock.json index 833511b4adcb..d566c856c297 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "@sinonjs/fake-timers": "7.1.2", "@types/chai": "4.2.22", "@types/dompurify": "2.3.2", - "@types/eslint": "8.44.6", + "@types/eslint": "8.44.7", "@types/estree": "1.0.1", "@types/fs-extra": "9.0.13", "@types/klaw": "3.0.3", @@ -63,8 +63,8 @@ "@types/mocha": "8.2.3", "@types/node": "18.16.14", "@types/tar": "6.1.5", - "@typescript-eslint/eslint-plugin": "6.9.0", - "@typescript-eslint/parser": "6.9.0", + "@typescript-eslint/eslint-plugin": "6.11.0", + "@typescript-eslint/parser": "6.11.0", "acorn-globals": "6.0.0", "ajv": "8.10.0", "ajv-formats": "2.1.1", @@ -95,14 +95,14 @@ "enzyme-adapter-preact-pure": "3.1.0", "esbuild": "0.19.5", "escodegen": "2.0.0", - "eslint": "8.52.0", + "eslint": "8.53.0", "eslint-config-prettier": "9.0.0", "eslint-import-resolver-babel-module": "5.3.2", "eslint-plugin-chai-expect": "3.0.0", "eslint-plugin-eslint-plugin": "5.1.1", "eslint-plugin-import": "2.29.0", "eslint-plugin-jasmine": "4.1.3", - "eslint-plugin-jsdoc": "46.8.2", + "eslint-plugin-jsdoc": "46.9.0", "eslint-plugin-local": "1.0.0", "eslint-plugin-module-resolver": "1.5.0", "eslint-plugin-prettier": "5.0.1", @@ -160,7 +160,7 @@ "postcss": "8.4.31", "postcss-import": "14.0.2", "posthtml": "0.16.5", - "prettier": "3.0.3", + "prettier": "3.1.0", "react": "17.0.2", "react-dom": "17.0.2", "rocambole": "0.7.0", @@ -2792,12 +2792,12 @@ "license": "MIT" }, "node_modules/@es-joy/jsdoccomment": { - "version": "0.40.1", - "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.40.1.tgz", - "integrity": "sha512-YORCdZSusAlBrFpZ77pJjc5r1bQs5caPWtAu+WWmiSo+8XaUzseapVrfAtiRFbQWnrBxxLLEwF6f6ZG/UgCQCg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.41.0.tgz", + "integrity": "sha512-aKUhyn1QI5Ksbqcr3fFJj16p99QdjUxXAEuFst1Z47DRyoiMwivIH9MV/ARcJOCXVjPfjITciej8ZD2O/6qUmw==", "dev": true, "dependencies": { - "comment-parser": "1.4.0", + "comment-parser": "1.4.1", "esquery": "^1.5.0", "jsdoc-type-pratt-parser": "~4.0.0" }, @@ -3182,9 +3182,9 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", - "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz", + "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==", "dev": true, "dependencies": { "ajv": "^6.12.4", @@ -3281,9 +3281,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.52.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.52.0.tgz", - "integrity": "sha512-mjZVbpaeMZludF2fsWLD0Z9gCref1Tk4i9+wddjRvpUNqqcndPkBD09N/Mapey0b3jaXbLm2kICwFv2E64QinA==", + "version": "8.53.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz", + "integrity": "sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -5976,9 +5976,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.44.6", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.6.tgz", - "integrity": "sha512-P6bY56TVmX8y9J87jHNgQh43h6VVU+6H7oN7hgvivV81K2XY8qJZ5vqPy/HdUoVIelii2kChYVzQanlswPWVFw==", + "version": "8.44.7", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.7.tgz", + "integrity": "sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==", "dev": true, "dependencies": { "@types/estree": "*", @@ -6074,9 +6074,9 @@ "dev": true }, "node_modules/@types/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-MMzuxN3GdFwskAnb6fz0orFvhfqi752yjaXylr0Rp4oDg5H0Zn1IuyRhDVvYOwAXoJirx2xuS16I3WjxnAIHiQ==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.5.tgz", + "integrity": "sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg==", "dev": true }, "node_modules/@types/stack-utils": { @@ -6124,16 +6124,16 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.9.0.tgz", - "integrity": "sha512-lgX7F0azQwRPB7t7WAyeHWVfW1YJ9NIgd9mvGhfQpRY56X6AVf8mwM8Wol+0z4liE7XX3QOt8MN1rUKCfSjRIA==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.11.0.tgz", + "integrity": "sha512-uXnpZDc4VRjY4iuypDBKzW1rz9T5YBBK0snMn8MaTSNd2kMlj50LnLBABELjJiOL5YHk7ZD8hbSpI9ubzqYI0w==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.9.0", - "@typescript-eslint/type-utils": "6.9.0", - "@typescript-eslint/utils": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0", + "@typescript-eslint/scope-manager": "6.11.0", + "@typescript-eslint/type-utils": "6.11.0", + "@typescript-eslint/utils": "6.11.0", + "@typescript-eslint/visitor-keys": "6.11.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -6200,15 +6200,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.9.0.tgz", - "integrity": "sha512-GZmjMh4AJ/5gaH4XF2eXA8tMnHWP+Pm1mjQR2QN4Iz+j/zO04b9TOvJYOX2sCNIQHtRStKTxRY1FX7LhpJT4Gw==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.11.0.tgz", + "integrity": "sha512-+whEdjk+d5do5nxfxx73oanLL9ghKO3EwM9kBCkUtWMRwWuPaFv9ScuqlYfQ6pAD6ZiJhky7TZ2ZYhrMsfMxVQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.9.0", - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/typescript-estree": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0", + "@typescript-eslint/scope-manager": "6.11.0", + "@typescript-eslint/types": "6.11.0", + "@typescript-eslint/typescript-estree": "6.11.0", + "@typescript-eslint/visitor-keys": "6.11.0", "debug": "^4.3.4" }, "engines": { @@ -6245,13 +6245,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.9.0.tgz", - "integrity": "sha512-1R8A9Mc39n4pCCz9o79qRO31HGNDvC7UhPhv26TovDsWPBDx+Sg3rOZdCELIA3ZmNoWAuxaMOT7aWtGRSYkQxw==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.11.0.tgz", + "integrity": "sha512-0A8KoVvIURG4uhxAdjSaxy8RdRE//HztaZdG8KiHLP8WOXSk0vlF7Pvogv+vlJA5Rnjj/wDcFENvDaHb+gKd1A==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0" + "@typescript-eslint/types": "6.11.0", + "@typescript-eslint/visitor-keys": "6.11.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -6262,13 +6262,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.9.0.tgz", - "integrity": "sha512-XXeahmfbpuhVbhSOROIzJ+b13krFmgtc4GlEuu1WBT+RpyGPIA4Y/eGnXzjbDj5gZLzpAXO/sj+IF/x2GtTMjQ==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.11.0.tgz", + "integrity": "sha512-nA4IOXwZtqBjIoYrJcYxLRO+F9ri+leVGoJcMW1uqr4r1Hq7vW5cyWrA43lFbpRvQ9XgNrnfLpIkO3i1emDBIA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.9.0", - "@typescript-eslint/utils": "6.9.0", + "@typescript-eslint/typescript-estree": "6.11.0", + "@typescript-eslint/utils": "6.11.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -6306,9 +6306,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.9.0.tgz", - "integrity": "sha512-+KB0lbkpxBkBSiVCuQvduqMJy+I1FyDbdwSpM3IoBS7APl4Bu15lStPjgBIdykdRqQNYqYNMa8Kuidax6phaEw==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.11.0.tgz", + "integrity": "sha512-ZbEzuD4DwEJxwPqhv3QULlRj8KYTAnNsXxmfuUXFCxZmO6CF2gM/y+ugBSAQhrqaJL3M+oe4owdWunaHM6beqA==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -6319,13 +6319,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.9.0.tgz", - "integrity": "sha512-NJM2BnJFZBEAbCfBP00zONKXvMqihZCrmwCaik0UhLr0vAgb6oguXxLX1k00oQyD+vZZ+CJn3kocvv2yxm4awQ==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.11.0.tgz", + "integrity": "sha512-Aezzv1o2tWJwvZhedzvD5Yv7+Lpu1by/U1LZ5gLc4tCx8jUmuSCMioPFRjliN/6SJIvY6HpTtJIWubKuYYYesQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0", + "@typescript-eslint/types": "6.11.0", + "@typescript-eslint/visitor-keys": "6.11.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -6378,17 +6378,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.9.0.tgz", - "integrity": "sha512-5Wf+Jsqya7WcCO8me504FBigeQKVLAMPmUzYgDbWchINNh1KJbxCgVya3EQ2MjvJMVeXl3pofRmprqX6mfQkjQ==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.11.0.tgz", + "integrity": "sha512-p23ibf68fxoZy605dc0dQAEoUsoiNoP3MD9WQGiHLDuTSOuqoTsa4oAy+h3KDkTcxbbfOtUjb9h3Ta0gT4ug2g==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.9.0", - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/typescript-estree": "6.9.0", + "@typescript-eslint/scope-manager": "6.11.0", + "@typescript-eslint/types": "6.11.0", + "@typescript-eslint/typescript-estree": "6.11.0", "semver": "^7.5.4" }, "engines": { @@ -6418,12 +6418,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.9.0.tgz", - "integrity": "sha512-dGtAfqjV6RFOtIP8I0B4ZTBRrlTT8NHHlZZSchQx3qReaoDeXhYM++M4So2AgFK9ZB0emRPA6JI1HkafzA2Ibg==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.11.0.tgz", + "integrity": "sha512-+SUN/W7WjBr05uRxPggJPSzyB8zUpaYo2hByKasWbqr3PM8AXfZt8UHdNpBS1v9SA62qnSSMF3380SwDqqprgQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.9.0", + "@typescript-eslint/types": "6.11.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -8601,9 +8601,9 @@ } }, "node_modules/comment-parser": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.0.tgz", - "integrity": "sha512-QLyTNiZ2KDOibvFPlZ6ZngVsZ/0gYnE6uTXi5aoDg8ed3AkJAz4sEje3Y8a29hQ1s6A99MZXe47fLAXQ1rTqaw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", "dev": true, "engines": { "node": ">= 12.0.0" @@ -10151,15 +10151,15 @@ } }, "node_modules/eslint": { - "version": "8.52.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.52.0.tgz", - "integrity": "sha512-zh/JHnaixqHZsolRB/w9/02akBk9EPrOs9JwcTP2ek7yL5bVvXuRariiaAjjoJ5DvuwQ1WAE/HsMz+w17YgBCg==", + "version": "8.53.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz", + "integrity": "sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.52.0", + "@eslint/eslintrc": "^2.1.3", + "@eslint/js": "8.53.0", "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -10391,14 +10391,14 @@ } }, "node_modules/eslint-plugin-jsdoc": { - "version": "46.8.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.8.2.tgz", - "integrity": "sha512-5TSnD018f3tUJNne4s4gDWQflbsgOycIKEUBoCLn6XtBMgNHxQFmV8vVxUtiPxAQq8lrX85OaSG/2gnctxw9uQ==", + "version": "46.9.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.9.0.tgz", + "integrity": "sha512-UQuEtbqLNkPf5Nr/6PPRCtr9xypXY+g8y/Q7gPa0YK7eDhh0y2lWprXRnaYbW7ACgIUvpDKy9X2bZqxtGzBG9Q==", "dev": true, "dependencies": { - "@es-joy/jsdoccomment": "~0.40.1", + "@es-joy/jsdoccomment": "~0.41.0", "are-docs-informative": "^0.0.2", - "comment-parser": "1.4.0", + "comment-parser": "1.4.1", "debug": "^4.3.4", "escape-string-regexp": "^4.0.0", "esquery": "^1.5.0", @@ -20656,9 +20656,9 @@ } }, "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", + "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -25956,12 +25956,12 @@ "version": "0.7.1" }, "@es-joy/jsdoccomment": { - "version": "0.40.1", - "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.40.1.tgz", - "integrity": "sha512-YORCdZSusAlBrFpZ77pJjc5r1bQs5caPWtAu+WWmiSo+8XaUzseapVrfAtiRFbQWnrBxxLLEwF6f6ZG/UgCQCg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.41.0.tgz", + "integrity": "sha512-aKUhyn1QI5Ksbqcr3fFJj16p99QdjUxXAEuFst1Z47DRyoiMwivIH9MV/ARcJOCXVjPfjITciej8ZD2O/6qUmw==", "dev": true, "requires": { - "comment-parser": "1.4.0", + "comment-parser": "1.4.1", "esquery": "^1.5.0", "jsdoc-type-pratt-parser": "~4.0.0" } @@ -26136,9 +26136,9 @@ "dev": true }, "@eslint/eslintrc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", - "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz", + "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==", "dev": true, "requires": { "ajv": "^6.12.4", @@ -26212,9 +26212,9 @@ } }, "@eslint/js": { - "version": "8.52.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.52.0.tgz", - "integrity": "sha512-mjZVbpaeMZludF2fsWLD0Z9gCref1Tk4i9+wddjRvpUNqqcndPkBD09N/Mapey0b3jaXbLm2kICwFv2E64QinA==", + "version": "8.53.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz", + "integrity": "sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==", "dev": true }, "@humanwhocodes/config-array": { @@ -28349,9 +28349,9 @@ } }, "@types/eslint": { - "version": "8.44.6", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.6.tgz", - "integrity": "sha512-P6bY56TVmX8y9J87jHNgQh43h6VVU+6H7oN7hgvivV81K2XY8qJZ5vqPy/HdUoVIelii2kChYVzQanlswPWVFw==", + "version": "8.44.7", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.7.tgz", + "integrity": "sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==", "dev": true, "requires": { "@types/estree": "*", @@ -28442,9 +28442,9 @@ "dev": true }, "@types/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-MMzuxN3GdFwskAnb6fz0orFvhfqi752yjaXylr0Rp4oDg5H0Zn1IuyRhDVvYOwAXoJirx2xuS16I3WjxnAIHiQ==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.5.tgz", + "integrity": "sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg==", "dev": true }, "@types/stack-utils": { @@ -28489,16 +28489,16 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.9.0.tgz", - "integrity": "sha512-lgX7F0azQwRPB7t7WAyeHWVfW1YJ9NIgd9mvGhfQpRY56X6AVf8mwM8Wol+0z4liE7XX3QOt8MN1rUKCfSjRIA==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.11.0.tgz", + "integrity": "sha512-uXnpZDc4VRjY4iuypDBKzW1rz9T5YBBK0snMn8MaTSNd2kMlj50LnLBABELjJiOL5YHk7ZD8hbSpI9ubzqYI0w==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.9.0", - "@typescript-eslint/type-utils": "6.9.0", - "@typescript-eslint/utils": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0", + "@typescript-eslint/scope-manager": "6.11.0", + "@typescript-eslint/type-utils": "6.11.0", + "@typescript-eslint/utils": "6.11.0", + "@typescript-eslint/visitor-keys": "6.11.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -28534,15 +28534,15 @@ } }, "@typescript-eslint/parser": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.9.0.tgz", - "integrity": "sha512-GZmjMh4AJ/5gaH4XF2eXA8tMnHWP+Pm1mjQR2QN4Iz+j/zO04b9TOvJYOX2sCNIQHtRStKTxRY1FX7LhpJT4Gw==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.11.0.tgz", + "integrity": "sha512-+whEdjk+d5do5nxfxx73oanLL9ghKO3EwM9kBCkUtWMRwWuPaFv9ScuqlYfQ6pAD6ZiJhky7TZ2ZYhrMsfMxVQ==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "6.9.0", - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/typescript-estree": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0", + "@typescript-eslint/scope-manager": "6.11.0", + "@typescript-eslint/types": "6.11.0", + "@typescript-eslint/typescript-estree": "6.11.0", + "@typescript-eslint/visitor-keys": "6.11.0", "debug": "^4.3.4" }, "dependencies": { @@ -28558,23 +28558,23 @@ } }, "@typescript-eslint/scope-manager": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.9.0.tgz", - "integrity": "sha512-1R8A9Mc39n4pCCz9o79qRO31HGNDvC7UhPhv26TovDsWPBDx+Sg3rOZdCELIA3ZmNoWAuxaMOT7aWtGRSYkQxw==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.11.0.tgz", + "integrity": "sha512-0A8KoVvIURG4uhxAdjSaxy8RdRE//HztaZdG8KiHLP8WOXSk0vlF7Pvogv+vlJA5Rnjj/wDcFENvDaHb+gKd1A==", "dev": true, "requires": { - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0" + "@typescript-eslint/types": "6.11.0", + "@typescript-eslint/visitor-keys": "6.11.0" } }, "@typescript-eslint/type-utils": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.9.0.tgz", - "integrity": "sha512-XXeahmfbpuhVbhSOROIzJ+b13krFmgtc4GlEuu1WBT+RpyGPIA4Y/eGnXzjbDj5gZLzpAXO/sj+IF/x2GtTMjQ==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.11.0.tgz", + "integrity": "sha512-nA4IOXwZtqBjIoYrJcYxLRO+F9ri+leVGoJcMW1uqr4r1Hq7vW5cyWrA43lFbpRvQ9XgNrnfLpIkO3i1emDBIA==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "6.9.0", - "@typescript-eslint/utils": "6.9.0", + "@typescript-eslint/typescript-estree": "6.11.0", + "@typescript-eslint/utils": "6.11.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -28591,19 +28591,19 @@ } }, "@typescript-eslint/types": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.9.0.tgz", - "integrity": "sha512-+KB0lbkpxBkBSiVCuQvduqMJy+I1FyDbdwSpM3IoBS7APl4Bu15lStPjgBIdykdRqQNYqYNMa8Kuidax6phaEw==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.11.0.tgz", + "integrity": "sha512-ZbEzuD4DwEJxwPqhv3QULlRj8KYTAnNsXxmfuUXFCxZmO6CF2gM/y+ugBSAQhrqaJL3M+oe4owdWunaHM6beqA==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.9.0.tgz", - "integrity": "sha512-NJM2BnJFZBEAbCfBP00zONKXvMqihZCrmwCaik0UhLr0vAgb6oguXxLX1k00oQyD+vZZ+CJn3kocvv2yxm4awQ==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.11.0.tgz", + "integrity": "sha512-Aezzv1o2tWJwvZhedzvD5Yv7+Lpu1by/U1LZ5gLc4tCx8jUmuSCMioPFRjliN/6SJIvY6HpTtJIWubKuYYYesQ==", "dev": true, "requires": { - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0", + "@typescript-eslint/types": "6.11.0", + "@typescript-eslint/visitor-keys": "6.11.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -28632,17 +28632,17 @@ } }, "@typescript-eslint/utils": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.9.0.tgz", - "integrity": "sha512-5Wf+Jsqya7WcCO8me504FBigeQKVLAMPmUzYgDbWchINNh1KJbxCgVya3EQ2MjvJMVeXl3pofRmprqX6mfQkjQ==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.11.0.tgz", + "integrity": "sha512-p23ibf68fxoZy605dc0dQAEoUsoiNoP3MD9WQGiHLDuTSOuqoTsa4oAy+h3KDkTcxbbfOtUjb9h3Ta0gT4ug2g==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.9.0", - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/typescript-estree": "6.9.0", + "@typescript-eslint/scope-manager": "6.11.0", + "@typescript-eslint/types": "6.11.0", + "@typescript-eslint/typescript-estree": "6.11.0", "semver": "^7.5.4" }, "dependencies": { @@ -28658,12 +28658,12 @@ } }, "@typescript-eslint/visitor-keys": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.9.0.tgz", - "integrity": "sha512-dGtAfqjV6RFOtIP8I0B4ZTBRrlTT8NHHlZZSchQx3qReaoDeXhYM++M4So2AgFK9ZB0emRPA6JI1HkafzA2Ibg==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.11.0.tgz", + "integrity": "sha512-+SUN/W7WjBr05uRxPggJPSzyB8zUpaYo2hByKasWbqr3PM8AXfZt8UHdNpBS1v9SA62qnSSMF3380SwDqqprgQ==", "dev": true, "requires": { - "@typescript-eslint/types": "6.9.0", + "@typescript-eslint/types": "6.11.0", "eslint-visitor-keys": "^3.4.1" } }, @@ -30179,9 +30179,9 @@ "dev": true }, "comment-parser": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.0.tgz", - "integrity": "sha512-QLyTNiZ2KDOibvFPlZ6ZngVsZ/0gYnE6uTXi5aoDg8ed3AkJAz4sEje3Y8a29hQ1s6A99MZXe47fLAXQ1rTqaw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", "dev": true }, "common-path-prefix": { @@ -31266,15 +31266,15 @@ } }, "eslint": { - "version": "8.52.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.52.0.tgz", - "integrity": "sha512-zh/JHnaixqHZsolRB/w9/02akBk9EPrOs9JwcTP2ek7yL5bVvXuRariiaAjjoJ5DvuwQ1WAE/HsMz+w17YgBCg==", + "version": "8.53.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz", + "integrity": "sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.52.0", + "@eslint/eslintrc": "^2.1.3", + "@eslint/js": "8.53.0", "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -31657,14 +31657,14 @@ "dev": true }, "eslint-plugin-jsdoc": { - "version": "46.8.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.8.2.tgz", - "integrity": "sha512-5TSnD018f3tUJNne4s4gDWQflbsgOycIKEUBoCLn6XtBMgNHxQFmV8vVxUtiPxAQq8lrX85OaSG/2gnctxw9uQ==", + "version": "46.9.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.9.0.tgz", + "integrity": "sha512-UQuEtbqLNkPf5Nr/6PPRCtr9xypXY+g8y/Q7gPa0YK7eDhh0y2lWprXRnaYbW7ACgIUvpDKy9X2bZqxtGzBG9Q==", "dev": true, "requires": { - "@es-joy/jsdoccomment": "~0.40.1", + "@es-joy/jsdoccomment": "~0.41.0", "are-docs-informative": "^0.0.2", - "comment-parser": "1.4.0", + "comment-parser": "1.4.1", "debug": "^4.3.4", "escape-string-regexp": "^4.0.0", "esquery": "^1.5.0", @@ -38702,9 +38702,9 @@ "dev": true }, "prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", + "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==", "dev": true }, "prettier-linter-helpers": { diff --git a/package.json b/package.json index 16966ef61144..041d88ccd7c1 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@sinonjs/fake-timers": "7.1.2", "@types/chai": "4.2.22", "@types/dompurify": "2.3.2", - "@types/eslint": "8.44.6", + "@types/eslint": "8.44.7", "@types/estree": "1.0.1", "@types/fs-extra": "9.0.13", "@types/klaw": "3.0.3", @@ -68,8 +68,8 @@ "@types/mocha": "8.2.3", "@types/node": "18.16.14", "@types/tar": "6.1.5", - "@typescript-eslint/eslint-plugin": "6.9.0", - "@typescript-eslint/parser": "6.9.0", + "@typescript-eslint/eslint-plugin": "6.11.0", + "@typescript-eslint/parser": "6.11.0", "acorn-globals": "6.0.0", "ajv": "8.10.0", "ajv-formats": "2.1.1", @@ -100,14 +100,14 @@ "enzyme-adapter-preact-pure": "3.1.0", "esbuild": "0.19.5", "escodegen": "2.0.0", - "eslint": "8.52.0", + "eslint": "8.53.0", "eslint-config-prettier": "9.0.0", "eslint-import-resolver-babel-module": "5.3.2", "eslint-plugin-chai-expect": "3.0.0", "eslint-plugin-eslint-plugin": "5.1.1", "eslint-plugin-import": "2.29.0", "eslint-plugin-jasmine": "4.1.3", - "eslint-plugin-jsdoc": "46.8.2", + "eslint-plugin-jsdoc": "46.9.0", "eslint-plugin-local": "1.0.0", "eslint-plugin-module-resolver": "1.5.0", "eslint-plugin-prettier": "5.0.1", @@ -165,7 +165,7 @@ "postcss": "8.4.31", "postcss-import": "14.0.2", "posthtml": "0.16.5", - "prettier": "3.0.3", + "prettier": "3.1.0", "react": "17.0.2", "react-dom": "17.0.2", "rocambole": "0.7.0", diff --git a/src/amp-story-player/amp-story-player-impl.js b/src/amp-story-player/amp-story-player-impl.js index 4dd2ac2266d1..84305b72c72f 100644 --- a/src/amp-story-player/amp-story-player-impl.js +++ b/src/amp-story-player/amp-story-player-impl.js @@ -1142,8 +1142,8 @@ export class AmpStoryPlayer { story.distance === 0 ? STORY_POSITION_ENUM.CURRENT : story.idx > this.currentIdx_ - ? STORY_POSITION_ENUM.NEXT - : STORY_POSITION_ENUM.PREVIOUS; + ? STORY_POSITION_ENUM.NEXT + : STORY_POSITION_ENUM.PREVIOUS; requestAnimationFrame(() => { const {iframe} = story; diff --git a/src/bento/components/bento-mega-menu/1.0/component/types.ts b/src/bento/components/bento-mega-menu/1.0/component/types.ts index b1d74132d1bf..6318e9ebf506 100644 --- a/src/bento/components/bento-mega-menu/1.0/component/types.ts +++ b/src/bento/components/bento-mega-menu/1.0/component/types.ts @@ -5,8 +5,8 @@ export type AsProps = TAs extends keyof IntrinsicElements ? {as?: TAs} & IntrinsicElements[TAs] : TAs extends ComponentType - ? {as?: TAs} & TProps - : never; + ? {as?: TAs} & TProps + : never; export type AriaAttributes = { 'aria-expanded'?: boolean; diff --git a/src/core/context/values.js b/src/core/context/values.js index 7ada32a56c60..da68b3f86a53 100644 --- a/src/core/context/values.js +++ b/src/core/context/values.js @@ -576,8 +576,8 @@ export class Values { const parentValue = isDefined(used.parentValue) ? used.parentValue : recursive && !used.parentContextNode - ? defaultValue - : undefined; + ? defaultValue + : undefined; // Calculate the "used" value. let newValue = undefined; diff --git a/src/custom-element.js b/src/custom-element.js index 81264f7e3f78..934019619abf 100644 --- a/src/custom-element.js +++ b/src/custom-element.js @@ -653,8 +653,8 @@ function createBaseCustomElementClass(win, elementConnectedCallback) { this.readyState_ != ReadyState_Enum.MOUNTING ? this.readyState_ : this.implClass_.usesLoading(this) - ? ReadyState_Enum.LOADING - : ReadyState_Enum.MOUNTING + ? ReadyState_Enum.LOADING + : ReadyState_Enum.MOUNTING ); this.mounted_ = true; const result = this.impl_.mountCallback(signal); diff --git a/src/friendly-iframe-embed.js b/src/friendly-iframe-embed.js index 51842d6a19b2..c5acd03ed5ed 100644 --- a/src/friendly-iframe-embed.js +++ b/src/friendly-iframe-embed.js @@ -382,8 +382,8 @@ export class FriendlyIframeEmbed { this.signals_ = this.ampdoc ? this.ampdoc.signals() : this.host - ? this.host.signals() - : new Signals(); + ? this.host.signals() + : new Signals(); /** @private @const {!Deferred} */ this.renderComplete_ = new Deferred(); diff --git a/src/preact/parse-props.js b/src/preact/parse-props.js index 30abb6b8a555..fb16d5468f54 100644 --- a/src/preact/parse-props.js +++ b/src/preact/parse-props.js @@ -271,8 +271,8 @@ function parsePropDefs(Ctor, props, propDefs, element, mediaQueryProps) { def.type == 'number' ? parseFloat(value) : def.type == 'boolean' - ? parseBooleanAttribute(/** @type {string} */ (value)) - : value; + ? parseBooleanAttribute(/** @type {string} */ (value)) + : value; props[name] = v; } } diff --git a/src/service/video-manager-impl.js b/src/service/video-manager-impl.js index 3293ecee2662..8c831353c92e 100644 --- a/src/service/video-manager-impl.js +++ b/src/service/video-manager-impl.js @@ -1254,8 +1254,8 @@ export class AutoFullscreenManager { const pos = optPos ? dev().assertString(optPos) : bottom > vh - ? 'bottom' - : 'top'; + ? 'bottom' + : 'top'; return viewport.animateScrollIntoView(element, pos); }); } diff --git a/src/style-installer.js b/src/style-installer.js index 48231d557d15..58f5e71475dc 100644 --- a/src/style-installer.js +++ b/src/style-installer.js @@ -89,8 +89,8 @@ function insertStyleElement(cssRoot, cssText, isRuntimeCss, ext) { const key = isRuntimeCss ? 'amp-runtime' : isExtCss - ? `amp-extension=${ext}` - : null; + ? `amp-extension=${ext}` + : null; // Check if it has already been created or discovered. if (key) { diff --git a/src/utils/log.js b/src/utils/log.js index 1d1e55ada1f7..698401d39f70 100644 --- a/src/utils/log.js +++ b/src/utils/log.js @@ -611,8 +611,8 @@ export function dev() { logNum >= 3 ? LogLevel_Enum.FINE : logNum >= 2 - ? LogLevel_Enum.INFO - : LogLevel_Enum.OFF + ? LogLevel_Enum.INFO + : LogLevel_Enum.OFF )) ); } diff --git a/testing/fake-dom.js b/testing/fake-dom.js index 7af18c867737..044e59282b19 100644 --- a/testing/fake-dom.js +++ b/testing/fake-dom.js @@ -328,8 +328,8 @@ class EventListeners { typeof captureOrOpts == 'boolean' ? captureOrOpts : typeof captureOrOpts == 'object' - ? captureOrOpts.capture || false - : false, + ? captureOrOpts.capture || false + : false, options: typeof captureOrOpts == 'object' ? captureOrOpts : null, }; }