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

node-oauth1

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-oauth1 - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

9

index.js

@@ -293,6 +293,7 @@ /* jshint ignore:start */

getAuthorizationHeader: function getAuthorizationHeader(realm, parameters) {
var header = 'OAuth ';
var header = 'OAuth ',
headerParams = [];
if (realm && realm.trim()) {
header = header + 'realm="' + OAuth.percentEncode(realm) + '"';
headerParams.push(['realm', '"'+OAuth.percentEncode(realm)+'"'].join('='));
}

@@ -314,6 +315,6 @@

if (name.indexOf('oauth_') == 0) {
header = header + OAuth.percentEncode(name) + '="' + OAuth.percentEncode(value) + '",';
headerParams.push([OAuth.percentEncode(name), '"'+OAuth.percentEncode(value)+'"'].join('='));
}
}
return header.slice(0, -1); // remove the trailing comma
return header + headerParams.join(',');
}

@@ -320,0 +321,0 @@ ,

{
"name": "node-oauth1",
"version": "1.2.0",
"version": "1.2.1",
"description": "A fork of Netflix's implementation of the OAuth1 protocol",

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

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