@aws-sdk/util-user-agent-node 3.292.0 → 3.295.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.
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.isCrtAvailable = void 0;
|
|
4
4
|
const isCrtAvailable = () => {
|
|
5
5
|
try {
|
|
6
|
-
if (typeof require === "function" && typeof module !== "undefined" &&
|
|
6
|
+
if (typeof require === "function" && typeof module !== "undefined" && require("aws-crt")) {
|
|
7
7
|
return ["md/crt-avail"];
|
|
8
8
|
}
|
|
9
9
|
return null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const isCrtAvailable = () => {
|
|
2
2
|
try {
|
|
3
|
-
if (typeof require === "function" && typeof module !== "undefined" &&
|
|
3
|
+
if (typeof require === "function" && typeof module !== "undefined" && require("aws-crt")) {
|
|
4
4
|
return ["md/crt-avail"];
|
|
5
5
|
}
|
|
6
6
|
return null;
|
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.295.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/node-config-provider": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
25
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/node-config-provider": "3.295.0",
|
|
24
|
+
"@aws-sdk/types": "3.295.0",
|
|
25
|
+
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@aws-sdk/protocol-http": "3.
|
|
28
|
+
"@aws-sdk/protocol-http": "3.295.0",
|
|
29
29
|
"@tsconfig/recommended": "1.0.1",
|
|
30
30
|
"@types/node": "^14.14.31",
|
|
31
31
|
"concurrently": "7.0.0",
|
|
32
32
|
"downlevel-dts": "0.10.1",
|
|
33
33
|
"rimraf": "3.0.2",
|
|
34
34
|
"typedoc": "0.23.23",
|
|
35
|
-
"typescript": "~4.
|
|
35
|
+
"typescript": "~4.9.5"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"aws-crt": ">=1.0.0"
|