step-node-agent 3.25.0 → 3.25.1
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.
|
@@ -46,7 +46,7 @@ function RequestSigner(request, credentials) {
|
|
|
46
46
|
|
|
47
47
|
if (typeof request === 'string') request = url.parse(request)
|
|
48
48
|
|
|
49
|
-
var headers = request.headers = (request.headers || {}),
|
|
49
|
+
var headers = request.headers = Object.assign({}, (request.headers || {})),
|
|
50
50
|
hostParts = (!this.service || !this.region) && this.matchHost(request.hostname || request.host || headers.Host || headers.host)
|
|
51
51
|
|
|
52
52
|
this.request = request
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aws4",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Signs and prepares requests using AWS Signature Version 4",
|
|
5
5
|
"author": "Michael Hart <michael.hart.au@gmail.com> (https://github.com/mhart)",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "github:mhart/aws4",
|
|
8
8
|
"main": "aws4.js",
|
|
9
|
+
"files": [
|
|
10
|
+
"aws4.js",
|
|
11
|
+
"lru.js"
|
|
12
|
+
],
|
|
9
13
|
"scripts": {
|
|
10
14
|
"test": "mocha ./test/fast.js -R list",
|
|
11
15
|
"integration": "node ./test/slow.js"
|
|
12
16
|
},
|
|
13
17
|
"devDependencies": {
|
|
14
|
-
"mocha": "^
|
|
15
|
-
"should": "^
|
|
18
|
+
"mocha": "^10.4.0",
|
|
19
|
+
"should": "^13.2.3"
|
|
16
20
|
}
|
|
17
21
|
}
|
package/package.json
CHANGED