@iobroker/db-objects-redis
Advanced tools
Comparing version 0.0.14 to 1.0.0
module.exports = { | ||
Client: require('./lib/objects/objectsInRedis.js'), | ||
Client: require('./lib/objects/objectsInRedisClient.js'), | ||
Server: null, | ||
@@ -4,0 +4,0 @@ objectsUtils: require('./lib/objects/objectsUtils.js'), |
@@ -479,3 +479,3 @@ /** | ||
function sanitizePath(id, name, callback) { | ||
function sanitizePath(id, name) { | ||
if (!name) { | ||
@@ -489,3 +489,3 @@ name = ''; | ||
if (!id) { | ||
return tools.maybeCallbackWithError(callback, 'Empty ID'); | ||
throw new Error('Empty ID'); | ||
} | ||
@@ -648,21 +648,2 @@ | ||
function getLogger(log) { | ||
if (!log) { | ||
log = { | ||
silly: function (_msg) {/*console.log(msg);*/}, | ||
debug: function (_msg) {/*console.log(msg);*/}, | ||
info: function (_msg) {/*console.log(msg);*/}, | ||
warn: function (msg) { | ||
console.log(msg); | ||
}, | ||
error: function (msg) { | ||
console.log(msg); | ||
} | ||
}; | ||
} else if (!log.silly) { | ||
log.silly = log.debug; | ||
} | ||
return log; | ||
} | ||
// For objects | ||
@@ -712,3 +693,2 @@ const defaultAcl = { | ||
checkObjectRights, | ||
getLogger, | ||
@@ -715,0 +695,0 @@ regCheckId, |
{ | ||
"name": "@iobroker/db-objects-redis", | ||
"version": "0.0.14", | ||
"version": "1.0.0", | ||
"engines": { | ||
@@ -8,3 +8,3 @@ "node": ">=10.0.0" | ||
"dependencies": { | ||
"@iobroker/db-base": "^0.0.14", | ||
"@iobroker/db-base": "^1.0.0", | ||
"deep-clone": "^3.0.3", | ||
@@ -35,3 +35,3 @@ "ioredis": "^4.19.4", | ||
}, | ||
"gitHead": "6f1253ede80b73ec1ffbc24d1afd19f2552bbdc4" | ||
"gitHead": "eaedf07726250c1fb3bf3cbfa9778e6cddd5c963" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
202162
4101
2
+ Added@iobroker/db-base@1.2.4(transitive)
- Removed@iobroker/db-base@0.0.14(transitive)
Updated@iobroker/db-base@^1.0.0