@aws-sdk/util-user-agent-node 3.750.0 → 3.774.0
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-cjs/index.js +5 -5
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,
|
|
25
25
|
UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,
|
|
26
26
|
UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,
|
|
@@ -28,7 +28,7 @@ __export(src_exports, {
|
|
|
28
28
|
crtAvailability: () => crtAvailability,
|
|
29
29
|
defaultUserAgent: () => defaultUserAgent
|
|
30
30
|
});
|
|
31
|
-
module.exports = __toCommonJS(
|
|
31
|
+
module.exports = __toCommonJS(index_exports);
|
|
32
32
|
|
|
33
33
|
// src/defaultUserAgent.ts
|
|
34
34
|
var import_os = require("os");
|
|
@@ -85,8 +85,8 @@ var UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
|
|
|
85
85
|
var UA_APP_ID_INI_NAME = "sdk_ua_app_id";
|
|
86
86
|
var UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id";
|
|
87
87
|
var NODE_APP_ID_CONFIG_OPTIONS = {
|
|
88
|
-
environmentVariableSelector: (env2) => env2[UA_APP_ID_ENV_NAME],
|
|
89
|
-
configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED],
|
|
88
|
+
environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], "environmentVariableSelector"),
|
|
89
|
+
configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], "configFileSelector"),
|
|
90
90
|
default: import_middleware_user_agent.DEFAULT_UA_APP_ID
|
|
91
91
|
};
|
|
92
92
|
// Annotate the CommonJS export names for ESM import in node:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.774.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
25
25
|
"@aws-sdk/types": "3.734.0",
|
|
26
26
|
"@smithy/node-config-provider": "^4.0.1",
|
|
27
27
|
"@smithy/types": "^4.1.0",
|