slnodejs 6.1.259 → 6.1.270
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/browser-agent/dist/browser-agent-all.js +11 -3
- package/browser-agent/dist/browser-agent-all.min.js +11 -11
- package/browser-agent/dist/browser-agent-otel-all.js +101961 -0
- package/browser-agent/dist/browser-agent-otel-all.min.js +61 -0
- package/browser-agent/package.json +21 -5
- package/package.json +3 -3
- package/tsOutputs/build-scanner/instrumentation/files-instrumenter.js +1 -1
- package/tsOutputs/build-scanner/instrumentation/files-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js +14 -4
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js.map +1 -1
- package/tsOutputs/cli-parse/cli.js +27 -47
- package/tsOutputs/cli-parse/cli.js.map +1 -1
- package/tsOutputs/cli-parse/contracts.js +23 -0
- package/tsOutputs/cli-parse/contracts.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-args-dto.js +1 -0
- package/tsOutputs/cli-parse/executors/build-args-dto.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-end-executor.js +2 -2
- package/tsOutputs/cli-parse/executors/build-end-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-executor.js +8 -2
- package/tsOutputs/cli-parse/executors/build-executor.js.map +1 -1
|
@@ -43775,7 +43775,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
43775
43775
|
"use strict";
|
|
43776
43776
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43777
43777
|
exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
|
|
43778
|
-
exports.SL_AGENT_VERSION = '6.1.
|
|
43778
|
+
exports.SL_AGENT_VERSION = '6.1.270';
|
|
43779
43779
|
exports.SL_AGENT_TYPE = 'browser';
|
|
43780
43780
|
});
|
|
43781
43781
|
|
|
@@ -58820,6 +58820,9 @@ function RequestSigner(request, credentials) {
|
|
|
58820
58820
|
request.hostname = headers.Host || headers.host
|
|
58821
58821
|
|
|
58822
58822
|
this.isCodeCommitGit = this.service === 'codecommit' && request.method === 'GIT'
|
|
58823
|
+
|
|
58824
|
+
this.extraHeadersToIgnore = request.extraHeadersToIgnore || Object.create(null)
|
|
58825
|
+
this.extraHeadersToInclude = request.extraHeadersToInclude || Object.create(null)
|
|
58823
58826
|
}
|
|
58824
58827
|
|
|
58825
58828
|
RequestSigner.prototype.matchHost = function(host) {
|
|
@@ -58829,7 +58832,7 @@ RequestSigner.prototype.matchHost = function(host) {
|
|
|
58829
58832
|
// ES's hostParts are sometimes the other way round, if the value that is expected
|
|
58830
58833
|
// to be region equals ‘es’ switch them back
|
|
58831
58834
|
// e.g. search-cluster-name-aaaa00aaaa0aaa0aaaaaaa0aaa.us-east-1.es.amazonaws.com
|
|
58832
|
-
if (hostParts[1] === 'es')
|
|
58835
|
+
if (hostParts[1] === 'es' || hostParts[1] === 'aoss')
|
|
58833
58836
|
hostParts = hostParts.reverse()
|
|
58834
58837
|
|
|
58835
58838
|
if (hostParts[1] == 's3') {
|
|
@@ -59053,9 +59056,14 @@ RequestSigner.prototype.canonicalHeaders = function() {
|
|
|
59053
59056
|
}
|
|
59054
59057
|
|
|
59055
59058
|
RequestSigner.prototype.signedHeaders = function() {
|
|
59059
|
+
var extraHeadersToInclude = this.extraHeadersToInclude,
|
|
59060
|
+
extraHeadersToIgnore = this.extraHeadersToIgnore
|
|
59056
59061
|
return Object.keys(this.request.headers)
|
|
59057
59062
|
.map(function(key) { return key.toLowerCase() })
|
|
59058
|
-
.filter(function(key) {
|
|
59063
|
+
.filter(function(key) {
|
|
59064
|
+
return extraHeadersToInclude[key] ||
|
|
59065
|
+
(HEADERS_TO_IGNORE[key] == null && !extraHeadersToIgnore[key])
|
|
59066
|
+
})
|
|
59059
59067
|
.sort()
|
|
59060
59068
|
.join(';')
|
|
59061
59069
|
}
|