Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kb-oauthio

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kb-oauthio - npm Package Compare versions

Comparing version 0.3.1 to 0.3.3

2

js/cache.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.2
var cache;

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.2
var deps;

@@ -3,0 +3,0 @@

@@ -1,4 +0,4 @@

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.2
var Q, request,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };

@@ -142,3 +142,3 @@ request = require('request');

}, function(e, r, body) {
var response, _ref;
var ref, response;
if (e) {

@@ -162,3 +162,3 @@ defer.reject(e);

}
if (((session != null ? session.csrf_tokens : void 0) == null) || (_ref = response.state, __indexOf.call(session.csrf_tokens, _ref) < 0)) {
if (((session != null ? session.csrf_tokens : void 0) == null) || (ref = response.state, indexOf.call(session.csrf_tokens, ref) < 0)) {
defer.reject(new Error('State is not matching'));

@@ -165,0 +165,0 @@ }

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.2
module.exports = function(guid) {

@@ -3,0 +3,0 @@ return function(session) {

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.2
var qs;

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.2
var Q, qs, request;

@@ -71,2 +71,5 @@

if ((body != null) && r.statusCode === 200) {
if (raw) {
response = body;
}
if (typeof body === 'string') {

@@ -90,5 +93,4 @@ try {

} else {
defer.reject("An error occurred while performing the request");
}
defer.reject("An error occured while performing the request");
if (error) {

@@ -95,0 +97,0 @@ return defer.reject(error);

@@ -1,3 +0,3 @@

// Generated by CoffeeScript 1.7.1
var cache, package_info, _authentication, _csrf_generator, _endpoints_initializer, _guid, _requestio;
// Generated by CoffeeScript 1.9.2
var _authentication, _csrf_generator, _endpoints_initializer, _guid, _requestio, cache, package_info;

@@ -4,0 +4,0 @@ _guid = require('./tools/guid');

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.2
module.exports = function() {

@@ -3,0 +3,0 @@ return function() {

{
"name": "kb-oauthio",
"version": "0.3.1",
"version": "0.3.3",
"description": "OAuth that just works ! This is the Node.js SDK for OAuth.io.",

@@ -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