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

efdb

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

efdb - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

3

adapters/JsonDB.js

@@ -12,2 +12,5 @@ const fs = require('fs');

if(!this.dataFolder) throw new Error("Bir database klasörü belirtmelisin")
if(fs.existsSync(`./${this.dataFolder}/${this.dataName}.json`) === false) {
fs.writeFileSync(`./${this.dataFolder}/${this.dataName}.json`, "{}");
}
this.db = low(new FileSync(`./${this.dataFolder}/${this.dataName}` + ".json"));

@@ -14,0 +17,0 @@ };

@@ -23,2 +23,3 @@ const adapters = [ "YamlDB", "JsonDB"]

this.deleteAll = this.constructor.deleteAll;
this.delete = this.constructor.delete;
}

@@ -49,2 +50,5 @@ static set(data, key) {

}
static delete(data) {
return this.efdb.delete(data)
}
static deleteAll() {

@@ -55,3 +59,3 @@ return this.efdb.deleteAll()

module.exports = efDB
module.exports.version = "1.1.5"
module.exports.version = "1.1.6"
module.exports.destek = "https://discord.gg/etqAqHFZsc"

2

package.json
{
"name": "efdb",
"version": "1.1.5",
"version": "1.1.6",
"description": "Türkçe basit yaml veritabanı",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,3 +8,2 @@ # EfDB

- JsonDB eklendi
- Ufak hata gidermeleri

@@ -11,0 +10,0 @@

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