Socket
Socket
Sign inDemoInstall

@azure/msal-common

Package Overview
Dependencies
Maintainers
3
Versions
121
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 9.0.2 to 9.1.0

2

dist/_virtual/_tslib.js

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -3,0 +3,0 @@ import { Separators, CacheAccountType, CacheType, Constants } from '../../utils/Constants.js';

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -3,0 +3,0 @@ import { Separators, APP_METADATA } from '../../utils/Constants.js';

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -3,0 +3,0 @@ import { AUTHORITY_METADATA_CONSTANTS } from '../../utils/Constants.js';

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -83,3 +83,3 @@ import { CredentialType, CacheType, Constants, Separators, AuthenticationScheme } from '../../utils/Constants.js';

// Match host names like "login.microsoftonline.com", "https://accounts.google.com:4000", etc.
var domainRe = "(https?:\\/\\/)?([\\w-]+\\.)*([\\w-]{1,63})(\\.(\\w{2,3}))(\\:[0-9]{4,5})?";
var domainRe = "(https?:\\/\\/)?([\\w-]+\\.)*([\\w-]{1,63})(\\.(\\w{2,63}))(\\:[0-9]{4,5})?";
for (var _i = 0, _a = Object.keys(CredentialType); _i < _a.length; _i++) {

@@ -89,3 +89,3 @@ var credKey = _a[_i];

// Verify credential type is preceded by a valid host name (environment)
if (key.toLowerCase().search("(?<=" + separator + domainRe + ")" + separator + credVal + separator) !== -1) {
if (key.toLowerCase().search("" + separator + domainRe + separator + credVal + separator) !== -1) {
return CredentialType[credKey];

@@ -92,0 +92,0 @@ }

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -3,0 +3,0 @@ import { SERVER_TELEM_CONSTANTS } from '../../utils/Constants.js';

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -3,0 +3,0 @@ import { ThrottlingConstants } from '../../utils/Constants.js';

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

}
if (request.claims || (this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0)) {
parameterBuilder.addClaims(request.claims, this.config.authOptions.clientCapabilities);
}
return parameterBuilder.createQueryString();

@@ -240,0 +243,0 @@ };

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -3,0 +3,0 @@ export { AuthorizationCodeClient } from './client/AuthorizationCodeClient.js';

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -3,0 +3,0 @@ import { ThrottlingConstants, CacheSchemaType, Constants, HeaderNames } from '../utils/Constants.js';

export declare const name = "@azure/msal-common";
export declare const version = "9.0.2";
export declare const version = "9.1.0";
//# sourceMappingURL=packageMetadata.d.ts.map

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';
/* eslint-disable header/header */
var name = "@azure/msal-common";
var version = "9.0.2";
var version = "9.1.0";
export { name, version };
//# sourceMappingURL=packageMetadata.js.map

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

import { PerformanceEvent, PerformanceEvents, StaticFields } from "./PerformanceEvent";
import { Counters, PerformanceEvent, PerformanceEvents, StaticFields } from "./PerformanceEvent";
import { IPerformanceMeasurement } from "./IPerformanceMeasurement";

@@ -9,2 +9,3 @@ export declare type PerformanceCallbackFunction = (events: PerformanceEvent[]) => void;

addStaticFields: (staticFields: StaticFields) => void;
increment: (counters: Counters) => void;
event: PerformanceEvent;

@@ -22,2 +23,3 @@ measurement: IPerformanceMeasurement;

emitEvents(events: PerformanceEvent[], correlationId: string): void;
startPerformanceMeasuremeant(measureName: string, correlationId: string): IPerformanceMeasurement;
startPerformanceMeasurement(measureName: string, correlationId: string): IPerformanceMeasurement;

@@ -24,0 +26,0 @@ generateId(): string;

@@ -5,3 +5,3 @@ import { ApplicationTelemetry } from "../../config/ClientConfiguration";

