lightnet 4.6.1 → 4.6.3

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # lightnet
2
2
 
3
+ ## 4.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#458](https://github.com/LightNetDev/LightNet/pull/458) [`c1eb520`](https://github.com/LightNetDev/LightNet/commit/c1eb520dceae028e46c7b6b93a8a02c2a5169ccb) - Inline the view transition opt-in CSS in the page head to prevent browsers from aborting page transitions before the external stylesheet loads.
8
+
9
+ ## 4.6.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#456](https://github.com/LightNetDev/LightNet/pull/456) [`2c49737`](https://github.com/LightNetDev/LightNet/commit/2c4973792aa695a2b19acc04744aca39bb7f868d) - Render relative MP4 upload URLs in the native video player instead of the external-link fallback.
14
+
15
+ - [#456](https://github.com/LightNetDev/LightNet/pull/456) [`2c49737`](https://github.com/LightNetDev/LightNet/commit/2c4973792aa695a2b19acc04744aca39bb7f868d) - Update dependencies.
16
+
3
17
  ## 4.6.1
4
18
 
5
19
  ### 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.6.1",
6
+ "version": "4.6.3",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/LightNetDev/lightnet",
@@ -52,35 +52,35 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@astrojs/react": "^5.0.7",
55
- "@iconify-json/lucide": "^1.2.130",
55
+ "@iconify-json/lucide": "^1.2.145",
56
56
  "@iconify-json/mdi": "^1.2.3",
57
57
  "@iconify/tailwind": "^1.2.0",
58
58
  "@tailwindcss/typography": "^0.5.20",
59
- "@tanstack/react-virtual": "^3.14.11",
60
- "autoprefixer": "^10.5.5",
59
+ "@tanstack/react-virtual": "^3.14.21",
60
+ "autoprefixer": "^10.6.1",
61
61
  "embla-carousel": "^8.6.0",
62
62
  "embla-carousel-wheel-gestures": "^8.1.0",
63
63
  "fuse.js": "^7.5.0",
64
- "i18next": "^26.4.2",
65
- "lucide-react": "^1.43.0",
66
- "marked": "^18.0.12",
67
- "postcss": "^8.5.28",
64
+ "i18next": "^26.5.2",
65
+ "lucide-react": "^1.59.0",
66
+ "marked": "^18.1.1",
67
+ "postcss": "^8.5.30",
68
68
  "postcss-load-config": "^6.0.1",
69
- "yaml": "^2.9.0"
69
+ "yaml": "^2.9.1"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@internal/e2e-test-utils": "^0.0.1",
73
- "@playwright/test": "^1.63.0",
74
- "@types/react": "^19.2.18",
73
+ "@playwright/test": "^1.64.1",
74
+ "@types/react": "^19.3.0",
75
75
  "astro": "^6.4.8",
76
76
  "typescript": "^6.0.3",
77
- "vitest": "^5.0.0"
77
+ "vitest": "^5.0.5"
78
78
  },
79
79
  "engines": {
80
80
  "node": ">=22"
81
81
  },
82
82
  "scripts": {
83
- "test": "vitest",
83
+ "test": "vitest run",
84
84
  "e2e": "playwright test"
85
85
  }
86
86
  }
@@ -44,7 +44,7 @@ async function parseUrl(
44
44
 
45
45
  let url: URL
46
46
  try {
47
- url = new URL(urlToParse)
47
+ url = new URL(urlToParse, Astro.url)
48
48
  } catch {
49
49
  return {
50
50
  host: "external",
@@ -81,12 +81,12 @@ async function parseUrl(
81
81
  // https://domain.com/video.mp4
82
82
  if (url.pathname.endsWith(".mp4")) {
83
83
  const image = await resolvedImage()
84
- return { host: "mp4", id: url.toString(), image }
84
+ return { host: "mp4", id: urlToParse, image }
85
85
  }
86
86
  return {
87
87
  host: "external",
88
88
  id: null,
89
- href: url.toString(),
89
+ href: urlToParse,
90
90
  image: await resolvedImage(),
91
91
  }
92
92
  }
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  ---
3
3
 
4
- <style is:global>
4
+ <style is:inline>
5
5
  @view-transition {
6
6
  navigation: auto;
7
7
  }