slnodejs 6.1.168 → 6.1.177
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 +20 -9
- package/browser-agent/dist/browser-agent-all.min.js +20 -20
- package/browser-agent/package.json +1 -1
- package/package.json +2 -2
- package/tsOutputs/build-scanner/mappings/scm-file-fixer.js +8 -1
- package/tsOutputs/build-scanner/mappings/scm-file-fixer.js.map +1 -1
- package/tsOutputs/common/constants/sl-env-vars.d.ts +2 -0
- package/tsOutputs/common/constants/sl-env-vars.js +5 -0
- package/tsOutputs/common/constants/sl-env-vars.js.map +1 -1
- package/tsOutputs/common/http/backend-proxy.js +11 -4
- package/tsOutputs/common/http/backend-proxy.js.map +1 -1
- package/tsOutputs/test-listener/test-recommendation-handler.js +1 -0
- package/tsOutputs/test-listener/test-recommendation-handler.js.map +1 -1
|
@@ -6946,16 +6946,16 @@ function fromByteArray (uint8) {
|
|
|
6946
6946
|
var w = this.words[i];
|
|
6947
6947
|
var word = (((w << off) | carry) & 0xffffff).toString(16);
|
|
6948
6948
|
carry = (w >>> (24 - off)) & 0xffffff;
|
|
6949
|
-
if (carry !== 0 || i !== this.length - 1) {
|
|
6950
|
-
out = zeros[6 - word.length] + word + out;
|
|
6951
|
-
} else {
|
|
6952
|
-
out = word + out;
|
|
6953
|
-
}
|
|
6954
6949
|
off += 2;
|
|
6955
6950
|
if (off >= 26) {
|
|
6956
6951
|
off -= 26;
|
|
6957
6952
|
i--;
|
|
6958
6953
|
}
|
|
6954
|
+
if (carry !== 0 || i !== this.length - 1) {
|
|
6955
|
+
out = zeros[6 - word.length] + word + out;
|
|
6956
|
+
} else {
|
|
6957
|
+
out = word + out;
|
|
6958
|
+
}
|
|
6959
6959
|
}
|
|
6960
6960
|
if (carry !== 0) {
|
|
6961
6961
|
out = carry.toString(16) + out;
|
|
@@ -47758,6 +47758,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
47758
47758
|
class_1.getFileExtensions = function () {
|
|
47759
47759
|
return process.env[SlEnvVars.CIA.FILE_EXTENSIONS];
|
|
47760
47760
|
};
|
|
47761
|
+
class_1.getScmPrefix = function () {
|
|
47762
|
+
return process.env[SlEnvVars.CIA.SCM_PREFIX];
|
|
47763
|
+
};
|
|
47761
47764
|
class_1.getSourceRoot = function () {
|
|
47762
47765
|
return process.env[SlEnvVars.CIA.SL_SOURCE_ROOT];
|
|
47763
47766
|
};
|
|
@@ -47783,6 +47786,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
47783
47786
|
return class_1;
|
|
47784
47787
|
}()),
|
|
47785
47788
|
_a.FILE_EXTENSIONS = 'SL_fileExtensions',
|
|
47789
|
+
_a.SCM_PREFIX = 'SCM_prefix',
|
|
47786
47790
|
_a.SL_SOURCE_ROOT = 'SL_sourceRoot',
|
|
47787
47791
|
_a.SL_MAPPING_PATH = 'SL_mappingPath',
|
|
47788
47792
|
_a.SL_MAPPING_URL = 'SL_mappingUrl',
|
|
@@ -50165,11 +50169,18 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
50165
50169
|
BackendProxy.prototype.submitBlobAsync = function (body, buildSessionId, blobId) {
|
|
50166
50170
|
var _this = this;
|
|
50167
50171
|
var url = sl_routes_1.SLRoutes.blobs(buildSessionId, blobId);
|
|
50168
|
-
return new Promise(function (
|
|
50169
|
-
_this.client.post(body, url, function (error) {
|
|
50170
|
-
|
|
50172
|
+
return new Promise(function (resolve, reject) {
|
|
50173
|
+
_this.client.post(body, url, function (error, statusCode) {
|
|
50174
|
+
_this.logger.debug("Blob " + blobId + " uploaded with status code " + statusCode);
|
|
50175
|
+
if (error) {
|
|
50176
|
+
_this.logger.error("Error while submitting sl-mapping, '" + error + "'");
|
|
50177
|
+
return reject(error);
|
|
50178
|
+
}
|
|
50179
|
+
else {
|
|
50180
|
+
_this.logger.info('sl-mapping submitted successfully');
|
|
50181
|
+
return resolve();
|
|
50182
|
+
}
|
|
50171
50183
|
}, true, contracts_1.ContentType.OCTET_STREAM);
|
|
50172
|
-
res(null);
|
|
50173
50184
|
});
|
|
50174
50185
|
};
|
|
50175
50186
|
BackendProxy.prototype.submitBlob = function (body, buildSessionId, blobId, callback) {
|