@iobroker/db-objects-jsonl
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -104,3 +104,3 @@ /** | ||
if (this._db) { | ||
return this._db.close(); | ||
await this._db.close(); | ||
} | ||
@@ -107,0 +107,0 @@ } |
@@ -407,3 +407,3 @@ /** | ||
stats = fs.statSync(path.join(this.objectsDir, id, name)); | ||
} catch (err) { | ||
} catch { | ||
return void handler.sendNull(responseId); | ||
@@ -441,3 +441,3 @@ } | ||
data = this._readFile(id, name); | ||
} catch (err) { | ||
} catch { | ||
return void handler.sendNull(responseId); | ||
@@ -522,3 +522,3 @@ } | ||
this._rename(oldDetails.id, oldDetails.name, newDetails.name); | ||
} catch (err) { | ||
} catch { | ||
return void handler.sendNull(responseId); | ||
@@ -563,3 +563,3 @@ } | ||
handler.on('exists', async (data, responseId) => { | ||
handler.on('exists', (data, responseId) => { | ||
if (!data || !data.length) { | ||
@@ -566,0 +566,0 @@ return void handler.sendInteger(responseId, 0); |
{ | ||
"name": "@iobroker/db-objects-jsonl", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"engines": { | ||
@@ -8,6 +8,6 @@ "node": ">=10.0.0" | ||
"dependencies": { | ||
"@alcalzone/jsonl-db": "^1.2.3", | ||
"@iobroker/db-base": "1.2.0", | ||
"@iobroker/db-objects-file": "1.2.0", | ||
"@iobroker/db-objects-redis": "1.2.0", | ||
"@alcalzone/jsonl-db": "^1.2.4", | ||
"@iobroker/db-base": "1.2.1", | ||
"@iobroker/db-objects-file": "1.2.1", | ||
"@iobroker/db-objects-redis": "1.2.1", | ||
"deep-clone": "^3.0.3", | ||
@@ -38,3 +38,3 @@ "fs-extra": "^9.1.0", | ||
}, | ||
"gitHead": "31a8cce837dc360eec0f40f6ac6f50247c4fac9a" | ||
"gitHead": "b9c4c3de2b3952f51edd5b9704acb0298a66f31e" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52419
+ Added@iobroker/db-base@1.2.1(transitive)
+ Added@iobroker/db-objects-file@1.2.1(transitive)
+ Added@iobroker/db-objects-redis@1.2.1(transitive)
- Removed@iobroker/db-base@1.2.0(transitive)
- Removed@iobroker/db-objects-file@1.2.0(transitive)
- Removed@iobroker/db-objects-redis@1.2.0(transitive)
Updated@alcalzone/jsonl-db@^1.2.4
Updated@iobroker/db-base@1.2.1