slnodejs 6.1.900 → 6.1.906
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 +45 -7
- package/browser-agent/dist/browser-agent-all.min.js +3 -3
- package/browser-agent/package.json +1 -1
- package/package.json +1 -1
- package/tsOutputs/build-scanner/build-diff-process.js +198 -141
- package/tsOutputs/build-scanner/build-diff-process.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/sl-mapper.js.map +1 -1
- package/tsOutputs/cli-parse/cli.js +4 -1
- package/tsOutputs/cli-parse/cli.js.map +1 -1
- package/tsOutputs/cli-parse/constants/constants.js +3 -2
- package/tsOutputs/cli-parse/constants/constants.js.map +1 -1
- package/tsOutputs/cli-parse/contracts.d.ts +3 -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-executor.js +17 -1
- package/tsOutputs/cli-parse/executors/build-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js +15 -11
- package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js.map +1 -1
- package/tsOutputs/common/constants/sl-env-vars.d.ts +2 -0
- package/tsOutputs/common/constants/sl-env-vars.js +3 -0
- package/tsOutputs/common/constants/sl-env-vars.js.map +1 -1
- package/tsOutputs/common/http/backend-proxy-interface.d.ts +3 -1
- package/tsOutputs/common/http/backend-proxy.d.ts +3 -1
- package/tsOutputs/common/http/backend-proxy.js +9 -0
- package/tsOutputs/common/http/backend-proxy.js.map +1 -1
- package/tsOutputs/common/http/contracts.d.ts +73 -4
- package/tsOutputs/common/http/contracts.js +4 -1
- package/tsOutputs/common/http/contracts.js.map +1 -1
- package/tsOutputs/common/http/dry-run-proxy.js +17 -0
- package/tsOutputs/common/http/dry-run-proxy.js.map +1 -1
- package/tsOutputs/common/http/sl-routes.d.ts +4 -0
- package/tsOutputs/common/http/sl-routes.js +13 -0
- package/tsOutputs/common/http/sl-routes.js.map +1 -1
- package/tsOutputs/common/scm/contracts.d.ts +71 -0
|
@@ -29274,6 +29274,10 @@ function getLength(buf, p) {
|
|
|
29274
29274
|
return false;
|
|
29275
29275
|
}
|
|
29276
29276
|
|
|
29277
|
+
if(buf[p.place] === 0x00) {
|
|
29278
|
+
return false;
|
|
29279
|
+
}
|
|
29280
|
+
|
|
29277
29281
|
var val = 0;
|
|
29278
29282
|
for (var i = 0, off = p.place; i < octetLen; i++, off++) {
|
|
29279
29283
|
val <<= 8;
|
|
@@ -29322,6 +29326,9 @@ Signature.prototype._importDER = function _importDER(data, enc) {
|
|
|
29322
29326
|
if (rlen === false) {
|
|
29323
29327
|
return false;
|
|
29324
29328
|
}
|
|
29329
|
+
if ((data[p.place] & 128) !== 0) {
|
|
29330
|
+
return false;
|
|
29331
|
+
}
|
|
29325
29332
|
var r = data.slice(p.place, rlen + p.place);
|
|
29326
29333
|
p.place += rlen;
|
|
29327
29334
|
if (data[p.place++] !== 0x02) {
|
|
@@ -29334,6 +29341,9 @@ Signature.prototype._importDER = function _importDER(data, enc) {
|
|
|
29334
29341
|
if (data.length !== slen + p.place) {
|
|
29335
29342
|
return false;
|
|
29336
29343
|
}
|
|
29344
|
+
if ((data[p.place] & 128) !== 0) {
|
|
29345
|
+
return false;
|
|
29346
|
+
}
|
|
29337
29347
|
var s = data.slice(p.place, slen + p.place);
|
|
29338
29348
|
if (r[0] === 0) {
|
|
29339
29349
|
if (r[1] & 0x80) {
|
|
@@ -29645,6 +29655,7 @@ function Signature(eddsa, sig) {
|
|
|
29645
29655
|
sig = parseBytes(sig);
|
|
29646
29656
|
|
|
29647
29657
|
if (Array.isArray(sig)) {
|
|
29658
|
+
assert(sig.length === eddsa.encodingLength * 2, 'Signature has invalid size');
|
|
29648
29659
|
sig = {
|
|
29649
29660
|
R: sig.slice(0, eddsa.encodingLength),
|
|
29650
29661
|
S: sig.slice(eddsa.encodingLength),
|
|
@@ -30599,9 +30610,9 @@ arguments[4][171][0].apply(exports,arguments)
|
|
|
30599
30610
|
},{"buffer":176,"dup":171}],254:[function(require,module,exports){
|
|
30600
30611
|
module.exports={
|
|
30601
30612
|
"_from": "elliptic@^6.5.5",
|
|
30602
|
-
"_id": "elliptic@6.5.
|
|
30613
|
+
"_id": "elliptic@6.5.7",
|
|
30603
30614
|
"_inBundle": false,
|
|
30604
|
-
"_integrity": "sha512-
|
|
30615
|
+
"_integrity": "sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==",
|
|
30605
30616
|
"_location": "/elliptic",
|
|
30606
30617
|
"_phantomChildren": {},
|
|
30607
30618
|
"_requested": {
|
|
@@ -30618,8 +30629,8 @@ module.exports={
|
|
|
30618
30629
|
"/browserify-sign",
|
|
30619
30630
|
"/create-ecdh"
|
|
30620
30631
|
],
|
|
30621
|
-
"_resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.
|
|
30622
|
-
"_shasum": "
|
|
30632
|
+
"_resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.7.tgz",
|
|
30633
|
+
"_shasum": "8ec4da2cb2939926a1b9a73619d768207e647c8b",
|
|
30623
30634
|
"_spec": "elliptic@^6.5.5",
|
|
30624
30635
|
"_where": "/var/lib/jenkins/workspace/.OnPremise.Agent.JavaScript_main/browser-agent/node_modules/browserify-sign",
|
|
30625
30636
|
"author": {
|
|
@@ -30680,7 +30691,7 @@ module.exports={
|
|
|
30680
30691
|
"unit": "istanbul test _mocha --reporter=spec test/index.js",
|
|
30681
30692
|
"version": "grunt dist && git add dist/"
|
|
30682
30693
|
},
|
|
30683
|
-
"version": "6.5.
|
|
30694
|
+
"version": "6.5.7"
|
|
30684
30695
|
}
|
|
30685
30696
|
|
|
30686
30697
|
},{}],255:[function(require,module,exports){
|
|
@@ -57146,7 +57157,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57146
57157
|
"use strict";
|
|
57147
57158
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57148
57159
|
exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
|
|
57149
|
-
exports.SL_AGENT_VERSION = '6.1.
|
|
57160
|
+
exports.SL_AGENT_VERSION = '6.1.906';
|
|
57150
57161
|
exports.SL_AGENT_TYPE = 'browser';
|
|
57151
57162
|
});
|
|
57152
57163
|
|
|
@@ -61968,6 +61979,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
61968
61979
|
static inProcessInstrumentation() { return env_var_parsing_1.EnvVarParsing.parseBoolean(SlEnvVars.CIA.IN_PROCESS_INSTRUMENTATION); }
|
|
61969
61980
|
static useExperimentalSizeReduction() { return env_var_parsing_1.EnvVarParsing.parseBoolean(SlEnvVars.CIA.USE_EXPERIMENTAL_SIZE_REDUCTION); }
|
|
61970
61981
|
static useNewInstrumenter() { return env_var_parsing_1.EnvVarParsing.parseBoolean(SlEnvVars.CIA.USE_NEW_INSTRUMENTER); }
|
|
61982
|
+
static partialBuildMapping() { return env_var_parsing_1.EnvVarParsing.parseNumber(SlEnvVars.CIA.PARTIAL_BUILD_MAPPING); }
|
|
61971
61983
|
static scanDotFolders() { return env_var_parsing_1.EnvVarParsing.parseBoolean(SlEnvVars.CIA.SCAN_DOT_FOLDERS); }
|
|
61972
61984
|
static getMaxBuffer() {
|
|
61973
61985
|
const bufferInBytes = env_var_parsing_1.EnvVarParsing.parseNumber(SlEnvVars.CIA.MAX_BUFFER);
|
|
@@ -61987,6 +61999,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
61987
61999
|
_a.IN_PROCESS_INSTRUMENTATION = 'SL_inProcessInstrumentation',
|
|
61988
62000
|
_a.USE_EXPERIMENTAL_SIZE_REDUCTION = 'SL_experimentalSizeReduction',
|
|
61989
62001
|
_a.USE_NEW_INSTRUMENTER = 'SL_newInstrumenter',
|
|
62002
|
+
_a.PARTIAL_BUILD_MAPPING = 'SL_partialBuildMapping',
|
|
61990
62003
|
_a.SCAN_DOT_FOLDERS = 'SL_scanDotFolders',
|
|
61991
62004
|
_a.SEND_COMMIT_TITLES = 'SL_sendCommitTitles',
|
|
61992
62005
|
_a.MAX_BUFFER = 'SL_maxBuffer',
|
|
@@ -64121,6 +64134,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
64121
64134
|
const url = sl_routes_1.SLRoutes.buildMappingV4();
|
|
64122
64135
|
return this.submitPostRequestWithRetries(request, url);
|
|
64123
64136
|
}
|
|
64137
|
+
submitPartialBuildMapping(request, agentId, buildSessionId, index) {
|
|
64138
|
+
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(request, constants_1.Constants.REQUEST);
|
|
64139
|
+
const url = sl_routes_1.SLRoutes.partialBuildMappingV5(agentId, buildSessionId, index);
|
|
64140
|
+
return this.submitPostRequestWithRetries(request, url);
|
|
64141
|
+
}
|
|
64142
|
+
submitBuildMappingEnd(request, buildSessionId) {
|
|
64143
|
+
const url = sl_routes_1.SLRoutes.buildMappingV5End(buildSessionId);
|
|
64144
|
+
return this.submitPostRequestWithRetries(request, url);
|
|
64145
|
+
}
|
|
64124
64146
|
submitLogs(request, callback) {
|
|
64125
64147
|
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(request, constants_1.Constants.REQUEST);
|
|
64126
64148
|
const url = sl_routes_1.SLRoutes.logSubmissionV2();
|
|
@@ -64437,7 +64459,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
64437
64459
|
})(function (require, exports) {
|
|
64438
64460
|
"use strict";
|
|
64439
64461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64440
|
-
exports.SealightsHaderValues = exports.SealightsHeaderNames = exports.ContentType = exports.RecommendationSetStatus = exports.RecommendedTestReason = exports.UploadReportsBody = exports.EnvironmentData = exports.AgentData = exports.UploadReportRequest = exports.EndExecutionRequest = exports.StartExecutionRequest = exports.BaseRequest = exports.SubmitLogsRequest = exports.GetRemoteConfigRequest = exports.FileData = exports.DependencyData = exports.BuildMappingRequest = exports.VersionMetaQuery = exports.VersionMeta = exports.AgentInfo = exports.GetVersionResponse = exports.GetVersionRequest = exports.CreateBuildSessionIdResponse = exports.SlAgentMetadata = exports.IHttpClientConfigData = void 0;
|
|
64462
|
+
exports.SealightsHaderValues = exports.SealightsHeaderNames = exports.ContentType = exports.RecommendationSetStatus = exports.RecommendedTestReason = exports.UploadReportsBody = exports.EnvironmentData = exports.AgentData = exports.UploadReportRequest = exports.EndExecutionRequest = exports.StartExecutionRequest = exports.BaseRequest = exports.SubmitLogsRequest = exports.GetRemoteConfigRequest = exports.FileData = exports.DependencyData = exports.BuildMappingChunkRequest = exports.BuildMappingRequest = exports.VersionMetaQuery = exports.VersionMeta = exports.AgentInfo = exports.GetVersionResponse = exports.GetVersionRequest = exports.CreateBuildSessionIdResponse = exports.SlAgentMetadata = exports.IHttpClientConfigData = void 0;
|
|
64441
64463
|
const system_date_1 = require("../system-date");
|
|
64442
64464
|
class IHttpClientConfigData {
|
|
64443
64465
|
}
|
|
@@ -64466,6 +64488,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
64466
64488
|
class BuildMappingRequest {
|
|
64467
64489
|
}
|
|
64468
64490
|
exports.BuildMappingRequest = BuildMappingRequest;
|
|
64491
|
+
class BuildMappingChunkRequest extends BuildMappingRequest {
|
|
64492
|
+
}
|
|
64493
|
+
exports.BuildMappingChunkRequest = BuildMappingChunkRequest;
|
|
64469
64494
|
class DependencyData {
|
|
64470
64495
|
}
|
|
64471
64496
|
exports.DependencyData = DependencyData;
|
|
@@ -64916,6 +64941,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
64916
64941
|
const result = SLRoutes.agentsV4() + SLRoutes.toUri(SLRoutes.BUILD_MAPPING);
|
|
64917
64942
|
return result;
|
|
64918
64943
|
}
|
|
64944
|
+
static partialBuildMappingV5(agentId, buildSessionId, index) {
|
|
64945
|
+
let result = SLRoutes.agentsV5() + SLRoutes.toUri(SLRoutes.PARTIAL_BUILD_MAPPING) + SLRoutes.toUri(SLRoutes.BUILD_SESSIONS) + SLRoutes.toUri(buildSessionId) + SLRoutes.toUri(SLRoutes.PARTS) + SLRoutes.toUri(index);
|
|
64946
|
+
result += SLRoutes.buildQueryParams({
|
|
64947
|
+
agentId
|
|
64948
|
+
});
|
|
64949
|
+
return result;
|
|
64950
|
+
}
|
|
64951
|
+
static buildMappingV5End(buildSessionId) {
|
|
64952
|
+
const result = SLRoutes.agentsV5() + SLRoutes.toUri(SLRoutes.BUILD_SESSIONS) + SLRoutes.toUri(buildSessionId) + SLRoutes.toUri(SLRoutes.BUILD_END);
|
|
64953
|
+
return result;
|
|
64954
|
+
}
|
|
64919
64955
|
static footprintsV5() {
|
|
64920
64956
|
const result = SLRoutes.agentsV5() + SLRoutes.toUri(SLRoutes.FOOTPRINTS);
|
|
64921
64957
|
return result;
|
|
@@ -65040,6 +65076,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
65040
65076
|
SLRoutes.BSID = 'bsid';
|
|
65041
65077
|
SLRoutes.BUILD_SESSION_ID = 'buildsession';
|
|
65042
65078
|
SLRoutes.BUILD_MAPPING = 'buildmapping';
|
|
65079
|
+
SLRoutes.PARTIAL_BUILD_MAPPING = 'partial-buildmapping';
|
|
65043
65080
|
SLRoutes.RECOMMENDED_VERSION = 'recommended';
|
|
65044
65081
|
SLRoutes.CONFIG = 'config';
|
|
65045
65082
|
SLRoutes.LOG_SUBMISSION = 'logsubmission';
|
|
@@ -65054,6 +65091,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
65054
65091
|
SLRoutes.INTEGRATION_BUILDS = 'integration-builds';
|
|
65055
65092
|
SLRoutes.COMPONENTS = 'components';
|
|
65056
65093
|
SLRoutes.BUILD_END = 'buildend';
|
|
65094
|
+
SLRoutes.PARTS = 'parts';
|
|
65057
65095
|
SLRoutes.LAB_IDS = 'lab-ids';
|
|
65058
65096
|
SLRoutes.BUILD_SESSIONS = 'build-sessions';
|
|
65059
65097
|
SLRoutes.ACTIVE = 'active';
|