import { IPerformanceMeasurement } from "./IPerformanceMeasurement";
import { PerformanceEvent, PerformanceEvents, StaticFields } from "./PerformanceEvent";
import { Counters, PerformanceEvent, PerformanceEvents, StaticFields } from "./PerformanceEvent";
export declare abstract class PerformanceClient implements IPerformanceClient {

@@ -28,2 +28,6 @@ protected authority: string;

/**
* Counters to be emitted which are scoped to the top level request and whose value may change in sub-measurements
*/
protected countersByCorrelationId: Map<string, Counters>;
/**
* Underlying performance measurements for each operation

@@ -48,5 +52,12 @@ *

/**
* Generates and returns a unique id, typically a guid.
*
* @abstract
* @returns {string}
*/
abstract generateId(): string;
/**
* Starts and returns an platform-specific implementation of IPerformanceMeasurement.
* Note: this function can be changed to abstract at the next major version bump.
*
* @abstract
* @param {string} measureName

@@ -56,10 +67,12 @@ * @param {string} correlationId

*/
abstract startPerformanceMeasurement(measureName: string, correlationId: string): IPerformanceMeasurement;
startPerformanceMeasurement(measureName: string, correlationId: string): IPerformanceMeasurement;
/**
* Generates and returns a unique id, typically a guid.
* Starts and returns an platform-specific implementation of IPerformanceMeasurement.
* Note: this incorrectly-named function will be removed at the next major version bump.
*
* @abstract
* @returns {string}
* @param {string} measureName
* @param {string} correlationId
* @returns {IPerformanceMeasurement}
*/
abstract generateId(): string;
startPerformanceMeasuremeant(measureName: string, correlationId: string): IPerformanceMeasurement;
/**

@@ -88,2 +101,8 @@ * Starts measuring performance for a given operation. Returns a function that should be used to end the measurement.

/**
* Increment counters to be emitted when the measurements are flushed
* @param counters {Counters}
* @param correlationId {string} correlation identifier
*/
increment(counters: Counters, correlationId: string): void;
/**
* Upserts event into event cache.

@@ -120,2 +139,8 @@ * First key is the correlation id, second key is the event id.

/**
* Removes cache for a given correlation id.
*
* @param {string} correlation identifier
*/
private discardCache;
/**
* Registers a callback function to receive performance events.

@@ -122,0 +147,0 @@ *

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

this.measurementsById = new Map();
this.countersByCorrelationId = new Map();
}
/**
* Starts and returns an platform-specific implementation of IPerformanceMeasurement.
* Note: this function can be changed to abstract at the next major version bump.
*
* @param {string} measureName
* @param {string} correlationId
* @returns {IPerformanceMeasurement}
*/
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
PerformanceClient.prototype.startPerformanceMeasurement = function (measureName, correlationId) {
return {};
};
/**
* Starts and returns an platform-specific implementation of IPerformanceMeasurement.
* Note: this incorrectly-named function will be removed at the next major version bump.
*
* @param {string} measureName
* @param {string} correlationId
* @returns {IPerformanceMeasurement}
*/
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
PerformanceClient.prototype.startPerformanceMeasuremeant = function (measureName, correlationId) {
return {};
};
/**
* Starts measuring performance for a given operation. Returns a function that should be used to end the measurement.

@@ -51,3 +76,3 @@ *

this.logger.trace("PerformanceClient: Performance measurement started for " + measureName, eventCorrelationId);
var performanceMeasurement = this.startPerformanceMeasurement(measureName, eventCorrelationId);
var performanceMeasurement = this.startPerformanceMeasuremeant(measureName, eventCorrelationId);
performanceMeasurement.startMeasurement();

@@ -92,2 +117,5 @@ var inProgressEvent = {

},
increment: function (counters) {
return _this.increment(counters, inProgressEvent.correlationId);
},
measurement: performanceMeasurement,

@@ -145,2 +173,22 @@ event: inProgressEvent

/**
* Increment counters to be emitted when the measurements are flushed
* @param counters {Counters}
* @param correlationId {string} correlation identifier
*/
PerformanceClient.prototype.increment = function (counters, correlationId) {
var existing = this.countersByCorrelationId.get(correlationId);
if (!existing) {
this.logger.trace("PerformanceClient: Setting counters");
this.countersByCorrelationId.set(correlationId, __assign({}, counters));
return;
}
this.logger.trace("PerformanceClient: Updating counters");
for (var counter in counters) {
if (!existing.hasOwnProperty(counter)) {
existing[counter] = 0;
}
existing[counter] += counters[counter];
}
};
/**
* Upserts event into event cache.

@@ -185,4 +233,6 @@ * First key is the correlation id, second key is the event id.

var eventsForCorrelationId = this.eventsByCorrelationId.get(correlationId);
var staticFields = this.staticFieldsByCorrelationId.get(correlationId);
var counters = this.countersByCorrelationId.get(correlationId);
if (eventsForCorrelationId) {
this.discardMeasurements(correlationId);
this.discardCache(correlationId);
/*

@@ -238,4 +288,3 @@ * Manually end incomplete submeasurements to ensure there arent orphaned/never ending events.

}, topLevelEvent);
var staticFields = this.staticFieldsByCorrelationId.get(correlationId);
var finalEvent = __assign(__assign({}, eventToEmit), staticFields);
var finalEvent = __assign(__assign(__assign({}, eventToEmit), staticFields), counters);
this.emitEvents([finalEvent], eventToEmit.correlationId);

@@ -261,2 +310,14 @@ }

/**
* Removes cache for a given correlation id.
*
* @param {string} correlation identifier
*/
PerformanceClient.prototype.discardCache = function (correlationId) {
this.discardMeasurements(correlationId);
this.logger.trace("PerformanceClient: Static fields discarded", correlationId);
this.staticFieldsByCorrelationId.delete(correlationId);
this.logger.trace("PerformanceClient: Counters discarded", correlationId);
this.countersByCorrelationId.delete(correlationId);
};
/**
* Registers a callback function to receive performance events.

@@ -263,0 +324,0 @@ *

@@ -106,2 +106,3 @@ /**

RefreshTokenClientAcquireTokenWithCachedRefreshToken = "refreshTokenClientAcquireTokenWithCachedRefreshToken",
AcquireTokenByCodeAsync = "acquireTokenByCodeAsync",
GetEndpointMetadataFromNetwork = "getEndpointMetadataFromNetwork",

@@ -188,2 +189,8 @@ GetCloudDiscoveryMetadataFromNetworkMeasurement = "getCloudDiscoveryMetadataFromNetworkMeasurement",

/**
* Fields whose value may change throughout a request
*/
export declare type Counters = {
visibilityChangeCount?: number;
};
/**
* Performance measurement taken by the library, including metadata about the request and application.

@@ -194,3 +201,3 @@ *

*/
export declare type PerformanceEvent = StaticFields & {
export declare type PerformanceEvent = StaticFields & Counters & {
/**

@@ -197,0 +204,0 @@ * Unique id for the event

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -113,2 +113,3 @@ /*

PerformanceEvents["RefreshTokenClientAcquireTokenWithCachedRefreshToken"] = "refreshTokenClientAcquireTokenWithCachedRefreshToken";
PerformanceEvents["AcquireTokenByCodeAsync"] = "acquireTokenByCodeAsync";
PerformanceEvents["GetEndpointMetadataFromNetwork"] = "getEndpointMetadataFromNetwork";

@@ -115,0 +116,0 @@ PerformanceEvents["GetCloudDiscoveryMetadataFromNetworkMeasurement"] = "getCloudDiscoveryMetadataFromNetworkMeasurement";

@@ -11,4 +11,5 @@ import { IPerformanceClient } from "./IPerformanceClient";

generateId(): string;
startPerformanceMeasuremeant(): IPerformanceMeasurement;
startPerformanceMeasurement(): IPerformanceMeasurement;
}
//# sourceMappingURL=StubPerformanceClient.d.ts.map

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -30,2 +30,5 @@ import { __extends } from '../../_virtual/_tslib.js';

};
StubPerformanceClient.prototype.startPerformanceMeasuremeant = function () {
return new StubPerformanceMeasurement();
};
StubPerformanceClient.prototype.startPerformanceMeasurement = function () {

@@ -32,0 +35,0 @@ return new StubPerformanceMeasurement();

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

@@ -3,0 +3,0 @@ import { SERVER_TELEM_CONSTANTS, CacheOutcome, Constants, Separators } from '../../utils/Constants.js';

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

/*! @azure/msal-common v9.0.2 2023-01-09 */
/*! @azure/msal-common v9.1.0 2023-01-18 */
'use strict';

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

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

},
"version": "9.0.2",
"version": "9.1.0",
"description": "Microsoft Authentication Library for js",

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

@@ -0,0 +0,0 @@ # Microsoft Authentication Library for JavaScript (MSAL.js) Common Protocols Package

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

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