Use oddbird package not remote

vielle.dev d2219c43 fa2bb99a

verified
Changed files
+47 -2
src
components
home
+1
package.json
··· 19 19 "@atcute/client": "^4.0.3", 20 20 "@atcute/identity-resolver": "^1.1.3", 21 21 "@atcute/lexicons": "^1.1.0", 22 + "@oddbird/css-anchor-positioning": "^0.6.1", 22 23 "@spotify/web-api-ts-sdk": "^1.2.0", 23 24 "astro": "^5.12.6", 24 25 "sharp": "^0.34.3"
+45
pnpm-lock.yaml
··· 40 40 '@atcute/lexicons': 41 41 specifier: ^1.1.0 42 42 version: 1.1.0 43 + '@oddbird/css-anchor-positioning': 44 + specifier: ^0.6.1 45 + version: 0.6.1 43 46 '@spotify/web-api-ts-sdk': 44 47 specifier: ^1.2.0 45 48 version: 1.2.0(patch_hash=b36369a918d02543ad679d04428064d9b233b61da7ff46f9af693ee7cd3901d9) ··· 295 298 engines: {node: '>=18'} 296 299 cpu: [x64] 297 300 os: [win32] 301 + 302 + '@floating-ui/core@1.7.3': 303 + resolution: {integrity: sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==} 304 + 305 + '@floating-ui/dom@1.7.3': 306 + resolution: {integrity: sha512-uZA413QEpNuhtb3/iIKoYMSK07keHPYeXF02Zhd6e213j+d1NamLix/mCLxBUDW/Gx52sPH2m+chlUsyaBs/Ag==} 307 + 308 + '@floating-ui/utils@0.2.10': 309 + resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==} 298 310 299 311 '@img/sharp-darwin-arm64@0.33.5': 300 312 resolution: {integrity: sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==} ··· 526 538 '@jridgewell/sourcemap-codec@1.5.4': 527 539 resolution: {integrity: sha512-VT2+G1VQs/9oz078bLrYbecdZKs912zQlkelYpuf+SXF+QvZDYJlbx/LSx+meSAwdDFnF8FVXW92AVjjkVmgFw==} 528 540 541 + '@oddbird/css-anchor-positioning@0.6.1': 542 + resolution: {integrity: sha512-/M1guQMJROMAFjS0uTmcg93S2X5r0Gwe6m5DqmRrGxNEUe1llmY6/Qw8UuhvexP6yeD+GDCP9CJtXBJS1vS9UQ==} 543 + 529 544 '@oslojs/encoding@1.1.0': 530 545 resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==} 531 546 ··· 664 679 665 680 '@swc/helpers@0.5.17': 666 681 resolution: {integrity: sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==} 682 + 683 + '@types/css-tree@2.3.10': 684 + resolution: {integrity: sha512-WcaBazJ84RxABvRttQjjFWgTcHvZR9jGr0Y3hccPkHjFyk/a3N8EuxjKr+QfrwjoM5b1yI1Uj1i7EzOAAwBwag==} 667 685 668 686 '@types/debug@4.1.12': 669 687 resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} ··· 1245 1263 nanoid@3.3.11: 1246 1264 resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} 1247 1265 engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} 1266 + hasBin: true 1267 + 1268 + nanoid@5.1.5: 1269 + resolution: {integrity: sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==} 1270 + engines: {node: ^18 || >=20} 1248 1271 hasBin: true 1249 1272 1250 1273 neotraverse@0.6.18: ··· 1994 2017 '@esbuild/win32-x64@0.25.8': 1995 2018 optional: true 1996 2019 2020 + '@floating-ui/core@1.7.3': 2021 + dependencies: 2022 + '@floating-ui/utils': 0.2.10 2023 + 2024 + '@floating-ui/dom@1.7.3': 2025 + dependencies: 2026 + '@floating-ui/core': 1.7.3 2027 + '@floating-ui/utils': 0.2.10 2028 + 2029 + '@floating-ui/utils@0.2.10': {} 2030 + 1997 2031 '@img/sharp-darwin-arm64@0.33.5': 1998 2032 optionalDependencies: 1999 2033 '@img/sharp-libvips-darwin-arm64': 1.0.4 ··· 2157 2191 2158 2192 '@jridgewell/sourcemap-codec@1.5.4': {} 2159 2193 2194 + '@oddbird/css-anchor-positioning@0.6.1': 2195 + dependencies: 2196 + '@floating-ui/dom': 1.7.3 2197 + '@types/css-tree': 2.3.10 2198 + css-tree: 3.1.0 2199 + nanoid: 5.1.5 2200 + 2160 2201 '@oslojs/encoding@1.1.0': {} 2161 2202 2162 2203 '@rollup/pluginutils@5.2.0(rollup@4.46.2)': ··· 2265 2306 '@swc/helpers@0.5.17': 2266 2307 dependencies: 2267 2308 tslib: 2.8.1 2309 + 2310 + '@types/css-tree@2.3.10': {} 2268 2311 2269 2312 '@types/debug@4.1.12': 2270 2313 dependencies: ··· 3136 3179 ms@2.1.3: {} 3137 3180 3138 3181 nanoid@3.3.11: {} 3182 + 3183 + nanoid@5.1.5: {} 3139 3184 3140 3185 neotraverse@0.6.18: {} 3141 3186
+1 -2
src/components/home/playing/NowPlaying.astro
··· 415 415 if (!CSS.supports("top", "calc(anchor(--player bottom) + 10px)")) { 416 416 // enable anchor polyfill 417 417 const { default: anchor } = await import( 418 - // @ts-expect-error ts cant find remote types lol 419 - "https://unpkg.com/@oddbird/css-anchor-positioning/dist/css-anchor-positioning-fn.js" 418 + "@oddbird/css-anchor-positioning/fn" 420 419 ); 421 420 422 421 anchor().then(() =>