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

credential-store

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

credential-store - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

1

index.js

@@ -72,2 +72,3 @@ 'use strict';

store (token) {
if(!token) throw new Error('token must be provided');

@@ -74,0 +75,0 @@ if( typeof token !== 'string' ){

2

package.json
{
"name": "credential-store",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

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

@@ -63,2 +63,10 @@ const assert = require('assert');

});
it('should create a unique md5 hash when passed signature info', function(){
let tstore = new Tstore({
path: '$HOME/.bleep',
signature: [123,456]
});
});
});

@@ -134,3 +142,13 @@

});
it('should throw when called with no token', function(){
let tstore = new Tstore();
assert.throw(function(){
tstore.store();
});
});
});
});
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