Use astro-embed for Youtube instead of custom implementation

This commit is contained in:
prototypa
2024-04-11 22:11:34 -04:00
parent 4dff61ae20
commit 3dbffbad86
4 changed files with 35 additions and 283 deletions

31
package-lock.json generated
View File

@@ -1,13 +1,14 @@
{
"name": "@onwidget/astrowind",
"version": "1.0.0-beta.23",
"version": "1.0.0-beta.24",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@onwidget/astrowind",
"version": "1.0.0-beta.23",
"version": "1.0.0-beta.24",
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.2",
"@astrojs/rss": "^4.0.5",
"@astrojs/sitemap": "^3.1.2",
"@astrolib/analytics": "^0.5.0",
@@ -190,6 +191,17 @@
"url": "https://github.com/sponsors/antfu"
}
},
"node_modules/@astro-community/astro-embed-youtube": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-youtube/-/astro-embed-youtube-0.5.2.tgz",
"integrity": "sha512-cckWcq7mFCmI6uPpIlRolSafSQRYZBOaxIc8DaCUh8+JQAtPF7O4EdpRpZBUcvbARrWEEyHJCWrt0XOGppMniw==",
"dependencies": {
"lite-youtube-embed": "^0.3.2"
},
"peerDependencies": {
"astro": "^2.0.0 || ^3.0.0-beta || ^4.0.0-beta"
}
},
"node_modules/@astrojs/compiler": {
"version": "2.7.1",
"license": "MIT"
@@ -679,6 +691,16 @@
"node": ">=18.0.0"
}
},
"node_modules/@emnapi/runtime": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.1.1.tgz",
"integrity": "sha512-3bfqkzuR1KLx57nZfjr2NLnFOobvyS0aTszaEGCGqmYMVDRaGvgIZbjGSV/MHSSmLgQ/b9JFHQ5xm5WRZYd+XQ==",
"dev": true,
"optional": true,
"dependencies": {
"tslib": "^2.4.0"
}
},
"node_modules/@esbuild/aix-ppc64": {
"version": "0.19.12",
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz",
@@ -7053,6 +7075,11 @@
"dev": true,
"license": "MIT"
},
"node_modules/lite-youtube-embed": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/lite-youtube-embed/-/lite-youtube-embed-0.3.2.tgz",
"integrity": "sha512-b1dgKyF4PHhinonmr3PB172Nj0qQgA/7DE9EmeIXHR1ksnFEC2olWjNJyJGdsN2cleKHRjjsmrziKlwXtPlmLQ=="
},
"node_modules/load-yaml-file": {
"version": "0.2.0",
"license": "MIT",