@azure/core-amqp 4.4.0 → 4.4.1-alpha.20250716.3
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.
|
@@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getPlatformInfo = getPlatformInfo;
|
|
6
6
|
exports.getFrameworkInfo = getFrameworkInfo;
|
|
7
7
|
const tslib_1 = require("tslib");
|
|
8
|
-
const
|
|
8
|
+
const node_os_1 = tslib_1.__importDefault(require("node:os"));
|
|
9
9
|
/**
|
|
10
10
|
* Returns information about the platform this function is being run on.
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
13
|
function getPlatformInfo() {
|
|
14
|
-
return `(${
|
|
14
|
+
return `(${node_os_1.default.arch()}-${node_os_1.default.type()}-${node_os_1.default.release()})`;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Returns information about Node.js this function is being run on.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeInfo.js","sourceRoot":"","sources":["../../../src/util/runtimeInfo.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAQlC,0CAEC;AAMD,4CAEC;;AAhBD,
|
|
1
|
+
{"version":3,"file":"runtimeInfo.js","sourceRoot":"","sources":["../../../src/util/runtimeInfo.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAQlC,0CAEC;AAMD,4CAEC;;AAhBD,8DAAyB;AAEzB;;;GAGG;AACH,SAAgB,eAAe;IAC7B,OAAO,IAAI,iBAAE,CAAC,IAAI,EAAE,IAAI,iBAAE,CAAC,IAAI,EAAE,IAAI,iBAAE,CAAC,OAAO,EAAE,GAAG,CAAC;AACvD,CAAC;AAED;;;GAGG;AACH,SAAgB,gBAAgB;IAC9B,OAAO,QAAQ,OAAO,CAAC,OAAO,EAAE,CAAC;AACnC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport os from \"node:os\";\n\n/**\n * Returns information about the platform this function is being run on.\n * @internal\n */\nexport function getPlatformInfo(): string {\n return `(${os.arch()}-${os.type()}-${os.release()})`;\n}\n\n/**\n * Returns information about Node.js this function is being run on.\n * @internal\n */\nexport function getFrameworkInfo(): string {\n return `Node/${process.version}`;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeInfo.js","sourceRoot":"","sources":["../../../src/util/runtimeInfo.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,
|
|
1
|
+
{"version":3,"file":"runtimeInfo.js","sourceRoot":"","sources":["../../../src/util/runtimeInfo.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB;;;GAGG;AACH,MAAM,UAAU,eAAe;IAC7B,OAAO,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC;AACvD,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,gBAAgB;IAC9B,OAAO,QAAQ,OAAO,CAAC,OAAO,EAAE,CAAC;AACnC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport os from \"node:os\";\n\n/**\n * Returns information about the platform this function is being run on.\n * @internal\n */\nexport function getPlatformInfo(): string {\n return `(${os.arch()}-${os.type()}-${os.release()})`;\n}\n\n/**\n * Returns information about Node.js this function is being run on.\n * @internal\n */\nexport function getFrameworkInfo(): string {\n return `Node/${process.version}`;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/core-amqp",
|
|
3
3
|
"sdk-type": "client",
|
|
4
|
-
"version": "4.4.
|
|
4
|
+
"version": "4.4.1-alpha.20250716.3",
|
|
5
5
|
"description": "Common library for amqp based azure sdks like @azure/event-hubs.",
|
|
6
6
|
"author": "Microsoft Corporation",
|
|
7
7
|
"license": "MIT",
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
"util": "^0.12.5"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@azure-tools/vite-plugin-browser-test-map": "
|
|
86
|
-
"@azure/dev-tool": "
|
|
87
|
-
"@azure/eslint-plugin-azure-sdk": "
|
|
85
|
+
"@azure-tools/vite-plugin-browser-test-map": ">=1.0.0-alpha <1.0.0-alphb",
|
|
86
|
+
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
87
|
+
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
88
88
|
"@rollup/plugin-inject": "^5.0.5",
|
|
89
89
|
"@types/debug": "^4.1.12",
|
|
90
90
|
"@types/node": "^20.0.0",
|