Socket
Socket
Sign inDemoInstall

hawk

Package Overview
Dependencies
4
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.1 to 5.1.0

2

dist/browser.js

@@ -776,3 +776,3 @@ 'use strict';

hawk.crypto.internals = CryptoJS;
hawk.crypto.utils = CryptoJS;

@@ -779,0 +779,0 @@ // Export if used as a module

@@ -635,4 +635,4 @@ 'use strict';

hawk.crypto.internals = CryptoJS;
hawk.crypto.utils = CryptoJS;

@@ -639,0 +639,0 @@ // Export if used as a module

{
"name": "hawk",
"description": "HTTP Hawk Authentication Scheme",
"version": "5.0.1",
"version": "5.1.0",
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)",

@@ -6,0 +6,0 @@ "repository": "git://github.com/hueniverse/hawk",

@@ -1557,2 +1557,14 @@ 'use strict';

});
describe('crypto', () => {
describe('utils', () => {
it('exposes hash methods', (done) => {
expect(Browser.crypto.utils.SHA256('some message').toString(Browser.crypto.utils.enc.Base64)).to.equal('xHdXq+QCC5Fo0HdvbJFhf5KQ55CsL2zivWeHx0rYgZk=');
done();
});
});
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc