Socket
Socket
Sign inDemoInstall

hoek

Package Overview
Dependencies
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoek - npm Package Compare versions

Comparing version 0.0.19 to 0.0.21

images/hoek.png

6

lib/index.js

@@ -432,2 +432,8 @@ // Load modules

if (encoded &&
!encoded.match(/^[\w\-]*$/)) {
return new Error('Invalid character');
}
try {

@@ -434,0 +440,0 @@ return (new Buffer(encoded.replace(/-/g, '+').replace(/:/g, '/'), 'base64')).toString('binary');

2

package.json
{
"name": "hoek",
"description": "General purpose node utilities",
"version": "0.0.19",
"version": "0.0.21",
"author": "Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)",

@@ -6,0 +6,0 @@ "contributors":[

@@ -1,2 +0,3 @@

# hoek
<a href="/walmartlabs/blammo"><img src="https://raw.github.com/walmartlabs/blammo/master/images/from.png" align="right" /></a>
![hoek Logo](https://raw.github.com/walmartlabs/hoek/master/images/hoek.png)

@@ -3,0 +4,0 @@ General purpose node utilities

@@ -414,3 +414,3 @@ // Load modules

var timer = new Hoek.Timer();
setInterval(function () {
setTimeout(function () {

@@ -521,3 +521,3 @@ expect(timer.elapsed()).to.be.above(9);

it('should return error on invalid input', function (done) {
it('should return error on undefined input', function (done) {

@@ -527,2 +527,8 @@ expect(Hoek.base64urlDecode().message).to.exist;

});
it('should return error on invalid input', function (done) {
expect(Hoek.base64urlDecode('*').message).to.exist;
done();
});
});

@@ -529,0 +535,0 @@ });

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