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

@iobroker/db-base

Package Overview
Dependencies
Maintainers
6
Versions
424
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iobroker/db-base - npm Package Compare versions

Comparing version 5.0.19 to 5.0.20-alpha.0-20240131-ea40ee4f

14

build/lib/inMemFileDB.js

@@ -24,2 +24,13 @@ "use strict";

class InMemoryFileDB {
settings;
change;
dataset;
namespace;
lastSave;
stateTimer;
callbackSubscriptionClient;
dataDir;
datasetName;
log;
backupDir;
constructor(settings) {

@@ -188,4 +199,3 @@ this.settings = settings || {};

handleUnsubscribe(client, type, pattern, cb) {
var _a;
const s = (_a = client === null || client === void 0 ? void 0 : client._subscribe) === null || _a === void 0 ? void 0 : _a[type];
const s = client?._subscribe?.[type];
if (s) {

@@ -192,0 +202,0 @@ const removeEntry = (p) => {

@@ -16,2 +16,14 @@ "use strict";

class RedisHandler extends events_1.EventEmitter {
socket;
logScope;
handleBuffers;
options;
log;
socketId;
initialized;
stop;
activeMultiCalls;
writeQueue;
responseId = 0;
resp;
/**

@@ -24,3 +36,2 @@ * Initialize and register all data handlers to send out events on new commands

super();
this.responseId = 0;
options = options || {};

@@ -27,0 +38,0 @@ this.options = options;

106

package.json
{
"name": "@iobroker/db-base",
"version": "5.0.19",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@iobroker/js-controller-common": "5.0.19",
"deep-clone": "^3.0.3",
"fs-extra": "^11.1.0",
"respjs": "^4.2.0"
},
"keywords": [
"ioBroker",
"redis",
"redundancy"
],
"author": "bluefox <dogafox@gmail.com>",
"contributors": [
"bluefox <dogafox@gmail.com>",
"Apollon77 <iobroker@fischer-ka.de>",
"foxriver76 <moritz.heusinger@gmail.com>"
],
"repository": {
"type": "git",
"url": "https://github.com/ioBroker/ioBroker.js-controller/packages/db-base"
},
"scripts": {
"build": "tsc -b tsconfig.build.json"
},
"main": "build/index.js",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"exports": {
".": "./build/index.js",
"./package.json": "./package.json",
"./inMemFileDB": "./build/lib/inMemFileDB.js"
},
"types": "build/index.d.ts",
"typesVersions": {
"*": {
"inMemFileDB": [
"build/lib/inMemFileDB"
]
}
},
"files": [
"build/lib/",
"build/index.js",
"build/index.d.ts"
],
"gitHead": "8082cf6ba450f5740fcec92abaf6d108d23f3fc9"
"name": "@iobroker/db-base",
"version": "5.0.20-alpha.0-20240131-ea40ee4f",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@iobroker/js-controller-common": "5.0.20-alpha.0-20240131-ea40ee4f",
"deep-clone": "^3.0.3",
"fs-extra": "^11.1.0",
"respjs": "^4.2.0"
},
"keywords": [
"ioBroker",
"redis",
"redundancy"
],
"author": "bluefox <dogafox@gmail.com>",
"contributors": [
"bluefox <dogafox@gmail.com>",
"Apollon77 <iobroker@fischer-ka.de>",
"foxriver76 <moritz.heusinger@gmail.com>"
],
"repository": {
"type": "git",
"url": "https://github.com/ioBroker/ioBroker.js-controller/packages/db-base"
},
"scripts": {
"build": "tsc -b tsconfig.build.json"
},
"main": "build/index.js",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"exports": {
".": "./build/index.js",
"./package.json": "./package.json",
"./inMemFileDB": "./build/lib/inMemFileDB.js"
},
"types": "build/index.d.ts",
"typesVersions": {
"*": {
"inMemFileDB": [
"build/lib/inMemFileDB"
]
}
},
"files": [
"build/lib/",
"build/index.js",
"build/index.d.ts"
],
"gitHead": "e95a41bedc1520053271e31a35d5272df6415e6e"
}

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