This commit is contained in:
Zhenglai Zhang 2021-12-13 14:16:13 +08:00
Родитель f04512bfd0
Коммит 40997d3c30
5 изменённых файлов: 30 добавлений и 12 удалений

33
package-lock.json сгенерированный
Просмотреть файл

@ -2582,6 +2582,15 @@
"pify": "^3.0.0"
}
},
"rxjs": {
"version": "6.6.7",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz",
"integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==",
"dev": true,
"requires": {
"tslib": "^1.9.0"
}
},
"supports-color": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",
@ -8248,11 +8257,18 @@
"dev": true
},
"rxjs": {
"version": "6.5.2",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz",
"integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==",
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.4.0.tgz",
"integrity": "sha512-7SQDi7xeTMCJpqViXh8gL/lebcwlp3d831F05+9B44A4B0WfsEwUQHR64gsH1kvJ+Ep/J9K2+n1hVl1CsGN23w==",
"requires": {
"tslib": "^1.9.0"
"tslib": "~2.1.0"
},
"dependencies": {
"tslib": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
"integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A=="
}
}
},
"safe-buffer": {
@ -9077,7 +9093,8 @@
"tslib": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ=="
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==",
"dev": true
},
"tslint": {
"version": "5.17.0",
@ -9358,9 +9375,9 @@
}
},
"typescript": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.1.tgz",
"integrity": "sha512-64HkdiRv1yYZsSe4xC1WVgamNigVYjlssIoaH2HcZF0+ijsk5YK2g0G34w9wJkze8+5ow4STd22AynfO6ZYYLw==",
"version": "4.5.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.3.tgz",
"integrity": "sha512-eVYaEHALSt+s9LbvgEv4Ef+Tdq7hBiIZgii12xXJnukryt3pMgJf6aKhoCZ3FWQsu6sydEnkg11fYXLzhLBjeQ==",
"dev": true
},
"uglify-js": {

Просмотреть файл

@ -53,7 +53,7 @@
"tslint": "^5.17.0",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "^3.5.1"
"typescript": "^4.5.3"
},
"dependencies": {
"@nestjs/common": "^8.0.6",
@ -75,7 +75,7 @@
"nodegit": "^0.26.4",
"reflect-metadata": "^0.1.13",
"rimraf": "^2.6.3",
"rxjs": "^6.5.2",
"rxjs": "^7.4.0",
"sqlite3": "^4.0.9",
"swagger-ui-express": "^4.1.2",
"triple-beam": "^1.3.0",

Просмотреть файл

@ -50,7 +50,7 @@ export class DiskUsageService {
try {
return await diskusage.check(this.config.dataDir);
} catch (error) {
this.logger.error("Failed to get disk usage", error);
this.logger.error("Failed to get disk usage", error as any);
return undefined;
}
}

Просмотреть файл

@ -83,7 +83,7 @@ export class LocalRepo {
this.refs.complete();
}
if (!this.onDestroy.closed) {
this.onDestroy.next();
this.onDestroy.next(null);
this.onDestroy.complete();
}
}

Просмотреть файл

@ -26,6 +26,7 @@
"incremental": true,
"tsBuildInfoFile": "./buildcache/backend.tsbuildinfo",
"skipDefaultLibCheck": true,
/* Additional Checks */
"noUnusedLocals": true,