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

percy

Package Overview
Dependencies
Maintainers
1
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 0.1.1 to 0.1.2

2

package.json
{
"name": "percy",
"version": "0.1.1",
"version": "0.1.2",
"description": "a persistence layer",

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

@@ -149,4 +149,16 @@ var kgo = require('kgo'),

function getView(viewName, callback){
var percy = this;
this.connector(function(error, bucket){
if(error){
return callback(error);
}
callback(null, bucket.view(percy.designName, viewName));
});
}
function Percy(entityType, connector, validator){
this.entityType = entityType
this.entityType = entityType;
this.designName = entityType;
this.connector = connector;

@@ -164,3 +176,4 @@ this.validator = validator;

Percy.prototype.createKey = createKey;
Percy.prototype.getView = getView;
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