New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@iobroker/db-objects-file

Package Overview
Dependencies
Maintainers
0
Versions
445
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version

to
7.0.7-alpha.0-20241228-8896efeba

2

build/cjs/lib/objects/objectsInMemFileDB.js

@@ -517,3 +517,3 @@ "use strict";

const location = import_node_path.default.join(this.objectsDir, id, name);
if (import_fs_extra.default.existsSync(location)) {
if (import_fs_extra.default.existsSync(location) && import_fs_extra.default.statSync(location).isDirectory()) {
const dirFiles = import_fs_extra.default.readdirSync(location);

@@ -520,0 +520,0 @@ for (let i = 0; i < dirFiles.length; i++) {

@@ -555,3 +555,3 @@ /**

const location = path.join(this.objectsDir, id, name);
if (fs.existsSync(location)) {
if (fs.existsSync(location) && fs.statSync(location).isDirectory()) {
const dirFiles = fs.readdirSync(location);

@@ -558,0 +558,0 @@ for (let i = 0; i < dirFiles.length; i++) {

{
"name": "@iobroker/db-objects-file",
"type": "module",
"version": "7.0.6",
"version": "7.0.7-alpha.0-20241228-8896efeba",
"engines": {

@@ -9,4 +9,4 @@ "node": ">=12.0.0"

"dependencies": {
"@iobroker/db-base": "7.0.6",
"@iobroker/db-objects-redis": "7.0.6",
"@iobroker/db-base": "7.0.7-alpha.0-20241228-8896efeba",
"@iobroker/db-objects-redis": "7.0.7-alpha.0-20241228-8896efeba",
"deep-clone": "^3.0.3",

@@ -51,3 +51,3 @@ "fs-extra": "^11.1.0"

],
"gitHead": "cf61d178b6e253baebd87cd123e1666b8da99867"
"gitHead": "de44748e29b0cdddd4faa46d28b01572aa300ee6"
}

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