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

@azure/msal-browser

Package Overview
Dependencies
Maintainers
3
Versions
122
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.37.1 to 2.38.0

2

dist/_virtual/_tslib.js

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ /*! *****************************************************************************

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -90,3 +90,4 @@ import { __awaiter, __generator, __assign } from '../_virtual/_tslib.js';

secureCookies: false,
cacheMigrationEnabled: false
cacheMigrationEnabled: false,
claimsBasedCachingEnabled: true
};

@@ -93,0 +94,0 @@ this.nativeInternalStorage = new BrowserCacheManager(this.config.auth.clientId, nativeCacheOptions, this.browserCrypto, this.logger);

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { BrowserConfigurationAuthError } from '../error/BrowserConfigurationAuthError.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -1274,3 +1274,4 @@ import { __extends, __awaiter, __generator, __spread } from '../_virtual/_tslib.js';

secureCookies: false,
cacheMigrationEnabled: false
cacheMigrationEnabled: false,
claimsBasedCachingEnabled: true
};

@@ -1277,0 +1278,0 @@ return new BrowserCacheManager(clientId, cacheOptions, DEFAULT_CRYPTO_IMPLEMENTATION, logger);

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { BrowserConfigurationAuthError } from '../error/BrowserConfigurationAuthError.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ /*

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { AuthToken, CacheRecord, Authority, AccountEntity, IdTokenEntity, ScopeSet, AccessTokenEntity, RefreshTokenEntity, Constants } from '@azure/msal-common';

@@ -85,2 +85,6 @@ import { SystemOptions, LoggerOptions, INetworkModule, ProtocolMode, AzureCloudOptions, ApplicationTelemetry } from "@azure/msal-common";

cacheMigrationEnabled?: boolean;
/**
* Flag that determines whether access tokens are stored based on requested claims
*/
claimsBasedCachingEnabled?: boolean;
};

@@ -87,0 +91,0 @@ export declare type BrowserSystemOptions = SystemOptions & {

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -54,3 +54,4 @@ import { __assign } from '../_virtual/_tslib.js';

// Default cache migration to true if cache location is localStorage since entries are preserved across tabs/windows. Migration has little to no benefit in sessionStorage and memoryStorage
cacheMigrationEnabled: userInputCache && userInputCache.cacheLocation === BrowserCacheLocation.LocalStorage ? true : false
cacheMigrationEnabled: userInputCache && userInputCache.cacheLocation === BrowserCacheLocation.LocalStorage ? true : false,
claimsBasedCachingEnabled: true
};

@@ -57,0 +58,0 @@ // Default logger options for browser

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { Constants } from '@azure/msal-common';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __spread, __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { Constants } from '@azure/msal-common';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { Constants } from '@azure/msal-common';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { AccountEntity, CacheManager } from '@azure/msal-common';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { EventType } from './EventType.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ /*

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import * as internals from './internals.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -110,3 +110,3 @@ import { __awaiter, __generator, __spread, __assign } from '../_virtual/_tslib.js';

}
if (!(request.claims && !StringUtils.isEmpty(request.claims))) return [3 /*break*/, 4];
if (!(this.config.cache.claimsBasedCachingEnabled && request.claims && !StringUtils.isEmptyObj(request.claims))) return [3 /*break*/, 4];
_a = validatedRequest;

@@ -113,0 +113,0 @@ return [4 /*yield*/, this.browserCrypto.hashString(request.claims)];

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __rest, __assign } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -182,2 +182,5 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js';

},
cacheOptions: {
claimsBasedCachingEnabled: this.config.cache.claimsBasedCachingEnabled
},
cryptoInterface: this.browserCrypto,

@@ -184,0 +187,0 @@ networkInterface: this.networkClient,

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ export { BrowserCacheManager } from './cache/BrowserCacheManager.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ /*

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js';

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

@@ -1,8 +0,8 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';
/* eslint-disable header/header */
var name = "@azure/msal-browser";
var version = "2.37.1";
var version = "2.38.0";
export { name, version };
//# sourceMappingURL=packageMetadata.js.map

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { __extends, __assign } from '../_virtual/_tslib.js';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ /*

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { OIDC_DEFAULT_SCOPES } from '@azure/msal-common';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { StringUtils, ProtocolUtils, ClientAuthError, UrlString } from '@azure/msal-common';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { Constants } from '@azure/msal-common';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ import { Constants, UrlString } from '@azure/msal-common';

@@ -1,2 +0,2 @@

/*! @azure/msal-browser v2.37.1 2023-06-07 */
/*! @azure/msal-browser v2.38.0 2023-07-05 */
'use strict';

@@ -3,0 +3,0 @@ /*

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

},
"version": "2.37.1",
"version": "2.38.0",
"description": "Microsoft Authentication Library for js",

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

"dependencies": {
"@azure/msal-common": "13.1.0"
"@azure/msal-common": "13.2.0"
}
}

@@ -62,3 +62,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.37.0/js/msal-browser.min.js"></script>
<script type="text/javascript" src="https://alcdn.msauth.net/browser/2.37.1/js/msal-browser.min.js"></script>
```

@@ -65,0 +65,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

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

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 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

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

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 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

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