@azure/msal-react
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import React__default, { useMemo } from 'react'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import React__default, { useMemo } from 'react'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import React__default, { useMemo } from 'react'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import React__default from 'react'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { AuthError } from '@azure/msal-browser'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { useState, useEffect } from 'react'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { useState, useEffect } from 'react'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { useContext } from 'react'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { useState, useRef, useEffect, useCallback } from 'react'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ export { MsalConsumer, MsalContext } from './MsalContext.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import * as React from 'react'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -102,3 +102,5 @@ import React__default, { useEffect, useMemo, useReducer } from 'react'; | ||
logger.verbose(`MsalProvider - Registered event callback with id: ${callbackId}`); | ||
instance.initialize().then(() => { | ||
instance | ||
.initialize() | ||
.then(() => { | ||
instance | ||
@@ -123,2 +125,6 @@ .handleRedirectPromise() | ||
}); | ||
}) | ||
.catch(() => { | ||
// Errors should be handled by listening to the LOGIN_FAILURE event | ||
return; | ||
}); | ||
@@ -125,0 +131,0 @@ return () => { |
export declare const name = "@azure/msal-react"; | ||
export declare const version = "2.0.2"; | ||
export declare const version = "2.0.3"; |
@@ -1,8 +0,8 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
/* eslint-disable header/header */ | ||
const name = "@azure/msal-react"; | ||
const version = "2.0.2"; | ||
const version = "2.0.3"; | ||
export { name, version }; | ||
//# sourceMappingURL=packageMetadata.js.map |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-react v2.0.2 2023-08-18 */ | ||
/*! @azure/msal-react v2.0.3 2023-09-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
{ | ||
"name": "@azure/msal-react", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"author": { | ||
@@ -26,3 +26,4 @@ "name": "Microsoft", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
@@ -33,3 +34,5 @@ "engines": { | ||
"beachball": { | ||
"disallowedChangeTypes": [] | ||
"disallowedChangeTypes": [ | ||
"major" | ||
] | ||
}, | ||
@@ -41,4 +44,4 @@ "scripts": { | ||
"test:coverage": "jest --coverage", | ||
"lint": "cd ../../ && npm run lint:react", | ||
"lint:fix": "npm run lint -- -- --fix", | ||
"lint": "eslint src --ext .ts --ext .tsx", | ||
"lint:fix": "npm run lint -- --fix", | ||
"build:all": "cd ../.. && npm run build --workspace=@azure/msal-common --workspace=@azure/msal-browser --workspace=@azure/msal-react", | ||
@@ -50,12 +53,14 @@ "prepack": "npm run build:all", | ||
"peerDependencies": { | ||
"@azure/msal-browser": "^3.0.2", | ||
"@azure/msal-browser": "^3.1.0", | ||
"react": "^16.8.0 || ^17 || ^18" | ||
}, | ||
"devDependencies": { | ||
"@azure/msal-browser": "^3.0.2", | ||
"@azure/msal-browser": "^3.1.0", | ||
"@testing-library/jest-dom": "^5.11.5", | ||
"@testing-library/react": "^13.4.0", | ||
"@types/jest": "^29.5.0", | ||
"@types/node": "^20.5.1", | ||
"@types/react": "^18.2.13", | ||
"@types/react-dom": "^18.2.6", | ||
"eslint-config-msal": "^0.0.0", | ||
"jest": "^29.5.0", | ||
@@ -62,0 +67,0 @@ "jest-environment-jsdom": "^29.5.0", |
@@ -14,2 +14,3 @@ # Microsoft Authentication Library for React (msal-react) | ||
1. [Prerequisites](#prerequisites) | ||
1. [Version Support](#version-support) | ||
1. [Installation](#installation) | ||
@@ -39,2 +40,11 @@ 1. [Build and Test](#build-and-test) | ||
## Version Support | ||
| MSAL React version | MSAL support status | Supported React versions | | ||
| ------------------ | ------------------- | -------------------------- | | ||
| MSAL React v2 | Active development | 16, 17, 18 | | ||
| MSAL React v1 | In maintenance | 16, 17, 18 | | ||
**Note:** There have been no functional changes in the MSAL React v2 release. | ||
## Installation | ||
@@ -41,0 +51,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
129997
61
1816
155
16