New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3 to 1.2.0

14

index.js

@@ -305,2 +305,5 @@ /* jshint ignore:start */

// Skip adding params with no value
if (!value) { continue; }
if (typeof value.toString === 'function') {

@@ -310,12 +313,7 @@ value = value.toString().trim();

// Skip adding params with no value
if (!value) {
continue;
if (name.indexOf('oauth_') == 0) {
header = header + OAuth.percentEncode(name) + '="' + OAuth.percentEncode(value) + '",';
}
if (name.indexOf("oauth_") == 0) {
header += ',' + OAuth.percentEncode(name) + '="' + OAuth.percentEncode(value) + '"';
}
}
return header;
return header.slice(0, -1); // remove the trailing comma
}

@@ -322,0 +320,0 @@ ,

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