Socket
Socket
Sign inDemoInstall

@iobroker/db-objects-redis

Package Overview
Dependencies
Maintainers
5
Versions
417
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iobroker/db-objects-redis - npm Package Compare versions

Comparing version 0.0.14 to 1.0.0

lib/objects/objectsInRedisClient.js

2

index.js
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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc