mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix memory leak
This commit is contained in:
+6
-6
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "159.3.2",
|
"version": "159.3.3",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -31,9 +31,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/opus": "^0.10.0",
|
"@discordjs/opus": "^0.10.0",
|
||||||
"@discordjs/voice": "^0.19.0",
|
"@discordjs/voice": "^0.19.0",
|
||||||
"@dotenvx/dotenvx": "^1.51.2",
|
"@dotenvx/dotenvx": "^1.51.4",
|
||||||
"@mediapipe/face_detection": "^0.4.1646425229",
|
"@mediapipe/face_detection": "^0.4.1646425229",
|
||||||
"@napi-rs/canvas": "^0.1.86",
|
"@napi-rs/canvas": "^0.1.88",
|
||||||
"@skyra/gifenc": "^1.0.1",
|
"@skyra/gifenc": "^1.0.1",
|
||||||
"@snazzah/davey": "^0.1.9",
|
"@snazzah/davey": "^0.1.9",
|
||||||
"@tensorflow-models/face-detection": "^1.0.3",
|
"@tensorflow-models/face-detection": "^1.0.3",
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
"bombsweeper.js": "^1.0.1",
|
"bombsweeper.js": "^1.0.1",
|
||||||
"buffer": "^6.0.3",
|
"buffer": "^6.0.3",
|
||||||
"cheerio": "^1.1.2",
|
"cheerio": "^1.1.2",
|
||||||
"city-timezones": "^1.3.2",
|
"city-timezones": "^1.3.3",
|
||||||
"cloc": "2.6.0-cloc",
|
"cloc": "2.6.0-cloc",
|
||||||
"common-tags": "^1.8.2",
|
"common-tags": "^1.8.2",
|
||||||
"connect4-ai": "^0.1.3",
|
"connect4-ai": "^0.1.3",
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
"gm": "^1.25.1",
|
"gm": "^1.25.1",
|
||||||
"html-entities": "^2.6.0",
|
"html-entities": "^2.6.0",
|
||||||
"image-to-ascii": "^3.3.0",
|
"image-to-ascii": "^3.3.0",
|
||||||
"ioredis": "^5.8.2",
|
"ioredis": "^5.9.0",
|
||||||
"js-chess-engine": "1.0.2",
|
"js-chess-engine": "1.0.2",
|
||||||
"jszip": "^3.10.1",
|
"jszip": "^3.10.1",
|
||||||
"kuroshiro": "^1.2.0",
|
"kuroshiro": "^1.2.0",
|
||||||
@@ -99,6 +99,6 @@
|
|||||||
"eslint": "^9.39.2",
|
"eslint": "^9.39.2",
|
||||||
"eslint-config-amber": "^2.0.5",
|
"eslint-config-amber": "^2.0.5",
|
||||||
"eslint-plugin-jsonc": "^2.21.0",
|
"eslint-plugin-jsonc": "^2.21.0",
|
||||||
"globals": "^16.5.0"
|
"globals": "^17.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ module.exports = class JeopardyScrape {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.exportData();
|
this.exportData();
|
||||||
|
this.imported = true;
|
||||||
return this.clues.length - cluesBefore;
|
return this.clues.length - cluesBefore;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user