lightnet 4.11.1 → 4.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +6 -6
- package/src/components/Section.astro +2 -2
- package/src/i18n/translate.ts +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# lightnet
|
|
2
2
|
|
|
3
|
+
## 4.11.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#483](https://github.com/LightNetDev/LightNet/pull/483) [`4cffda8`](https://github.com/LightNetDev/LightNet/commit/4cffda83df30250f8fbfab951ee788a0986737e0) - Update dependencies.
|
|
8
|
+
|
|
9
|
+
- [#483](https://github.com/LightNetDev/LightNet/pull/483) [`4cffda8`](https://github.com/LightNetDev/LightNet/commit/4cffda83df30250f8fbfab951ee788a0986737e0) - Make homepage mobile layout a bit more dense.
|
|
10
|
+
|
|
3
11
|
## 4.11.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "LightNet makes it easy to run your own digital media library.",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "4.11.
|
|
6
|
+
"version": "4.11.2",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/LightNetDev/lightnet",
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@astrojs/react": "^5.0.7",
|
|
58
58
|
"@astrojs/sitemap": "^3.7.4",
|
|
59
|
-
"@iconify-json/lucide": "^1.2.
|
|
59
|
+
"@iconify-json/lucide": "^1.2.152",
|
|
60
60
|
"@iconify-json/mdi": "^1.2.3",
|
|
61
61
|
"@iconify/tailwind": "^1.2.0",
|
|
62
62
|
"@tailwindcss/typography": "^0.5.20",
|
|
63
|
-
"@tanstack/react-virtual": "^3.14.
|
|
63
|
+
"@tanstack/react-virtual": "^3.14.26",
|
|
64
64
|
"autoprefixer": "^10.6.2",
|
|
65
65
|
"embla-carousel": "^8.6.0",
|
|
66
66
|
"embla-carousel-wheel-gestures": "^8.1.0",
|
|
67
67
|
"fuse.js": "^7.5.0",
|
|
68
|
-
"i18next": "^
|
|
69
|
-
"lucide-react": "^1.
|
|
68
|
+
"i18next": "^27.0.1",
|
|
69
|
+
"lucide-react": "^1.70.0",
|
|
70
70
|
"marked": "^18.1.3",
|
|
71
71
|
"postcss": "^8.5.32",
|
|
72
72
|
"postcss-load-config": "^6.0.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@internal/e2e-test-utils": "^0.0.1",
|
|
77
|
-
"@playwright/test": "^1.
|
|
77
|
+
"@playwright/test": "^1.65.0",
|
|
78
78
|
"@types/react": "^19.3.0",
|
|
79
79
|
"astro": "^6.4.8",
|
|
80
80
|
"typescript": "^6.0.3",
|
|
@@ -61,8 +61,8 @@ const maxWidths = {
|
|
|
61
61
|
|
|
62
62
|
const marginTopValues = {
|
|
63
63
|
none: "",
|
|
64
|
-
sm: "mt-
|
|
65
|
-
lg: "mt-
|
|
64
|
+
sm: "mt-12 md:mt-20",
|
|
65
|
+
lg: "mt-16 md:mt-28",
|
|
66
66
|
}
|
|
67
67
|
const iconDirectionClass =
|
|
68
68
|
Astro.locals.i18n.direction === "rtl" ? "scale-x-[-1]" : ""
|
package/src/i18n/translate.ts
CHANGED
|
@@ -99,10 +99,7 @@ export async function useTranslate(
|
|
|
99
99
|
})
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
const t = i18n.getFixedT(resolvedLocale)
|
|
103
|
-
key: TranslationKey,
|
|
104
|
-
options?: TOptions,
|
|
105
|
-
) => string
|
|
102
|
+
const t = i18n.getFixedT(resolvedLocale)
|
|
106
103
|
const value = t(input, { fallbackLng, ...options })
|
|
107
104
|
if (value === input && !availableTranslationKeys.has(input)) {
|
|
108
105
|
throw new AstroError(
|