Comparing version 1.0.6 to 1.0.7
@@ -40,2 +40,3 @@ /** | ||
}; | ||
filekv.create = function(config){ | ||
@@ -45,4 +46,2 @@ return new filekv(config); | ||
filekv.prototype.setFileDir = function(path){ | ||
@@ -222,3 +221,4 @@ var self = this; | ||
filekv.prototype.del = function(key,opt,cb){ | ||
filekv.prototype.delete = filekv.prototype.del = function(key,opt,cb){ | ||
if('function' == typeof opt){ | ||
@@ -235,3 +235,2 @@ cb = opt; | ||
module.exports = filekv; |
{ | ||
"name": "filekv", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "This is a key&value storage library, which uses file system to store data.", | ||
@@ -9,2 +9,7 @@ "main": "index.js", | ||
}, | ||
"dependencies": { | ||
"readfileline": "^1.0.0", | ||
"workqueue": "^1.0.0" | ||
}, | ||
"devDependencies": {}, | ||
"scripts": { | ||
@@ -23,3 +28,3 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
], | ||
"author": "zenboss", | ||
"author": "zenboss <zenyes@gmail.com>", | ||
"license": "MIT", | ||
@@ -29,10 +34,3 @@ "bugs": { | ||
}, | ||
"homepage": "https://github.com/zenboss/filekv", | ||
"dependencies": { | ||
"readfileline": "^1.0.0", | ||
"workqueue": "^1.0.0" | ||
}, | ||
"devDependencies": {}, | ||
"_shasum": "2921cfe30703dbabcb4a7765501eeb7004997180", | ||
"_from": "filekv@*" | ||
"homepage": "https://github.com/zenboss/filekv" | ||
} |
@@ -7,2 +7,3 @@ "use strict"; | ||
fileDir:__dirname+'/data', | ||
workMax:1000 | ||
@@ -12,3 +13,2 @@ | ||
for(var i =0;i<1000;i++){ | ||
@@ -15,0 +15,0 @@ (function(){ |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
10059
1