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

whisky.db

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whisky.db - npm Package Compare versions

Comparing version

to
0.1.5

10

index.js

@@ -130,4 +130,10 @@ const fs = require("fs");

return allData
const arr = [];
for (const key in allData) {
arr.push({
ID: key,
data: allData[key]
});
}
return arr;
}

@@ -134,0 +140,0 @@

2

package.json
{
"name": "whisky.db",
"version": "0.1.4",
"version": "0.1.5",
"description": "Json tabanlı database.",

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

@@ -33,5 +33,5 @@ # İlk önce modülü indiriyoruz.

db.all() // { "developer": "whisky", "test_array": [ "Test" ] }
db.all() // [ { ID: "developer", data: "whisky" }, { ID: "test_array", data: [ "Test" ] } ]
db.deleteAll("CONFIRM") // Tüm veriyi silmek için CONFIRM yazmalısınız. - You must type CONFIRM to delete all data.
```