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

oauth-1.0a

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oauth-1.0a - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

Makefile

6

package.json
{
"name": "oauth-1.0a",
"version": "0.0.6",
"version": "0.0.7",
"description": "OAuth 1.0a Request Authorization for Node and Browser.",
"scripts": {
"test": "mocha",
"start": "clear && node index"
"test": "make test"
},
"main": "oauth-1.0a.js",
"repository": "https://github.com/ddo/oauth-1.0a.git",

@@ -10,0 +10,0 @@ "keywords": [

oauth-1.0a
==========
[![Dependencies](https://api.travis-ci.org/ddo/oauth-1.0a.png)](https://travis-ci.org/ddo/oauth-1.0a)
[![Dependency Status](https://david-dm.org/ddo/oauth-1.0a.png?theme=shields.io)](https://david-dm.org/ddo/oauth-1.0a)
[![NPM version](https://badge.fury.io/js/oauth-1.0a.png)](http://badge.fury.io/js/oauth-1.0a)
![codeship](https://www.codeship.io/projects/4388a200-ac85-0131-b0cb-7e8dce60f53f/status)
OAuth 1.0a Request Authorization for **Node** and **Browser**

@@ -14,3 +15,3 @@

I tested on some popular OAuth 1.0a services:
Tested on some popular OAuth 1.0a services:

@@ -51,3 +52,3 @@ * Twitter

###Browser
Download oauth-1.0a.js [here](https://github.com/ddo/oauth-1.0a/blob/master/lib/oauth-1.0a.js)
Download oauth-1.0a.js [here](https://github.com/ddo/oauth-1.0a/blob/0.0.7/oauth-1.0a.js)

@@ -177,3 +178,3 @@ <script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/hmac-sha1.js"></script>

data: request_data.data,
header: oauth.toHeader(oauth.authorize(request_data, token))
headers: oauth.toHeader(oauth.authorize(request_data, token))
}).done(function(data) {

@@ -187,8 +188,8 @@ //process your data here

* **If you want an easier way to handle your OAuth request. Please visit [SimpleOAuth](https://github.com/ddo/SimpleOAuth), it's a wrapper of this project, some features:**
* **If you want an easier way to handle your OAuth request. Please visit [Simple OAuth](https://github.com/ddo/simple-oauth), it's a wrapper of this project, some features:**
* Request Token method
* Get Authorize link method
* Access Token method
* OAuth 2.0 support
* Simpler syntax:
* Access Token method
* OAuth 2.0 support
* Simpler syntax:

@@ -243,3 +244,3 @@ Node.js:

##[Changelog](https://github.com/ddo/oauth-1.0a/wiki/Changelog)
##[Changelog](https://github.com/ddo/oauth-1.0a/releases)

@@ -249,2 +250,6 @@

* Browser: [crypto-js](https://code.google.com/p/crypto-js/)
* Node: [crypto-js](https://github.com/evanvosberg/crypto-js)
* Node: [crypto-js](https://github.com/evanvosberg/crypto-js)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ddo/oauth-1.0a/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

@@ -6,3 +6,3 @@ var expect;

expect = require('chai').expect;
var OAuth = require('../');
var OAuth = require('../oauth-1.0a');
} else { //Browser

@@ -21,2 +21,3 @@ expect = chai.expect;

//overide for testing only !!!
oauth.getTimeStamp = function() {

@@ -26,2 +27,3 @@ return 1318622958;

//overide for testing only !!!
oauth.getNonce = function(length) {

@@ -28,0 +30,0 @@ return 'kYjzVBB8Y0ZFabxSWbWovY3uYSQ2pTgmZeNu2VS4cg';

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