Socket
Socket
Sign inDemoInstall

hawk

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hawk - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

8

lib/client.js

@@ -139,4 +139,6 @@ 'use strict';

exports.authenticate = function (res, credentials, artifacts, options = {}) {
exports.authenticate = function (res, credentials, artifacts, options) {
options = options || {};
artifacts = Hoek.clone(artifacts);

@@ -319,4 +321,6 @@

exports.message = function (host, port, message, options = {}) {
exports.message = function (host, port, message, options) {
options = options || {};
// Validate inputs

@@ -323,0 +327,0 @@

@@ -86,4 +86,6 @@ 'use strict';

exports.authenticate = async function (req, credentialsFunc, options = {}) {
exports.authenticate = async function (req, credentialsFunc, options) {
options = options || {};
// Default options

@@ -253,4 +255,6 @@

exports.header = function (credentials, artifacts, options = {}) {
exports.header = function (credentials, artifacts, options) {
options = options || {};
// Prepare inputs

@@ -319,4 +323,6 @@

exports.authenticateBewit = async function (req, credentialsFunc, options = {}) {
exports.authenticateBewit = async function (req, credentialsFunc, options) {
options = options || {};
// Application time

@@ -456,4 +462,6 @@

exports.authenticateMessage = async function (host, port, message, authorization, credentialsFunc, options = {}) {
exports.authenticateMessage = async function (host, port, message, authorization, credentialsFunc, options) {
options = options || {};
// Default options

@@ -460,0 +468,0 @@

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

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

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