@aws-sdk/util-user-agent-node 3.973.24 → 3.973.25

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var node_os = require('node:os');
4
4
  var node_process = require('node:process');
5
- var utilConfigProvider = require('@smithy/util-config-provider');
5
+ var config = require('@smithy/core/config');
6
6
  var promises = require('node:fs/promises');
7
7
  var node_path = require('node:path');
8
8
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
@@ -68,7 +68,7 @@ const getTypeScriptUserAgentPair = async () => {
68
68
  let isTypeScriptDetectionDisabled = false;
69
69
  try {
70
70
  isTypeScriptDetectionDisabled =
71
- utilConfigProvider.booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", utilConfigProvider.SelectorType.ENV) || false;
71
+ config.booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", config.SelectorType.ENV) || false;
72
72
  }
73
73
  catch { }
74
74
  if (isTypeScriptDetectionDisabled) {
@@ -1,4 +1,4 @@
1
- import { booleanSelector, SelectorType } from "@smithy/util-config-provider";
1
+ import { booleanSelector, SelectorType } from "@smithy/core/config";
2
2
  import { readFile } from "node:fs/promises";
3
3
  import { join } from "node:path";
4
4
  import { getNodeModulesParentDirs } from "./getNodeModulesParentDirs";
@@ -1,4 +1,4 @@
1
- import type { LoadedConfigSelectors } from "@smithy/node-config-provider";
1
+ import type { LoadedConfigSelectors } from "@smithy/core/config";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { LoadedConfigSelectors } from "@smithy/node-config-provider";
1
+ import { LoadedConfigSelectors } from "@smithy/core/config";
2
2
  export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
3
3
  export declare const UA_APP_ID_INI_NAME = "sdk_ua_app_id";
4
4
  export declare const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors<
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.973.24",
3
+ "version": "3.973.25",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -24,11 +24,10 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/middleware-user-agent": "^3.972.38",
27
+ "@aws-sdk/middleware-user-agent": "^3.972.39",
28
28
  "@aws-sdk/types": "^3.973.8",
29
- "@smithy/node-config-provider": "^4.3.14",
29
+ "@smithy/core": "^3.24.1",
30
30
  "@smithy/types": "^4.14.1",
31
- "@smithy/util-config-provider": "^4.2.2",
32
31
  "tslib": "^2.6.2"
33
32
  },
34
33
  "devDependencies": {