brightspace-mcp-server 3.10.2 → 3.10.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.
|
@@ -56,5 +56,7 @@ export async function trashFile(file, options) {
|
|
|
56
56
|
if (options.trash)
|
|
57
57
|
return options.trash(file);
|
|
58
58
|
const { default: trash } = await import("trash");
|
|
59
|
-
|
|
59
|
+
// A literal path, never a pattern: a bracket or brace in the home directory
|
|
60
|
+
// name must not be read as a glob.
|
|
61
|
+
await trash(file, { glob: false });
|
|
60
62
|
}
|
|
@@ -29,7 +29,7 @@ export async function retireLegacyProfile(sessionDir) {
|
|
|
29
29
|
if (error.code !== "ENOENT")
|
|
30
30
|
return;
|
|
31
31
|
}
|
|
32
|
-
await trash([profile]);
|
|
32
|
+
await trash([profile], { glob: false });
|
|
33
33
|
log("INFO", "Moved the retired v1 browser-data profile to Trash. It can be restored there.");
|
|
34
34
|
}
|
|
35
35
|
catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brightspace-mcp-server",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.3",
|
|
4
4
|
"mcpName": "io.github.RohanMuppa/brightspace",
|
|
5
5
|
"description": "MCP server for Brightspace (D2L). Check grades, due dates, assignments, announcements, syllabus, rosters and more via Claude, ChatGPT, Cursor, Windsurf, or any MCP client.",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"file-type": "^21.3.0",
|
|
34
34
|
"playwright": "^1.58.2",
|
|
35
35
|
"sanitize-filename": "^1.6.3",
|
|
36
|
-
"trash": "^
|
|
36
|
+
"trash": "^9.0.0",
|
|
37
37
|
"turndown": "^7.2.2",
|
|
38
38
|
"unpdf": "^1.4.0",
|
|
39
39
|
"zod": "^4.0.0"
|