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

wio.db

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wio.db - npm Package Compare versions

Comparing version 3.0.7 to 3.0.9

methods/clearDB.js

2

.config/configstore/update-notifier-npm.json
{
"optOut": false,
"lastUpdateCheck": 1597733485991
"lastUpdateCheck": 1598363556773
}
{
"optOut": false,
"lastUpdateCheck": 1597732905088
"lastUpdateCheck": 1598361547299
}

@@ -13,2 +13,4 @@ exports.set = require('./methods/set.js');

exports.deleteDataEach = require('./methods/deleteDataEach.js');
exports.includes = require('./methods/includes.js')
exports.includes = require('./methods/includes.js')
exports.objectDeleteKey = require('./methods/objectDeleteKey.js')
exports.clearDB = require('./methods/clearDB.js')

@@ -12,6 +12,6 @@ const err = require('./Errors.js')

let keys = Object.keys(allData)
if(keys == '') throw err('Böyle bir veri yok silemem.')
keys = keys.filter(a=>a.includes(data))
keys.forEach(a=>{
db.delete(a)
})

@@ -18,0 +18,0 @@ }

@@ -8,3 +8,3 @@ const fs = require('fs')

function fetch(par) {
if(!par) throw err('Çekilicek değer belirtilmedi..!')
if(!par) throw err('Çekilicek veri belirtilmedi..!')
const data = oku('./database.json')

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

@@ -12,3 +12,3 @@ const err = require('./Errors.js')

let keys = Object.keys(allData)
keys = await keys.filter(a=>a.includes(data))
keys = keys.filter(a=>a.includes(data))
if(keys == '') throw err('Databasede böyle veri yok.')

@@ -15,0 +15,0 @@ return keys

{
"name": "wio.db",
"version": "3.0.7",
"version": "3.0.9",
"description": "Gözle okunabilir database modülü.",

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

@@ -5,3 +5,3 @@ ![Image](https://img.shields.io/npm/v/wio.db?color=%2351F9C0&label=Wio.db)

![Image](https://nodei.co/npm/wio.db.png?downloads=true&downloadRank=true&stars=true)
#wio.db
<br>#wio.db<br>
##Yüklemek İçin

@@ -13,5 +13,10 @@ ```npm

# NEWS
If there is no data, the db.add method automatically creates data with the given parameter.
(only number)
Turkish:
belirtilen objedeki veri silme özelligi geldi.
databaseyi sıfırlama özelligi geldi.
English:
Database reset feature has arrived.
Data deletion feature on specified object has arrived.
##Özellikleri

@@ -46,2 +51,4 @@ quick.db'nin yanı sıra bu json dosyasına verileri kaydeder ve veriler gözle okunabilecek şekilde yazdırılır.

const includes = await db.includes(message.author.id) // ---> returns all data containing the given parameter
db.objectDeleteKey('object','key') // ---> from the object in the database deletes data
db.clearDB() // ---> clears database
})

@@ -59,2 +66,2 @@

[XiR](https://discord.gg/nFcCKEe)
[Helmes](https://discord.gg/wzc6yHK)
[Helmes](https://discord.gg/wzc6yHK)

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