@azure/msal-node 5.1.2 → 5.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/cache/CacheHelpers.mjs +1 -1
  2. package/dist/cache/NodeStorage.mjs +1 -1
  3. package/dist/cache/TokenCache.mjs +1 -1
  4. package/dist/cache/distributed/DistributedCachePlugin.mjs +1 -1
  5. package/dist/cache/serializer/Deserializer.mjs +1 -1
  6. package/dist/cache/serializer/Serializer.mjs +1 -1
  7. package/dist/client/BaseClient.mjs +1 -1
  8. package/dist/client/ClientApplication.mjs +1 -1
  9. package/dist/client/ClientAssertion.mjs +1 -1
  10. package/dist/client/ClientCredentialClient.mjs +1 -1
  11. package/dist/client/ConfidentialClientApplication.mjs +1 -1
  12. package/dist/client/DeviceCodeClient.mjs +1 -1
  13. package/dist/client/ManagedIdentityApplication.mjs +1 -1
  14. package/dist/client/ManagedIdentityClient.mjs +1 -1
  15. package/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
  16. package/dist/client/ManagedIdentitySources/AzureArc.mjs +1 -1
  17. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +1 -1
  18. package/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
  19. package/dist/client/ManagedIdentitySources/Imds.mjs +1 -1
  20. package/dist/client/ManagedIdentitySources/MachineLearning.mjs +1 -1
  21. package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
  22. package/dist/client/OnBehalfOfClient.mjs +1 -1
  23. package/dist/client/PublicClientApplication.mjs +1 -1
  24. package/dist/client/UsernamePasswordClient.mjs +1 -1
  25. package/dist/config/Configuration.mjs +1 -1
  26. package/dist/config/ManagedIdentityId.mjs +1 -1
  27. package/dist/config/ManagedIdentityRequestParameters.mjs +1 -1
  28. package/dist/crypto/CryptoProvider.mjs +1 -1
  29. package/dist/crypto/GuidGenerator.mjs +1 -1
  30. package/dist/crypto/HashUtils.mjs +1 -1
  31. package/dist/crypto/PkceGenerator.mjs +1 -1
  32. package/dist/error/ClientAuthErrorCodes.mjs +1 -1
  33. package/dist/error/ManagedIdentityError.mjs +1 -1
  34. package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
  35. package/dist/error/NodeAuthError.mjs +1 -1
  36. package/dist/index.mjs +1 -1
  37. package/dist/internals.mjs +1 -1
  38. package/dist/network/HttpClient.mjs +1 -1
  39. package/dist/network/HttpClientWithRetries.mjs +1 -1
  40. package/dist/network/LoopbackClient.mjs +1 -1
  41. package/dist/packageMetadata.d.ts +1 -1
  42. package/dist/packageMetadata.mjs +2 -2
  43. package/dist/protocol/Authorize.mjs +1 -1
  44. package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +1 -1
  45. package/dist/retry/ExponentialRetryStrategy.mjs +1 -1
  46. package/dist/retry/ImdsRetryPolicy.mjs +1 -1
  47. package/dist/retry/LinearRetryStrategy.mjs +1 -1
  48. package/dist/utils/Constants.mjs +1 -1
  49. package/dist/utils/EncodingUtils.mjs +1 -1
  50. package/dist/utils/TimeUtils.mjs +1 -1
  51. package/lib/msal-node.cjs +126 -98
  52. package/lib/msal-node.cjs.map +1 -1
  53. package/lib/types/packageMetadata.d.ts +1 -1
  54. package/package.json +2 -2
  55. package/src/packageMetadata.ts +1 -1
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants } from '@azure/msal-common/node';
4
4
  import { CACHE } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { CacheManager, StubPerformanceClient, AccountEntityUtils, CacheHelpers } from '@azure/msal-common/node';
4
4
  import { Deserializer } from './serializer/Deserializer.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { NodeStorage } from './NodeStorage.mjs';
4
4
  import { TokenCacheContext } from '@azure/msal-common/node';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { AccountEntityUtils } from '@azure/msal-common/node';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { CacheManager } from '@azure/msal-common/node';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { buildClientConfiguration, Logger, StubPerformanceClient, TokenProtocol } from '@azure/msal-common/node';
4
4
  import { name, version } from '../packageMetadata.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Logger, buildStaticAuthorityOptions, Constants, AuthorizationCodeClient, StubPerformanceClient, AuthError, RefreshTokenClient, SilentFlowClient, ClientAuthError, ClientAuthErrorCodes, createClientAuthError, getClientAssertion, ServerTelemetryManager, Authority, AuthorityFactory } from '@azure/msal-common/node';
4
4
  import { buildAppConfiguration } from '../config/Configuration.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import jwt from 'jsonwebtoken';
4
4
  import { createClientAuthError, TimeUtils, Constants } from '@azure/msal-common/node';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants, TokenCacheContext, ScopeSet, TimeUtils, ResponseHandler, createClientAuthError, ClientAuthErrorCodes, UrlString, RequestParameterBuilder, getClientAssertion, StringUtils, UrlUtils } from '@azure/msal-common/node';
4
4
  import { ApiId } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { ClientApplication } from './ClientApplication.mjs';
4
4
  import { ClientAssertion } from './ClientAssertion.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { TimeUtils, ResponseHandler, UrlString, RequestParameterBuilder, UrlUtils, createClientAuthError, Constants, createAuthError, AuthErrorCodes, StringUtils } from '@azure/msal-common/node';
4
4
  import { ApiId } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Logger, DEFAULT_CRYPTO_IMPLEMENTATION, Constants, Authority, ProtocolMode, StubPerformanceClient, createClientConfigurationError, ClientConfigurationErrorCodes } from '@azure/msal-common/node';
4
4
  import { buildManagedIdentityConfiguration } from '../config/Configuration.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { AppService } from './ManagedIdentitySources/AppService.mjs';
4
4
  import { AzureArc } from './ManagedIdentitySources/AzureArc.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { BaseManagedIdentitySource } from './BaseManagedIdentitySource.mjs';
4
4
  import { ManagedIdentityEnvironmentVariableNames, ManagedIdentitySourceNames, ManagedIdentityHeaders, ManagedIdentityQueryParameters, ManagedIdentityIdType, HttpMethod } from '../../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants, AuthError, createClientAuthError, ClientAuthErrorCodes } from '@azure/msal-common/node';
4
4
  import { ManagedIdentityRequestParameters } from '../../config/ManagedIdentityRequestParameters.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { TimeUtils, Constants, AuthError, createClientAuthError, ClientAuthErrorCodes, ResponseHandler, StubPerformanceClient, UrlString } from '@azure/msal-common/node';
4
4
  import { ManagedIdentityQueryParameters, HttpMethod, ApiId, ManagedIdentityIdType } from '../../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { ManagedIdentityRequestParameters } from '../../config/ManagedIdentityRequestParameters.mjs';
4
4
  import { BaseManagedIdentitySource } from './BaseManagedIdentitySource.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { ManagedIdentityRequestParameters } from '../../config/ManagedIdentityRequestParameters.mjs';
4
4
  import { BaseManagedIdentitySource } from './BaseManagedIdentitySource.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { BaseManagedIdentitySource, ManagedIdentityUserAssignedIdQueryParameterNames } from './BaseManagedIdentitySource.mjs';
4
4
  import { ManagedIdentityEnvironmentVariableNames, ManagedIdentitySourceNames, ManagedIdentityHeaders, ManagedIdentityQueryParameters, ManagedIdentityIdType, HttpMethod } from '../../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { ManagedIdentityRequestParameters } from '../../config/ManagedIdentityRequestParameters.mjs';
4
4
  import { BaseManagedIdentitySource } from './BaseManagedIdentitySource.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { ScopeSet, Constants, createClientAuthError, ClientAuthErrorCodes, TimeUtils, AuthToken, ResponseHandler, UrlString, RequestParameterBuilder, AADServerParamKeys, getClientAssertion, UrlUtils } from '@azure/msal-common/node';
4
4
  import { ApiId } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants, ApiId, LOOPBACK_SERVER_CONSTANTS } from '../utils/Constants.mjs';
4
4
  import { ServerTelemetryManager, enforceResourceParameter, AuthError, Constants as Constants$1, ServerError, AADServerParamKeys } from '@azure/msal-common/node';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { TimeUtils, ResponseHandler, UrlString, CcsCredentialType, RequestParameterBuilder, Constants, getClientAssertion, StringUtils, UrlUtils } from '@azure/msal-common/node';
4
4
  import { ApiId } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { LogLevel, ProtocolMode, AzureCloudInstance, Constants } from '@azure/msal-common/node';
4
4
  import { HttpClient } from '../network/HttpClient.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { createManagedIdentityError } from '../error/ManagedIdentityError.mjs';
4
4
  import { ManagedIdentityIdType, DEFAULT_MANAGED_IDENTITY_ID } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { RequestParameterBuilder, UrlUtils, UrlString } from '@azure/msal-common/node';
4
4
  import { DefaultManagedIdentityRetryPolicy } from '../retry/DefaultManagedIdentityRetryPolicy.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants } from '@azure/msal-common/node';
4
4
  import { GuidGenerator } from './GuidGenerator.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { v4 } from 'uuid';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Hash } from '../utils/Constants.mjs';
4
4
  import crypto from 'crypto';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants } from '@azure/msal-common/node';
4
4
  import { RANDOM_OCTET_SIZE, CharSet } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { AuthError } from '@azure/msal-common/node';
4
4
  import { wwwAuthenticateHeaderUnsupportedFormat, wwwAuthenticateHeaderMissing, userAssignedNotAvailableAtRuntime, unableToReadSecretFile, unableToCreateSource, unableToCreateCloudShell, unableToCreateAzureArc, networkUnavailable, MsiEnvironmentVariableUrlMalformedErrorCodes, missingId, platformNotSupported, invalidSecret, invalidManagedIdentityIdType, invalidFilePath, invalidFileExtension } from './ManagedIdentityErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { ManagedIdentityEnvironmentVariableNames } from '../utils/Constants.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { AuthError } from '@azure/msal-common/node';
4
4
 
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import * as internals from './internals.mjs';
4
4
  export { internals };
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  export { Serializer } from './cache/serializer/Serializer.mjs';
4
4
  export { Deserializer } from './cache/serializer/Deserializer.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { createAuthError, ClientAuthErrorCodes, createNetworkError } from '@azure/msal-common/node';
4
4
  import { HttpMethod } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants } from '@azure/msal-common/node';
4
4
  import { HttpMethod } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants, UrlUtils } from '@azure/msal-common/node';
4
4
  import http from 'http';
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@azure/msal-node";
2
- export declare const version = "5.1.2";
2
+ export declare const version = "5.1.4";
3
3
  //# sourceMappingURL=packageMetadata.d.ts.map
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  /* eslint-disable header/header */
4
4
  const name = "@azure/msal-node";
5
- const version = "5.1.2";
5
+ const version = "5.1.4";
6
6
 
7
7
  export { name, version };
8
8
  //# sourceMappingURL=packageMetadata.mjs.map
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { AuthorizeProtocol, RequestParameterBuilder, ProtocolMode, Constants as Constants$1 } from '@azure/msal-common/node';
4
4
  import { Constants } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants } from '@azure/msal-common/node';
4
4
  import { LinearRetryStrategy } from './LinearRetryStrategy.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants } from '@azure/msal-common/node';
4
4
  import { ExponentialRetryStrategy } from './ExponentialRetryStrategy.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  import { Constants } from '@azure/msal-common/node';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v5.1.2 2026-04-01 */
1
+ /*! @azure/msal-node v5.1.4 2026-04-21 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.