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.2 to 1.1.3

9

index.js

@@ -303,5 +303,10 @@ /* jshint ignore:start */

var name = parameter[0];
var value = parameter[1];
if (typeof value.toString === 'function') {
value = value.toString().trim();
}
// Skip adding params with no value
if (!parameter[1] || !parameter[1].trim()) {
if (!value) {
continue;

@@ -311,3 +316,3 @@ }

if (name.indexOf("oauth_") == 0) {
header += ',' + OAuth.percentEncode(name) + '="' + OAuth.percentEncode(parameter[1]) + '"';
header += ',' + OAuth.percentEncode(name) + '="' + OAuth.percentEncode(value) + '"';
}

@@ -314,0 +319,0 @@ }

{
"name": "node-oauth1",
"version": "1.1.2",
"version": "1.1.3",
"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