mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-23 09:45:46 +03:00
Upgrade dependencies + autoPause for lite-youtube
This commit is contained in:
parent
6502a1f4b9
commit
06b56a8c67
3 changed files with 697 additions and 1147 deletions
1830
package-lock.json
generated
1830
package-lock.json
generated
File diff suppressed because it is too large
Load diff
12
package.json
12
package.json
|
@ -16,12 +16,12 @@
|
|||
"readme:i18n-volunteers": "node scripts/update-i18n-volunteers-readme.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@formatjs/intl-localematcher": "~0.5.7",
|
||||
"@formatjs/intl-segmenter": "~11.7.3",
|
||||
"@formatjs/intl-localematcher": "~0.5.8",
|
||||
"@formatjs/intl-segmenter": "~11.7.4",
|
||||
"@formkit/auto-animate": "~0.8.2",
|
||||
"@github/text-expander-element": "~2.8.0",
|
||||
"@iconify-icons/mingcute": "~1.2.9",
|
||||
"@justinribeiro/lite-youtube": "~1.5.0",
|
||||
"@justinribeiro/lite-youtube": "~1.6.0",
|
||||
"@lingui/detect-locale": "~4.14.0",
|
||||
"@lingui/macro": "~4.14.0",
|
||||
"@lingui/react": "~4.14.0",
|
||||
|
@ -39,7 +39,7 @@
|
|||
"lz-string": "~1.5.0",
|
||||
"masto": "~6.10.1",
|
||||
"moize": "~6.1.6",
|
||||
"p-retry": "~6.2.0",
|
||||
"p-retry": "~6.2.1",
|
||||
"p-throttle": "~6.2.0",
|
||||
"preact": "~10.24.3",
|
||||
"punycode": "~2.3.1",
|
||||
|
@ -65,13 +65,13 @@
|
|||
"babel-plugin-macros": "~3.1.0",
|
||||
"postcss": "~8.4.49",
|
||||
"postcss-dark-theme-class": "~1.3.0",
|
||||
"postcss-preset-env": "~10.1.0",
|
||||
"postcss-preset-env": "~10.1.1",
|
||||
"sonda": "~0.6.0",
|
||||
"twitter-text": "~3.1.0",
|
||||
"vite": "~5.4.11",
|
||||
"vite-plugin-generate-file": "~0.2.0",
|
||||
"vite-plugin-html-config": "~2.0.2",
|
||||
"vite-plugin-pwa": "~0.20.5",
|
||||
"vite-plugin-pwa": "~0.21.0",
|
||||
"vite-plugin-remove-console": "~2.2.0",
|
||||
"vite-plugin-run": "~0.6.0",
|
||||
"workbox-cacheable-response": "~7.3.0",
|
||||
|
|
|
@ -2892,7 +2892,7 @@ function Card({ card, selfReferential, selfAuthor, instance }) {
|
|||
if (videoID) {
|
||||
return (
|
||||
<a class="card video" onClick={handleClick}>
|
||||
<lite-youtube videoid={videoID} nocookie></lite-youtube>
|
||||
<lite-youtube videoid={videoID} nocookie autoPause></lite-youtube>
|
||||
</a>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue