client-oauth2
Advanced tools
Comparing version 0.2.1 to 0.2.2
/* global define */ | ||
(function (root) { | ||
var hasRequire = typeof require === 'function' | ||
var hasBuffer = typeof Buffer === 'function' | ||
(function (root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['popsicle'], factory) | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('popsicle')) | ||
} else { | ||
root.ClientOAuth2 = factory(root.popsicle) | ||
} | ||
})(this, function (popsicle) { | ||
var _hasOwnProperty = Object.prototype.hasOwnProperty | ||
var btoa = hasBuffer ? btoaBuffer : root.btoa | ||
var popsicle = hasRequire ? require('popsicle') : root.popsicle | ||
var btoa = typeof Buffer === 'function' ? btoaBuffer : window.btoa | ||
@@ -788,11 +793,3 @@ /** | ||
if (typeof define === 'function' && define.amd) { | ||
define([], function () { | ||
return ClientOAuth2 | ||
}) | ||
} else if (typeof exports === 'object') { | ||
module.exports = ClientOAuth2 | ||
} else { | ||
root.ClientOAuth2 = ClientOAuth2 | ||
} | ||
})(this) | ||
return ClientOAuth2 | ||
}) |
{ | ||
"name": "client-oauth2", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Straight-forward library for executing OAuth 2.0 flows and making API requests.", | ||
@@ -44,2 +44,3 @@ "main": "client-oauth2.js", | ||
"mocha": "^2.0.1", | ||
"pre-commit": "^1.0.4", | ||
"standard": "^2.6.2" | ||
@@ -49,3 +50,8 @@ }, | ||
"popsicle": "^0.3.10" | ||
}, | ||
"standard": { | ||
"ignore": [ | ||
"bower_components/**" | ||
] | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29524
14
691