Comparing version 0.9.4 to 0.9.5
@@ -52,2 +52,6 @@ if (global.GENTLY) require = GENTLY.hijack(require); | ||
Dirty.prototype.size = function() { | ||
return this._keys.length; | ||
}; | ||
Dirty.prototype.rm = function(key, cb) { | ||
@@ -54,0 +58,0 @@ this.set(key, undefined, cb); |
{ | ||
"name": "dirty", | ||
"description": "A tiny & fast key value store with append-only disk log. Ideal for apps with < 1 million records.", | ||
"version": "0.9.4", | ||
"version": "0.9.5", | ||
"dependencies": {}, | ||
@@ -6,0 +6,0 @@ "main": "./lib/dirty", |
var path = require('path'), fs = require('fs'); | ||
require.paths.unshift(path.dirname(__dirname)+'/lib'); | ||
global.ROOT_DIR = path.dirname(__dirname); | ||
global.TEST_TMP = path.join(__dirname, 'tmp'); | ||
global.ROOT_LIB = path.join(global.ROOT_DIR, 'lib', 'dirty'); | ||
global.assert = require('assert'); | ||
@@ -6,0 +7,0 @@ global.Gently = require('gently'); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
797
0
29402
36
6