-
-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Labels
triageA maintainer needs to review this issue and label it appropriatelyA maintainer needs to review this issue and label it appropriately
Description
Describe the bug
Bits now pulls in two versions (0.29.1 and 0.31.1) of Runed (for some reason), neither of which includes the fix for svecosystem/runed#309. Consequently, the compile error is now emitted twice on the latest 2.11.4 (whereas only once on 2.9.6).
Reproduction
Compile Bits
Logs
WARNING in ../node_modules/.pnpm/[email protected][email protected]/node_modules/runed/dist/utilities/is-idle/is-idle.svelte.js
⚠ Module Warning (from node_modules/.pnpm/[email protected][email protected]/node_modules/svelte-loader/index.js):
│ state_referenced_locally: This reference only captures the initial value of `events`. Did you mean to reference it inside a closure instead?
│ https://svelte.dev/e/state_referenced_locally
│ node_modules/.pnpm/[email protected][email protected]/node_modules/runed/dist/utilities/is-idle/is-idle.svelte.js:44:39
│ 42: debouncedReset();
│ 43: };
│ 44: useEventListener(() => window, events, () => {
│ ^
│ 45: handleActivity();
│ 46: }, { passive: true });
WARNING in ../node_modules/.pnpm/[email protected][email protected]/node_modules/runed/dist/utilities/is-idle/is-idle.svelte.js
⚠ Module Warning (from node_modules/.pnpm/[email protected][email protected]/node_modules/svelte-loader/index.js):
│ state_referenced_locally: This reference only captures the initial value of `events`. Did you mean to reference it inside a closure instead?
│ https://svelte.dev/e/state_referenced_locally
│ node_modules/.pnpm/[email protected][email protected]/node_modules/runed/dist/utilities/is-idle/is-idle.svelte.js:44:39
│ 42: debouncedReset();
│ 43: };
│ 44: useEventListener(() => window, events, () => {
│ ^
│ 45: handleActivity();
│ 46: }, { passive: true });
System Info
System:
OS: Linux 6.6 Ubuntu 24.04.3 LTS 24.04.3 LTS (Noble Numbat)
CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Memory: 13.62 GB / 15.62 GB
Container: Yes
Shell: 5.2.21 - /bin/bash
Binaries:
Node: 22.12.0 - /run/user/1000/fnm_multishells/1143_1759262570663/bin/node
npm: 10.9.0 - /run/user/1000/fnm_multishells/1143_1759262570663/bin/npm
pnpm: 10.17.1 - /run/user/1000/fnm_multishells/1143_1759262570663/bin/pnpm
npmPackages:
bits-ui: ^2.11.4 => 2.11.4
svelte: ^5.38.6 => 5.38.6
Severity
annoyance
Metadata
Metadata
Assignees
Labels
triageA maintainer needs to review this issue and label it appropriatelyA maintainer needs to review this issue and label it appropriately