Socket
Socket
Sign inDemoInstall

@azure/msal-common

Package Overview
Dependencies
Maintainers
3
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/msal-common - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

35

CHANGELOG.json

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

{
"date": "Wed, 31 Mar 2021 22:25:57 GMT",
"tag": "@azure/msal-common_v4.1.1",
"version": "4.1.1",
"comments": {
"none": [
{
"comment": "Update AccountInfo to refer to typedocs (#3266)",
"author": "sameera.gajjarapu@microsoft.com",
"commit": "ea88b22a7133f3e7001ce0690d26f84d93117d4b",
"package": "@azure/msal-common"
}
],
"patch": [
{
"comment": "Update StringUtils.matchPattern to account for queries in string #3307",
"author": "joarroyo@microsoft.com",
"commit": "53af1706880da73c5e0185756c16f285840a7f1f",
"package": "@azure/msal-common"
},
{
"comment": "Adds tokenQueryParameters request param #3309",
"author": "thomas.norling@microsoft.com",
"commit": "91da4f7f8dc126458dcc7b4a1e22b707f48a302a",
"package": "@azure/msal-common"
},
{
"comment": "Ignore account hints when prompt=select_account #3315",
"author": "thomas.norling@microsoft.com",
"commit": "6e836ce254dff695da41261d0012209cf98df13e",
"package": "@azure/msal-common"
}
]
}
},
{
"date": "Wed, 24 Mar 2021 22:55:46 GMT",

@@ -7,0 +42,0 @@ "tag": "@azure/msal-common_v4.1.0",

12

changelog.md
# Change Log - @azure/msal-common
This log was last generated on Wed, 24 Mar 2021 22:55:46 GMT and should not be manually modified.
This log was last generated on Wed, 31 Mar 2021 22:25:57 GMT and should not be manually modified.
<!-- Start content -->
## 4.1.1
Wed, 31 Mar 2021 22:25:57 GMT
### Patches
- Update StringUtils.matchPattern to account for queries in string #3307 (joarroyo@microsoft.com)
- Adds tokenQueryParameters request param #3309 (thomas.norling@microsoft.com)
- Ignore account hints when prompt=select_account #3315 (thomas.norling@microsoft.com)
## 4.1.0

@@ -8,0 +18,0 @@

@@ -49,2 +49,7 @@ import { BaseClient } from "./BaseClient";

/**
* Creates query string for the /token request
* @param request
*/
private createTokenQueryParameters;
/**
* Generates a map for all the params to be sent to the service

@@ -51,0 +56,0 @@ * @param request

@@ -29,2 +29,7 @@ import { ClientConfiguration } from "../config/ClientConfiguration";

/**
* Creates query string for the /token request
* @param request
*/
private createTokenQueryParameters;
/**
* Helper function to create the token request body

@@ -31,0 +36,0 @@ * @param request

2

dist/packageMetadata.d.ts
export declare const name = "@azure/msal-common";
export declare const version = "4.1.0";
export declare const version = "4.1.1";
//# sourceMappingURL=packageMetadata.d.ts.map
import { BaseAuthRequest } from "./BaseAuthRequest";
import { AuthenticationScheme } from "../utils/Constants";
import { StringDict } from "../utils/MsalTypes";
/**

@@ -22,3 +23,4 @@ * Request object passed by user to acquire a token from the server exchanging a valid authorization code (second leg of OAuth2.0 Authorization Code flow)

codeVerifier?: string;
tokenQueryParameters?: StringDict;
};
//# sourceMappingURL=CommonAuthorizationCodeRequest.d.ts.map

@@ -28,3 +28,4 @@ import { ResponseMode, AuthenticationScheme } from "../utils/Constants";

* - domainHint - Provides a hint about the tenant or domain that the user should use to sign in. The value of the domain hint is a registered domain for the tenant.
* - extraQueryParameters - String to string map of custom query parameters.
* - extraQueryParameters - String to string map of custom query parameters added to the /authorize call
* - tokenQueryParameters - String to string map of custom query parameters added to the /token call
* - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.

@@ -43,2 +44,3 @@ * - resourceRequestMethod - HTTP Request type used to request data from the resource (i.e. "GET", "POST", etc.). Used for proof-of-possession flows.

extraQueryParameters?: StringDict;
tokenQueryParameters?: StringDict;
extraScopesToConsent?: Array<string>;

@@ -45,0 +47,0 @@ loginHint?: string;

import { BaseAuthRequest } from "./BaseAuthRequest";
import { AuthenticationScheme } from "../utils/Constants";
import { StringDict } from "../utils/MsalTypes";
/**

@@ -16,3 +17,4 @@ * CommonRefreshTokenRequest

authenticationScheme: AuthenticationScheme;
tokenQueryParameters?: StringDict;
};
//# sourceMappingURL=CommonRefreshTokenRequest.d.ts.map
import { AccountInfo } from "../account/AccountInfo";
import { BaseAuthRequest } from "./BaseAuthRequest";
import { StringDict } from "../utils/MsalTypes";
/**

@@ -17,3 +18,4 @@ * SilentFlow parameters passed by the user to retrieve credentials silently

forceRefresh: boolean;
tokenQueryParameters?: StringDict;
};
//# sourceMappingURL=CommonSilentFlowRequest.d.ts.map

@@ -43,4 +43,4 @@ import { DecodedAuthToken } from "../account/DecodedAuthToken";

/**
* Tests if a given string matches a given pattern, with support for wildcards.
* @param pattern Wildcard pattern to string match. Supports "*" for wildcards
* Tests if a given string matches a given pattern, with support for wildcards and queries.
* @param pattern Wildcard pattern to string match. Supports "*" for wildcards and "?" for queries
* @param input String to match against

@@ -47,0 +47,0 @@ */

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

},
"version": "4.1.0",
"version": "4.1.1",
"description": "Microsoft Authentication Library for js",

@@ -16,0 +16,0 @@ "keywords": [

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 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 not supported yet

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