@azure/identity 4.10.2-alpha.20250613.1 → 4.10.2-alpha.20250616.2
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.
- package/dist/browser/util/subscriptionUtils.d.ts.map +1 -1
- package/dist/browser/util/subscriptionUtils.js +3 -1
- package/dist/browser/util/subscriptionUtils.js.map +1 -1
- package/dist/commonjs/util/subscriptionUtils.d.ts.map +1 -1
- package/dist/commonjs/util/subscriptionUtils.js +3 -1
- package/dist/commonjs/util/subscriptionUtils.js.map +1 -1
- package/dist/esm/util/subscriptionUtils.d.ts.map +1 -1
- package/dist/esm/util/subscriptionUtils.js +3 -1
- package/dist/esm/util/subscriptionUtils.js.map +1 -1
- package/dist/workerd/util/subscriptionUtils.d.ts.map +1 -1
- package/dist/workerd/util/subscriptionUtils.js +3 -1
- package/dist/workerd/util/subscriptionUtils.js.map +1 -1
- package/package.json +3 -3
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscriptionUtils.d.ts","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,
|
1
|
+
{"version":3,"file":"subscriptionUtils.d.ts","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAUtF"}
|
@@ -6,7 +6,9 @@ import { formatError } from "./logging.js";
|
|
6
6
|
*/
|
7
7
|
export function checkSubscription(logger, subscription) {
|
8
8
|
if (!subscription.match(/^[0-9a-zA-Z-._ ]+$/)) {
|
9
|
-
const error = new Error(
|
9
|
+
const error = new Error(`Subscription '${subscription}' contains invalid characters. If this is the name of a subscription, use ` +
|
10
|
+
`its ID instead. You can locate your subscription by following the instructions listed here: ` +
|
11
|
+
`https://learn.microsoft.com/azure/azure-portal/get-subscription-tenant-id`);
|
10
12
|
logger.info(formatError("", error));
|
11
13
|
throw error;
|
12
14
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscriptionUtils.js","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAwB,EAAE,YAAoB;IAC9E,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,
|
1
|
+
{"version":3,"file":"subscriptionUtils.js","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAwB,EAAE,YAAoB;IAC9E,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,iBAAiB,YAAY,4EAA4E;YACvG,8FAA8F;YAC9F,2EAA2E,CAC9E,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;QACpC,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CredentialLogger } from \"./logging.js\";\nimport { formatError } from \"./logging.js\";\n\n/**\n * @internal\n */\nexport function checkSubscription(logger: CredentialLogger, subscription: string): void {\n if (!subscription.match(/^[0-9a-zA-Z-._ ]+$/)) {\n const error = new Error(\n `Subscription '${subscription}' contains invalid characters. If this is the name of a subscription, use ` +\n `its ID instead. You can locate your subscription by following the instructions listed here: ` +\n `https://learn.microsoft.com/azure/azure-portal/get-subscription-tenant-id`,\n );\n logger.info(formatError(\"\", error));\n throw error;\n }\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscriptionUtils.d.ts","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,
|
1
|
+
{"version":3,"file":"subscriptionUtils.d.ts","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAUtF"}
|
@@ -9,7 +9,9 @@ const logging_js_1 = require("./logging.js");
|
|
9
9
|
*/
|
10
10
|
function checkSubscription(logger, subscription) {
|
11
11
|
if (!subscription.match(/^[0-9a-zA-Z-._ ]+$/)) {
|
12
|
-
const error = new Error(
|
12
|
+
const error = new Error(`Subscription '${subscription}' contains invalid characters. If this is the name of a subscription, use ` +
|
13
|
+
`its ID instead. You can locate your subscription by following the instructions listed here: ` +
|
14
|
+
`https://learn.microsoft.com/azure/azure-portal/get-subscription-tenant-id`);
|
13
15
|
logger.info((0, logging_js_1.formatError)("", error));
|
14
16
|
throw error;
|
15
17
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscriptionUtils.js","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAQlC,
|
1
|
+
{"version":3,"file":"subscriptionUtils.js","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAQlC,8CAUC;AAfD,6CAA2C;AAE3C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,MAAwB,EAAE,YAAoB;IAC9E,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,iBAAiB,YAAY,4EAA4E;YACvG,8FAA8F;YAC9F,2EAA2E,CAC9E,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,IAAA,wBAAW,EAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;QACpC,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CredentialLogger } from \"./logging.js\";\nimport { formatError } from \"./logging.js\";\n\n/**\n * @internal\n */\nexport function checkSubscription(logger: CredentialLogger, subscription: string): void {\n if (!subscription.match(/^[0-9a-zA-Z-._ ]+$/)) {\n const error = new Error(\n `Subscription '${subscription}' contains invalid characters. If this is the name of a subscription, use ` +\n `its ID instead. You can locate your subscription by following the instructions listed here: ` +\n `https://learn.microsoft.com/azure/azure-portal/get-subscription-tenant-id`,\n );\n logger.info(formatError(\"\", error));\n throw error;\n }\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscriptionUtils.d.ts","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,
|
1
|
+
{"version":3,"file":"subscriptionUtils.d.ts","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAUtF"}
|
@@ -6,7 +6,9 @@ import { formatError } from "./logging.js";
|
|
6
6
|
*/
|
7
7
|
export function checkSubscription(logger, subscription) {
|
8
8
|
if (!subscription.match(/^[0-9a-zA-Z-._ ]+$/)) {
|
9
|
-
const error = new Error(
|
9
|
+
const error = new Error(`Subscription '${subscription}' contains invalid characters. If this is the name of a subscription, use ` +
|
10
|
+
`its ID instead. You can locate your subscription by following the instructions listed here: ` +
|
11
|
+
`https://learn.microsoft.com/azure/azure-portal/get-subscription-tenant-id`);
|
10
12
|
logger.info(formatError("", error));
|
11
13
|
throw error;
|
12
14
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscriptionUtils.js","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAwB,EAAE,YAAoB;IAC9E,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,
|
1
|
+
{"version":3,"file":"subscriptionUtils.js","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAwB,EAAE,YAAoB;IAC9E,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,iBAAiB,YAAY,4EAA4E;YACvG,8FAA8F;YAC9F,2EAA2E,CAC9E,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;QACpC,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CredentialLogger } from \"./logging.js\";\nimport { formatError } from \"./logging.js\";\n\n/**\n * @internal\n */\nexport function checkSubscription(logger: CredentialLogger, subscription: string): void {\n if (!subscription.match(/^[0-9a-zA-Z-._ ]+$/)) {\n const error = new Error(\n `Subscription '${subscription}' contains invalid characters. If this is the name of a subscription, use ` +\n `its ID instead. You can locate your subscription by following the instructions listed here: ` +\n `https://learn.microsoft.com/azure/azure-portal/get-subscription-tenant-id`,\n );\n logger.info(formatError(\"\", error));\n throw error;\n }\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscriptionUtils.d.ts","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,
|
1
|
+
{"version":3,"file":"subscriptionUtils.d.ts","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAUtF"}
|
@@ -6,7 +6,9 @@ import { formatError } from "./logging.js";
|
|
6
6
|
*/
|
7
7
|
export function checkSubscription(logger, subscription) {
|
8
8
|
if (!subscription.match(/^[0-9a-zA-Z-._ ]+$/)) {
|
9
|
-
const error = new Error(
|
9
|
+
const error = new Error(`Subscription '${subscription}' contains invalid characters. If this is the name of a subscription, use ` +
|
10
|
+
`its ID instead. You can locate your subscription by following the instructions listed here: ` +
|
11
|
+
`https://learn.microsoft.com/azure/azure-portal/get-subscription-tenant-id`);
|
10
12
|
logger.info(formatError("", error));
|
11
13
|
throw error;
|
12
14
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscriptionUtils.js","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAwB,EAAE,YAAoB;IAC9E,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,
|
1
|
+
{"version":3,"file":"subscriptionUtils.js","sourceRoot":"","sources":["../../../src/util/subscriptionUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAwB,EAAE,YAAoB;IAC9E,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,iBAAiB,YAAY,4EAA4E;YACvG,8FAA8F;YAC9F,2EAA2E,CAC9E,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;QACpC,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CredentialLogger } from \"./logging.js\";\nimport { formatError } from \"./logging.js\";\n\n/**\n * @internal\n */\nexport function checkSubscription(logger: CredentialLogger, subscription: string): void {\n if (!subscription.match(/^[0-9a-zA-Z-._ ]+$/)) {\n const error = new Error(\n `Subscription '${subscription}' contains invalid characters. If this is the name of a subscription, use ` +\n `its ID instead. You can locate your subscription by following the instructions listed here: ` +\n `https://learn.microsoft.com/azure/azure-portal/get-subscription-tenant-id`,\n );\n logger.info(formatError(\"\", error));\n throw error;\n }\n}\n"]}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/identity",
|
3
3
|
"sdk-type": "client",
|
4
|
-
"version": "4.10.2-alpha.
|
4
|
+
"version": "4.10.2-alpha.20250616.2",
|
5
5
|
"description": "Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID",
|
6
6
|
"main": "./dist/commonjs/index.js",
|
7
7
|
"module": "./dist/esm/index.js",
|
@@ -51,7 +51,7 @@
|
|
51
51
|
]
|
52
52
|
},
|
53
53
|
"engines": {
|
54
|
-
"node": ">=
|
54
|
+
"node": ">=20.0.0"
|
55
55
|
},
|
56
56
|
"repository": "github:Azure/azure-sdk-for-js",
|
57
57
|
"keywords": [
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"@azure/keyvault-keys": "^4.2.0",
|
94
94
|
"@types/jsonwebtoken": "^9.0.0",
|
95
95
|
"@types/ms": "^2.1.0",
|
96
|
-
"@types/node": "^
|
96
|
+
"@types/node": "^20.0.0",
|
97
97
|
"@vitest/browser": "^3.0.9",
|
98
98
|
"@vitest/coverage-istanbul": "^3.0.9",
|
99
99
|
"assertion-error": "^2.0.1",
|