Socket
Socket
Sign inDemoInstall

@azure/msal-browser

Package Overview
Dependencies
Maintainers
3
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/msal-browser - npm Package Compare versions

Comparing version 2.12.0 to 2.12.1

35

CHANGELOG.json

@@ -5,2 +5,37 @@ {

{
"date": "Mon, 15 Mar 2021 23:45:17 GMT",
"tag": "@azure/msal-browser_v2.12.1",
"version": "2.12.1",
"comments": {
"none": [
{
"comment": "Update Docs #3177",
"author": "thomas.norling@microsoft.com",
"commit": "d448f10701d5416190ea0eb267495ad6522320a2",
"package": "@azure/msal-browser"
},
{
"comment": "Docs changes for sid/loginHint in SSO scenarios #3147",
"author": "prkanher@microsoft.com",
"commit": "c4eadd724df908e287faf162787ab15a512ed192",
"package": "@azure/msal-browser"
}
],
"patch": [
{
"comment": "Clear temporary cache cookies on page load #3129",
"author": "prkanher@microsoft.com",
"commit": "3cbb550cb0cd63a78f3f78621d56ee42c905fcf3",
"package": "@azure/msal-browser"
},
{
"comment": "Throw BrowserAuthError when fetch fails #3146",
"author": "thomas.norling@microsoft.com",
"commit": "da0294f006a4646f101f646544cb9542d8b29628",
"package": "@azure/msal-browser"
}
]
}
},
{
"date": "Wed, 03 Mar 2021 21:47:05 GMT",

@@ -7,0 +42,0 @@ "tag": "@azure/msal-browser_v2.12.0",

11

changelog.md
# Change Log - @azure/msal-browser
This log was last generated on Wed, 03 Mar 2021 21:47:05 GMT and should not be manually modified.
This log was last generated on Mon, 15 Mar 2021 23:45:17 GMT and should not be manually modified.
<!-- Start content -->
## 2.12.1
Mon, 15 Mar 2021 23:45:17 GMT
### Patches
- Clear temporary cache cookies on page load #3129 (prkanher@microsoft.com)
- Throw BrowserAuthError when fetch fails #3146 (thomas.norling@microsoft.com)
## 2.12.0

@@ -8,0 +17,0 @@

@@ -187,2 +187,6 @@ import { CommonAuthorizationCodeRequest, ICrypto, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, CacheManager, ServerTelemetryEntity, ThrottlingEntity, Logger, AuthorityMetadataEntity } from "@azure/msal-common";

/**
* Clear all msal-related cookies currently set in the browser. Should only be used to clear temporary cache items.
*/
clearMsalCookies(): void;
/**
* Clear an item in the cookies by key

@@ -189,0 +193,0 @@ * @param cookieName

@@ -114,2 +114,18 @@ import { AuthError } from "@azure/msal-common";

};
noNetworkConnectivity: {
code: string;
desc: string;
};
postRequestFailed: {
code: string;
desc: string;
};
getRequestFailed: {
code: string;
desc: string;
};
failedToParseNetworkResponse: {
code: string;
desc: string;
};
};

@@ -236,3 +252,19 @@ /**

static createDatabaseNotOpenError(): BrowserAuthError;
/**
* Create an error thrown when token fetch fails due to no internet
*/
static createNoNetworkConnectivityError(): BrowserAuthError;
/**
* Create an error thrown when token fetch fails due to reasons other than internet connectivity
*/
static createPostRequestFailedError(errorDesc: string, endpoint: string): BrowserAuthError;
/**
* Create an error thrown when get request fails due to reasons other than internet connectivity
*/
static createGetRequestFailedError(errorDesc: string, endpoint: string): BrowserAuthError;
/**
* Create an error thrown when network client fails to parse network response
*/
static createFailedToParseNetworkResponseError(endpoint: string): BrowserAuthError;
}
//# sourceMappingURL=BrowserAuthError.d.ts.map

2

dist/packageMetadata.d.ts
export declare const name = "@azure/msal-browser";
export declare const version = "2.12.0";
export declare const version = "2.12.1";
//# sourceMappingURL=packageMetadata.d.ts.map

@@ -13,3 +13,3 @@ {

},
"version": "2.12.0",
"version": "2.12.1",
"description": "Microsoft Authentication Library for js",

@@ -97,4 +97,4 @@ "keywords": [

"dependencies": {
"@azure/msal-common": "^4.0.2"
"@azure/msal-common": "^4.0.3"
}
}

@@ -60,3 +60,3 @@ # Microsoft Authentication Library for JavaScript (MSAL.js) 2.0 for Browser-Based Single-Page Applications

```html
<script type="text/javascript" src="https://alcdn.msauth.net/browser/2.12.0/js/msal-browser.min.js"></script>
<script type="text/javascript" src="https://alcdn.msauth.net/browser/2.12.1/js/msal-browser.min.js"></script>
```

@@ -174,4 +174,4 @@

- Angular: [@azure/msal-angular v2 (Alpha)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-angular)
- React: [@azure/msal-react (Alpha)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-react)
- Angular: [@azure/msal-angular v2 (Beta)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-angular)
- React: [@azure/msal-react (Beta)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-react)

@@ -178,0 +178,0 @@ ## Implicit Flow vs Authorization Code Flow with PKCE

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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