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

@frontegg/react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
1123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/react-hooks - npm Package Compare versions

Comparing version 2.0.0-alpha.727232343 to 2.0.0-alpha.730990828

13

index.js

@@ -13,8 +13,11 @@ import React, { useMemo } from 'react';

const setLoading = (loading) => {
if (loading) {
document.body.classList.add('frontegg-loading');
const isSSR = typeof window === 'undefined';
if (!isSSR) {
if (loading) {
document.body.classList.add('frontegg-loading');
}
else {
document.body.classList.remove('frontegg-loading');
}
}
else {
document.body.classList.remove('frontegg-loading');
}
};

@@ -21,0 +24,0 @@ const FronteggContent = ({ children, setLoading }) => {

{
"name": "@frontegg/react-hooks",
"libName": "FronteggReactHooks",
"version": "2.0.0-alpha.727232343",
"version": "2.0.0-alpha.730990828",
"author": "Frontegg LTD",

@@ -9,6 +9,6 @@ "module": "index.esm.js",

"dependencies": {
"@frontegg/redux-store": "2.0.0-alpha.727232343",
"@frontegg/redux-store": "2.0.0-alpha.730990828",
"react-redux": "7.x"
},
"gitHead": "fa60562262f0ab8737e66fd739afa499fc83b7d6",
"gitHead": "b105a991f2242ea1dbb2c72dcd6c0936a14ae4b0",
"main": "index.js",

@@ -15,0 +15,0 @@ "es2015": "index.es.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