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

dirty

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dirty - npm Package Compare versions

Comparing version 0.9.4 to 0.9.5

test/system/test-size.js

4

lib/dirty/dirty.js

@@ -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);

2

package.json
{
"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');

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