@iobroker/db-states-file
Advanced tools
Comparing version 5.0.20-alpha.0-20240418-c6e3443f to 5.0.20-alpha.0-20240419-d343afbb
export { StatesInMemoryFileDB } from './lib/states/statesInMemFileDB.js'; | ||
import { Client as StatesClient } from '@iobroker/db-states-redis'; | ||
import StatesServer from './lib/states/statesInMemServerClass.js'; | ||
export declare const Client: typeof StatesClient; | ||
export declare const Server: typeof StatesServer; | ||
export { Client } from '@iobroker/db-states-redis'; | ||
export { StatesInMemoryServerClass as Server } from './lib/states/statesInMemServerClass.js'; | ||
/** | ||
@@ -7,0 +5,0 @@ * Get the default port of the objects db |
"use strict"; | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
@@ -20,11 +18,7 @@ var __export = (target, all) => { | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
mod | ||
)); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var esm_exports = {}; | ||
__export(esm_exports, { | ||
Client: () => Client, | ||
Server: () => Server, | ||
Client: () => import_db_states_redis.Client, | ||
Server: () => import_statesInMemServerClass.StatesInMemoryServerClass, | ||
StatesInMemoryFileDB: () => import_statesInMemFileDB.StatesInMemoryFileDB, | ||
@@ -36,5 +30,3 @@ getDefaultPort: () => getDefaultPort | ||
var import_db_states_redis = require("@iobroker/db-states-redis"); | ||
var import_statesInMemServerClass = __toESM(require("./lib/states/statesInMemServerClass.js"), 1); | ||
const Client = import_db_states_redis.Client; | ||
const Server = import_statesInMemServerClass.default; | ||
var import_statesInMemServerClass = require("./lib/states/statesInMemServerClass.js"); | ||
function getDefaultPort() { | ||
@@ -41,0 +33,0 @@ return 9e3; |
@@ -1,7 +0,7 @@ | ||
export default class StatesInMemoryServerClass extends StatesInRedisClient { | ||
export class StatesInMemoryServerClass extends StatesInRedisClient { | ||
constructor(settings: any); | ||
statesServer: StatesInMemServer; | ||
statesServer: StatesInMemoryServer; | ||
} | ||
import { Client as StatesInRedisClient } from '@iobroker/db-states-redis'; | ||
import StatesInMemServer from './statesInMemServerRedis.js'; | ||
import { StatesInMemoryServer } from './statesInMemServerRedis.js'; | ||
//# sourceMappingURL=statesInMemServerClass.d.ts.map |
"use strict"; | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
@@ -20,14 +18,10 @@ var __export = (target, all) => { | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
mod | ||
)); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var statesInMemServerClass_exports = {}; | ||
__export(statesInMemServerClass_exports, { | ||
default: () => StatesInMemoryServerClass | ||
StatesInMemoryServerClass: () => StatesInMemoryServerClass | ||
}); | ||
module.exports = __toCommonJS(statesInMemServerClass_exports); | ||
var import_db_states_redis = require("@iobroker/db-states-redis"); | ||
var import_statesInMemServerRedis = __toESM(require("./statesInMemServerRedis.js"), 1); | ||
var import_statesInMemServerRedis = require("./statesInMemServerRedis.js"); | ||
class StatesInMemoryServerClass extends import_db_states_redis.Client { | ||
@@ -46,3 +40,3 @@ constructor(settings) { | ||
}; | ||
this.statesServer = new import_statesInMemServerRedis.default(serverSettings); | ||
this.statesServer = new import_statesInMemServerRedis.StatesInMemoryServer(serverSettings); | ||
} | ||
@@ -58,3 +52,5 @@ async destroy() { | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); | ||
0 && (module.exports = { | ||
StatesInMemoryServerClass | ||
}); | ||
//# sourceMappingURL=statesInMemServerClass.js.map |
@@ -6,3 +6,3 @@ /// <reference types="node" resolution-mode="require"/> | ||
**/ | ||
export default class StatesInMemoryServer extends StatesInMemoryFileDB { | ||
export class StatesInMemoryServer extends StatesInMemoryFileDB { | ||
/** | ||
@@ -9,0 +9,0 @@ * Constructor |
@@ -27,3 +27,3 @@ "use strict"; | ||
__export(statesInMemServerRedis_exports, { | ||
default: () => StatesInMemoryServer | ||
StatesInMemoryServer: () => StatesInMemoryServer | ||
}); | ||
@@ -391,3 +391,5 @@ module.exports = __toCommonJS(statesInMemServerRedis_exports); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); | ||
0 && (module.exports = { | ||
StatesInMemoryServer | ||
}); | ||
//# sourceMappingURL=statesInMemServerRedis.js.map |
export { StatesInMemoryFileDB } from './lib/states/statesInMemFileDB.js'; | ||
import { Client as StatesClient } from '@iobroker/db-states-redis'; | ||
import StatesServer from './lib/states/statesInMemServerClass.js'; | ||
export declare const Client: typeof StatesClient; | ||
export declare const Server: typeof StatesServer; | ||
export { Client } from '@iobroker/db-states-redis'; | ||
export { StatesInMemoryServerClass as Server } from './lib/states/statesInMemServerClass.js'; | ||
/** | ||
@@ -7,0 +5,0 @@ * Get the default port of the objects db |
export { StatesInMemoryFileDB } from './lib/states/statesInMemFileDB.js'; | ||
import { Client as StatesClient } from '@iobroker/db-states-redis'; | ||
import StatesServer from './lib/states/statesInMemServerClass.js'; | ||
export const Client = StatesClient; | ||
export const Server = StatesServer; | ||
export { Client } from '@iobroker/db-states-redis'; | ||
export { StatesInMemoryServerClass as Server } from './lib/states/statesInMemServerClass.js'; | ||
/** | ||
@@ -7,0 +5,0 @@ * Get the default port of the objects db |
@@ -1,7 +0,7 @@ | ||
export default class StatesInMemoryServerClass extends StatesInRedisClient { | ||
export class StatesInMemoryServerClass extends StatesInRedisClient { | ||
constructor(settings: any); | ||
statesServer: StatesInMemServer; | ||
statesServer: StatesInMemoryServer; | ||
} | ||
import { Client as StatesInRedisClient } from '@iobroker/db-states-redis'; | ||
import StatesInMemServer from './statesInMemServerRedis.js'; | ||
import { StatesInMemoryServer } from './statesInMemServerRedis.js'; | ||
//# sourceMappingURL=statesInMemServerClass.d.ts.map |
@@ -10,4 +10,4 @@ /** | ||
import { Client as StatesInRedisClient } from '@iobroker/db-states-redis'; | ||
import StatesInMemServer from './statesInMemServerRedis.js'; | ||
export default class StatesInMemoryServerClass extends StatesInRedisClient { | ||
import { StatesInMemoryServer } from './statesInMemServerRedis.js'; | ||
export class StatesInMemoryServerClass extends StatesInRedisClient { | ||
constructor(settings) { | ||
@@ -25,3 +25,3 @@ settings.autoConnect = false; // delay Client connection to when we need it | ||
}; | ||
this.statesServer = new StatesInMemServer(serverSettings); | ||
this.statesServer = new StatesInMemoryServer(serverSettings); | ||
} | ||
@@ -28,0 +28,0 @@ async destroy() { |
@@ -6,3 +6,3 @@ /// <reference types="node" resolution-mode="require"/> | ||
**/ | ||
export default class StatesInMemoryServer extends StatesInMemoryFileDB { | ||
export class StatesInMemoryServer extends StatesInMemoryFileDB { | ||
/** | ||
@@ -9,0 +9,0 @@ * Constructor |
@@ -38,3 +38,3 @@ /** | ||
**/ | ||
export default class StatesInMemoryServer extends StatesInMemoryFileDB { | ||
export class StatesInMemoryServer extends StatesInMemoryFileDB { | ||
/** | ||
@@ -41,0 +41,0 @@ * Constructor |
{ | ||
"name": "@iobroker/db-states-file", | ||
"type": "module", | ||
"version": "5.0.20-alpha.0-20240418-c6e3443f", | ||
"version": "5.0.20-alpha.0-20240419-d343afbb", | ||
"engines": { | ||
@@ -9,4 +9,4 @@ "node": ">=12.0.0" | ||
"dependencies": { | ||
"@iobroker/db-base": "5.0.20-alpha.0-20240418-c6e3443f", | ||
"@iobroker/db-states-redis": "5.0.20-alpha.0-20240418-c6e3443f" | ||
"@iobroker/db-base": "5.0.20-alpha.0-20240419-d343afbb", | ||
"@iobroker/db-states-redis": "5.0.20-alpha.0-20240419-d343afbb" | ||
}, | ||
@@ -49,3 +49,3 @@ "keywords": [ | ||
], | ||
"gitHead": "55f9714e5db3209c7836c12c0a994979c16f5a56" | ||
"gitHead": "3237bfd897b8f4c0700611dc88b6367bcbef85dc" | ||
} |
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
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
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
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
199619
1800
+ Added@iobroker/db-base@5.0.20-alpha.0-20240419-d343afbb(transitive)
+ Added@iobroker/db-states-redis@5.0.20-alpha.0-20240419-d343afbb(transitive)
+ Added@iobroker/js-controller-common@5.0.20-alpha.0-20240419-d343afbb(transitive)
- Removed@iobroker/db-base@5.0.20-alpha.0-20240418-c6e3443f(transitive)
- Removed@iobroker/db-states-redis@5.0.20-alpha.0-20240418-c6e3443f(transitive)
- Removed@iobroker/js-controller-common@5.0.20-alpha.0-20240418-c6e3443f(transitive)
Updated@iobroker/db-states-redis@5.0.20-alpha.0-20240419-d343afbb