@aws-sdk/signature-v4
Advanced tools
Comparing version 3.290.0 to 3.292.0
@@ -13,21 +13,4 @@ "use strict"; | ||
} | ||
let path = request.path; | ||
const url = request === null || request === void 0 ? void 0 : request.destination; | ||
if (url != null) { | ||
let decodedPathname; | ||
try { | ||
decodedPathname = decodeURIComponent(url.pathname); | ||
} | ||
catch (e) { | ||
decodedPathname = url.pathname; | ||
} | ||
if (new URL(decodedPathname, url.origin).pathname !== decodedPathname) { | ||
path = decodedPathname; | ||
} | ||
} | ||
return { | ||
...request, | ||
path, | ||
}; | ||
return request; | ||
}; | ||
exports.prepareRequest = prepareRequest; |
@@ -10,20 +10,3 @@ import { cloneRequest } from "./cloneRequest"; | ||
} | ||
let path = request.path; | ||
const url = request?.destination; | ||
if (url != null) { | ||
let decodedPathname; | ||
try { | ||
decodedPathname = decodeURIComponent(url.pathname); | ||
} | ||
catch (e) { | ||
decodedPathname = url.pathname; | ||
} | ||
if (new URL(decodedPathname, url.origin).pathname !== decodedPathname) { | ||
path = decodedPathname; | ||
} | ||
} | ||
return { | ||
...request, | ||
path, | ||
}; | ||
return request; | ||
}; |
{ | ||
"name": "@aws-sdk/signature-v4", | ||
"version": "3.290.0", | ||
"version": "3.292.0", | ||
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm", | ||
@@ -24,8 +24,8 @@ "main": "./dist-cjs/index.js", | ||
"dependencies": { | ||
"@aws-sdk/is-array-buffer": "3.201.0", | ||
"@aws-sdk/types": "3.290.0", | ||
"@aws-sdk/util-hex-encoding": "3.201.0", | ||
"@aws-sdk/util-middleware": "3.290.0", | ||
"@aws-sdk/util-uri-escape": "3.201.0", | ||
"@aws-sdk/util-utf8": "3.254.0", | ||
"@aws-sdk/is-array-buffer": "3.292.0", | ||
"@aws-sdk/types": "3.292.0", | ||
"@aws-sdk/util-hex-encoding": "3.292.0", | ||
"@aws-sdk/util-middleware": "3.292.0", | ||
"@aws-sdk/util-uri-escape": "3.292.0", | ||
"@aws-sdk/util-utf8": "3.292.0", | ||
"tslib": "^2.3.1" | ||
@@ -35,4 +35,4 @@ }, | ||
"@aws-crypto/sha256-js": "3.0.0", | ||
"@aws-sdk/protocol-http": "3.290.0", | ||
"@aws-sdk/util-buffer-from": "3.208.0", | ||
"@aws-sdk/protocol-http": "3.292.0", | ||
"@aws-sdk/util-buffer-from": "3.292.0", | ||
"@tsconfig/recommended": "1.0.1", | ||
@@ -42,3 +42,3 @@ "concurrently": "7.0.0", | ||
"rimraf": "3.0.2", | ||
"typedoc": "0.19.2", | ||
"typedoc": "0.23.23", | ||
"typescript": "~4.6.2" | ||
@@ -64,3 +64,6 @@ }, | ||
"directory": "packages/signature-v4" | ||
}, | ||
"typedoc": { | ||
"entryPoint": "src/index.ts" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101879
2060
+ Added@aws-sdk/is-array-buffer@3.292.0(transitive)
+ Added@aws-sdk/types@3.292.0(transitive)
+ Added@aws-sdk/util-buffer-from@3.292.0(transitive)
+ Added@aws-sdk/util-hex-encoding@3.292.0(transitive)
+ Added@aws-sdk/util-middleware@3.292.0(transitive)
+ Added@aws-sdk/util-uri-escape@3.292.0(transitive)
+ Added@aws-sdk/util-utf8@3.292.0(transitive)
- Removed@aws-sdk/is-array-buffer@3.201.0(transitive)
- Removed@aws-sdk/types@3.290.0(transitive)
- Removed@aws-sdk/util-buffer-from@3.208.0(transitive)
- Removed@aws-sdk/util-hex-encoding@3.201.0(transitive)
- Removed@aws-sdk/util-middleware@3.290.0(transitive)
- Removed@aws-sdk/util-uri-escape@3.201.0(transitive)
- Removed@aws-sdk/util-utf8@3.254.0(transitive)
Updated@aws-sdk/types@3.292.0
Updated@aws-sdk/util-utf8@3.292.0