Skip to content

Commit

Permalink
chore(deps): update dependency typescript to v5.6.2 (#3070)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeremias Peier <[email protected]>
  • Loading branch information
renovate[bot] and jeripeierSBB authored Sep 11, 2024
1 parent 501704f commit 2447cc0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"stylelint-config-standard-scss": "13.1.0",
"stylelint-scss": "6.5.1",
"ts-lit-plugin": "2.0.2",
"typescript": "5.5.4",
"typescript": "5.6.2",
"typescript-eslint": "8.5.0",
"urlpattern-polyfill": "10.0.0",
"vite": "5.4.4",
Expand Down
23 changes: 0 additions & 23 deletions src/elements/core/controllers/language-controller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,27 +74,4 @@ describe('LanguageController', () => {
await aTimeout(0);
expect(state.counter).to.equal(2);
});

// This test can only be run in isolation, as LanguageController has global state.
// It is possible to verify this test by switching it to it.only.
// eslint-disable-next-line no-constant-condition
if (!'must be run in isolation') {
it('should only update language if connected', async () => {
document.documentElement.setAttribute('lang', 'fr');
await aTimeout(0);
expect(controller.current).to.equal('fr', 'Language should be detected when connected');
controller.hostDisconnected();

document.documentElement.setAttribute('lang', 'en');
await aTimeout(0);

expect(controller.current).to.equal('fr', 'Language should not be update when disconnected');

controller.hostConnected();
expect(controller.current).to.equal(
'en',
'Language should immediately be update when connected',
);
});
}
});
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10194,7 +10194,12 @@ [email protected]:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.2.tgz#0ae9cebcfae970718474fe0da2c090cad6577372"
integrity sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==

[email protected], typescript@^5.4.4, typescript@^5.4.5, typescript@^5.5.4:
[email protected]:
version "5.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.2.tgz#d1de67b6bef77c41823f822df8f0b3bcff60a5a0"
integrity sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==

typescript@^5.4.4, typescript@^5.4.5, typescript@^5.5.4:
version "5.5.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
Expand Down

0 comments on commit 2447cc0

Please sign in to comment.