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

@digigov/auth

Package Overview
Dependencies
Maintainers
3
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digigov/auth - npm Package Compare versions

Comparing version 0.0.1-dilosi-enhance.4 to 0.0.1-dilosi-enhance.8

5

es/index.js

@@ -5,3 +5,2 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

import { AuthContext } from './AuthProvider';
var isBrowser = typeof window !== 'undefined';
export function useAuth() {

@@ -14,5 +13,3 @@ var _useContext = useContext(AuthContext),

var loginPath = state.config && state.config.loginURL || '/login';
var location = isBrowser ? window.location : {
pathname: '/'
};
var location = window.location;

@@ -19,0 +16,0 @@ function login(id, data) {

7

esm/index.js

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

/** @license Digigov v0.0.1-dilosi-enhance.4+a13220b
/** @license Digigov v0.0.1-dilosi-enhance.8+0383b23
*

@@ -10,3 +10,2 @@ * This source code is licensed under the MIT license found in the

import { AuthContext } from './AuthProvider';
var isBrowser = typeof window !== 'undefined';
export function useAuth() {

@@ -19,5 +18,3 @@ var _useContext = useContext(AuthContext),

var loginPath = state.config && state.config.loginURL || '/login';
var location = isBrowser ? window.location : {
pathname: '/'
};
var location = window.location;

@@ -24,0 +21,0 @@ function login(id, data) {

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

/** @license Digigov v0.0.1-dilosi-enhance.4+a13220b
/** @license Digigov v0.0.1-dilosi-enhance.8+0383b23
*

@@ -63,3 +63,2 @@ * This source code is licensed under the MIT license found in the

});
var isBrowser = typeof window !== 'undefined';

@@ -73,5 +72,3 @@ function useAuth() {

var loginPath = state.config && state.config.loginURL || '/login';
var location = isBrowser ? window.location : {
pathname: '/'
};
var location = window.location;

@@ -78,0 +75,0 @@ function login(id, data) {

{
"name": "@digigov/auth",
"version": "0.0.1-dilosi-enhance.4+a13220b",
"version": "0.0.1-dilosi-enhance.8+0383b23",
"description": "@digigov authentication client",

@@ -20,5 +20,5 @@ "author": "GRNET Developers <devs@lists.grnet.gr>",

},
"gitHead": "a13220b7d236ad3f0d8a5357ba949f5d03d9b805",
"gitHead": "0383b23e59446fbf5a10521e3390c7080fd39538",
"private": false,
"typings": "./index.d.ts"
}
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