@aws-sdk/signature-v4-multi-region 3.413.0 → 3.418.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/load-crt.js +11 -0
- package/dist-es/load-crt.js +11 -0
- package/package.json +4 -4
package/dist-cjs/load-crt.js
CHANGED
|
@@ -11,6 +11,17 @@ function loadCrt() {
|
|
|
11
11
|
const __require = require;
|
|
12
12
|
const moduleName = "@aws-sdk/signature-v4-crt";
|
|
13
13
|
__require.call(null, moduleName);
|
|
14
|
+
process.emitWarning(`The package @aws-sdk/signature-v4-crt has been loaded dynamically.
|
|
15
|
+
To avoid this warning, please explicitly import the package in your application with:
|
|
16
|
+
|
|
17
|
+
import "@aws-sdk/signature-v4-crt"; // ESM
|
|
18
|
+
require("@aws-sdk/signature-v4-crt"); // CJS
|
|
19
|
+
|
|
20
|
+
In a future version of the AWS SDK for JavaScript (v3), this warning
|
|
21
|
+
will become an error and dynamic loading will not be available.
|
|
22
|
+
|
|
23
|
+
See https://github.com/aws/aws-sdk-js-v3/issues/5229.
|
|
24
|
+
`);
|
|
14
25
|
}
|
|
15
26
|
}
|
|
16
27
|
catch (e) {
|
package/dist-es/load-crt.js
CHANGED
|
@@ -8,6 +8,17 @@ export function loadCrt() {
|
|
|
8
8
|
const __require = require;
|
|
9
9
|
const moduleName = "@aws-sdk/signature-v4-crt";
|
|
10
10
|
__require.call(null, moduleName);
|
|
11
|
+
process.emitWarning(`The package @aws-sdk/signature-v4-crt has been loaded dynamically.
|
|
12
|
+
To avoid this warning, please explicitly import the package in your application with:
|
|
13
|
+
|
|
14
|
+
import "@aws-sdk/signature-v4-crt"; // ESM
|
|
15
|
+
require("@aws-sdk/signature-v4-crt"); // CJS
|
|
16
|
+
|
|
17
|
+
In a future version of the AWS SDK for JavaScript (v3), this warning
|
|
18
|
+
will become an error and dynamic loading will not be available.
|
|
19
|
+
|
|
20
|
+
See https://github.com/aws/aws-sdk-js-v3/issues/5229.
|
|
21
|
+
`);
|
|
11
22
|
}
|
|
12
23
|
}
|
|
13
24
|
catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.418.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",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@smithy/protocol-http": "^3.0.
|
|
29
|
+
"@aws-sdk/types": "3.418.0",
|
|
30
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
31
31
|
"@smithy/signature-v4": "^2.0.0",
|
|
32
|
-
"@smithy/types": "^2.3.
|
|
32
|
+
"@smithy/types": "^2.3.3",
|
|
33
33
|
"tslib": "^2.5.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|