@sparkelf/dsh-patch-better-sidebar-media-path 0.2.0-rc.5 → 0.2.0-rc.50
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/package.json
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
"formatVersion": 1,
|
|
5
5
|
"variants": [
|
|
6
6
|
{
|
|
7
|
-
"dsh": ">=0.
|
|
7
|
+
"dsh": ">=0.2.0-rc.2",
|
|
8
8
|
"file": "./patches/better-sidebar-media-path.patch",
|
|
9
9
|
"id": "better-sidebar-media-path",
|
|
10
10
|
"target": {
|
|
11
11
|
"kind": "npm",
|
|
12
12
|
"name": "dsh-better-sidebar",
|
|
13
|
-
"range": "0.
|
|
13
|
+
"range": "0.21.1"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
]
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
|
|
34
34
|
},
|
|
35
35
|
"type": "module",
|
|
36
|
-
"version": "0.2.0-rc.
|
|
36
|
+
"version": "0.2.0-rc.50"
|
|
37
37
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
diff --git a/lib/index.js b/lib/index.js
|
|
2
|
-
index 74c7171..278ca90 100644
|
|
3
2
|
--- a/lib/index.js
|
|
4
3
|
+++ b/lib/index.js
|
|
5
|
-
@@ -
|
|
4
|
+
@@ -3436,7 +3436,10 @@
|
|
6
5
|
const sessionId = url.searchParams.get("sessionId");
|
|
7
6
|
const raw = url.searchParams.get("path");
|
|
8
7
|
if (sessionId === null || raw === null) throw new SidebarError("bad-request", "sessionId and path are required");
|