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.1.1 to 1.1.2

.npmignore

13

index.js

@@ -293,3 +293,8 @@ /* jshint ignore:start */

getAuthorizationHeader: function getAuthorizationHeader(realm, parameters) {
var header = 'OAuth realm="' + OAuth.percentEncode(realm) + '"';
var header = 'OAuth ';
if (realm && realm.trim()) {
header = header + 'realm="' + OAuth.percentEncode(realm) + '"';
}
var list = OAuth.getParameterList(parameters);

@@ -299,2 +304,8 @@ for (var p = 0; p < list.length; ++p) {

var name = parameter[0];
// Skip adding params with no value
if (!parameter[1] || !parameter[1].trim()) {
continue;
}
if (name.indexOf("oauth_") == 0) {

@@ -301,0 +312,0 @@ header += ',' + OAuth.percentEncode(name) + '="' + OAuth.percentEncode(parameter[1]) + '"';

2

package.json
{
"name": "node-oauth1",
"version": "1.1.1",
"version": "1.1.2",
"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