diff --git a/package-lock.json b/package-lock.json index 687bf66..69752db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,10 +9,10 @@ "version": "0.0.2", "devDependencies": { "@astrojs/check": "^0.9.4", - "@astrojs/starlight": "^0.29.0", + "@astrojs/starlight": "^0.29.2", "@inox-tools/portal-gun": "^0.1.1", - "@playwright/test": "^1.48.2", - "@types/node": "^22.9.0", + "@playwright/test": "^1.49.0", + "@types/node": "^22.9.1", "@vtbag/cam-shaft": "^1.0.1", "@vtbag/element-crossing": "^1.0.3", "@vtbag/inspection-chamber": "^1.0.17", @@ -192,9 +192,9 @@ } }, "node_modules/@astrojs/starlight": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@astrojs/starlight/-/starlight-0.29.0.tgz", - "integrity": "sha512-0HRr7LiI0XJUA5n0Mj5LPSLZtw80ttkL6eh824y6t/DCcvJzC6e+HRQZ0hIolU8jsEMc7Qs07mMQIvPTpX9KMg==", + "version": "0.29.2", + "resolved": "https://registry.npmjs.org/@astrojs/starlight/-/starlight-0.29.2.tgz", + "integrity": "sha512-xv9AhWkP3fxCB6EF6MlT4yEbxzye3aMSbuVbFEGbQh8G/w1MPhdNCnQakIHpmIwwyxwG9cW3mQdAZum4oOO39w==", "dev": true, "license": "MIT", "dependencies": { @@ -1710,13 +1710,13 @@ ] }, "node_modules/@playwright/test": { - "version": "1.48.2", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.48.2.tgz", - "integrity": "sha512-54w1xCWfXuax7dz4W2M9uw0gDyh+ti/0K/MxcCUxChFh37kkdxPdfZDw5QBbuPUJHr1CiHJ1hXgSs+GgeQc5Zw==", + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.49.0.tgz", + "integrity": "sha512-DMulbwQURa8rNIQrf94+jPJQ4FmOVdpE5ZppRNvWVjvhC+6sOeo28r8MgIpQRYouXRtt/FCCXU7zn20jnHR4Qw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.48.2" + "playwright": "1.49.0" }, "bin": { "playwright": "cli.js" @@ -2152,9 +2152,9 @@ } }, "node_modules/@types/node": { - "version": "22.9.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.0.tgz", - "integrity": "sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==", + "version": "22.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", + "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", "dev": true, "license": "MIT", "dependencies": { @@ -6123,13 +6123,13 @@ } }, "node_modules/playwright": { - "version": "1.48.2", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.48.2.tgz", - "integrity": "sha512-NjYvYgp4BPmiwfe31j4gHLa3J7bD2WiBz8Lk2RoSsmX38SVIARZ18VYjxLjAcDsAhA+F4iSEXTSGgjua0rrlgQ==", + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.49.0.tgz", + "integrity": "sha512-eKpmys0UFDnfNb3vfsf8Vx2LEOtflgRebl0Im2eQQnYMA4Aqd+Zw8bEOB+7ZKvN76901mRnqdsiOGKxzVTbi7A==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.48.2" + "playwright-core": "1.49.0" }, "bin": { "playwright": "cli.js" @@ -6142,9 +6142,9 @@ } }, "node_modules/playwright-core": { - "version": "1.48.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.48.2.tgz", - "integrity": "sha512-sjjw+qrLFlriJo64du+EK0kJgZzoQPsabGF4lBvsid+3CNIZIYLgnMj9V6JY5VhM2Peh20DJWIVpVljLLnlawA==", + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.49.0.tgz", + "integrity": "sha512-R+3KKTQF3npy5GTiKH/T+kdhoJfJojjHESR1YEWhYuEKRVfVaxH3+4+GvXE5xyCngCxhxnykk0Vlah9v8fs3jA==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 54c9c60..af22e60 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ }, "devDependencies": { "@astrojs/check": "^0.9.4", - "@astrojs/starlight": "^0.29.0", + "@astrojs/starlight": "^0.29.2", "@inox-tools/portal-gun": "^0.1.1", - "@playwright/test": "^1.48.2", - "@types/node": "^22.9.0", + "@playwright/test": "^1.49.0", + "@types/node": "^22.9.1", "@vtbag/cam-shaft": "^1.0.1", "@vtbag/element-crossing": "^1.0.3", "@vtbag/inspection-chamber": "^1.0.17", diff --git a/src/pages/tips/hide-and-seek/solution.astro b/src/pages/tips/hide-and-seek/solution.astro index 359c34a..d7d0dc4 100644 --- a/src/pages/tips/hide-and-seek/solution.astro +++ b/src/pages/tips/hide-and-seek/solution.astro @@ -48,9 +48,10 @@ import Bsky from "../../../components/Bsky.astro"; // Fallback for browsers that don't support view transitions addEventListener("DOMContentLoaded", () => { if ("onpagereveal" in window) return; - const itemList = document.querySelector("ul.cyber-list"); + const itemList = document.querySelector("ul"); itemList.innerHTML = createList(shuffleArray(cyberItems)); restoreScrollPositions(itemList); + setListener(); }); function restoreScrollPositions(itemList) {