Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@iobroker/db-objects-redis

Package Overview
Dependencies
Maintainers
6
Versions
432
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 5.0.18-alpha.0-20231201-5b321f38 to 5.0.18-alpha.0-20231211-5b429316

2

build/lib/objects/objectsUtils.d.ts

@@ -12,3 +12,3 @@ /**

/// <reference types="@iobroker/types-dev" />
import { Writable, WritableOptions } from 'stream';
import { Writable, type WritableOptions } from 'stream';
import * as CONSTS from './constants';

@@ -15,0 +15,0 @@ export * as CONSTS from './constants';

@@ -129,2 +129,3 @@ "use strict";

class WMStrm extends stream_1.Writable {
key;
constructor(key, options) {

@@ -329,3 +330,2 @@ super(options); // init super

objects.getObjectList({ startkey: 'system.user.', endkey: 'system.user.\u9999' }, { checked: true }, (err, arr) => {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
if (err) {

@@ -427,19 +427,19 @@ error = err;

users[u].acl.state = users[u].acl.state || {};
users[u].acl.state.create = (_a = groups[g].common.acl.state) === null || _a === void 0 ? void 0 : _a.create;
users[u].acl.state.read = (_b = groups[g].common.acl.state) === null || _b === void 0 ? void 0 : _b.read;
users[u].acl.state.write = (_c = groups[g].common.acl.state) === null || _c === void 0 ? void 0 : _c.write;
users[u].acl.state.delete = (_d = groups[g].common.acl.state) === null || _d === void 0 ? void 0 : _d.delete;
users[u].acl.state.list = (_e = groups[g].common.acl.state) === null || _e === void 0 ? void 0 : _e.list;
users[u].acl.state.create = groups[g].common.acl.state?.create;
users[u].acl.state.read = groups[g].common.acl.state?.read;
users[u].acl.state.write = groups[g].common.acl.state?.write;
users[u].acl.state.delete = groups[g].common.acl.state?.delete;
users[u].acl.state.list = groups[g].common.acl.state?.list;
}
else {
users[u].acl.state.create =
users[u].acl.state.create || ((_f = groups[g].common.acl.state) === null || _f === void 0 ? void 0 : _f.create);
users[u].acl.state.create || groups[g].common.acl.state?.create;
users[u].acl.state.read =
users[u].acl.state.read || ((_g = groups[g].common.acl.state) === null || _g === void 0 ? void 0 : _g.read);
users[u].acl.state.read || groups[g].common.acl.state?.read;
users[u].acl.state.write =
users[u].acl.state.write || ((_h = groups[g].common.acl.state) === null || _h === void 0 ? void 0 : _h.write);
users[u].acl.state.write || groups[g].common.acl.state?.write;
users[u].acl.state.delete =
users[u].acl.state.delete || ((_j = groups[g].common.acl.state) === null || _j === void 0 ? void 0 : _j.delete);
users[u].acl.state.delete || groups[g].common.acl.state?.delete;
users[u].acl.state.list =
users[u].acl.state.list || ((_k = groups[g].common.acl.state) === null || _k === void 0 ? void 0 : _k.list);
users[u].acl.state.list || groups[g].common.acl.state?.list;
}

@@ -446,0 +446,0 @@ }

{
"name": "@iobroker/db-objects-redis",
"version": "5.0.18-alpha.0-20231201-5b321f38",
"version": "5.0.18-alpha.0-20231211-5b429316",
"engines": {

@@ -8,3 +8,3 @@ "node": ">=16.4.0"

"dependencies": {
"@iobroker/db-base": "5.0.18-alpha.0-20231201-5b321f38",
"@iobroker/db-base": "5.0.18-alpha.0-20231211-5b429316",
"deep-clone": "^3.0.3",

@@ -46,3 +46,3 @@ "ioredis": "^4.28.2",

],
"gitHead": "782ee1fea84c41cab3b1568bf7d5eaf7e393e899"
"gitHead": "1c3e6fd79e392d6a53dc7443188876e9f59a7d8e"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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