diff --git a/api/lib/logger.ts b/api/lib/logger.ts index c370af8eb3..831e115089 100644 --- a/api/lib/logger.ts +++ b/api/lib/logger.ts @@ -1,6 +1,6 @@ import DailyRotateFile, { DailyRotateFileTransportOptions, -} from '@zwave-js/winston-daily-rotate-file' +} from 'winston-daily-rotate-file' import { ensureDirSync } from 'fs-extra' import winston from 'winston' import { logsDir, storeDir } from '../config/app' diff --git a/package-lock.json b/package-lock.json index 88c62ac809..973cca5c6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,6 @@ "@kvaster/zwavejs-prom": "^0.0.2", "@mdi/js": "7.4.47", "@zwave-js/server": "^1.38.0", - "@zwave-js/winston-daily-rotate-file": "^4.5.6-1", "ansi_up": "^6.0.2", "archiver": "^7.0.1", "axios": "^1.7.2", @@ -58,6 +57,7 @@ "vuedraggable": "^2.24.3", "vuetify": "^2.7.2", "winston": "^3.13.0", + "winston-daily-rotate-file": "^5.0.0", "zwave-js": "^13.3.0" }, "bin": { @@ -4816,14 +4816,6 @@ "url": "https://github.com/sponsors/AlCalzone/" } }, - "node_modules/@zwave-js/file-stream-rotator": { - "version": "0.5.8-0", - "resolved": "https://registry.npmjs.org/@zwave-js/file-stream-rotator/-/file-stream-rotator-0.5.8-0.tgz", - "integrity": "sha512-gy9G4vCjjyG08pOKvXu0mSZPqk3gYtBSstZXVFAF8QZeJcKgsJCwZpsAXw26MR5297VqPtqR8XRwxyCyjaj6uQ==", - "dependencies": { - "moment": "^2.11.2" - } - }, "node_modules/@zwave-js/host": { "version": "13.3.0", "resolved": "https://registry.npmjs.org/@zwave-js/host/-/host-13.3.0.tgz", @@ -5043,23 +5035,6 @@ "url": "https://github.com/sponsors/AlCalzone/" } }, - "node_modules/@zwave-js/winston-daily-rotate-file": { - "version": "4.5.6-1", - "resolved": "https://registry.npmjs.org/@zwave-js/winston-daily-rotate-file/-/winston-daily-rotate-file-4.5.6-1.tgz", - "integrity": "sha512-K2I3HcOKOVk5frYWhWyR53gCLKwPi68N+s/2Q7rTqf8P/6800uGEukEFscMY5pa9zfDGN1Be8hxyu4B/IgDHog==", - "dependencies": { - "@zwave-js/file-stream-rotator": "^0.5.8-0", - "object-hash": "^2.0.1", - "triple-beam": "^1.3.0", - "winston-transport": "^4.4.2" - }, - "engines": { - "node": ">=8" - }, - "peerDependencies": { - "winston": "^3.3.4" - } - }, "node_modules/abort-controller": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", @@ -14089,14 +14064,6 @@ "node": ">=0.10.0" } }, - "node_modules/object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", - "engines": { - "node": ">= 6" - } - }, "node_modules/object-inspect": { "version": "1.13.1", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", @@ -19618,7 +19585,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/winston-daily-rotate-file/-/winston-daily-rotate-file-5.0.0.tgz", "integrity": "sha512-JDjiXXkM5qvwY06733vf09I2wnMXpZEhxEVOSPenZMii+g7pcDcTBt2MRugnoi8BwVSuCT2jfRXBUy+n1Zz/Yw==", - "license": "MIT", "dependencies": { "file-stream-rotator": "^0.6.1", "object-hash": "^3.0.0", diff --git a/package.json b/package.json index 6337df1d42..685974e146 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,6 @@ "@kvaster/zwavejs-prom": "^0.0.2", "@mdi/js": "7.4.47", "@zwave-js/server": "^1.38.0", - "@zwave-js/winston-daily-rotate-file": "^4.5.6-1", "ansi_up": "^6.0.2", "archiver": "^7.0.1", "axios": "^1.7.2", @@ -110,6 +109,7 @@ "vuedraggable": "^2.24.3", "vuetify": "^2.7.2", "winston": "^3.13.0", + "winston-daily-rotate-file": "^5.0.0", "zwave-js": "^13.3.0" }, "devDependencies": {