@anjianshi/utils 2.4.7 → 2.4.9
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.
|
@@ -124,6 +124,7 @@ export class FileHandler extends LogHandler {
|
|
|
124
124
|
if (this.options.flushInterval !== 0) {
|
|
125
125
|
setInterval(() => this.flush(), this.options.flushInterval);
|
|
126
126
|
}
|
|
127
|
+
process.on('exit', () => this.flush());
|
|
127
128
|
}
|
|
128
129
|
// 文件系统交互 File system interaction
|
|
129
130
|
get filepath() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anjianshi/utils",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.9",
|
|
4
4
|
"description": "Common JavaScript Utils",
|
|
5
5
|
"homepage": "https://github.com/anjianshi/js-packages/utils",
|
|
6
6
|
"bugs": {
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"redis": "^4.7.0",
|
|
28
28
|
"typescript": "^5.6.3",
|
|
29
29
|
"vconsole": "^3.15.1",
|
|
30
|
-
"@anjianshi/presets-eslint-node": "4.0.
|
|
31
|
-
"@anjianshi/presets-eslint-
|
|
32
|
-
"@anjianshi/presets-
|
|
33
|
-
"@anjianshi/presets-typescript": "3.2.
|
|
34
|
-
"@anjianshi/presets-
|
|
30
|
+
"@anjianshi/presets-eslint-node": "4.0.13",
|
|
31
|
+
"@anjianshi/presets-eslint-typescript": "5.0.10",
|
|
32
|
+
"@anjianshi/presets-prettier": "3.0.1",
|
|
33
|
+
"@anjianshi/presets-typescript": "3.2.3",
|
|
34
|
+
"@anjianshi/presets-eslint-react": "4.0.12"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@emotion/react": "^11.13.3",
|