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

percy

Package Overview
Dependencies
Maintainers
2
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

percy - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "percy",
"version": "1.0.0",
"version": "1.0.1",
"description": "a persistence layer",

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

@@ -192,2 +192,17 @@ var kgo = require('kgo'),

function increment(key, options, callback){
if(typeof options === 'function'){
callback = options;
options = {initial: 0, offset: 1};
}
this.connector(function(error, bucket){
if(error){
return callback(error);
}
bucket.incr(key, options, callback);
});
}
function Percy(entityType, connector, validator){

@@ -211,3 +226,4 @@ this.entityType = entityType;

Percy.prototype.getMulti = getMulti;
Percy.prototype.increment = increment;
module.exports = Percy;
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