New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

oauth-zero-legged

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oauth-zero-legged - npm Package Compare versions

Comparing version 0.0.7 to 1.0.0

0

index.js
exports.signer = require('./lib/Signer');
exports.client = require('./lib/Client');

@@ -0,0 +0,0 @@ var http = require('http');

2

lib/Signer.js

@@ -123,3 +123,3 @@ var url = require('url');

parsed_url.query[key].sort().forEach(function(val) {
normalizedRequestParams += key + "=" + encodeURIComponent(val) + "&";
normalizedRequestParams += encodeURIComponent(key) + "=" + encodeURIComponent(val) + "&";
});

@@ -126,0 +126,0 @@ } else {

{
"name": "oauth-zero-legged",
"version": "0.0.7",
"version": "1.0.0",
"description": "oauth-zero-legged",

@@ -5,0 +5,0 @@ "scripts": {

@@ -0,0 +0,0 @@ [![Build Status](https://drone.io/github.com/xl8/oauth-zero-legged/status.png)](https://drone.io/github.com/xl8/oauth-zero-legged/latest)

@@ -0,0 +0,0 @@ var

@@ -92,3 +92,4 @@ var signerLib = require('../lib/Signer.js'),

signerLib.createSigner("popeye@exelate.com","^^S,6r5:t;Z#&Tt").calcOAuthSignature("GET", "http://myserver.com:8080/calculate/precisely_and_accurately?a=1&b=2&a=7&a=2&c=78&b=5", {}, "123456789", "abcdefghijklmnop")
.should.equal("GfTHeZSw04NXbjAMzS0poYeJ3tU=")
signerLib.createSigner("popeye@exelate.com","^^S,6r5:t;Z#&Tt").calcOAuthSignature("GET", "http://myserver.com:8080/calculate/precisely_and_accurately?ap[]=1&a[]=2&a[]=3", {}, "123456789", "abcdefghijklmnop")
.should.equal("NB6SYLypxFMkedA4FzyeeIhF8P4=")
signerLib.createSigner("kyle@exelate.com","plokijl,kmjn").calcOAuthSignature("POST", "http://trial.com/popeye/sailor/man", {}, "1419259401", "JuXH8bgWisr")

@@ -95,0 +96,0 @@ .should.equal("A2Js3ZuA8lwsUISg9aq7OuSuAss=")

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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