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

angular-auth0

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-auth0 - npm Package Compare versions

Comparing version 2.0.0-beta.0 to 2.0.0-beta.1

5

angular-auth0.js

@@ -10,3 +10,3 @@ (function() {

function angularAuth0() {
if (!angular.isFunction(auth0)) {
if (!angular.isObject(auth0)) {
throw new Error('Auth0 must be loaded.');

@@ -47,2 +47,5 @@ }

}
if (angular.isObject(Auth0Js[i])) {
webAuth[i] = Auth0Js[i];
}
}

@@ -49,0 +52,0 @@

2

bower.json
{
"name": "angular-auth0",
"main": "angular-auth0.js",
"version": "2.0.0-beta.0",
"version": "2.0.0-beta.1",
"dependencies": {

@@ -6,0 +6,0 @@ "angular": "*",

@@ -10,3 +10,3 @@ (function() {

function angularAuth0() {
if (!angular.isFunction(auth0)) {
if (!angular.isObject(auth0)) {
throw new Error('Auth0 must be loaded.');

@@ -47,2 +47,5 @@ }

}
if (angular.isObject(Auth0Js[i])) {
webAuth[i] = Auth0Js[i];
}
}

@@ -49,0 +52,0 @@

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

!function(){"use strict";function e(){if(!angular.isFunction(auth0))throw new Error("Auth0 must be loaded.");this.init=function(e){if(!e)throw new Error("clientID and domain must be provided to auth0");this.domain=e.domain,this.clientID=e.clientID,this.redirectUri=e.redirectUri,this.scope=e.scope,this.audience=e.audience,this.responseType=e.responseType,this.responseMode=e.responseMode,this._disableDeprecationWarnings=e._disableDeprecationWarnings},this.$get=["$rootScope",function(e){function n(n){var t=n.length-1,r=n[t];return angular.isFunction(r)&&(n[t]=function(){var n=arguments;e.$evalAsync(function(){r.apply(i,n)})}),n}var i=new auth0.WebAuth({domain:this.domain,clientID:this.clientID,redirectUri:this.redirectUri,scope:this.scope,audience:this.audience,responseType:this.responseType,responseMode:this.responseMode,_disableDeprecationWarnings:this._disableDeprecationWarnings}),t={},r=[];for(var s in i)angular.isFunction(i[s])&&r.push(s);for(var s=0;s<r.length;s++)t[r[s]]=function(e){var t=function(){return i[e].apply(i,n(arguments))};return t}(r[s]);return t}]}angular.module("auth0.auth0",[]).provider("angularAuth0",e)}();
!function(){"use strict";function e(){if(!angular.isObject(auth0))throw new Error("Auth0 must be loaded.");this.init=function(e){if(!e)throw new Error("clientID and domain must be provided to auth0");this.domain=e.domain,this.clientID=e.clientID,this.redirectUri=e.redirectUri,this.scope=e.scope,this.audience=e.audience,this.responseType=e.responseType,this.responseMode=e.responseMode,this._disableDeprecationWarnings=e._disableDeprecationWarnings},this.$get=["$rootScope",function(e){function i(i){var t=i.length-1,r=i[t];return angular.isFunction(r)&&(i[t]=function(){var i=arguments;e.$evalAsync(function(){r.apply(n,i)})}),i}var n=new auth0.WebAuth({domain:this.domain,clientID:this.clientID,redirectUri:this.redirectUri,scope:this.scope,audience:this.audience,responseType:this.responseType,responseMode:this.responseMode,_disableDeprecationWarnings:this._disableDeprecationWarnings}),t={},r=[];for(var s in n)angular.isFunction(n[s])&&r.push(s),angular.isObject(n[s])&&(t[s]=n[s]);for(var s=0;s<r.length;s++)t[r[s]]=function(e){var t=function(){return n[e].apply(n,i(arguments))};return t}(r[s]);return t}]}angular.module("auth0.auth0",[]).provider("angularAuth0",e)}();
{
"name": "angular-auth0",
"version": "2.0.0-beta.0",
"version": "2.0.0-beta.1",
"description": "Auth0.js wrapper for Angular.js",

@@ -5,0 +5,0 @@ "main": "index.js",

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