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

oidc-react

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oidc-react - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

5

build/src/AuthContext.js

@@ -145,6 +145,7 @@ "use strict";

var getUser = function () { return __awaiter(void 0, void 0, void 0, function () {
var user_1, user;
var isMounted, user_1, user;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
isMounted = isMountedRef.current;
if (!(0, exports.hasCodeInUrl)(location)) return [3, 2];

@@ -165,3 +166,3 @@ return [4, userManager.signinCallback()];

}
else if (isMountedRef.current) {
else if (isMounted) {
setUserData(user);

@@ -168,0 +169,0 @@ setIsLoading(false);

@@ -6,2 +6,9 @@ # Changelog

## [2.0.2](https://github.com/bjerkio/oidc-react/compare/v2.0.1...v2.0.2) (2022-08-03)
### Bug Fixes
* alway userData=null - isLoading=true ([#877](https://github.com/bjerkio/oidc-react/issues/877)) ([d2d78ce](https://github.com/bjerkio/oidc-react/commit/d2d78ce29fced9598bf9928fd4561fb83c9d9834))
## [2.0.1](https://github.com/bjerkio/oidc-react/compare/v2.0.0...v2.0.1) (2022-08-02)

@@ -8,0 +15,0 @@

2

package.json
{
"name": "oidc-react",
"version": "2.0.1",
"version": "2.0.2",
"private": false,

@@ -5,0 +5,0 @@ "description": "",

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