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

chai-oauth2orize-grant

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chai-oauth2orize-grant - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

3

lib/index.js
module.exports = function(chai, _) {
var Test = require('./test');
chai.grant = function(mod) {
chai.oauth2orize = chai.oauth2orize || {};
chai.oauth2orize.grant = function(mod) {
return new Test(mod);
};
};
{
"name": "chai-oauth2orize-grant",
"version": "0.1.0",
"version": "0.2.0",
"description": "Helpers for testing OAuth2orize grants with the Chai assertion library.",

@@ -11,2 +11,7 @@ "keywords": [

],
"author": {
"name": "Jared Hanson",
"email": "jaredhanson@gmail.com",
"url": "http://www.jaredhanson.net/"
},
"repository": {

@@ -19,7 +24,2 @@ "type": "git",

},
"author": {
"name": "Jared Hanson",
"email": "jaredhanson@gmail.com",
"url": "http://www.jaredhanson.net/"
},
"licenses": [

@@ -43,13 +43,3 @@ {

"test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"
},
"testling": {
"browsers": [
"chrome/latest"
],
"harness" : "mocha",
"files": [
"test/bootstrap/testling.js",
"test/*.test.js"
]
}
}
# chai-oauth2orize-grant
[![Build](https://travis-ci.org/jaredhanson/chai-oauth2orize-grant.png)](http://travis-ci.org/jaredhanson/chai-oauth2orize-grant)
[![Build](https://travis-ci.org/jaredhanson/chai-oauth2orize-grant.png)](https://travis-ci.org/jaredhanson/chai-oauth2orize-grant)
[![Coverage](https://coveralls.io/repos/jaredhanson/chai-oauth2orize-grant/badge.png)](https://coveralls.io/r/jaredhanson/chai-oauth2orize-grant)
[![Dependencies](https://david-dm.org/jaredhanson/chai-oauth2orize-grant.png)](http://david-dm.org/jaredhanson/chai-oauth2orize-grant)
[![Quality](https://codeclimate.com/github/jaredhanson/chai-oauth2orize-grant.png)](https://codeclimate.com/github/jaredhanson/chai-oauth2orize-grant)
[![Dependencies](https://david-dm.org/jaredhanson/chai-oauth2orize-grant.png)](https://david-dm.org/jaredhanson/chai-oauth2orize-grant)

@@ -22,6 +23,5 @@

```javascript
var chai = require('chai')
, grant = require('chai-oauth2orize-grant');
var chai = require('chai');
chai.use(grant);
chai.use(require('chai-oauth2orize-grant'));
```

@@ -31,4 +31,4 @@

Once used, the `chai.grant` helper function will be available to set up test
cases for OAuth2orize grants.
Once used, the `chai.oauth2orize.grant` helper function will be available to set
up test cases for OAuth2orize grants.

@@ -35,0 +35,0 @@ ## Tests

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