@aws-sdk/crt-loader 3.901.0 → 3.907.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 +10 -40
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -1,43 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
'use strict';
|
|
16
2
|
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
module.exports = __toCommonJS(index_exports);
|
|
20
|
-
var import_util_user_agent_node = require("@aws-sdk/util-user-agent-node");
|
|
21
|
-
__reExport(index_exports, require("aws-crt"), module.exports);
|
|
22
|
-
import_util_user_agent_node.crtAvailability.isCrtAvailable = true;
|
|
23
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
3
|
+
var utilUserAgentNode = require('@aws-sdk/util-user-agent-node');
|
|
4
|
+
var awsCrt = require('aws-crt');
|
|
24
5
|
|
|
25
|
-
|
|
26
|
-
auth,
|
|
27
|
-
cancel,
|
|
28
|
-
checksums,
|
|
29
|
-
crypto,
|
|
30
|
-
crt,
|
|
31
|
-
eventstream,
|
|
32
|
-
http,
|
|
33
|
-
io,
|
|
34
|
-
iot,
|
|
35
|
-
mqtt,
|
|
36
|
-
mqtt5,
|
|
37
|
-
mqtt_request_response,
|
|
38
|
-
platform,
|
|
39
|
-
promise,
|
|
40
|
-
resource_safety,
|
|
41
|
-
CrtError
|
|
42
|
-
});
|
|
6
|
+
utilUserAgentNode.crtAvailability.isCrtAvailable = true;
|
|
43
7
|
|
|
8
|
+
Object.keys(awsCrt).forEach(function (k) {
|
|
9
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return awsCrt[k]; }
|
|
12
|
+
});
|
|
13
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/crt-loader",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.907.0",
|
|
4
4
|
"description": "Loader for AWS Common Runtime https://github.com/awslabs/aws-crt-nodejs",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
25
|
+
"@aws-sdk/util-user-agent-node": "3.907.0",
|
|
26
26
|
"aws-crt": "^1.24.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|