Skip to content

Commit 0525fb7

Browse files
dependabot[bot]cursoragentjonathanKingston
authored
build(deps-dev): bump typescript-eslint from 8.36.0 to 8.38.0 (#1857)
* build(deps-dev): bump typescript-eslint from 8.36.0 to 8.38.0 Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.36.0 to 8.38.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.38.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-version: 8.38.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Refactor ClickToLoad to use for...of loop Co-authored-by: jkingston <[email protected]> * Refactor: Make click-to-load feature asynchronous Co-authored-by: jkingston <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: jkingston <[email protected]>
1 parent e30141c commit 0525fb7

File tree

3 files changed

+51
-517
lines changed

3 files changed

+51
-517
lines changed

injected/src/features/click-to-load.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,6 +1964,7 @@ export default class ClickToLoad extends ContentFeature {
19641964
trackingElements = Array.from(document.querySelectorAll(selector));
19651965
}
19661966

1967+
/* eslint-disable @typescript-eslint/await-thenable */
19671968
await Promise.all(
19681969
trackingElements.map((trackingElement) => {
19691970
if (knownTrackingElements.has(trackingElement)) {
@@ -1976,6 +1977,7 @@ export default class ClickToLoad extends ContentFeature {
19761977
return createPlaceholderElementAndReplace(widget, trackingElement);
19771978
}),
19781979
);
1980+
/* eslint-enable @typescript-eslint/await-thenable */
19791981
}
19801982
}
19811983
}

0 commit comments

Comments
 (0)