slnodejs 6.1.278 → 6.1.309
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 +882 -459
- package/browser-agent/dist/browser-agent-all.min.js +3 -3
- package/browser-agent/package.json +1 -1
- package/package.json +2 -1
- package/tsOutputs/build-scanner/build-diff-process.js +1 -0
- package/tsOutputs/build-scanner/build-diff-process.js.map +1 -1
- package/tsOutputs/build-scanner/diagnostic/build-scan-diagnosis.js +26 -3
- package/tsOutputs/build-scanner/diagnostic/build-scan-diagnosis.js.map +1 -1
- package/tsOutputs/build-scanner/diagnostic/contracts.js +6 -1
- package/tsOutputs/build-scanner/diagnostic/contracts.js.map +1 -1
- package/tsOutputs/build-scanner/diagnostic/none-diagnosis.js +19 -14
- package/tsOutputs/build-scanner/diagnostic/none-diagnosis.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/browser-instrumenter.js +2 -0
- package/tsOutputs/build-scanner/instrumentation/browser-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js +1 -0
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-enricher.js +35 -21
- package/tsOutputs/build-scanner/mappings/file-enricher.js.map +1 -1
- package/tsOutputs/cli-parse/cli.js +3 -1
- package/tsOutputs/cli-parse/cli.js.map +1 -1
- package/tsOutputs/cli-parse/contracts.js.map +1 -1
- package/tsOutputs/cli-parse/executors/base-executor.js +17 -12
- package/tsOutputs/cli-parse/executors/base-executor.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/common/agent-events/agent-events-conracts.d.ts +1 -0
- package/tsOutputs/common/agent-events/agent-events-conracts.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-events-controller.d.ts +2 -2
- package/tsOutputs/common/agent-events/agent-events-controller.js +2 -2
- package/tsOutputs/common/agent-events/agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-events-guard.d.ts +6 -0
- package/tsOutputs/common/agent-events/agent-events-guard.js +26 -0
- package/tsOutputs/common/agent-events/agent-events-guard.js.map +1 -0
- package/tsOutputs/common/agent-events/agent-instance-info-builder.js +1 -1
- package/tsOutputs/common/agent-events/cockpit-notifier.d.ts +1 -0
- package/tsOutputs/common/agent-events/cockpit-notifier.js +9 -0
- package/tsOutputs/common/agent-events/cockpit-notifier.js.map +1 -1
- package/tsOutputs/common/agent-events/machine-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/no-op-agent-events-controller.d.ts +15 -0
- package/tsOutputs/common/agent-events/no-op-agent-events-controller.js +99 -0
- package/tsOutputs/common/agent-events/no-op-agent-events-controller.js.map +1 -0
- package/tsOutputs/common/agent-events/nodejs-env-info-builder.d.ts +3 -1
- package/tsOutputs/common/agent-events/nodejs-env-info-builder.js +3 -1
- package/tsOutputs/common/agent-events/nodejs-env-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-instance-data.d.ts +3 -0
- package/tsOutputs/common/agent-instance-data.js +10 -0
- package/tsOutputs/common/agent-instance-data.js.map +1 -1
- package/tsOutputs/common/config-process/index.d.ts +1 -1
- package/tsOutputs/common/config-process/index.js.map +1 -1
- package/tsOutputs/common/config-process/no-op-config-process.js +35 -0
- package/tsOutputs/common/config-process/no-op-config-process.js.map +1 -0
- package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js +38 -0
- package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js.map +1 -0
- package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js +125 -0
- package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js.map +1 -0
- package/tsOutputs/common/footprints-process-v6/contracts.d.ts +16 -0
- package/tsOutputs/common/footprints-process-v6/contracts.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/footprints-buffer.d.ts +3 -3
- package/tsOutputs/common/footprints-process-v6/index.d.ts +19 -10
- package/tsOutputs/common/footprints-process-v6/index.js +50 -2
- package/tsOutputs/common/footprints-process-v6/index.js.map +1 -1
- package/tsOutputs/common/http/backend-proxy.d.ts +1 -0
- package/tsOutputs/common/http/backend-proxy.js +11 -0
- package/tsOutputs/common/http/backend-proxy.js.map +1 -1
- package/tsOutputs/common/http/contracts.d.ts +11 -1
- package/tsOutputs/common/http/contracts.js +13 -1
- package/tsOutputs/common/http/contracts.js.map +1 -1
- package/tsOutputs/common/http/sl-routes.d.ts +1 -0
- package/tsOutputs/common/http/sl-routes.js +4 -1
- package/tsOutputs/common/http/sl-routes.js.map +1 -1
- package/tsOutputs/common/no-op-state-tracker.js +42 -0
- package/tsOutputs/common/no-op-state-tracker.js.map +1 -0
- package/tsOutputs/common/state-tracker.d.ts +2 -2
- package/tsOutputs/common/state-tracker.js.map +1 -1
- package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js +3 -3
- package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js.map +1 -1
- package/tsOutputs/common/v8-utils.js +67 -0
- package/tsOutputs/common/v8-utils.js.map +1 -0
- package/tsOutputs/test-listener/otel-agent-loader.js +3 -1
- package/tsOutputs/test-listener/otel-agent-loader.js.map +1 -1
- package/tsOutputs/test-listener/test-recommendation-handler.d.ts +1 -1
- package/tsOutputs/test-listener/test-recommendation-handler.js +5 -7
- package/tsOutputs/test-listener/test-recommendation-handler.js.map +1 -1
|
@@ -34126,7 +34126,7 @@ module.exports={
|
|
|
34126
34126
|
"_resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
|
|
34127
34127
|
"_shasum": "da37cebd31e79a1367e941b592ed1fbebd58abbb",
|
|
34128
34128
|
"_spec": "elliptic@^6.5.3",
|
|
34129
|
-
"_where": "/var/lib/jenkins/workspace/.OnPremise.Agent.JavaScript_main
|
|
34129
|
+
"_where": "/var/lib/jenkins/workspace/.OnPremise.Agent.JavaScript_main/browser-agent/node_modules/browserify-sign",
|
|
34130
34130
|
"author": {
|
|
34131
34131
|
"name": "Fedor Indutny",
|
|
34132
34132
|
"email": "fedor@indutny.com"
|
|
@@ -53331,14 +53331,14 @@ function extend() {
|
|
|
53331
53331
|
}
|
|
53332
53332
|
});
|
|
53333
53333
|
|
|
53334
|
-
},{"./lib/browser-agent":408,"./lib/config":414,"./lib/configuration-override":416,"./lib/feature-detection":
|
|
53334
|
+
},{"./lib/browser-agent":408,"./lib/config":414,"./lib/configuration-override":416,"./lib/feature-detection":430}],404:[function(require,module,exports){
|
|
53335
53335
|
(function (factory) {
|
|
53336
53336
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
53337
53337
|
var v = factory(require, exports);
|
|
53338
53338
|
if (v !== undefined) module.exports = v;
|
|
53339
53339
|
}
|
|
53340
53340
|
else if (typeof define === "function" && define.amd) {
|
|
53341
|
-
define(["require", "exports", "./state-tracker", "../../common/state-tracker-fpv6", "./test-state-helper", "./entities/environment-data", "./services/http/http-client", "./services/json/json-client", "./istanbul-to-footprints-convertor", "./istanbul-to-footprints-convertor-v3", "./services/light-backend-proxy", "./footprints-queue-sender", "./watchdog", "./code-coverage-manager", "./browser-agent-instance", "./queues/footprints-items-queue", "./configuration-manager", "./logger/log-factory", "./basic-uuid-generator", "./window-timers-wrapper", "./color-cookie-handler", "./queues/queue", "./delegate", "./services/json/json-client-adapter", "./browser-events-process", "./browser-hits-converter", "./browser-agent-instance-fpv6", "./browser-hits-collector", "./sl-mapping-loader", "./services/json/noop-json-client", "../../common/agent-instance-data", "../../common/agent-events/agent-events-conracts", "../../common/agent-events/cockpit-notifier", "../../common/http/backend-proxy", "../../common/config-process/config-loader", "../../common/footprints-process-v6/relative-path-resolver", "../../common/footprints-process-v6/footprints-buffer", "../../common/footprints-process-v6/index", "../../common/config-process", "../../common/system-date"], factory);
|
|
53341
|
+
define(["require", "exports", "./state-tracker", "../../common/state-tracker-fpv6", "../../common/no-op-state-tracker", "./test-state-helper", "./entities/environment-data", "./services/http/http-client", "./services/json/json-client", "./istanbul-to-footprints-convertor", "./istanbul-to-footprints-convertor-v3", "./services/light-backend-proxy", "./footprints-queue-sender", "./watchdog", "./code-coverage-manager", "./browser-agent-instance", "./queues/footprints-items-queue", "./configuration-manager", "./logger/log-factory", "./basic-uuid-generator", "./window-timers-wrapper", "./color-cookie-handler", "./queues/queue", "./delegate", "./services/json/json-client-adapter", "./browser-events-process", "./browser-hits-converter", "./browser-agent-instance-fpv6", "./browser-hits-collector", "./sl-mapping-loader", "./services/json/noop-json-client", "../../common/agent-instance-data", "../../common/agent-events/agent-events-conracts", "../../common/agent-events/cockpit-notifier", "../../common/http/backend-proxy", "../../common/config-process/config-loader", "../../common/footprints-process-v6/relative-path-resolver", "../../common/footprints-process-v6/footprints-buffer", "../../common/footprints-process-v6/collector-footprints-buffer", "../../common/footprints-process-v6/index", "../../common/footprints-process-v6/collector-footprints-process", "../../common/config-process", "../../common/config-process/no-op-config-process", "../../common/system-date"], factory);
|
|
53342
53342
|
}
|
|
53343
53343
|
})(function (require, exports) {
|
|
53344
53344
|
"use strict";
|
|
@@ -53346,6 +53346,7 @@ function extend() {
|
|
|
53346
53346
|
exports.AgentFactory = void 0;
|
|
53347
53347
|
const state_tracker_1 = require("./state-tracker");
|
|
53348
53348
|
const state_tracker_fpv6_1 = require("../../common/state-tracker-fpv6");
|
|
53349
|
+
const no_op_state_tracker_1 = require("../../common/no-op-state-tracker");
|
|
53349
53350
|
const test_state_helper_1 = require("./test-state-helper");
|
|
53350
53351
|
const environment_data_1 = require("./entities/environment-data");
|
|
53351
53352
|
const http_client_1 = require("./services/http/http-client");
|
|
@@ -53379,8 +53380,11 @@ function extend() {
|
|
|
53379
53380
|
const config_loader_1 = require("../../common/config-process/config-loader");
|
|
53380
53381
|
const relative_path_resolver_1 = require("../../common/footprints-process-v6/relative-path-resolver");
|
|
53381
53382
|
const footprints_buffer_1 = require("../../common/footprints-process-v6/footprints-buffer");
|
|
53383
|
+
const collector_footprints_buffer_1 = require("../../common/footprints-process-v6/collector-footprints-buffer");
|
|
53382
53384
|
const index_1 = require("../../common/footprints-process-v6/index");
|
|
53385
|
+
const collector_footprints_process_1 = require("../../common/footprints-process-v6/collector-footprints-process");
|
|
53383
53386
|
const config_process_1 = require("../../common/config-process");
|
|
53387
|
+
const no_op_config_process_1 = require("../../common/config-process/no-op-config-process");
|
|
53384
53388
|
const system_date_1 = require("../../common/system-date");
|
|
53385
53389
|
const FOOTPRINTS_SENDER_WATCHDOG = 'FootPrintsSenderWatchdog';
|
|
53386
53390
|
const FOOTPRINTS_FLUSH_WATCHDOG = 'FootprintsFlushWatchdog';
|
|
@@ -53400,7 +53404,10 @@ function extend() {
|
|
|
53400
53404
|
const agentConfiguration = this.createAgentConfiguration(configuration);
|
|
53401
53405
|
const backendProxy = this.createBackendProxy(agentConfiguration, agentInstanceData, window, featureDetection, configuration);
|
|
53402
53406
|
const eventProcess = this.createEventProcess(window, featureDetection, configuration, agentConfiguration, agentInstanceData, backendProxy);
|
|
53403
|
-
|
|
53407
|
+
AgentFactory.notiyAgentStart(agentConfiguration, agentInstanceData, logger, backendProxy, basicConfiguration);
|
|
53408
|
+
if (basicConfiguration.collectorUrl) {
|
|
53409
|
+
return this.createFootprintsOnlyInstance(window, featureDetection, configuration, agentInstanceData, logger, agentConfiguration, backendProxy, eventProcess, colorCookieHandler);
|
|
53410
|
+
}
|
|
53404
53411
|
if (agentConfiguration.footprintsEnableV6.value) {
|
|
53405
53412
|
return this.createBrowserAgentInstanceFPV6(window, featureDetection, configuration, agentInstanceData, logger, agentConfiguration, backendProxy, eventProcess, colorCookieHandler);
|
|
53406
53413
|
}
|
|
@@ -53409,6 +53416,14 @@ function extend() {
|
|
|
53409
53416
|
const agent = new browser_agent_instance_1.BrowserAgentInstance(logger, footprintsQueueSender, configuration, window, colorCookieHandler, stateTracker, eventProcess, agentConfiguration);
|
|
53410
53417
|
return agent;
|
|
53411
53418
|
}
|
|
53419
|
+
static notiyAgentStart(agentConfiguration, agentInstanceData, logger, backendProxy, basicConfiguration) {
|
|
53420
|
+
if (basicConfiguration.collectorUrl) {
|
|
53421
|
+
cockpit_notifier_1.CockpitNotifier.notifyStartNoOp(agentConfiguration, agentInstanceData, logger, {}, backendProxy);
|
|
53422
|
+
}
|
|
53423
|
+
else {
|
|
53424
|
+
cockpit_notifier_1.CockpitNotifier.notifyStart(agentConfiguration, agentInstanceData, logger, {}, backendProxy);
|
|
53425
|
+
}
|
|
53426
|
+
}
|
|
53412
53427
|
static createBrowserAgentInstanceFPV6(window, featureDetection, configuration, agentInstanceData, logger, agentConfig, backendProxy, eventsProcess, colorCookieHandler) {
|
|
53413
53428
|
const configProcess = this.createConfigProcess(window, configuration, agentInstanceData, agentConfig, backendProxy);
|
|
53414
53429
|
const stateTracker = this.createStateTrackerInfra(window, configuration, agentInstanceData, agentConfig, backendProxy, configProcess);
|
|
@@ -53417,6 +53432,14 @@ function extend() {
|
|
|
53417
53432
|
const flushFootprintsWatchdog = AgentFactory.createWatchdog(window, configuration, FOOTPRINTS_FLUSH_WATCHDOG, agentConfig.footprintsCollectIntervalSecs.value);
|
|
53418
53433
|
return new browser_agent_instance_fpv6_1.BrowserAgentInstanceFpv6(logger, footprintsProcessV6, configuration, window, colorCookieHandler, stateTracker, eventsProcess, agentConfig, flushFootprintsWatchdog, slMappingLoader);
|
|
53419
53434
|
}
|
|
53435
|
+
static createFootprintsOnlyInstance(window, featureDetection, configuration, agentInstanceData, logger, agentConfig, backendProxy, eventsProcess, colorCookieHandler) {
|
|
53436
|
+
const configProcess = this.createNoOpConfigProcess(window, configuration, agentInstanceData, agentConfig, backendProxy);
|
|
53437
|
+
const stateTracker = this.createNoopStateTracker(window, configuration, agentInstanceData, agentConfig, backendProxy, configProcess);
|
|
53438
|
+
const footprintsProcessV6 = this.createCollectorFootprintsProcess(window, configuration, agentInstanceData, agentConfig, backendProxy, stateTracker);
|
|
53439
|
+
const slMappingLoader = this.createSlMappingLoader(window, backendProxy, configuration);
|
|
53440
|
+
const flushFootprintsWatchdog = AgentFactory.createWatchdog(window, configuration, FOOTPRINTS_FLUSH_WATCHDOG, agentConfig.footprintsCollectIntervalSecs.value);
|
|
53441
|
+
return new browser_agent_instance_fpv6_1.BrowserAgentInstanceFpv6(logger, footprintsProcessV6, configuration, window, colorCookieHandler, stateTracker, eventsProcess, agentConfig, flushFootprintsWatchdog, slMappingLoader);
|
|
53442
|
+
}
|
|
53420
53443
|
static createFootprintsQueueSender(window, featureDetection, configuration, stateTracker, agentInstanceData, backendProxy) {
|
|
53421
53444
|
const watchdog = AgentFactory.createWatchdog(window, configuration, FOOTPRINTS_SENDER_WATCHDOG);
|
|
53422
53445
|
const lightBackendProxy = AgentFactory.createLightBackendProxy(window, featureDetection, configuration, agentInstanceData);
|
|
@@ -53552,7 +53575,7 @@ function extend() {
|
|
|
53552
53575
|
}
|
|
53553
53576
|
static createJsonClientAdapter(window, featureDetection, config, agentInstanceData) {
|
|
53554
53577
|
const jsonClient = this.createJsonClient(window, featureDetection, config, agentInstanceData);
|
|
53555
|
-
return new json_client_adapter_1.JsonClientAdapter(jsonClient, config.server);
|
|
53578
|
+
return new json_client_adapter_1.JsonClientAdapter(jsonClient, config.server, config.collectorUrl);
|
|
53556
53579
|
}
|
|
53557
53580
|
static getCreateFootprintsProcessV6(window, configuration, agentInstanceData, agentConfig, backendProxy, stateTracker) {
|
|
53558
53581
|
const sendToServerWatchdog = AgentFactory.createWatchdog(window, configuration, FOOTPRINTS_SENDER_WATCHDOG, agentConfig.footprintsSendIntervalSecs.value);
|
|
@@ -53563,19 +53586,36 @@ function extend() {
|
|
|
53563
53586
|
const footprintsBuffer = new footprints_buffer_1.FootprintsBuffer(agentInstanceData, agentConfig);
|
|
53564
53587
|
return new index_1.FootprintsProcess(agentConfig, sendToServerWatchdog, keepaliveWatchdog, this.createLogger('footprintsProcess', configuration, window), hitsCollector, hitsConverter, footprintsBuffer, backendProxy, stateTracker);
|
|
53565
53588
|
}
|
|
53589
|
+
static createCollectorFootprintsProcess(window, configuration, agentInstanceData, agentConfig, backendProxy, stateTracker) {
|
|
53590
|
+
const sendToServerWatchdog = AgentFactory.createWatchdog(window, configuration, FOOTPRINTS_SENDER_WATCHDOG, agentConfig.footprintsSendIntervalSecs.value);
|
|
53591
|
+
const keepaliveWatchdog = AgentFactory.createWatchdog(window, configuration, KEEP_ALIVE_WATCHDOG);
|
|
53592
|
+
const relativePathResolver = new relative_path_resolver_1.RelativePathResolver();
|
|
53593
|
+
const hitsCollector = new browser_hits_collector_1.BrowserHitsCollector(configuration.buildSessionId, this.createLogger('browserHitsCollector', configuration, window));
|
|
53594
|
+
const hitsConverter = new browser_hits_converter_1.BrowserHitsConverter(relativePathResolver, window, agentConfig.buildSessionId.value, this.createLogger('HitsConverter', configuration, window));
|
|
53595
|
+
const footprintsBuffer = new collector_footprints_buffer_1.CollectorFootprintsBuffer(agentInstanceData, agentConfig);
|
|
53596
|
+
return new collector_footprints_process_1.CollectorFootprintsProcess(agentConfig, sendToServerWatchdog, keepaliveWatchdog, this.createLogger('footprintsProcess', configuration, window), hitsCollector, hitsConverter, footprintsBuffer, backendProxy, stateTracker);
|
|
53597
|
+
}
|
|
53566
53598
|
static createConfigProcess(window, configuration, agentInstanceData, agentConfig, backendProxy) {
|
|
53567
53599
|
const sendToServerWatchdog = AgentFactory.createWatchdog(window, configuration, CONFIGURATION_WATCHDOG, 30);
|
|
53568
53600
|
return new config_process_1.ConfigProcess(agentConfig, sendToServerWatchdog, backendProxy, this.createLogger('configProcess', configuration, window));
|
|
53569
53601
|
}
|
|
53602
|
+
static createNoOpConfigProcess(window, configuration, agentInstanceData, agentConfig, backendProxy) {
|
|
53603
|
+
const sendToServerWatchdog = AgentFactory.createWatchdog(window, configuration, CONFIGURATION_WATCHDOG, 30);
|
|
53604
|
+
return new no_op_config_process_1.NoopConfigProcess(agentConfig, sendToServerWatchdog, backendProxy, this.createLogger('configProcess', configuration, window));
|
|
53605
|
+
}
|
|
53570
53606
|
static createStateTrackerInfra(window, configuration, agentInstanceData, agentConfig, backendProxy, configProcess) {
|
|
53571
53607
|
const watchdog = AgentFactory.createWatchdog(window, configuration, ACTIVE_EXECUTION_WATCHDOG, agentConfig.executionQueryIntervalSecs.value);
|
|
53572
53608
|
return new state_tracker_fpv6_1.StateTrackerFpv6(agentConfig, configProcess, watchdog, backendProxy, this.createLogger('stateTracker', configuration, window));
|
|
53573
53609
|
}
|
|
53610
|
+
static createNoopStateTracker(window, configuration, agentInstanceData, agentConfig, backendProxy, configProcess) {
|
|
53611
|
+
const watchdog = AgentFactory.createWatchdog(window, configuration, ACTIVE_EXECUTION_WATCHDOG, agentConfig.executionQueryIntervalSecs.value);
|
|
53612
|
+
return new no_op_state_tracker_1.NoopStateTracker(agentConfig, configProcess, watchdog, backendProxy, this.createLogger('stateTracker', configuration, window));
|
|
53613
|
+
}
|
|
53574
53614
|
}
|
|
53575
53615
|
exports.AgentFactory = AgentFactory;
|
|
53576
53616
|
});
|
|
53577
53617
|
|
|
53578
|
-
},{"../../common/agent-events/agent-events-conracts":453,"../../common/agent-events/cockpit-notifier":
|
|
53618
|
+
},{"../../common/agent-events/agent-events-conracts":453,"../../common/agent-events/cockpit-notifier":459,"../../common/agent-instance-data":465,"../../common/config-process":469,"../../common/config-process/config-loader":466,"../../common/config-process/no-op-config-process":470,"../../common/footprints-process-v6/collector-footprints-buffer":484,"../../common/footprints-process-v6/collector-footprints-process":485,"../../common/footprints-process-v6/footprints-buffer":486,"../../common/footprints-process-v6/index":489,"../../common/footprints-process-v6/relative-path-resolver":491,"../../common/http/backend-proxy":493,"../../common/no-op-state-tracker":499,"../../common/state-tracker-fpv6":501,"../../common/system-date":503,"./basic-uuid-generator":405,"./browser-agent-instance":407,"./browser-agent-instance-fpv6":406,"./browser-events-process":409,"./browser-hits-collector":410,"./browser-hits-converter":411,"./code-coverage-manager":412,"./color-cookie-handler":413,"./configuration-manager":415,"./delegate":418,"./entities/environment-data":421,"./footprints-queue-sender":431,"./istanbul-to-footprints-convertor":433,"./istanbul-to-footprints-convertor-v3":432,"./logger/log-factory":436,"./queues/footprints-items-queue":438,"./queues/queue":439,"./services/http/http-client":440,"./services/json/json-client":444,"./services/json/json-client-adapter":443,"./services/json/noop-json-client":445,"./services/light-backend-proxy":446,"./sl-mapping-loader":447,"./state-tracker":448,"./test-state-helper":449,"./watchdog":451,"./window-timers-wrapper":452}],405:[function(require,module,exports){
|
|
53579
53619
|
(function (factory) {
|
|
53580
53620
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
53581
53621
|
var v = factory(require, exports);
|
|
@@ -53809,7 +53849,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
53809
53849
|
exports.BrowserAgentInstance = BrowserAgentInstance;
|
|
53810
53850
|
});
|
|
53811
53851
|
|
|
53812
|
-
},{"../../common/agent-events/cockpit-notifier":
|
|
53852
|
+
},{"../../common/agent-events/cockpit-notifier":459,"./basic-uuid-generator":405,"./config":414,"./karma-handler":434}],408:[function(require,module,exports){
|
|
53813
53853
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
53814
53854
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
53815
53855
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -53825,15 +53865,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
53825
53865
|
if (v !== undefined) module.exports = v;
|
|
53826
53866
|
}
|
|
53827
53867
|
else if (typeof define === "function" && define.amd) {
|
|
53828
|
-
define(["require", "exports", "./agent-factory", "./logger/log-factory"], factory);
|
|
53868
|
+
define(["require", "exports", "./agent-factory", "./logger/log-factory", "./events-bridge"], factory);
|
|
53829
53869
|
}
|
|
53830
53870
|
})(function (require, exports) {
|
|
53831
53871
|
"use strict";
|
|
53832
|
-
var __syncRequire = typeof module === "object" && typeof module.exports === "object";
|
|
53833
53872
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53834
53873
|
exports.BrowserAgent = void 0;
|
|
53835
53874
|
const agent_factory_1 = require("./agent-factory");
|
|
53836
53875
|
const log_factory_1 = require("./logger/log-factory");
|
|
53876
|
+
const events_bridge_1 = require("./events-bridge");
|
|
53837
53877
|
class BrowserAgent {
|
|
53838
53878
|
constructor(window, featureDetection) {
|
|
53839
53879
|
this.instances = [];
|
|
@@ -53855,9 +53895,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
53855
53895
|
this.instanceAddedForBsid[configuration.buildSessionId] = true;
|
|
53856
53896
|
const browserAgent = agent_factory_1.AgentFactory.createBrowserAgent(this.window, this.featureDetection, configuration);
|
|
53857
53897
|
const { enableOpenTelemetry } = configuration;
|
|
53858
|
-
|
|
53859
|
-
__syncRequire ? Promise.resolve().then(() => require('./otel-plugin')) : new Promise((resolve_1, reject_1) => { require(['./otel-plugin'], resolve_1, reject_1); });
|
|
53860
|
-
}
|
|
53898
|
+
events_bridge_1.registerEventsBridge(this.logger, enableOpenTelemetry);
|
|
53861
53899
|
if (browserAgent) {
|
|
53862
53900
|
browserAgent.start();
|
|
53863
53901
|
this.instances.push(browserAgent);
|
|
@@ -53901,7 +53939,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
53901
53939
|
exports.BrowserAgent = BrowserAgent;
|
|
53902
53940
|
});
|
|
53903
53941
|
|
|
53904
|
-
},{"./agent-factory":404,"./
|
|
53942
|
+
},{"./agent-factory":404,"./events-bridge":427,"./logger/log-factory":436}],409:[function(require,module,exports){
|
|
53905
53943
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
53906
53944
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
53907
53945
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -53948,7 +53986,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
53948
53986
|
exports.BrowserEventsProcess = BrowserEventsProcess;
|
|
53949
53987
|
});
|
|
53950
53988
|
|
|
53951
|
-
},{"../../common/events-process":
|
|
53989
|
+
},{"../../common/events-process":481}],410:[function(require,module,exports){
|
|
53952
53990
|
(function (factory) {
|
|
53953
53991
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
53954
53992
|
var v = factory(require, exports);
|
|
@@ -53979,7 +54017,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
53979
54017
|
exports.BrowserHitsCollector = BrowserHitsCollector;
|
|
53980
54018
|
});
|
|
53981
54019
|
|
|
53982
|
-
},{"../../common/footprints-process-v6/hits-collector":
|
|
54020
|
+
},{"../../common/footprints-process-v6/hits-collector":487}],411:[function(require,module,exports){
|
|
53983
54021
|
(function (factory) {
|
|
53984
54022
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
53985
54023
|
var v = factory(require, exports);
|
|
@@ -54005,7 +54043,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
54005
54043
|
exports.BrowserHitsConverter = BrowserHitsConverter;
|
|
54006
54044
|
});
|
|
54007
54045
|
|
|
54008
|
-
},{"../../common/footprints-process-v6/base-browser-hits-converter":
|
|
54046
|
+
},{"../../common/footprints-process-v6/base-browser-hits-converter":482}],412:[function(require,module,exports){
|
|
54009
54047
|
(function (factory) {
|
|
54010
54048
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54011
54049
|
var v = factory(require, exports);
|
|
@@ -54168,7 +54206,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
54168
54206
|
"use strict";
|
|
54169
54207
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54170
54208
|
exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
|
|
54171
|
-
exports.SL_AGENT_VERSION = '6.1.
|
|
54209
|
+
exports.SL_AGENT_VERSION = '6.1.309';
|
|
54172
54210
|
exports.SL_AGENT_TYPE = 'browser';
|
|
54173
54211
|
});
|
|
54174
54212
|
|
|
@@ -54360,7 +54398,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
54360
54398
|
exports.ConfigurationOverride = ConfigurationOverride;
|
|
54361
54399
|
});
|
|
54362
54400
|
|
|
54363
|
-
},{"./logger/console-logger":
|
|
54401
|
+
},{"./logger/console-logger":435,"events":266}],417:[function(require,module,exports){
|
|
54364
54402
|
(function (factory) {
|
|
54365
54403
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54366
54404
|
var v = factory(require, exports);
|
|
@@ -54507,6 +54545,246 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
54507
54545
|
});
|
|
54508
54546
|
|
|
54509
54547
|
},{}],423:[function(require,module,exports){
|
|
54548
|
+
(function (factory) {
|
|
54549
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54550
|
+
var v = factory(require, exports);
|
|
54551
|
+
if (v !== undefined) module.exports = v;
|
|
54552
|
+
}
|
|
54553
|
+
else if (typeof define === "function" && define.amd) {
|
|
54554
|
+
define(["require", "exports"], factory);
|
|
54555
|
+
}
|
|
54556
|
+
})(function (require, exports) {
|
|
54557
|
+
"use strict";
|
|
54558
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54559
|
+
exports.EVENTS = exports.SL_TEST_NAME = exports.SL_SESSION_ID = exports.SL_CONTEXT_KEY = exports.SL_BAGGAGE_HEADER = void 0;
|
|
54560
|
+
exports.SL_BAGGAGE_HEADER = 'baggage';
|
|
54561
|
+
exports.SL_CONTEXT_KEY = 'sl-context';
|
|
54562
|
+
exports.SL_SESSION_ID = 'x-sl-test-session-id';
|
|
54563
|
+
exports.SL_TEST_NAME = 'x-sl-test-name';
|
|
54564
|
+
exports.EVENTS = {
|
|
54565
|
+
SET_BAGGAGE: `set:${exports.SL_BAGGAGE_HEADER}`,
|
|
54566
|
+
ACK_BAGGAGE: `ack:${exports.SL_BAGGAGE_HEADER}`,
|
|
54567
|
+
DELETE_BAGGAGE: `delete:${exports.SL_BAGGAGE_HEADER}`,
|
|
54568
|
+
READY_EVENTS_BRIDGE: 'ready:sl-events-bridge',
|
|
54569
|
+
REQUEST_AGENT_CONTEXT: 'request:sl-context',
|
|
54570
|
+
RESPONSE_AGENT_CONTEXT: 'response:sl-context',
|
|
54571
|
+
};
|
|
54572
|
+
});
|
|
54573
|
+
|
|
54574
|
+
},{}],424:[function(require,module,exports){
|
|
54575
|
+
(function (factory) {
|
|
54576
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54577
|
+
var v = factory(require, exports);
|
|
54578
|
+
if (v !== undefined) module.exports = v;
|
|
54579
|
+
}
|
|
54580
|
+
else if (typeof define === "function" && define.amd) {
|
|
54581
|
+
define(["require", "exports", "./const", "@opentelemetry/api", "./const", "../../../common/agent-events/cockpit-notifier"], factory);
|
|
54582
|
+
}
|
|
54583
|
+
})(function (require, exports) {
|
|
54584
|
+
"use strict";
|
|
54585
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54586
|
+
exports.registerEvents = void 0;
|
|
54587
|
+
const SlConst = require("./const");
|
|
54588
|
+
const api = require("@opentelemetry/api");
|
|
54589
|
+
const const_1 = require("./const");
|
|
54590
|
+
const cockpit_notifier_1 = require("../../../common/agent-events/cockpit-notifier");
|
|
54591
|
+
exports.registerEvents = (logger, withOpenTelemetry) => {
|
|
54592
|
+
try {
|
|
54593
|
+
let SlContext;
|
|
54594
|
+
window.$Sealights.eventsBridge = {
|
|
54595
|
+
loaded: false,
|
|
54596
|
+
otel: false,
|
|
54597
|
+
};
|
|
54598
|
+
if (withOpenTelemetry) {
|
|
54599
|
+
SlContext = api.ROOT_CONTEXT.setValue(api.createContextKey(SlConst.SL_CONTEXT_KEY), true);
|
|
54600
|
+
window.$Sealights.eventsBridge.getBaggage = () => SlContext.getValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER));
|
|
54601
|
+
window.$Sealights.eventsBridge.otel = true;
|
|
54602
|
+
}
|
|
54603
|
+
addEventListener(SlConst.EVENTS.SET_BAGGAGE, ({ detail }) => {
|
|
54604
|
+
var _a, _b;
|
|
54605
|
+
const sessionId = detail === null || detail === void 0 ? void 0 : detail[const_1.SL_SESSION_ID];
|
|
54606
|
+
const testName = detail === null || detail === void 0 ? void 0 : detail[const_1.SL_TEST_NAME];
|
|
54607
|
+
if (!(sessionId === null || sessionId === void 0 ? void 0 : sessionId.length) || !(testName === null || testName === void 0 ? void 0 : testName.length))
|
|
54608
|
+
return;
|
|
54609
|
+
if (withOpenTelemetry) {
|
|
54610
|
+
SlContext = SlContext.setValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER), {
|
|
54611
|
+
[const_1.SL_SESSION_ID]: sessionId,
|
|
54612
|
+
[const_1.SL_TEST_NAME]: encodeURI(testName),
|
|
54613
|
+
});
|
|
54614
|
+
}
|
|
54615
|
+
(_b = (_a = window.$SealightsAgent) === null || _a === void 0 ? void 0 : _a.setCurrentTestIdentifier) === null || _b === void 0 ? void 0 : _b.call(_a, `${sessionId}/${testName}`);
|
|
54616
|
+
dispatchEvent(new CustomEvent(SlConst.EVENTS.ACK_BAGGAGE, {
|
|
54617
|
+
detail,
|
|
54618
|
+
}));
|
|
54619
|
+
});
|
|
54620
|
+
addEventListener(SlConst.EVENTS.REQUEST_AGENT_CONTEXT, () => {
|
|
54621
|
+
dispatchEvent(new CustomEvent(SlConst.EVENTS.RESPONSE_AGENT_CONTEXT, {
|
|
54622
|
+
detail: { components: window.$Sealights.components || {} },
|
|
54623
|
+
}));
|
|
54624
|
+
});
|
|
54625
|
+
addEventListener(SlConst.EVENTS.DELETE_BAGGAGE, () => {
|
|
54626
|
+
var _a, _b;
|
|
54627
|
+
SlContext = SlContext.deleteValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER));
|
|
54628
|
+
(_b = (_a = window.$SealightsAgent) === null || _a === void 0 ? void 0 : _a.setCurrentTestIdentifier) === null || _b === void 0 ? void 0 : _b.call(_a, null);
|
|
54629
|
+
});
|
|
54630
|
+
window.$Sealights.eventsBridge.loaded = true;
|
|
54631
|
+
logger.info(`Events Bridge integration loaded. All events registered successfully. OpenTelemetry status: ${withOpenTelemetry}`);
|
|
54632
|
+
}
|
|
54633
|
+
catch (error) {
|
|
54634
|
+
logger.error(`An error occurred while registering OpenTelemetry integration events.`, error);
|
|
54635
|
+
window.$Sealights.eventsBridge.error = error;
|
|
54636
|
+
cockpit_notifier_1.CockpitNotifier.sendError(JSON.stringify(error, Object.getOwnPropertyNames(error)));
|
|
54637
|
+
}
|
|
54638
|
+
};
|
|
54639
|
+
});
|
|
54640
|
+
|
|
54641
|
+
},{"../../../common/agent-events/cockpit-notifier":459,"./const":423,"@opentelemetry/api":18}],425:[function(require,module,exports){
|
|
54642
|
+
(function (factory) {
|
|
54643
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54644
|
+
var v = factory(require, exports);
|
|
54645
|
+
if (v !== undefined) module.exports = v;
|
|
54646
|
+
}
|
|
54647
|
+
else if (typeof define === "function" && define.amd) {
|
|
54648
|
+
define(["require", "exports", "@opentelemetry/instrumentation-fetch", "../utils"], factory);
|
|
54649
|
+
}
|
|
54650
|
+
})(function (require, exports) {
|
|
54651
|
+
"use strict";
|
|
54652
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54653
|
+
exports.CustomFetchInstrumentation = void 0;
|
|
54654
|
+
const instrumentation_fetch_1 = require("@opentelemetry/instrumentation-fetch");
|
|
54655
|
+
const utils_1 = require("../utils");
|
|
54656
|
+
class CustomFetchInstrumentation extends instrumentation_fetch_1.FetchInstrumentation {
|
|
54657
|
+
constructor(config) {
|
|
54658
|
+
super(config);
|
|
54659
|
+
this['_addHeaders'] = (options) => {
|
|
54660
|
+
const headers = utils_1.constructBaggageHeader();
|
|
54661
|
+
options.headers = Object.assign({}, headers, options.headers || {});
|
|
54662
|
+
};
|
|
54663
|
+
}
|
|
54664
|
+
}
|
|
54665
|
+
exports.CustomFetchInstrumentation = CustomFetchInstrumentation;
|
|
54666
|
+
});
|
|
54667
|
+
|
|
54668
|
+
},{"../utils":429,"@opentelemetry/instrumentation-fetch":89}],426:[function(require,module,exports){
|
|
54669
|
+
(function (factory) {
|
|
54670
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54671
|
+
var v = factory(require, exports);
|
|
54672
|
+
if (v !== undefined) module.exports = v;
|
|
54673
|
+
}
|
|
54674
|
+
else if (typeof define === "function" && define.amd) {
|
|
54675
|
+
define(["require", "exports", "@opentelemetry/instrumentation-xml-http-request", "../utils"], factory);
|
|
54676
|
+
}
|
|
54677
|
+
})(function (require, exports) {
|
|
54678
|
+
"use strict";
|
|
54679
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54680
|
+
exports.CustomXMLHttpRequestInstrumentation = void 0;
|
|
54681
|
+
const instrumentation_xml_http_request_1 = require("@opentelemetry/instrumentation-xml-http-request");
|
|
54682
|
+
const utils_1 = require("../utils");
|
|
54683
|
+
class CustomXMLHttpRequestInstrumentation extends instrumentation_xml_http_request_1.XMLHttpRequestInstrumentation {
|
|
54684
|
+
constructor(config) {
|
|
54685
|
+
super(config);
|
|
54686
|
+
this['_addHeaders'] = (xhr) => {
|
|
54687
|
+
var _a;
|
|
54688
|
+
const headers = utils_1.constructBaggageHeader();
|
|
54689
|
+
if ((_a = headers === null || headers === void 0 ? void 0 : headers.baggage) === null || _a === void 0 ? void 0 : _a.length)
|
|
54690
|
+
xhr.setRequestHeader('baggage', headers.baggage);
|
|
54691
|
+
};
|
|
54692
|
+
}
|
|
54693
|
+
}
|
|
54694
|
+
exports.CustomXMLHttpRequestInstrumentation = CustomXMLHttpRequestInstrumentation;
|
|
54695
|
+
});
|
|
54696
|
+
|
|
54697
|
+
},{"../utils":429,"@opentelemetry/instrumentation-xml-http-request":93}],427:[function(require,module,exports){
|
|
54698
|
+
(function (factory) {
|
|
54699
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54700
|
+
var v = factory(require, exports);
|
|
54701
|
+
if (v !== undefined) module.exports = v;
|
|
54702
|
+
}
|
|
54703
|
+
else if (typeof define === "function" && define.amd) {
|
|
54704
|
+
define(["require", "exports", "./otel", "./events", "./const"], factory);
|
|
54705
|
+
}
|
|
54706
|
+
})(function (require, exports) {
|
|
54707
|
+
"use strict";
|
|
54708
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54709
|
+
exports.registerEventsBridge = void 0;
|
|
54710
|
+
const otel_1 = require("./otel");
|
|
54711
|
+
const events_1 = require("./events");
|
|
54712
|
+
const const_1 = require("./const");
|
|
54713
|
+
exports.registerEventsBridge = (logger, enableOpenTelemetry) => {
|
|
54714
|
+
events_1.registerEvents(logger, enableOpenTelemetry);
|
|
54715
|
+
if (enableOpenTelemetry) {
|
|
54716
|
+
otel_1.registerOpenTelemetry(logger);
|
|
54717
|
+
}
|
|
54718
|
+
const event = new Event(const_1.EVENTS.READY_EVENTS_BRIDGE);
|
|
54719
|
+
window.dispatchEvent(event);
|
|
54720
|
+
};
|
|
54721
|
+
});
|
|
54722
|
+
|
|
54723
|
+
},{"./const":423,"./events":424,"./otel":428}],428:[function(require,module,exports){
|
|
54724
|
+
(function (factory) {
|
|
54725
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54726
|
+
var v = factory(require, exports);
|
|
54727
|
+
if (v !== undefined) module.exports = v;
|
|
54728
|
+
}
|
|
54729
|
+
else if (typeof define === "function" && define.amd) {
|
|
54730
|
+
define(["require", "exports", "@opentelemetry/instrumentation", "./implementations/CustomFetchInstrumentation", "./implementations/CustomXMLHttpRequestInstrumentation", "../../../common/agent-events/cockpit-notifier"], factory);
|
|
54731
|
+
}
|
|
54732
|
+
})(function (require, exports) {
|
|
54733
|
+
"use strict";
|
|
54734
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54735
|
+
exports.registerOpenTelemetry = void 0;
|
|
54736
|
+
const instrumentation_1 = require("@opentelemetry/instrumentation");
|
|
54737
|
+
const CustomFetchInstrumentation_1 = require("./implementations/CustomFetchInstrumentation");
|
|
54738
|
+
const CustomXMLHttpRequestInstrumentation_1 = require("./implementations/CustomXMLHttpRequestInstrumentation");
|
|
54739
|
+
const cockpit_notifier_1 = require("../../../common/agent-events/cockpit-notifier");
|
|
54740
|
+
exports.registerOpenTelemetry = (logger) => {
|
|
54741
|
+
try {
|
|
54742
|
+
instrumentation_1.registerInstrumentations({
|
|
54743
|
+
instrumentations: [
|
|
54744
|
+
new CustomFetchInstrumentation_1.CustomFetchInstrumentation(),
|
|
54745
|
+
new CustomXMLHttpRequestInstrumentation_1.CustomXMLHttpRequestInstrumentation(),
|
|
54746
|
+
],
|
|
54747
|
+
});
|
|
54748
|
+
}
|
|
54749
|
+
catch (error) {
|
|
54750
|
+
logger.error(`An error occurred while registering OpenTelemetry Fetch/XMLHttp instrumentation.`, error);
|
|
54751
|
+
window.$Sealights.eventsBridge.error = error;
|
|
54752
|
+
cockpit_notifier_1.CockpitNotifier.sendError(JSON.stringify(error, Object.getOwnPropertyNames(error)));
|
|
54753
|
+
}
|
|
54754
|
+
};
|
|
54755
|
+
});
|
|
54756
|
+
|
|
54757
|
+
},{"../../../common/agent-events/cockpit-notifier":459,"./implementations/CustomFetchInstrumentation":425,"./implementations/CustomXMLHttpRequestInstrumentation":426,"@opentelemetry/instrumentation":98}],429:[function(require,module,exports){
|
|
54758
|
+
(function (factory) {
|
|
54759
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54760
|
+
var v = factory(require, exports);
|
|
54761
|
+
if (v !== undefined) module.exports = v;
|
|
54762
|
+
}
|
|
54763
|
+
else if (typeof define === "function" && define.amd) {
|
|
54764
|
+
define(["require", "exports"], factory);
|
|
54765
|
+
}
|
|
54766
|
+
})(function (require, exports) {
|
|
54767
|
+
"use strict";
|
|
54768
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54769
|
+
exports.constructBaggageHeader = void 0;
|
|
54770
|
+
exports.constructBaggageHeader = () => {
|
|
54771
|
+
var _a, _b;
|
|
54772
|
+
const { getBaggage } = ((_a = window.$Sealights) === null || _a === void 0 ? void 0 : _a.eventsBridge) || {};
|
|
54773
|
+
const baggage = (_b = getBaggage === null || getBaggage === void 0 ? void 0 : getBaggage()) !== null && _b !== void 0 ? _b : {};
|
|
54774
|
+
if (!Object.keys(baggage !== null && baggage !== void 0 ? baggage : {}).length) {
|
|
54775
|
+
return {};
|
|
54776
|
+
}
|
|
54777
|
+
return {
|
|
54778
|
+
baggage: Object.keys(baggage)
|
|
54779
|
+
.map((key) => {
|
|
54780
|
+
return `${key}=${baggage[key]}`;
|
|
54781
|
+
})
|
|
54782
|
+
.join(),
|
|
54783
|
+
};
|
|
54784
|
+
};
|
|
54785
|
+
});
|
|
54786
|
+
|
|
54787
|
+
},{}],430:[function(require,module,exports){
|
|
54510
54788
|
(function (factory) {
|
|
54511
54789
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54512
54790
|
var v = factory(require, exports);
|
|
@@ -54544,7 +54822,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
54544
54822
|
exports.FeatureDetection = FeatureDetection;
|
|
54545
54823
|
});
|
|
54546
54824
|
|
|
54547
|
-
},{}],
|
|
54825
|
+
},{}],431:[function(require,module,exports){
|
|
54548
54826
|
(function (factory) {
|
|
54549
54827
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54550
54828
|
var v = factory(require, exports);
|
|
@@ -54750,7 +55028,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
54750
55028
|
exports.FootprintsQueueSender = FootprintsQueueSender;
|
|
54751
55029
|
});
|
|
54752
55030
|
|
|
54753
|
-
},{"../../common/system-date":
|
|
55031
|
+
},{"../../common/system-date":503,"./entities/footprints-item-data":422}],432:[function(require,module,exports){
|
|
54754
55032
|
(function (factory) {
|
|
54755
55033
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
54756
55034
|
var v = factory(require, exports);
|
|
@@ -55005,7 +55283,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55005
55283
|
exports.IstanbulToFootprintsConvertorV3 = IstanbulToFootprintsConvertorV3;
|
|
55006
55284
|
});
|
|
55007
55285
|
|
|
55008
|
-
},{"../../common/footprints-process-v6/location-formatter":
|
|
55286
|
+
},{"../../common/footprints-process-v6/location-formatter":490,"../../common/footprints-process/collection-interval":492,"../../common/system-date":503,"./logger/log-factory":436}],433:[function(require,module,exports){
|
|
55009
55287
|
(function (factory) {
|
|
55010
55288
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55011
55289
|
var v = factory(require, exports);
|
|
@@ -55111,7 +55389,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55111
55389
|
exports.IstanbulToFootprintsConverter = IstanbulToFootprintsConverter;
|
|
55112
55390
|
});
|
|
55113
55391
|
|
|
55114
|
-
},{"./utils":450}],
|
|
55392
|
+
},{"./utils":450}],434:[function(require,module,exports){
|
|
55115
55393
|
(function (factory) {
|
|
55116
55394
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55117
55395
|
var v = factory(require, exports);
|
|
@@ -55186,7 +55464,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55186
55464
|
exports.KarmaHandler = KarmaHandler;
|
|
55187
55465
|
});
|
|
55188
55466
|
|
|
55189
|
-
},{"../../common/events-process/events-contracts":
|
|
55467
|
+
},{"../../common/events-process/events-contracts":479,"../../common/events-process/events-creator":480,"../../common/utils/validation-utils":507,"./browser-agent-instance":407}],435:[function(require,module,exports){
|
|
55190
55468
|
(function (factory) {
|
|
55191
55469
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55192
55470
|
var v = factory(require, exports);
|
|
@@ -55377,7 +55655,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55377
55655
|
exports.ConsoleLogger = ConsoleLogger;
|
|
55378
55656
|
});
|
|
55379
55657
|
|
|
55380
|
-
},{"../../../common/system-date":
|
|
55658
|
+
},{"../../../common/system-date":503,"../configuration-override":416}],436:[function(require,module,exports){
|
|
55381
55659
|
(function (factory) {
|
|
55382
55660
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55383
55661
|
var v = factory(require, exports);
|
|
@@ -55407,7 +55685,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55407
55685
|
exports.LogFactory = LogFactory;
|
|
55408
55686
|
});
|
|
55409
55687
|
|
|
55410
|
-
},{"./console-logger":
|
|
55688
|
+
},{"./console-logger":435,"./null-logger":437}],437:[function(require,module,exports){
|
|
55411
55689
|
(function (factory) {
|
|
55412
55690
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55413
55691
|
var v = factory(require, exports);
|
|
@@ -55464,194 +55742,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55464
55742
|
NullLogger.INSTANCE = new NullLogger();
|
|
55465
55743
|
});
|
|
55466
55744
|
|
|
55467
|
-
},{}],431:[function(require,module,exports){
|
|
55468
|
-
(function (factory) {
|
|
55469
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55470
|
-
var v = factory(require, exports);
|
|
55471
|
-
if (v !== undefined) module.exports = v;
|
|
55472
|
-
}
|
|
55473
|
-
else if (typeof define === "function" && define.amd) {
|
|
55474
|
-
define(["require", "exports"], factory);
|
|
55475
|
-
}
|
|
55476
|
-
})(function (require, exports) {
|
|
55477
|
-
"use strict";
|
|
55478
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55479
|
-
exports.EVENTS = exports.SL_TEST_NAME = exports.SL_SESSION_ID = exports.SL_CONTEXT_KEY = exports.SL_BAGGAGE_HEADER = void 0;
|
|
55480
|
-
exports.SL_BAGGAGE_HEADER = 'baggage';
|
|
55481
|
-
exports.SL_CONTEXT_KEY = 'sl-context';
|
|
55482
|
-
exports.SL_SESSION_ID = 'x-sl-test-session-id';
|
|
55483
|
-
exports.SL_TEST_NAME = 'x-sl-test-name';
|
|
55484
|
-
exports.EVENTS = {
|
|
55485
|
-
SET_BAGGAGE: `set:${exports.SL_BAGGAGE_HEADER}`,
|
|
55486
|
-
DELETE_BAGGAGE: `delete:${exports.SL_BAGGAGE_HEADER}`,
|
|
55487
|
-
READY_OTEL_PLUGIN: 'ready:sl-browser-agent-otel',
|
|
55488
|
-
};
|
|
55489
|
-
});
|
|
55490
|
-
|
|
55491
|
-
},{}],432:[function(require,module,exports){
|
|
55492
|
-
(function (factory) {
|
|
55493
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55494
|
-
var v = factory(require, exports);
|
|
55495
|
-
if (v !== undefined) module.exports = v;
|
|
55496
|
-
}
|
|
55497
|
-
else if (typeof define === "function" && define.amd) {
|
|
55498
|
-
define(["require", "exports", "./const", "@opentelemetry/api", "./const"], factory);
|
|
55499
|
-
}
|
|
55500
|
-
})(function (require, exports) {
|
|
55501
|
-
"use strict";
|
|
55502
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55503
|
-
const SlConst = require("./const");
|
|
55504
|
-
const api = require("@opentelemetry/api");
|
|
55505
|
-
const const_1 = require("./const");
|
|
55506
|
-
let SlContext = api.ROOT_CONTEXT.setValue(api.createContextKey(SlConst.SL_CONTEXT_KEY), true);
|
|
55507
|
-
window.getSlBaggage = () => SlContext.getValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER));
|
|
55508
|
-
addEventListener(SlConst.EVENTS.SET_BAGGAGE, ({ detail }) => {
|
|
55509
|
-
var _a, _b;
|
|
55510
|
-
const sessionId = detail === null || detail === void 0 ? void 0 : detail[const_1.SL_SESSION_ID];
|
|
55511
|
-
const testName = detail === null || detail === void 0 ? void 0 : detail[const_1.SL_TEST_NAME];
|
|
55512
|
-
if (!(sessionId === null || sessionId === void 0 ? void 0 : sessionId.length) || !(testName === null || testName === void 0 ? void 0 : testName.length))
|
|
55513
|
-
return;
|
|
55514
|
-
SlContext = SlContext.setValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER), {
|
|
55515
|
-
[const_1.SL_SESSION_ID]: sessionId,
|
|
55516
|
-
[const_1.SL_TEST_NAME]: testName,
|
|
55517
|
-
});
|
|
55518
|
-
(_b = (_a = window.$SealightsAgent) === null || _a === void 0 ? void 0 : _a.setCurrentTestIdentifier) === null || _b === void 0 ? void 0 : _b.call(_a, `${sessionId}/${testName}`);
|
|
55519
|
-
});
|
|
55520
|
-
addEventListener(SlConst.EVENTS.DELETE_BAGGAGE, () => {
|
|
55521
|
-
var _a, _b;
|
|
55522
|
-
SlContext = SlContext.deleteValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER));
|
|
55523
|
-
(_b = (_a = window.$SealightsAgent) === null || _a === void 0 ? void 0 : _a.setCurrentTestIdentifier) === null || _b === void 0 ? void 0 : _b.call(_a, null);
|
|
55524
|
-
});
|
|
55525
|
-
window.SLOtelPluginLoaded = true;
|
|
55526
|
-
});
|
|
55527
|
-
|
|
55528
|
-
},{"./const":431,"@opentelemetry/api":18}],433:[function(require,module,exports){
|
|
55529
|
-
(function (factory) {
|
|
55530
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55531
|
-
var v = factory(require, exports);
|
|
55532
|
-
if (v !== undefined) module.exports = v;
|
|
55533
|
-
}
|
|
55534
|
-
else if (typeof define === "function" && define.amd) {
|
|
55535
|
-
define(["require", "exports", "@opentelemetry/instrumentation-fetch", "../utils"], factory);
|
|
55536
|
-
}
|
|
55537
|
-
})(function (require, exports) {
|
|
55538
|
-
"use strict";
|
|
55539
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55540
|
-
exports.CustomFetchInstrumentation = void 0;
|
|
55541
|
-
const instrumentation_fetch_1 = require("@opentelemetry/instrumentation-fetch");
|
|
55542
|
-
const utils_1 = require("../utils");
|
|
55543
|
-
class CustomFetchInstrumentation extends instrumentation_fetch_1.FetchInstrumentation {
|
|
55544
|
-
constructor(config) {
|
|
55545
|
-
super(config);
|
|
55546
|
-
this['_addHeaders'] = (options) => {
|
|
55547
|
-
const headers = utils_1.constructBaggageHeader();
|
|
55548
|
-
options.headers = Object.assign({}, headers, options.headers || {});
|
|
55549
|
-
};
|
|
55550
|
-
}
|
|
55551
|
-
}
|
|
55552
|
-
exports.CustomFetchInstrumentation = CustomFetchInstrumentation;
|
|
55553
|
-
});
|
|
55554
|
-
|
|
55555
|
-
},{"../utils":437,"@opentelemetry/instrumentation-fetch":89}],434:[function(require,module,exports){
|
|
55556
|
-
(function (factory) {
|
|
55557
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55558
|
-
var v = factory(require, exports);
|
|
55559
|
-
if (v !== undefined) module.exports = v;
|
|
55560
|
-
}
|
|
55561
|
-
else if (typeof define === "function" && define.amd) {
|
|
55562
|
-
define(["require", "exports", "@opentelemetry/instrumentation-xml-http-request", "../utils"], factory);
|
|
55563
|
-
}
|
|
55564
|
-
})(function (require, exports) {
|
|
55565
|
-
"use strict";
|
|
55566
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55567
|
-
exports.CustomXMLHttpRequestInstrumentation = void 0;
|
|
55568
|
-
const instrumentation_xml_http_request_1 = require("@opentelemetry/instrumentation-xml-http-request");
|
|
55569
|
-
const utils_1 = require("../utils");
|
|
55570
|
-
class CustomXMLHttpRequestInstrumentation extends instrumentation_xml_http_request_1.XMLHttpRequestInstrumentation {
|
|
55571
|
-
constructor(config) {
|
|
55572
|
-
super(config);
|
|
55573
|
-
this['_addHeaders'] = (xhr) => {
|
|
55574
|
-
var _a;
|
|
55575
|
-
const headers = utils_1.constructBaggageHeader();
|
|
55576
|
-
if ((_a = headers === null || headers === void 0 ? void 0 : headers.baggage) === null || _a === void 0 ? void 0 : _a.length)
|
|
55577
|
-
xhr.setRequestHeader('baggage', headers.baggage);
|
|
55578
|
-
};
|
|
55579
|
-
}
|
|
55580
|
-
}
|
|
55581
|
-
exports.CustomXMLHttpRequestInstrumentation = CustomXMLHttpRequestInstrumentation;
|
|
55582
|
-
});
|
|
55583
|
-
|
|
55584
|
-
},{"../utils":437,"@opentelemetry/instrumentation-xml-http-request":93}],435:[function(require,module,exports){
|
|
55585
|
-
(function (factory) {
|
|
55586
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55587
|
-
var v = factory(require, exports);
|
|
55588
|
-
if (v !== undefined) module.exports = v;
|
|
55589
|
-
}
|
|
55590
|
-
else if (typeof define === "function" && define.amd) {
|
|
55591
|
-
define(["require", "exports", "./otel", "./events", "./const"], factory);
|
|
55592
|
-
}
|
|
55593
|
-
})(function (require, exports) {
|
|
55594
|
-
"use strict";
|
|
55595
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55596
|
-
require("./otel");
|
|
55597
|
-
require("./events");
|
|
55598
|
-
const const_1 = require("./const");
|
|
55599
|
-
const event = new Event(const_1.EVENTS.READY_OTEL_PLUGIN);
|
|
55600
|
-
window.dispatchEvent(event);
|
|
55601
|
-
});
|
|
55602
|
-
|
|
55603
|
-
},{"./const":431,"./events":432,"./otel":436}],436:[function(require,module,exports){
|
|
55604
|
-
(function (factory) {
|
|
55605
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55606
|
-
var v = factory(require, exports);
|
|
55607
|
-
if (v !== undefined) module.exports = v;
|
|
55608
|
-
}
|
|
55609
|
-
else if (typeof define === "function" && define.amd) {
|
|
55610
|
-
define(["require", "exports", "@opentelemetry/instrumentation", "./implementations/CustomFetchInstrumentation", "./implementations/CustomXMLHttpRequestInstrumentation"], factory);
|
|
55611
|
-
}
|
|
55612
|
-
})(function (require, exports) {
|
|
55613
|
-
"use strict";
|
|
55614
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55615
|
-
const instrumentation_1 = require("@opentelemetry/instrumentation");
|
|
55616
|
-
const CustomFetchInstrumentation_1 = require("./implementations/CustomFetchInstrumentation");
|
|
55617
|
-
const CustomXMLHttpRequestInstrumentation_1 = require("./implementations/CustomXMLHttpRequestInstrumentation");
|
|
55618
|
-
instrumentation_1.registerInstrumentations({
|
|
55619
|
-
instrumentations: [
|
|
55620
|
-
new CustomFetchInstrumentation_1.CustomFetchInstrumentation(),
|
|
55621
|
-
new CustomXMLHttpRequestInstrumentation_1.CustomXMLHttpRequestInstrumentation(),
|
|
55622
|
-
],
|
|
55623
|
-
});
|
|
55624
|
-
});
|
|
55625
|
-
|
|
55626
|
-
},{"./implementations/CustomFetchInstrumentation":433,"./implementations/CustomXMLHttpRequestInstrumentation":434,"@opentelemetry/instrumentation":98}],437:[function(require,module,exports){
|
|
55627
|
-
(function (factory) {
|
|
55628
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55629
|
-
var v = factory(require, exports);
|
|
55630
|
-
if (v !== undefined) module.exports = v;
|
|
55631
|
-
}
|
|
55632
|
-
else if (typeof define === "function" && define.amd) {
|
|
55633
|
-
define(["require", "exports"], factory);
|
|
55634
|
-
}
|
|
55635
|
-
})(function (require, exports) {
|
|
55636
|
-
"use strict";
|
|
55637
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55638
|
-
exports.constructBaggageHeader = void 0;
|
|
55639
|
-
exports.constructBaggageHeader = () => {
|
|
55640
|
-
const { getSlBaggage } = window;
|
|
55641
|
-
const baggage = getSlBaggage();
|
|
55642
|
-
if (!Object.keys(baggage !== null && baggage !== void 0 ? baggage : {}).length) {
|
|
55643
|
-
return {};
|
|
55644
|
-
}
|
|
55645
|
-
return {
|
|
55646
|
-
baggage: Object.keys(baggage)
|
|
55647
|
-
.map((key) => {
|
|
55648
|
-
return `${key}=${baggage[key]}`;
|
|
55649
|
-
})
|
|
55650
|
-
.join(),
|
|
55651
|
-
};
|
|
55652
|
-
};
|
|
55653
|
-
});
|
|
55654
|
-
|
|
55655
55745
|
},{}],438:[function(require,module,exports){
|
|
55656
55746
|
(function (factory) {
|
|
55657
55747
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -55733,7 +55823,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55733
55823
|
exports.FootprintsItemsQueue = FootprintsItemsQueue;
|
|
55734
55824
|
});
|
|
55735
55825
|
|
|
55736
|
-
},{"../../../common/system-date":
|
|
55826
|
+
},{"../../../common/system-date":503,"../delegate":418,"../entities/footprints-item-data":422}],439:[function(require,module,exports){
|
|
55737
55827
|
(function (factory) {
|
|
55738
55828
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55739
55829
|
var v = factory(require, exports);
|
|
@@ -55800,7 +55890,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55800
55890
|
Queue.DEFAULT_MAX_ITEMS_IN_QUEUE = 1000;
|
|
55801
55891
|
});
|
|
55802
55892
|
|
|
55803
|
-
},{"../../../common/utils/validation-utils":
|
|
55893
|
+
},{"../../../common/utils/validation-utils":507}],440:[function(require,module,exports){
|
|
55804
55894
|
(function (factory) {
|
|
55805
55895
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55806
55896
|
var v = factory(require, exports);
|
|
@@ -55917,11 +56007,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55917
56007
|
exports.JsonClientAdapter = void 0;
|
|
55918
56008
|
const validation_utils_1 = require("../../../../common/utils/validation-utils");
|
|
55919
56009
|
class JsonClientAdapter {
|
|
55920
|
-
constructor(jsonClient, serverUrl) {
|
|
56010
|
+
constructor(jsonClient, serverUrl, collectorUrl) {
|
|
55921
56011
|
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(jsonClient, 'jsonClient');
|
|
55922
56012
|
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(serverUrl, 'serverUrl');
|
|
55923
56013
|
this.jsonClient = jsonClient;
|
|
55924
56014
|
this.serverUrl = serverUrl;
|
|
56015
|
+
this.collectorUrl = collectorUrl;
|
|
55925
56016
|
}
|
|
55926
56017
|
delete(body, urlPath, callback) {
|
|
55927
56018
|
throw new Error('\'delete\' not implemented yet');
|
|
@@ -55939,7 +56030,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55939
56030
|
throw new Error('\'delete\' not implemented yet');
|
|
55940
56031
|
}
|
|
55941
56032
|
post(requestData, urlPath, callback, async = true, contentType) {
|
|
55942
|
-
urlPath = this.
|
|
56033
|
+
urlPath = `${this.getBaseUrlForPostRequest()}${urlPath}`;
|
|
55943
56034
|
const onSuccess = (response) => callback(null, response, response.statusCode);
|
|
55944
56035
|
const onError = (response) => {
|
|
55945
56036
|
const error = new Error(response.responseText);
|
|
@@ -55950,11 +56041,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55950
56041
|
postMultipart(requestData, urlPath, callback) {
|
|
55951
56042
|
throw new Error('\'postMultipart\' not implemented yet');
|
|
55952
56043
|
}
|
|
56044
|
+
getBaseUrlForPostRequest() {
|
|
56045
|
+
if (this.collectorUrl) {
|
|
56046
|
+
return this.collectorUrl;
|
|
56047
|
+
}
|
|
56048
|
+
return this.serverUrl;
|
|
56049
|
+
}
|
|
55953
56050
|
}
|
|
55954
56051
|
exports.JsonClientAdapter = JsonClientAdapter;
|
|
55955
56052
|
});
|
|
55956
56053
|
|
|
55957
|
-
},{"../../../../common/utils/validation-utils":
|
|
56054
|
+
},{"../../../../common/utils/validation-utils":507}],444:[function(require,module,exports){
|
|
55958
56055
|
(function (factory) {
|
|
55959
56056
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
55960
56057
|
var v = factory(require, exports);
|
|
@@ -55982,7 +56079,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
55982
56079
|
try {
|
|
55983
56080
|
this.requestsInProgress++;
|
|
55984
56081
|
const httpRequest = new http_request_1.HttpRequest();
|
|
55985
|
-
httpRequest.headers = this.getHeaders(contentType);
|
|
56082
|
+
httpRequest.headers = this.getHeaders(request.url, contentType);
|
|
55986
56083
|
httpRequest.url = request.url;
|
|
55987
56084
|
httpRequest.httpMethod = request.httpMethod;
|
|
55988
56085
|
httpRequest.async = request.async;
|
|
@@ -56037,15 +56134,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56037
56134
|
hasRequestsInProgress() {
|
|
56038
56135
|
return this.requestsInProgress > 0;
|
|
56039
56136
|
}
|
|
56040
|
-
getHeaders(contentType) {
|
|
56137
|
+
getHeaders(url, contentType) {
|
|
56041
56138
|
var _a, _b;
|
|
56042
|
-
const headers = [{ name:
|
|
56043
|
-
headers.push({ name:
|
|
56139
|
+
const headers = [{ name: contracts_1.SealightsHaderNames.CONTENT_TYPE, value: (contentType || contracts_1.ContentType.JSON) }];
|
|
56140
|
+
headers.push({ name: contracts_1.SealightsHaderNames.META_DATA, value: JSON.stringify(this.getSlMetadataHeaders()) });
|
|
56044
56141
|
if ((_a = this === null || this === void 0 ? void 0 : this.configuration) === null || _a === void 0 ? void 0 : _a.token) {
|
|
56045
|
-
headers.push({ name:
|
|
56142
|
+
headers.push({ name: contracts_1.SealightsHaderNames.AUTHOTIZARTION, value: 'Bearer ' + ((_b = this === null || this === void 0 ? void 0 : this.configuration) === null || _b === void 0 ? void 0 : _b.token) });
|
|
56143
|
+
}
|
|
56144
|
+
if (this.shouldAddCollectorRelatedHeaders(url)) {
|
|
56145
|
+
headers.push({ name: contracts_1.SealightsHaderNames.MODE, value: contracts_1.SealightsHaderValues.LIGHT_AGENT_MODE });
|
|
56046
56146
|
}
|
|
56047
56147
|
return headers;
|
|
56048
56148
|
}
|
|
56149
|
+
shouldAddCollectorRelatedHeaders(url) {
|
|
56150
|
+
const collectorUrl = this.configuration.collectorUrl;
|
|
56151
|
+
return collectorUrl && url.indexOf(collectorUrl) == 0;
|
|
56152
|
+
}
|
|
56049
56153
|
getSlMetadataHeaders() {
|
|
56050
56154
|
var _a;
|
|
56051
56155
|
return {
|
|
@@ -56058,7 +56162,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56058
56162
|
exports.JsonClient = JsonClient;
|
|
56059
56163
|
});
|
|
56060
56164
|
|
|
56061
|
-
},{"../../../../common/http/contracts":
|
|
56165
|
+
},{"../../../../common/http/contracts":494,"../http/http-request":441}],445:[function(require,module,exports){
|
|
56062
56166
|
(function (factory) {
|
|
56063
56167
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
56064
56168
|
var v = factory(require, exports);
|
|
@@ -56086,7 +56190,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56086
56190
|
exports.NoopJsonClient = NoopJsonClient;
|
|
56087
56191
|
});
|
|
56088
56192
|
|
|
56089
|
-
},{"../../logger/log-factory":
|
|
56193
|
+
},{"../../logger/log-factory":436,"./json-client":444}],446:[function(require,module,exports){
|
|
56090
56194
|
(function (factory) {
|
|
56091
56195
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
56092
56196
|
var v = factory(require, exports);
|
|
@@ -56180,7 +56284,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56180
56284
|
exports.SlMappingLoader = SlMappingLoader;
|
|
56181
56285
|
});
|
|
56182
56286
|
|
|
56183
|
-
},{"../../common/agent-events/cockpit-notifier":
|
|
56287
|
+
},{"../../common/agent-events/cockpit-notifier":459}],448:[function(require,module,exports){
|
|
56184
56288
|
(function (factory) {
|
|
56185
56289
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
56186
56290
|
var v = factory(require, exports);
|
|
@@ -56659,7 +56763,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56659
56763
|
const agentInstanceInfoBuilder = new agent_instance_info_builder_1.AgentInstanceInfoBuilder(this);
|
|
56660
56764
|
const machineInfoBuilder = new machine_info_builder_1.MachineInfoBuilder();
|
|
56661
56765
|
const dependencies = Object.assign(Object.assign({}, packageJsonFile.dependencies), packageJsonFile.devDependencies);
|
|
56662
|
-
const nodejsEnvInfoBuilder = new nodejs_env_info_builder_1.NodejsEnvInfoBuilder(dependencies);
|
|
56766
|
+
const nodejsEnvInfoBuilder = new nodejs_env_info_builder_1.NodejsEnvInfoBuilder(this.agentInstanceData, dependencies);
|
|
56663
56767
|
const ciInfoBuilder = new ci_info_builder_1.CiInfoBuilder();
|
|
56664
56768
|
const agentStartInfoBuilder = new agent_start_info_builder_1.AgentStartInfoBuilder(agentInstanceInfoBuilder, machineInfoBuilder, nodejsEnvInfoBuilder, ciInfoBuilder);
|
|
56665
56769
|
const agentStartInfo = agentStartInfoBuilder.build();
|
|
@@ -56748,7 +56852,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56748
56852
|
addTags(tags) {
|
|
56749
56853
|
if (!tags)
|
|
56750
56854
|
return;
|
|
56751
|
-
this._tags = [...this._tags || [], ...tags || []];
|
|
56855
|
+
this._tags = [...(this._tags || []), ...(tags || [])];
|
|
56752
56856
|
}
|
|
56753
56857
|
addTool(tollInfo) {
|
|
56754
56858
|
if (!tollInfo)
|
|
@@ -56801,7 +56905,40 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56801
56905
|
})(StartRequestStatus || (StartRequestStatus = {}));
|
|
56802
56906
|
});
|
|
56803
56907
|
|
|
56804
|
-
},{"../http/backend-proxy":
|
|
56908
|
+
},{"../http/backend-proxy":493,"../system-date":503,"../utils/validation-utils":507,"../watchdog":508,"./agent-events-conracts":453,"./agent-instance-info-builder":456,"./agent-start-info-builder":457,"./ci-info-builder":458,"./machine-info-builder":461,"./nodejs-env-info-builder":463}],455:[function(require,module,exports){
|
|
56909
|
+
(function (factory) {
|
|
56910
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
56911
|
+
var v = factory(require, exports);
|
|
56912
|
+
if (v !== undefined) module.exports = v;
|
|
56913
|
+
}
|
|
56914
|
+
else if (typeof define === "function" && define.amd) {
|
|
56915
|
+
define(["require", "exports", "../system-date", "./cockpit-notifier"], factory);
|
|
56916
|
+
}
|
|
56917
|
+
})(function (require, exports) {
|
|
56918
|
+
"use strict";
|
|
56919
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
56920
|
+
exports.AgentEventsGuard = void 0;
|
|
56921
|
+
const system_date_1 = require("../system-date");
|
|
56922
|
+
const cockpit_notifier_1 = require("./cockpit-notifier");
|
|
56923
|
+
class AgentEventsGuard {
|
|
56924
|
+
static notifyIfNeeded(eventCode, data) {
|
|
56925
|
+
const currentTime = system_date_1.getSystemDateValueOf();
|
|
56926
|
+
const lastCallTime = AgentEventsGuard.EVENT_CODE_TO_LAST_CALL.get(eventCode);
|
|
56927
|
+
if (!lastCallTime || currentTime - lastCallTime >= AgentEventsGuard.DEFAULT_FIVE_MIN_BUFFER) {
|
|
56928
|
+
cockpit_notifier_1.CockpitNotifier.sendEvent(eventCode, data);
|
|
56929
|
+
AgentEventsGuard.EVENT_CODE_TO_LAST_CALL.set(eventCode, currentTime);
|
|
56930
|
+
}
|
|
56931
|
+
}
|
|
56932
|
+
static init() {
|
|
56933
|
+
AgentEventsGuard.EVENT_CODE_TO_LAST_CALL = new Map();
|
|
56934
|
+
}
|
|
56935
|
+
}
|
|
56936
|
+
exports.AgentEventsGuard = AgentEventsGuard;
|
|
56937
|
+
AgentEventsGuard.DEFAULT_FIVE_MIN_BUFFER = 5 * 60 * 1000;
|
|
56938
|
+
AgentEventsGuard.EVENT_CODE_TO_LAST_CALL = new Map();
|
|
56939
|
+
});
|
|
56940
|
+
|
|
56941
|
+
},{"../system-date":503,"./cockpit-notifier":459}],456:[function(require,module,exports){
|
|
56805
56942
|
(function (process){(function (){
|
|
56806
56943
|
(function (factory) {
|
|
56807
56944
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -56831,7 +56968,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56831
56968
|
agentId: agentEventsController.agentInstanceData.agentId,
|
|
56832
56969
|
agentType: agentEventsController.agentInstanceData.agentType,
|
|
56833
56970
|
agentVersion: agentEventsController.agentInstanceData.agentVersion,
|
|
56834
|
-
technology: agentEventsController.agentInstanceData.technology
|
|
56971
|
+
technology: agentEventsController.agentInstanceData.technology,
|
|
56835
56972
|
};
|
|
56836
56973
|
}
|
|
56837
56974
|
fillData() {
|
|
@@ -56877,7 +57014,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56877
57014
|
});
|
|
56878
57015
|
|
|
56879
57016
|
}).call(this)}).call(this,require('_process'))
|
|
56880
|
-
},{"./sensitive-data-filter":
|
|
57017
|
+
},{"./sensitive-data-filter":464,"_process":335}],457:[function(require,module,exports){
|
|
56881
57018
|
(function (factory) {
|
|
56882
57019
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
56883
57020
|
var v = factory(require, exports);
|
|
@@ -56911,7 +57048,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56911
57048
|
exports.AgentStartInfoBuilder = AgentStartInfoBuilder;
|
|
56912
57049
|
});
|
|
56913
57050
|
|
|
56914
|
-
},{}],
|
|
57051
|
+
},{}],458:[function(require,module,exports){
|
|
56915
57052
|
(function (process){(function (){
|
|
56916
57053
|
(function (factory) {
|
|
56917
57054
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -56953,7 +57090,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56953
57090
|
});
|
|
56954
57091
|
|
|
56955
57092
|
}).call(this)}).call(this,require('_process'))
|
|
56956
|
-
},{"_process":335}],
|
|
57093
|
+
},{"_process":335}],459:[function(require,module,exports){
|
|
56957
57094
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
56958
57095
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
56959
57096
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -56969,7 +57106,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56969
57106
|
if (v !== undefined) module.exports = v;
|
|
56970
57107
|
}
|
|
56971
57108
|
else if (typeof define === "function" && define.amd) {
|
|
56972
|
-
define(["require", "exports", "./agent-events-controller", "./dry-run-agent-events-controller"], factory);
|
|
57109
|
+
define(["require", "exports", "./agent-events-controller", "./dry-run-agent-events-controller", "./no-op-agent-events-controller"], factory);
|
|
56973
57110
|
}
|
|
56974
57111
|
})(function (require, exports) {
|
|
56975
57112
|
"use strict";
|
|
@@ -56977,6 +57114,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56977
57114
|
exports.CockpitNotifier = void 0;
|
|
56978
57115
|
const agent_events_controller_1 = require("./agent-events-controller");
|
|
56979
57116
|
const dry_run_agent_events_controller_1 = require("./dry-run-agent-events-controller");
|
|
57117
|
+
const no_op_agent_events_controller_1 = require("./no-op-agent-events-controller");
|
|
56980
57118
|
class CockpitNotifier {
|
|
56981
57119
|
static notifyStart(agentConfig, agentInstanceData, logger, packageJsonFile, backendProxy, tool, tags) {
|
|
56982
57120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -56984,6 +57122,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
56984
57122
|
yield CockpitNotifier.controller.submitAgentStartedEvent(packageJsonFile);
|
|
56985
57123
|
});
|
|
56986
57124
|
}
|
|
57125
|
+
static notifyStartNoOp(agentConfig, agentInstanceData, logger, packageJsonFile, backendProxy, tool, tags) {
|
|
57126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57127
|
+
CockpitNotifier.controller = new no_op_agent_events_controller_1.NoOpAgentEventsController(agentConfig, agentInstanceData, logger, backendProxy, tool, tags);
|
|
57128
|
+
});
|
|
57129
|
+
}
|
|
56987
57130
|
static notifyShutdown() {
|
|
56988
57131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
56989
57132
|
CockpitNotifier.verifyControllerInitialized();
|
|
@@ -57033,7 +57176,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57033
57176
|
CockpitNotifier.controllerNullLogged = false;
|
|
57034
57177
|
});
|
|
57035
57178
|
|
|
57036
|
-
},{"./agent-events-controller":454,"./dry-run-agent-events-controller":
|
|
57179
|
+
},{"./agent-events-controller":454,"./dry-run-agent-events-controller":460,"./no-op-agent-events-controller":462}],460:[function(require,module,exports){
|
|
57037
57180
|
(function (factory) {
|
|
57038
57181
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
57039
57182
|
var v = factory(require, exports);
|
|
@@ -57061,7 +57204,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57061
57204
|
exports.DryRunAgentEventsController = DryRunAgentEventsController;
|
|
57062
57205
|
});
|
|
57063
57206
|
|
|
57064
|
-
},{"../agent-instance-data":
|
|
57207
|
+
},{"../agent-instance-data":465,"../config-process/config":468,"./agent-events-conracts":453,"./agent-events-controller":454}],461:[function(require,module,exports){
|
|
57065
57208
|
(function (process){(function (){
|
|
57066
57209
|
(function (factory) {
|
|
57067
57210
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -57109,7 +57252,65 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57109
57252
|
});
|
|
57110
57253
|
|
|
57111
57254
|
}).call(this)}).call(this,require('_process'))
|
|
57112
|
-
},{"../system-date":
|
|
57255
|
+
},{"../system-date":503,"_process":335,"os":310}],462:[function(require,module,exports){
|
|
57256
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
57257
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
57258
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
57259
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
57260
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
57261
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
57262
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
57263
|
+
});
|
|
57264
|
+
};
|
|
57265
|
+
(function (factory) {
|
|
57266
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
57267
|
+
var v = factory(require, exports);
|
|
57268
|
+
if (v !== undefined) module.exports = v;
|
|
57269
|
+
}
|
|
57270
|
+
else if (typeof define === "function" && define.amd) {
|
|
57271
|
+
define(["require", "exports", "./agent-events-controller"], factory);
|
|
57272
|
+
}
|
|
57273
|
+
})(function (require, exports) {
|
|
57274
|
+
"use strict";
|
|
57275
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57276
|
+
exports.NoOpAgentEventsController = void 0;
|
|
57277
|
+
const agent_events_controller_1 = require("./agent-events-controller");
|
|
57278
|
+
class NoOpAgentEventsController extends agent_events_controller_1.AgentEventsController {
|
|
57279
|
+
submitAgentStartedEvent(packageJsonFile) {
|
|
57280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57281
|
+
});
|
|
57282
|
+
}
|
|
57283
|
+
submitAgentEventRequest(event) {
|
|
57284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57285
|
+
return true;
|
|
57286
|
+
});
|
|
57287
|
+
}
|
|
57288
|
+
sendMessage(message, code) {
|
|
57289
|
+
}
|
|
57290
|
+
submitAgentShutdownEvent() {
|
|
57291
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57292
|
+
return null;
|
|
57293
|
+
});
|
|
57294
|
+
}
|
|
57295
|
+
submitPingEvent() {
|
|
57296
|
+
}
|
|
57297
|
+
submitEvent(code, data) {
|
|
57298
|
+
}
|
|
57299
|
+
submitEventOnce(code) {
|
|
57300
|
+
}
|
|
57301
|
+
submitGenericMessage(message) {
|
|
57302
|
+
}
|
|
57303
|
+
submitWarning(message) {
|
|
57304
|
+
}
|
|
57305
|
+
submitError(message) {
|
|
57306
|
+
}
|
|
57307
|
+
submitErrorsBatch(messages) {
|
|
57308
|
+
}
|
|
57309
|
+
}
|
|
57310
|
+
exports.NoOpAgentEventsController = NoOpAgentEventsController;
|
|
57311
|
+
});
|
|
57312
|
+
|
|
57313
|
+
},{"./agent-events-controller":454}],463:[function(require,module,exports){
|
|
57113
57314
|
(function (process){(function (){
|
|
57114
57315
|
(function (factory) {
|
|
57115
57316
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -57124,7 +57325,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57124
57325
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57125
57326
|
exports.NodejsEnvInfoBuilder = void 0;
|
|
57126
57327
|
class NodejsEnvInfoBuilder {
|
|
57127
|
-
constructor(dependencies) {
|
|
57328
|
+
constructor(agentInstanceData, dependencies) {
|
|
57329
|
+
this.agentInstanceData = agentInstanceData;
|
|
57128
57330
|
this.info = {};
|
|
57129
57331
|
this.dependencies = dependencies || {};
|
|
57130
57332
|
}
|
|
@@ -57132,6 +57334,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57132
57334
|
this.info.indexJsonDeps = this.dependencies;
|
|
57133
57335
|
this.info.nodeVersion = process.versions.node;
|
|
57134
57336
|
this.info.execArgv = process.execArgv;
|
|
57337
|
+
this.info.allocatedMemoryInMB = this.agentInstanceData.AgentAllocatedMemoryInMb;
|
|
57135
57338
|
}
|
|
57136
57339
|
build() {
|
|
57137
57340
|
this.fillData();
|
|
@@ -57142,7 +57345,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57142
57345
|
});
|
|
57143
57346
|
|
|
57144
57347
|
}).call(this)}).call(this,require('_process'))
|
|
57145
|
-
},{"_process":335}],
|
|
57348
|
+
},{"_process":335}],464:[function(require,module,exports){
|
|
57146
57349
|
(function (factory) {
|
|
57147
57350
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
57148
57351
|
var v = factory(require, exports);
|
|
@@ -57207,7 +57410,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57207
57410
|
exports.isSensitive = isSensitive;
|
|
57208
57411
|
});
|
|
57209
57412
|
|
|
57210
|
-
},{}],
|
|
57413
|
+
},{}],465:[function(require,module,exports){
|
|
57211
57414
|
(function (__dirname){(function (){
|
|
57212
57415
|
(function (factory) {
|
|
57213
57416
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -57255,12 +57458,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57255
57458
|
const windowVar = typeof window !== 'undefined' ? window : null;
|
|
57256
57459
|
return (windowVar && windowVar[agent_instance_info_builder_1.AgentInstanceInfoBuilder.SEALIGHTS_WINDOW_OBJECT] && windowVar[agent_instance_info_builder_1.AgentInstanceInfoBuilder.SEALIGHTS_WINDOW_OBJECT].agentVersion) || agent_instance_info_builder_1.AgentInstanceInfoBuilder.DEFAULT_BROWSER_AGENT_VERSION;
|
|
57257
57460
|
}
|
|
57461
|
+
set AgentAllocatedMemoryInMb(memory) {
|
|
57462
|
+
this.agentAllocatedMemoryInMb = memory;
|
|
57463
|
+
}
|
|
57464
|
+
get AgentAllocatedMemoryInMb() {
|
|
57465
|
+
return this.agentAllocatedMemoryInMb;
|
|
57466
|
+
}
|
|
57258
57467
|
}
|
|
57259
57468
|
exports.AgentInstanceData = AgentInstanceData;
|
|
57260
57469
|
});
|
|
57261
57470
|
|
|
57262
57471
|
}).call(this)}).call(this,"/tsOutputs/common")
|
|
57263
|
-
},{"./agent-events/agent-events-conracts":453,"./agent-events/agent-instance-info-builder":
|
|
57472
|
+
},{"./agent-events/agent-events-conracts":453,"./agent-events/agent-instance-info-builder":456,"./utils/files-utils":505,"fs":225,"uuid":677}],466:[function(require,module,exports){
|
|
57264
57473
|
(function (process){(function (){
|
|
57265
57474
|
(function (factory) {
|
|
57266
57475
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -57352,7 +57561,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57352
57561
|
});
|
|
57353
57562
|
|
|
57354
57563
|
}).call(this)}).call(this,require('_process'))
|
|
57355
|
-
},{"../constants/sl-env-vars":
|
|
57564
|
+
},{"../constants/sl-env-vars":472,"./config":468,"./config-system":467,"_process":335,"fs":225,"jwt-decode":611}],467:[function(require,module,exports){
|
|
57356
57565
|
(function (process){(function (){
|
|
57357
57566
|
(function (factory) {
|
|
57358
57567
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -57632,7 +57841,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57632
57841
|
});
|
|
57633
57842
|
|
|
57634
57843
|
}).call(this)}).call(this,require('_process'))
|
|
57635
|
-
},{"_process":335,"fs":225}],
|
|
57844
|
+
},{"_process":335,"fs":225}],468:[function(require,module,exports){
|
|
57636
57845
|
(function (factory) {
|
|
57637
57846
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
57638
57847
|
var v = factory(require, exports);
|
|
@@ -57701,7 +57910,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57701
57910
|
exports.AgentConfigWithRuntimeArgs = AgentConfigWithRuntimeArgs;
|
|
57702
57911
|
});
|
|
57703
57912
|
|
|
57704
|
-
},{"./config-system":
|
|
57913
|
+
},{"./config-system":467}],469:[function(require,module,exports){
|
|
57705
57914
|
(function (factory) {
|
|
57706
57915
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
57707
57916
|
var v = factory(require, exports);
|
|
@@ -57818,7 +58027,35 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57818
58027
|
exports.ConfigProcess = ConfigProcess;
|
|
57819
58028
|
});
|
|
57820
58029
|
|
|
57821
|
-
},{"./config-system":
|
|
58030
|
+
},{"./config-system":467,"events":266,"jwt-decode":611,"object-assign":309}],470:[function(require,module,exports){
|
|
58031
|
+
(function (factory) {
|
|
58032
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58033
|
+
var v = factory(require, exports);
|
|
58034
|
+
if (v !== undefined) module.exports = v;
|
|
58035
|
+
}
|
|
58036
|
+
else if (typeof define === "function" && define.amd) {
|
|
58037
|
+
define(["require", "exports", "./index"], factory);
|
|
58038
|
+
}
|
|
58039
|
+
})(function (require, exports) {
|
|
58040
|
+
"use strict";
|
|
58041
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58042
|
+
exports.NoopConfigProcess = void 0;
|
|
58043
|
+
const index_1 = require("./index");
|
|
58044
|
+
class NoopConfigProcess extends index_1.ConfigProcess {
|
|
58045
|
+
start(callback) {
|
|
58046
|
+
return callback === null || callback === void 0 ? void 0 : callback(null);
|
|
58047
|
+
}
|
|
58048
|
+
stop(callback) {
|
|
58049
|
+
return callback();
|
|
58050
|
+
}
|
|
58051
|
+
reloadConfigFromServer(callback) {
|
|
58052
|
+
return callback === null || callback === void 0 ? void 0 : callback(null);
|
|
58053
|
+
}
|
|
58054
|
+
}
|
|
58055
|
+
exports.NoopConfigProcess = NoopConfigProcess;
|
|
58056
|
+
});
|
|
58057
|
+
|
|
58058
|
+
},{"./index":469}],471:[function(require,module,exports){
|
|
57822
58059
|
(function (factory) {
|
|
57823
58060
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
57824
58061
|
var v = factory(require, exports);
|
|
@@ -57853,7 +58090,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57853
58090
|
_a);
|
|
57854
58091
|
});
|
|
57855
58092
|
|
|
57856
|
-
},{}],
|
|
58093
|
+
},{}],472:[function(require,module,exports){
|
|
57857
58094
|
(function (process){(function (){
|
|
57858
58095
|
(function (factory) {
|
|
57859
58096
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -57996,7 +58233,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57996
58233
|
});
|
|
57997
58234
|
|
|
57998
58235
|
}).call(this)}).call(this,require('_process'))
|
|
57999
|
-
},{"../utils/env-var-parsing":
|
|
58236
|
+
},{"../utils/env-var-parsing":504,"_process":335}],473:[function(require,module,exports){
|
|
58000
58237
|
(function (factory) {
|
|
58001
58238
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58002
58239
|
var v = factory(require, exports);
|
|
@@ -58016,7 +58253,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58016
58253
|
})(ElementType = exports.ElementType || (exports.ElementType = {}));
|
|
58017
58254
|
});
|
|
58018
58255
|
|
|
58019
|
-
},{}],
|
|
58256
|
+
},{}],474:[function(require,module,exports){
|
|
58020
58257
|
(function (factory) {
|
|
58021
58258
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58022
58259
|
var v = factory(require, exports);
|
|
@@ -58149,7 +58386,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58149
58386
|
exports.FileElement = FileElement;
|
|
58150
58387
|
});
|
|
58151
58388
|
|
|
58152
|
-
},{"../utils/validation-utils":
|
|
58389
|
+
},{"../utils/validation-utils":507}],475:[function(require,module,exports){
|
|
58153
58390
|
(function (factory) {
|
|
58154
58391
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58155
58392
|
var v = factory(require, exports);
|
|
@@ -58219,7 +58456,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58219
58456
|
exports.IstanbulUniqueIdConverter = IstanbulUniqueIdConverter;
|
|
58220
58457
|
});
|
|
58221
58458
|
|
|
58222
|
-
},{"./contracts":
|
|
58459
|
+
},{"./contracts":473,"./unique-id-converter":478}],476:[function(require,module,exports){
|
|
58223
58460
|
(function (factory) {
|
|
58224
58461
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58225
58462
|
var v = factory(require, exports);
|
|
@@ -58276,7 +58513,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58276
58513
|
}
|
|
58277
58514
|
});
|
|
58278
58515
|
|
|
58279
|
-
},{"../system-date":
|
|
58516
|
+
},{"../system-date":503,"../utils/files-utils":505,"./istanbul-unique-id-converter":475,"path":327}],477:[function(require,module,exports){
|
|
58280
58517
|
(function (factory) {
|
|
58281
58518
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58282
58519
|
var v = factory(require, exports);
|
|
@@ -58460,7 +58697,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58460
58697
|
exports.OriginalModuleLoader = OriginalModuleLoader;
|
|
58461
58698
|
});
|
|
58462
58699
|
|
|
58463
|
-
},{"../source-maps-utils":
|
|
58700
|
+
},{"../source-maps-utils":500,"../utils/files-utils":505,"../utils/validation-utils":507}],478:[function(require,module,exports){
|
|
58464
58701
|
(function (factory) {
|
|
58465
58702
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58466
58703
|
var v = factory(require, exports);
|
|
@@ -58672,7 +58909,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58672
58909
|
exports.UniqueIdConverter = UniqueIdConverter;
|
|
58673
58910
|
});
|
|
58674
58911
|
|
|
58675
|
-
},{"./contracts":
|
|
58912
|
+
},{"./contracts":473,"./file-element":474}],479:[function(require,module,exports){
|
|
58676
58913
|
(function (factory) {
|
|
58677
58914
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58678
58915
|
var v = factory(require, exports);
|
|
@@ -58703,7 +58940,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58703
58940
|
})(TestSelectionStatus = exports.TestSelectionStatus || (exports.TestSelectionStatus = {}));
|
|
58704
58941
|
});
|
|
58705
58942
|
|
|
58706
|
-
},{}],
|
|
58943
|
+
},{}],480:[function(require,module,exports){
|
|
58707
58944
|
(function (factory) {
|
|
58708
58945
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58709
58946
|
var v = factory(require, exports);
|
|
@@ -58743,7 +58980,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58743
58980
|
exports.EventsCreator = EventsCreator;
|
|
58744
58981
|
});
|
|
58745
58982
|
|
|
58746
|
-
},{"../system-date":
|
|
58983
|
+
},{"../system-date":503,"./events-contracts":479}],481:[function(require,module,exports){
|
|
58747
58984
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
58748
58985
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
58749
58986
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -58931,7 +59168,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58931
59168
|
EventsProcess.ITEMS_TO_DEQUE = 1000;
|
|
58932
59169
|
});
|
|
58933
59170
|
|
|
58934
|
-
},{"../system-date":
|
|
59171
|
+
},{"../system-date":503,"../utils/validation-utils":507}],482:[function(require,module,exports){
|
|
58935
59172
|
(function (factory) {
|
|
58936
59173
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58937
59174
|
var v = factory(require, exports);
|
|
@@ -58987,7 +59224,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
58987
59224
|
exports.BaseBrowserHitsConverter = BaseBrowserHitsConverter;
|
|
58988
59225
|
});
|
|
58989
59226
|
|
|
58990
|
-
},{"../../common/footprints-process-v6/hits-converter":
|
|
59227
|
+
},{"../../common/footprints-process-v6/hits-converter":488,"../utils/files-utils":505,"./location-formatter":490}],483:[function(require,module,exports){
|
|
58991
59228
|
(function (factory) {
|
|
58992
59229
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
58993
59230
|
var v = factory(require, exports);
|
|
@@ -59032,7 +59269,110 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59032
59269
|
BufferSizeHelper.MB = 1024 * 1024;
|
|
59033
59270
|
});
|
|
59034
59271
|
|
|
59035
|
-
},{}],
|
|
59272
|
+
},{}],484:[function(require,module,exports){
|
|
59273
|
+
(function (factory) {
|
|
59274
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
59275
|
+
var v = factory(require, exports);
|
|
59276
|
+
if (v !== undefined) module.exports = v;
|
|
59277
|
+
}
|
|
59278
|
+
else if (typeof define === "function" && define.amd) {
|
|
59279
|
+
define(["require", "exports", "../agent-events/agent-events-conracts", "./footprints-buffer"], factory);
|
|
59280
|
+
}
|
|
59281
|
+
})(function (require, exports) {
|
|
59282
|
+
"use strict";
|
|
59283
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59284
|
+
exports.CollectorFootprintsBuffer = void 0;
|
|
59285
|
+
const agent_events_conracts_1 = require("../agent-events/agent-events-conracts");
|
|
59286
|
+
const footprints_buffer_1 = require("./footprints-buffer");
|
|
59287
|
+
class CollectorFootprintsBuffer extends footprints_buffer_1.FootprintsBuffer {
|
|
59288
|
+
constructor(agentInstanceData, agentConfig) {
|
|
59289
|
+
super(agentInstanceData, agentConfig);
|
|
59290
|
+
this.meta.agentConfig = {
|
|
59291
|
+
agentId: this.agentInstanceData.agentId,
|
|
59292
|
+
appName: this.agentConfig.appName.value,
|
|
59293
|
+
build: this.agentConfig.build.value,
|
|
59294
|
+
branch: this.agentConfig.branch.value,
|
|
59295
|
+
buildSessionId: this.agentConfig.buildSessionId.value,
|
|
59296
|
+
labId: this.agentConfig.labId.value,
|
|
59297
|
+
agentVersion: this.agentInstanceData.agentVersion,
|
|
59298
|
+
agentType: agent_events_conracts_1.AgentType.BROWSER_AGENT
|
|
59299
|
+
};
|
|
59300
|
+
}
|
|
59301
|
+
}
|
|
59302
|
+
exports.CollectorFootprintsBuffer = CollectorFootprintsBuffer;
|
|
59303
|
+
});
|
|
59304
|
+
|
|
59305
|
+
},{"../agent-events/agent-events-conracts":453,"./footprints-buffer":486}],485:[function(require,module,exports){
|
|
59306
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
59307
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
59308
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
59309
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
59310
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
59311
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
59312
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
59313
|
+
});
|
|
59314
|
+
};
|
|
59315
|
+
(function (factory) {
|
|
59316
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
59317
|
+
var v = factory(require, exports);
|
|
59318
|
+
if (v !== undefined) module.exports = v;
|
|
59319
|
+
}
|
|
59320
|
+
else if (typeof define === "function" && define.amd) {
|
|
59321
|
+
define(["require", "exports", ".", "../no-op-state-tracker"], factory);
|
|
59322
|
+
}
|
|
59323
|
+
})(function (require, exports) {
|
|
59324
|
+
"use strict";
|
|
59325
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59326
|
+
exports.CollectorFootprintsProcess = void 0;
|
|
59327
|
+
const _1 = require(".");
|
|
59328
|
+
const no_op_state_tracker_1 = require("../no-op-state-tracker");
|
|
59329
|
+
class CollectorFootprintsProcess extends _1.FootprintsProcess {
|
|
59330
|
+
constructor(cfg, sendToServerWatchdog, keepaliveWatchdog, logger, hitsCollector, hitsConverter, footprintsBuffer, backendProxy, stateTracker) {
|
|
59331
|
+
super(cfg, sendToServerWatchdog, keepaliveWatchdog, logger, hitsCollector, hitsConverter, footprintsBuffer, backendProxy, stateTracker);
|
|
59332
|
+
}
|
|
59333
|
+
submitQueuedFootprints() {
|
|
59334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59335
|
+
if (!this.shouldSubmitFootprints()) {
|
|
59336
|
+
return;
|
|
59337
|
+
}
|
|
59338
|
+
const packet = this.footprintsBuffer.createPacket();
|
|
59339
|
+
if (packet) {
|
|
59340
|
+
this.ongoingRequestsCounter++;
|
|
59341
|
+
try {
|
|
59342
|
+
yield this.backendProxy.submitFootprintsToCollector(packet, this.cfg.buildSessionId.value);
|
|
59343
|
+
this.logger.info(`Footprints packet submitted successfully. packet contains ${packet.methods.length} methods, ${packet.branches.length} branches in ${packet.executions.length} executions`);
|
|
59344
|
+
}
|
|
59345
|
+
catch (e) {
|
|
59346
|
+
this.logger.error(`Error while submitting footprints '${e}'`);
|
|
59347
|
+
}
|
|
59348
|
+
finally {
|
|
59349
|
+
this.ongoingRequestsCounter--;
|
|
59350
|
+
}
|
|
59351
|
+
}
|
|
59352
|
+
else {
|
|
59353
|
+
this.logger.info('No hits collected nothing to submit');
|
|
59354
|
+
}
|
|
59355
|
+
});
|
|
59356
|
+
}
|
|
59357
|
+
flushCurrentFootprints(isFinalFootprints = false) {
|
|
59358
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59359
|
+
const currentTestIdentifier = this.stateTracker.getCurrentTestIdentifier();
|
|
59360
|
+
if (currentTestIdentifier) {
|
|
59361
|
+
const testIdentifierParts = no_op_state_tracker_1.NoopStateTracker.splitTestIdToExecutionAndTestName(currentTestIdentifier);
|
|
59362
|
+
this.logger.debug('Enqueue footprints interval - start enqueuing process. currentTestIdentifier: \'%s\'', currentTestIdentifier);
|
|
59363
|
+
yield this.enqueueCurrentFootprints(this.stateTracker.currentExecution, testIdentifierParts.testName, isFinalFootprints);
|
|
59364
|
+
}
|
|
59365
|
+
else {
|
|
59366
|
+
this.logger.debug('Enqueue footprints interval - start enqueuing process. anonymous footprints');
|
|
59367
|
+
yield this.enqueueCurrentFootprints(this.stateTracker.currentExecution, null, isFinalFootprints);
|
|
59368
|
+
}
|
|
59369
|
+
});
|
|
59370
|
+
}
|
|
59371
|
+
}
|
|
59372
|
+
exports.CollectorFootprintsProcess = CollectorFootprintsProcess;
|
|
59373
|
+
});
|
|
59374
|
+
|
|
59375
|
+
},{".":489,"../no-op-state-tracker":499}],486:[function(require,module,exports){
|
|
59036
59376
|
(function (factory) {
|
|
59037
59377
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
59038
59378
|
var v = factory(require, exports);
|
|
@@ -59153,7 +59493,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59153
59493
|
FootprintsBuffer.BUFFER_FULL = 'bufferFull';
|
|
59154
59494
|
});
|
|
59155
59495
|
|
|
59156
|
-
},{"../agent-events/agent-events-conracts":453,"../agent-events/cockpit-notifier":
|
|
59496
|
+
},{"../agent-events/agent-events-conracts":453,"../agent-events/cockpit-notifier":459,"./buffer-size-helper":483,"events":266}],487:[function(require,module,exports){
|
|
59157
59497
|
(function (global){(function (){
|
|
59158
59498
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
59159
59499
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -59332,7 +59672,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59332
59672
|
});
|
|
59333
59673
|
|
|
59334
59674
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
59335
|
-
},{"../constants/sl-env-vars":
|
|
59675
|
+
},{"../constants/sl-env-vars":472,"../coverage-elements/original-module-loader":477}],488:[function(require,module,exports){
|
|
59336
59676
|
(function (factory) {
|
|
59337
59677
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
59338
59678
|
var v = factory(require, exports);
|
|
@@ -59482,7 +59822,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59482
59822
|
HitsConverter.BRANCH_ID_DEL = '|';
|
|
59483
59823
|
});
|
|
59484
59824
|
|
|
59485
|
-
},{"../agent-events/cockpit-notifier":
|
|
59825
|
+
},{"../agent-events/cockpit-notifier":459,"../constants/sl-env-vars":472,"../coverage-elements/new-id-resolver":476,"../coverage-elements/original-module-loader":477,"./hits-collector":487}],489:[function(require,module,exports){
|
|
59486
59826
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
59487
59827
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
59488
59828
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -59498,7 +59838,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59498
59838
|
if (v !== undefined) module.exports = v;
|
|
59499
59839
|
}
|
|
59500
59840
|
else if (typeof define === "function" && define.amd) {
|
|
59501
|
-
define(["require", "exports", "./footprints-buffer", "../footprints-process/collection-interval", "../state-tracker", "../agent-events/cockpit-notifier", "../agent-events/agent-events-conracts", "../constants/sl-env-vars"], factory);
|
|
59841
|
+
define(["require", "exports", "./footprints-buffer", "../footprints-process/collection-interval", "../state-tracker", "../agent-events/cockpit-notifier", "../agent-events/agent-events-conracts", "../constants/sl-env-vars", "../agent-events/agent-events-guard"], factory);
|
|
59502
59842
|
}
|
|
59503
59843
|
})(function (require, exports) {
|
|
59504
59844
|
"use strict";
|
|
@@ -59510,10 +59850,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59510
59850
|
const cockpit_notifier_1 = require("../agent-events/cockpit-notifier");
|
|
59511
59851
|
const agent_events_conracts_1 = require("../agent-events/agent-events-conracts");
|
|
59512
59852
|
const sl_env_vars_1 = require("../constants/sl-env-vars");
|
|
59853
|
+
const agent_events_guard_1 = require("../agent-events/agent-events-guard");
|
|
59513
59854
|
class FootprintsProcess {
|
|
59514
59855
|
constructor(cfg, sendToServerWatchdog, keepaliveWatchdog, logger, hitsCollector, hitsConverter, footprintsBuffer, backendProxy, stateTracker) {
|
|
59515
59856
|
this.isRunning = false;
|
|
59516
|
-
this.
|
|
59857
|
+
this._ongoingRequestsCounter = 0;
|
|
59517
59858
|
this.footprintsEnqueueOnce = false;
|
|
59518
59859
|
this.cfg = cfg;
|
|
59519
59860
|
this.sendToServerWatchdog = sendToServerWatchdog;
|
|
@@ -59587,7 +59928,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59587
59928
|
}
|
|
59588
59929
|
catch (e) {
|
|
59589
59930
|
this.logger.error(`Error while submitting footprints '${e}'`);
|
|
59590
|
-
|
|
59931
|
+
agent_events_guard_1.AgentEventsGuard.notifyIfNeeded(agent_events_conracts_1.AgentEventCode.FOOTPRINTS_SUBMISSION_ERROR, e);
|
|
59591
59932
|
}
|
|
59592
59933
|
finally {
|
|
59593
59934
|
this.ongoingRequestsCounter--;
|
|
@@ -59738,12 +60079,39 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59738
60079
|
this.hitsConverter.slMapping = flatted;
|
|
59739
60080
|
});
|
|
59740
60081
|
}
|
|
60082
|
+
set ongoingRequestsCounter(value) {
|
|
60083
|
+
this._ongoingRequestsCounter = value;
|
|
60084
|
+
}
|
|
60085
|
+
get backendProxy() {
|
|
60086
|
+
return this._backendProxy;
|
|
60087
|
+
}
|
|
60088
|
+
set backendProxy(value) {
|
|
60089
|
+
this._backendProxy = value;
|
|
60090
|
+
}
|
|
60091
|
+
get cfg() {
|
|
60092
|
+
return this._cfg;
|
|
60093
|
+
}
|
|
60094
|
+
set cfg(value) {
|
|
60095
|
+
this._cfg = value;
|
|
60096
|
+
}
|
|
60097
|
+
get sendToServerWatchdog() {
|
|
60098
|
+
return this._sendToServerWatchdog;
|
|
60099
|
+
}
|
|
60100
|
+
set sendToServerWatchdog(value) {
|
|
60101
|
+
this._sendToServerWatchdog = value;
|
|
60102
|
+
}
|
|
60103
|
+
get keepaliveWatchdog() {
|
|
60104
|
+
return this._keepaliveWatchdog;
|
|
60105
|
+
}
|
|
60106
|
+
set keepaliveWatchdog(value) {
|
|
60107
|
+
this._keepaliveWatchdog = value;
|
|
60108
|
+
}
|
|
59741
60109
|
}
|
|
59742
60110
|
exports.FootprintsProcess = FootprintsProcess;
|
|
59743
60111
|
FootprintsProcess.ALARM_FIRED = 'alarm';
|
|
59744
60112
|
});
|
|
59745
60113
|
|
|
59746
|
-
},{"../agent-events/agent-events-conracts":453,"../agent-events/cockpit-notifier":
|
|
60114
|
+
},{"../agent-events/agent-events-conracts":453,"../agent-events/agent-events-guard":455,"../agent-events/cockpit-notifier":459,"../constants/sl-env-vars":472,"../footprints-process/collection-interval":492,"../state-tracker":502,"./footprints-buffer":486}],490:[function(require,module,exports){
|
|
59747
60115
|
(function (factory) {
|
|
59748
60116
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
59749
60117
|
var v = factory(require, exports);
|
|
@@ -59777,7 +60145,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59777
60145
|
}
|
|
59778
60146
|
});
|
|
59779
60147
|
|
|
59780
|
-
},{}],
|
|
60148
|
+
},{}],491:[function(require,module,exports){
|
|
59781
60149
|
(function (process){(function (){
|
|
59782
60150
|
(function (factory) {
|
|
59783
60151
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -59818,7 +60186,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59818
60186
|
});
|
|
59819
60187
|
|
|
59820
60188
|
}).call(this)}).call(this,require('_process'))
|
|
59821
|
-
},{"_process":335}],
|
|
60189
|
+
},{"_process":335}],492:[function(require,module,exports){
|
|
59822
60190
|
(function (factory) {
|
|
59823
60191
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
59824
60192
|
var v = factory(require, exports);
|
|
@@ -59856,7 +60224,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
59856
60224
|
exports.CollectionInterval = CollectionInterval;
|
|
59857
60225
|
});
|
|
59858
60226
|
|
|
59859
|
-
},{"../system-date":
|
|
60227
|
+
},{"../system-date":503}],493:[function(require,module,exports){
|
|
59860
60228
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
59861
60229
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
59862
60230
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -60114,6 +60482,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60114
60482
|
return this.submitPostRequestWithRetries(footprintsPacket, url, null, null, true, contracts_1.ContentType.OCTET_STREAM);
|
|
60115
60483
|
});
|
|
60116
60484
|
}
|
|
60485
|
+
submitFootprintsToCollector(footprintsPacket, buildSessionId) {
|
|
60486
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60487
|
+
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(footprintsPacket, constants_1.Constants.FOOTPRINTS_PACKET);
|
|
60488
|
+
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(buildSessionId, constants_1.Constants.BUILD_SESSION_ID);
|
|
60489
|
+
const url = sl_routes_1.SLRoutes.footprintsToCollector(buildSessionId);
|
|
60490
|
+
return this.submitPostRequestWithRetries(footprintsPacket, url, null, null, true, contracts_1.ContentType.JSON);
|
|
60491
|
+
});
|
|
60492
|
+
}
|
|
60117
60493
|
getBuildSessionData(buildSessionId) {
|
|
60118
60494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
60119
60495
|
return new Promise((resolve, reject) => {
|
|
@@ -60195,7 +60571,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60195
60571
|
BackendProxy.DEFAULT_HTTP_ATTEMPT_INTERVAL = 5 * 1000;
|
|
60196
60572
|
});
|
|
60197
60573
|
|
|
60198
|
-
},{"../constants/constants":
|
|
60574
|
+
},{"../constants/constants":471,"../constants/sl-env-vars":472,"../utils/timer-utils":506,"../utils/validation-utils":507,"./contracts":494,"./entities-mapper":495,"./http-client":496,"./sl-routes":498}],494:[function(require,module,exports){
|
|
60199
60575
|
(function (factory) {
|
|
60200
60576
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
60201
60577
|
var v = factory(require, exports);
|
|
@@ -60207,7 +60583,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60207
60583
|
})(function (require, exports) {
|
|
60208
60584
|
"use strict";
|
|
60209
60585
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60210
|
-
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.HttpClientConfigData = void 0;
|
|
60586
|
+
exports.SealightsHaderValues = exports.SealightsHaderNames = 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.HttpClientConfigData = void 0;
|
|
60211
60587
|
const system_date_1 = require("../system-date");
|
|
60212
60588
|
class HttpClientConfigData {
|
|
60213
60589
|
}
|
|
@@ -60281,15 +60657,27 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60281
60657
|
RecommendationSetStatus["READY"] = "ready";
|
|
60282
60658
|
RecommendationSetStatus["NO_HISTORY"] = "noHistory";
|
|
60283
60659
|
RecommendationSetStatus["ERROR"] = "error";
|
|
60660
|
+
RecommendationSetStatus["WONT_BE_READY"] = "wontBeReady";
|
|
60284
60661
|
})(RecommendationSetStatus = exports.RecommendationSetStatus || (exports.RecommendationSetStatus = {}));
|
|
60285
60662
|
var ContentType;
|
|
60286
60663
|
(function (ContentType) {
|
|
60287
60664
|
ContentType["OCTET_STREAM"] = "application/octet-stream";
|
|
60288
60665
|
ContentType["JSON"] = "application/json";
|
|
60289
60666
|
})(ContentType = exports.ContentType || (exports.ContentType = {}));
|
|
60667
|
+
var SealightsHaderNames;
|
|
60668
|
+
(function (SealightsHaderNames) {
|
|
60669
|
+
SealightsHaderNames["CONTENT_TYPE"] = "Content-Type";
|
|
60670
|
+
SealightsHaderNames["AUTHOTIZARTION"] = "Authorization";
|
|
60671
|
+
SealightsHaderNames["MODE"] = "X-Sealights-Agent-Mode";
|
|
60672
|
+
SealightsHaderNames["META_DATA"] = "sl-metadata";
|
|
60673
|
+
})(SealightsHaderNames = exports.SealightsHaderNames || (exports.SealightsHaderNames = {}));
|
|
60674
|
+
var SealightsHaderValues;
|
|
60675
|
+
(function (SealightsHaderValues) {
|
|
60676
|
+
SealightsHaderValues["LIGHT_AGENT_MODE"] = "light";
|
|
60677
|
+
})(SealightsHaderValues = exports.SealightsHaderValues || (exports.SealightsHaderValues = {}));
|
|
60290
60678
|
});
|
|
60291
60679
|
|
|
60292
|
-
},{"../system-date":
|
|
60680
|
+
},{"../system-date":503}],495:[function(require,module,exports){
|
|
60293
60681
|
(function (factory) {
|
|
60294
60682
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
60295
60683
|
var v = factory(require, exports);
|
|
@@ -60315,7 +60703,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60315
60703
|
exports.EntitiesMapper = EntitiesMapper;
|
|
60316
60704
|
});
|
|
60317
60705
|
|
|
60318
|
-
},{"./contracts":
|
|
60706
|
+
},{"./contracts":494}],496:[function(require,module,exports){
|
|
60319
60707
|
(function (process,Buffer){(function (){
|
|
60320
60708
|
(function (factory) {
|
|
60321
60709
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -60522,7 +60910,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60522
60910
|
});
|
|
60523
60911
|
|
|
60524
60912
|
}).call(this)}).call(this,require('_process'),require("buffer").Buffer)
|
|
60525
|
-
},{"../constants/sl-env-vars":
|
|
60913
|
+
},{"../constants/sl-env-vars":472,"../utils/validation-utils":507,"./contracts":494,"./http-verb":497,"_process":335,"buffer":227,"request":624,"zlib":224}],497:[function(require,module,exports){
|
|
60526
60914
|
(function (factory) {
|
|
60527
60915
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
60528
60916
|
var v = factory(require, exports);
|
|
@@ -60544,7 +60932,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60544
60932
|
})(HttpVerb = exports.HttpVerb || (exports.HttpVerb = {}));
|
|
60545
60933
|
});
|
|
60546
60934
|
|
|
60547
|
-
},{}],
|
|
60935
|
+
},{}],498:[function(require,module,exports){
|
|
60548
60936
|
(function (factory) {
|
|
60549
60937
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
60550
60938
|
var v = factory(require, exports);
|
|
@@ -60651,6 +61039,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60651
61039
|
static footprintsV6(executionBsid, testStage, buildSessionId) {
|
|
60652
61040
|
return SLRoutes.agentsV6() + SLRoutes.toUri(executionBsid) + SLRoutes.toUri(SLRoutes.FOOTPRINTS) + SLRoutes.toUri(testStage) + SLRoutes.toUri(buildSessionId);
|
|
60653
61041
|
}
|
|
61042
|
+
static footprintsToCollector(buildSessionId) {
|
|
61043
|
+
return SLRoutes.agentsV6() + SLRoutes.toUri(buildSessionId) + encodeURIComponent(SLRoutes.FOOTPRINTS);
|
|
61044
|
+
}
|
|
60654
61045
|
static eventsV2() {
|
|
60655
61046
|
return SLRoutes.agentsV2() + SLRoutes.toUri(SLRoutes.EVENTS);
|
|
60656
61047
|
}
|
|
@@ -60690,7 +61081,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60690
61081
|
return SLRoutes.agentsV3() + SLRoutes.toUri(SLRoutes.AGENT_EVENTS);
|
|
60691
61082
|
}
|
|
60692
61083
|
static testsRecommendations(buildSessionId, stage) {
|
|
60693
|
-
return SLRoutes.SLASH + SLRoutes.toUri(SLRoutes.
|
|
61084
|
+
return SLRoutes.SLASH + SLRoutes.toUri(SLRoutes.V3) + SLRoutes.toUri(SLRoutes.TEST_EXCLUSIONS) + SLRoutes.toUri(buildSessionId) +
|
|
60694
61085
|
SLRoutes.toUri(stage);
|
|
60695
61086
|
}
|
|
60696
61087
|
static integrationBuildComponents(buildSessionId) {
|
|
@@ -60770,7 +61161,39 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60770
61161
|
SLRoutes.ACTIVE = 'active';
|
|
60771
61162
|
});
|
|
60772
61163
|
|
|
60773
|
-
},{"../constants/constants":
|
|
61164
|
+
},{"../constants/constants":471,"../utils/validation-utils":507}],499:[function(require,module,exports){
|
|
61165
|
+
(function (factory) {
|
|
61166
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
61167
|
+
var v = factory(require, exports);
|
|
61168
|
+
if (v !== undefined) module.exports = v;
|
|
61169
|
+
}
|
|
61170
|
+
else if (typeof define === "function" && define.amd) {
|
|
61171
|
+
define(["require", "exports", "./state-tracker-fpv6"], factory);
|
|
61172
|
+
}
|
|
61173
|
+
})(function (require, exports) {
|
|
61174
|
+
"use strict";
|
|
61175
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61176
|
+
exports.NoopStateTracker = void 0;
|
|
61177
|
+
const state_tracker_fpv6_1 = require("./state-tracker-fpv6");
|
|
61178
|
+
class NoopStateTracker extends state_tracker_fpv6_1.StateTrackerFpv6 {
|
|
61179
|
+
constructor(cfg, configProcess, checkTestStatusWatchdog, backendProxy, logger) {
|
|
61180
|
+
super(cfg, configProcess, checkTestStatusWatchdog, backendProxy, logger);
|
|
61181
|
+
}
|
|
61182
|
+
start() { }
|
|
61183
|
+
stop() { }
|
|
61184
|
+
shouldCollectHits() {
|
|
61185
|
+
return true;
|
|
61186
|
+
}
|
|
61187
|
+
startCheckingTestStatusAtServer() { }
|
|
61188
|
+
checkTestStatusAtServer(async = true) { }
|
|
61189
|
+
get currentExecution() {
|
|
61190
|
+
return {};
|
|
61191
|
+
}
|
|
61192
|
+
}
|
|
61193
|
+
exports.NoopStateTracker = NoopStateTracker;
|
|
61194
|
+
});
|
|
61195
|
+
|
|
61196
|
+
},{"./state-tracker-fpv6":501}],500:[function(require,module,exports){
|
|
60774
61197
|
(function (factory) {
|
|
60775
61198
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
60776
61199
|
var v = factory(require, exports);
|
|
@@ -60817,7 +61240,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60817
61240
|
exports.SourceMapsUtils = SourceMapsUtils;
|
|
60818
61241
|
});
|
|
60819
61242
|
|
|
60820
|
-
},{"fs":225,"source-map":385}],
|
|
61243
|
+
},{"fs":225,"source-map":385}],501:[function(require,module,exports){
|
|
60821
61244
|
(function (factory) {
|
|
60822
61245
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
60823
61246
|
var v = factory(require, exports);
|
|
@@ -60850,7 +61273,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
60850
61273
|
exports.StateTrackerFpv6 = StateTrackerFpv6;
|
|
60851
61274
|
});
|
|
60852
61275
|
|
|
60853
|
-
},{"./state-tracker":
|
|
61276
|
+
},{"./state-tracker":502}],502:[function(require,module,exports){
|
|
60854
61277
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
60855
61278
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
60856
61279
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -61090,7 +61513,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
61090
61513
|
StateTracker.EXECUTION_STATUS_PENDING_DELETE = 'pendingDelete';
|
|
61091
61514
|
});
|
|
61092
61515
|
|
|
61093
|
-
},{"./agent-events/agent-events-conracts":453,"./agent-events/cockpit-notifier":
|
|
61516
|
+
},{"./agent-events/agent-events-conracts":453,"./agent-events/cockpit-notifier":459,"./constants/sl-env-vars":472,"./utils/validation-utils":507,"events":266}],503:[function(require,module,exports){
|
|
61094
61517
|
(function (factory) {
|
|
61095
61518
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
61096
61519
|
var v = factory(require, exports);
|
|
@@ -61116,7 +61539,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
61116
61539
|
exports.getSystemDateValueOf = getSystemDateValueOf;
|
|
61117
61540
|
});
|
|
61118
61541
|
|
|
61119
|
-
},{}],
|
|
61542
|
+
},{}],504:[function(require,module,exports){
|
|
61120
61543
|
(function (process){(function (){
|
|
61121
61544
|
(function (factory) {
|
|
61122
61545
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -61156,7 +61579,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
61156
61579
|
});
|
|
61157
61580
|
|
|
61158
61581
|
}).call(this)}).call(this,require('_process'))
|
|
61159
|
-
},{"_process":335}],
|
|
61582
|
+
},{"_process":335}],505:[function(require,module,exports){
|
|
61160
61583
|
(function (factory) {
|
|
61161
61584
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
61162
61585
|
var v = factory(require, exports);
|
|
@@ -61210,7 +61633,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
61210
61633
|
exports.FilesUtils = FilesUtils;
|
|
61211
61634
|
});
|
|
61212
61635
|
|
|
61213
|
-
},{"fs":225,"path":327}],
|
|
61636
|
+
},{"fs":225,"path":327}],506:[function(require,module,exports){
|
|
61214
61637
|
(function (factory) {
|
|
61215
61638
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
61216
61639
|
var v = factory(require, exports);
|
|
@@ -61231,7 +61654,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
61231
61654
|
exports.TimerUtils = TimerUtils;
|
|
61232
61655
|
});
|
|
61233
61656
|
|
|
61234
|
-
},{}],
|
|
61657
|
+
},{}],507:[function(require,module,exports){
|
|
61235
61658
|
(function (factory) {
|
|
61236
61659
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
61237
61660
|
var v = factory(require, exports);
|
|
@@ -61258,7 +61681,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
61258
61681
|
exports.ValidationUtils = ValidationUtils;
|
|
61259
61682
|
});
|
|
61260
61683
|
|
|
61261
|
-
},{"../constants/constants":
|
|
61684
|
+
},{"../constants/constants":471}],508:[function(require,module,exports){
|
|
61262
61685
|
(function (factory) {
|
|
61263
61686
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
61264
61687
|
var v = factory(require, exports);
|
|
@@ -61365,7 +61788,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
61365
61788
|
exports.Watchdog = Watchdog;
|
|
61366
61789
|
});
|
|
61367
61790
|
|
|
61368
|
-
},{"events":266}],
|
|
61791
|
+
},{"events":266}],509:[function(require,module,exports){
|
|
61369
61792
|
'use strict';
|
|
61370
61793
|
|
|
61371
61794
|
var compileSchema = require('./compile')
|
|
@@ -61873,7 +62296,7 @@ function setLogger(self) {
|
|
|
61873
62296
|
|
|
61874
62297
|
function noop() {}
|
|
61875
62298
|
|
|
61876
|
-
},{"./cache":
|
|
62299
|
+
},{"./cache":510,"./compile":514,"./compile/async":511,"./compile/error_classes":512,"./compile/formats":513,"./compile/resolve":515,"./compile/rules":516,"./compile/schema_obj":517,"./compile/util":519,"./data":520,"./keyword":548,"./refs/data.json":549,"./refs/json-schema-draft-07.json":551,"fast-json-stable-stringify":573}],510:[function(require,module,exports){
|
|
61877
62300
|
'use strict';
|
|
61878
62301
|
|
|
61879
62302
|
|
|
@@ -61901,7 +62324,7 @@ Cache.prototype.clear = function Cache_clear() {
|
|
|
61901
62324
|
this._cache = {};
|
|
61902
62325
|
};
|
|
61903
62326
|
|
|
61904
|
-
},{}],
|
|
62327
|
+
},{}],511:[function(require,module,exports){
|
|
61905
62328
|
'use strict';
|
|
61906
62329
|
|
|
61907
62330
|
var MissingRefError = require('./error_classes').MissingRef;
|
|
@@ -61993,7 +62416,7 @@ function compileAsync(schema, meta, callback) {
|
|
|
61993
62416
|
}
|
|
61994
62417
|
}
|
|
61995
62418
|
|
|
61996
|
-
},{"./error_classes":
|
|
62419
|
+
},{"./error_classes":512}],512:[function(require,module,exports){
|
|
61997
62420
|
'use strict';
|
|
61998
62421
|
|
|
61999
62422
|
var resolve = require('./resolve');
|
|
@@ -62029,7 +62452,7 @@ function errorSubclass(Subclass) {
|
|
|
62029
62452
|
return Subclass;
|
|
62030
62453
|
}
|
|
62031
62454
|
|
|
62032
|
-
},{"./resolve":
|
|
62455
|
+
},{"./resolve":515}],513:[function(require,module,exports){
|
|
62033
62456
|
'use strict';
|
|
62034
62457
|
|
|
62035
62458
|
var util = require('./util');
|
|
@@ -62173,7 +62596,7 @@ function regex(str) {
|
|
|
62173
62596
|
}
|
|
62174
62597
|
}
|
|
62175
62598
|
|
|
62176
|
-
},{"./util":
|
|
62599
|
+
},{"./util":519}],514:[function(require,module,exports){
|
|
62177
62600
|
'use strict';
|
|
62178
62601
|
|
|
62179
62602
|
var resolve = require('./resolve')
|
|
@@ -62562,7 +62985,7 @@ function vars(arr, statement) {
|
|
|
62562
62985
|
return code;
|
|
62563
62986
|
}
|
|
62564
62987
|
|
|
62565
|
-
},{"../dotjs/validate":
|
|
62988
|
+
},{"../dotjs/validate":547,"./error_classes":512,"./resolve":515,"./util":519,"fast-deep-equal":572,"fast-json-stable-stringify":573}],515:[function(require,module,exports){
|
|
62566
62989
|
'use strict';
|
|
62567
62990
|
|
|
62568
62991
|
var URI = require('uri-js')
|
|
@@ -62834,7 +63257,7 @@ function resolveIds(schema) {
|
|
|
62834
63257
|
return localRefs;
|
|
62835
63258
|
}
|
|
62836
63259
|
|
|
62837
|
-
},{"./schema_obj":
|
|
63260
|
+
},{"./schema_obj":517,"./util":519,"fast-deep-equal":572,"json-schema-traverse":605,"uri-js":676}],516:[function(require,module,exports){
|
|
62838
63261
|
'use strict';
|
|
62839
63262
|
|
|
62840
63263
|
var ruleModules = require('../dotjs')
|
|
@@ -62902,7 +63325,7 @@ module.exports = function rules() {
|
|
|
62902
63325
|
return RULES;
|
|
62903
63326
|
};
|
|
62904
63327
|
|
|
62905
|
-
},{"../dotjs":
|
|
63328
|
+
},{"../dotjs":536,"./util":519}],517:[function(require,module,exports){
|
|
62906
63329
|
'use strict';
|
|
62907
63330
|
|
|
62908
63331
|
var util = require('./util');
|
|
@@ -62913,7 +63336,7 @@ function SchemaObject(obj) {
|
|
|
62913
63336
|
util.copy(obj, this);
|
|
62914
63337
|
}
|
|
62915
63338
|
|
|
62916
|
-
},{"./util":
|
|
63339
|
+
},{"./util":519}],518:[function(require,module,exports){
|
|
62917
63340
|
'use strict';
|
|
62918
63341
|
|
|
62919
63342
|
// https://mathiasbynens.be/notes/javascript-encoding
|
|
@@ -62935,7 +63358,7 @@ module.exports = function ucs2length(str) {
|
|
|
62935
63358
|
return length;
|
|
62936
63359
|
};
|
|
62937
63360
|
|
|
62938
|
-
},{}],
|
|
63361
|
+
},{}],519:[function(require,module,exports){
|
|
62939
63362
|
'use strict';
|
|
62940
63363
|
|
|
62941
63364
|
|
|
@@ -63176,7 +63599,7 @@ function unescapeJsonPointer(str) {
|
|
|
63176
63599
|
return str.replace(/~1/g, '/').replace(/~0/g, '~');
|
|
63177
63600
|
}
|
|
63178
63601
|
|
|
63179
|
-
},{"./ucs2length":
|
|
63602
|
+
},{"./ucs2length":518,"fast-deep-equal":572}],520:[function(require,module,exports){
|
|
63180
63603
|
'use strict';
|
|
63181
63604
|
|
|
63182
63605
|
var KEYWORDS = [
|
|
@@ -63227,7 +63650,7 @@ module.exports = function (metaSchema, keywordsJsonPointers) {
|
|
|
63227
63650
|
return metaSchema;
|
|
63228
63651
|
};
|
|
63229
63652
|
|
|
63230
|
-
},{}],
|
|
63653
|
+
},{}],521:[function(require,module,exports){
|
|
63231
63654
|
'use strict';
|
|
63232
63655
|
|
|
63233
63656
|
var metaSchema = require('./refs/json-schema-draft-07.json');
|
|
@@ -63266,7 +63689,7 @@ module.exports = {
|
|
|
63266
63689
|
}
|
|
63267
63690
|
};
|
|
63268
63691
|
|
|
63269
|
-
},{"./refs/json-schema-draft-07.json":
|
|
63692
|
+
},{"./refs/json-schema-draft-07.json":551}],522:[function(require,module,exports){
|
|
63270
63693
|
'use strict';
|
|
63271
63694
|
module.exports = function generate__limit(it, $keyword, $ruleType) {
|
|
63272
63695
|
var out = ' ';
|
|
@@ -63431,7 +63854,7 @@ module.exports = function generate__limit(it, $keyword, $ruleType) {
|
|
|
63431
63854
|
return out;
|
|
63432
63855
|
}
|
|
63433
63856
|
|
|
63434
|
-
},{}],
|
|
63857
|
+
},{}],523:[function(require,module,exports){
|
|
63435
63858
|
'use strict';
|
|
63436
63859
|
module.exports = function generate__limitItems(it, $keyword, $ruleType) {
|
|
63437
63860
|
var out = ' ';
|
|
@@ -63513,7 +63936,7 @@ module.exports = function generate__limitItems(it, $keyword, $ruleType) {
|
|
|
63513
63936
|
return out;
|
|
63514
63937
|
}
|
|
63515
63938
|
|
|
63516
|
-
},{}],
|
|
63939
|
+
},{}],524:[function(require,module,exports){
|
|
63517
63940
|
'use strict';
|
|
63518
63941
|
module.exports = function generate__limitLength(it, $keyword, $ruleType) {
|
|
63519
63942
|
var out = ' ';
|
|
@@ -63600,7 +64023,7 @@ module.exports = function generate__limitLength(it, $keyword, $ruleType) {
|
|
|
63600
64023
|
return out;
|
|
63601
64024
|
}
|
|
63602
64025
|
|
|
63603
|
-
},{}],
|
|
64026
|
+
},{}],525:[function(require,module,exports){
|
|
63604
64027
|
'use strict';
|
|
63605
64028
|
module.exports = function generate__limitProperties(it, $keyword, $ruleType) {
|
|
63606
64029
|
var out = ' ';
|
|
@@ -63682,7 +64105,7 @@ module.exports = function generate__limitProperties(it, $keyword, $ruleType) {
|
|
|
63682
64105
|
return out;
|
|
63683
64106
|
}
|
|
63684
64107
|
|
|
63685
|
-
},{}],
|
|
64108
|
+
},{}],526:[function(require,module,exports){
|
|
63686
64109
|
'use strict';
|
|
63687
64110
|
module.exports = function generate_allOf(it, $keyword, $ruleType) {
|
|
63688
64111
|
var out = ' ';
|
|
@@ -63726,7 +64149,7 @@ module.exports = function generate_allOf(it, $keyword, $ruleType) {
|
|
|
63726
64149
|
return out;
|
|
63727
64150
|
}
|
|
63728
64151
|
|
|
63729
|
-
},{}],
|
|
64152
|
+
},{}],527:[function(require,module,exports){
|
|
63730
64153
|
'use strict';
|
|
63731
64154
|
module.exports = function generate_anyOf(it, $keyword, $ruleType) {
|
|
63732
64155
|
var out = ' ';
|
|
@@ -63801,7 +64224,7 @@ module.exports = function generate_anyOf(it, $keyword, $ruleType) {
|
|
|
63801
64224
|
return out;
|
|
63802
64225
|
}
|
|
63803
64226
|
|
|
63804
|
-
},{}],
|
|
64227
|
+
},{}],528:[function(require,module,exports){
|
|
63805
64228
|
'use strict';
|
|
63806
64229
|
module.exports = function generate_comment(it, $keyword, $ruleType) {
|
|
63807
64230
|
var out = ' ';
|
|
@@ -63817,7 +64240,7 @@ module.exports = function generate_comment(it, $keyword, $ruleType) {
|
|
|
63817
64240
|
return out;
|
|
63818
64241
|
}
|
|
63819
64242
|
|
|
63820
|
-
},{}],
|
|
64243
|
+
},{}],529:[function(require,module,exports){
|
|
63821
64244
|
'use strict';
|
|
63822
64245
|
module.exports = function generate_const(it, $keyword, $ruleType) {
|
|
63823
64246
|
var out = ' ';
|
|
@@ -63875,7 +64298,7 @@ module.exports = function generate_const(it, $keyword, $ruleType) {
|
|
|
63875
64298
|
return out;
|
|
63876
64299
|
}
|
|
63877
64300
|
|
|
63878
|
-
},{}],
|
|
64301
|
+
},{}],530:[function(require,module,exports){
|
|
63879
64302
|
'use strict';
|
|
63880
64303
|
module.exports = function generate_contains(it, $keyword, $ruleType) {
|
|
63881
64304
|
var out = ' ';
|
|
@@ -63958,7 +64381,7 @@ module.exports = function generate_contains(it, $keyword, $ruleType) {
|
|
|
63958
64381
|
return out;
|
|
63959
64382
|
}
|
|
63960
64383
|
|
|
63961
|
-
},{}],
|
|
64384
|
+
},{}],531:[function(require,module,exports){
|
|
63962
64385
|
'use strict';
|
|
63963
64386
|
module.exports = function generate_custom(it, $keyword, $ruleType) {
|
|
63964
64387
|
var out = ' ';
|
|
@@ -64188,7 +64611,7 @@ module.exports = function generate_custom(it, $keyword, $ruleType) {
|
|
|
64188
64611
|
return out;
|
|
64189
64612
|
}
|
|
64190
64613
|
|
|
64191
|
-
},{}],
|
|
64614
|
+
},{}],532:[function(require,module,exports){
|
|
64192
64615
|
'use strict';
|
|
64193
64616
|
module.exports = function generate_dependencies(it, $keyword, $ruleType) {
|
|
64194
64617
|
var out = ' ';
|
|
@@ -64358,7 +64781,7 @@ module.exports = function generate_dependencies(it, $keyword, $ruleType) {
|
|
|
64358
64781
|
return out;
|
|
64359
64782
|
}
|
|
64360
64783
|
|
|
64361
|
-
},{}],
|
|
64784
|
+
},{}],533:[function(require,module,exports){
|
|
64362
64785
|
'use strict';
|
|
64363
64786
|
module.exports = function generate_enum(it, $keyword, $ruleType) {
|
|
64364
64787
|
var out = ' ';
|
|
@@ -64426,7 +64849,7 @@ module.exports = function generate_enum(it, $keyword, $ruleType) {
|
|
|
64426
64849
|
return out;
|
|
64427
64850
|
}
|
|
64428
64851
|
|
|
64429
|
-
},{}],
|
|
64852
|
+
},{}],534:[function(require,module,exports){
|
|
64430
64853
|
'use strict';
|
|
64431
64854
|
module.exports = function generate_format(it, $keyword, $ruleType) {
|
|
64432
64855
|
var out = ' ';
|
|
@@ -64578,7 +65001,7 @@ module.exports = function generate_format(it, $keyword, $ruleType) {
|
|
|
64578
65001
|
return out;
|
|
64579
65002
|
}
|
|
64580
65003
|
|
|
64581
|
-
},{}],
|
|
65004
|
+
},{}],535:[function(require,module,exports){
|
|
64582
65005
|
'use strict';
|
|
64583
65006
|
module.exports = function generate_if(it, $keyword, $ruleType) {
|
|
64584
65007
|
var out = ' ';
|
|
@@ -64683,7 +65106,7 @@ module.exports = function generate_if(it, $keyword, $ruleType) {
|
|
|
64683
65106
|
return out;
|
|
64684
65107
|
}
|
|
64685
65108
|
|
|
64686
|
-
},{}],
|
|
65109
|
+
},{}],536:[function(require,module,exports){
|
|
64687
65110
|
'use strict';
|
|
64688
65111
|
|
|
64689
65112
|
//all requires must be explicit because browserify won't work with dynamic requires
|
|
@@ -64718,7 +65141,7 @@ module.exports = {
|
|
|
64718
65141
|
validate: require('./validate')
|
|
64719
65142
|
};
|
|
64720
65143
|
|
|
64721
|
-
},{"./_limit":
|
|
65144
|
+
},{"./_limit":522,"./_limitItems":523,"./_limitLength":524,"./_limitProperties":525,"./allOf":526,"./anyOf":527,"./comment":528,"./const":529,"./contains":530,"./dependencies":532,"./enum":533,"./format":534,"./if":535,"./items":537,"./multipleOf":538,"./not":539,"./oneOf":540,"./pattern":541,"./properties":542,"./propertyNames":543,"./ref":544,"./required":545,"./uniqueItems":546,"./validate":547}],537:[function(require,module,exports){
|
|
64722
65145
|
'use strict';
|
|
64723
65146
|
module.exports = function generate_items(it, $keyword, $ruleType) {
|
|
64724
65147
|
var out = ' ';
|
|
@@ -64860,7 +65283,7 @@ module.exports = function generate_items(it, $keyword, $ruleType) {
|
|
|
64860
65283
|
return out;
|
|
64861
65284
|
}
|
|
64862
65285
|
|
|
64863
|
-
},{}],
|
|
65286
|
+
},{}],538:[function(require,module,exports){
|
|
64864
65287
|
'use strict';
|
|
64865
65288
|
module.exports = function generate_multipleOf(it, $keyword, $ruleType) {
|
|
64866
65289
|
var out = ' ';
|
|
@@ -64942,7 +65365,7 @@ module.exports = function generate_multipleOf(it, $keyword, $ruleType) {
|
|
|
64942
65365
|
return out;
|
|
64943
65366
|
}
|
|
64944
65367
|
|
|
64945
|
-
},{}],
|
|
65368
|
+
},{}],539:[function(require,module,exports){
|
|
64946
65369
|
'use strict';
|
|
64947
65370
|
module.exports = function generate_not(it, $keyword, $ruleType) {
|
|
64948
65371
|
var out = ' ';
|
|
@@ -65028,7 +65451,7 @@ module.exports = function generate_not(it, $keyword, $ruleType) {
|
|
|
65028
65451
|
return out;
|
|
65029
65452
|
}
|
|
65030
65453
|
|
|
65031
|
-
},{}],
|
|
65454
|
+
},{}],540:[function(require,module,exports){
|
|
65032
65455
|
'use strict';
|
|
65033
65456
|
module.exports = function generate_oneOf(it, $keyword, $ruleType) {
|
|
65034
65457
|
var out = ' ';
|
|
@@ -65103,7 +65526,7 @@ module.exports = function generate_oneOf(it, $keyword, $ruleType) {
|
|
|
65103
65526
|
return out;
|
|
65104
65527
|
}
|
|
65105
65528
|
|
|
65106
|
-
},{}],
|
|
65529
|
+
},{}],541:[function(require,module,exports){
|
|
65107
65530
|
'use strict';
|
|
65108
65531
|
module.exports = function generate_pattern(it, $keyword, $ruleType) {
|
|
65109
65532
|
var out = ' ';
|
|
@@ -65180,7 +65603,7 @@ module.exports = function generate_pattern(it, $keyword, $ruleType) {
|
|
|
65180
65603
|
return out;
|
|
65181
65604
|
}
|
|
65182
65605
|
|
|
65183
|
-
},{}],
|
|
65606
|
+
},{}],542:[function(require,module,exports){
|
|
65184
65607
|
'use strict';
|
|
65185
65608
|
module.exports = function generate_properties(it, $keyword, $ruleType) {
|
|
65186
65609
|
var out = ' ';
|
|
@@ -65517,7 +65940,7 @@ module.exports = function generate_properties(it, $keyword, $ruleType) {
|
|
|
65517
65940
|
return out;
|
|
65518
65941
|
}
|
|
65519
65942
|
|
|
65520
|
-
},{}],
|
|
65943
|
+
},{}],543:[function(require,module,exports){
|
|
65521
65944
|
'use strict';
|
|
65522
65945
|
module.exports = function generate_propertyNames(it, $keyword, $ruleType) {
|
|
65523
65946
|
var out = ' ';
|
|
@@ -65600,7 +66023,7 @@ module.exports = function generate_propertyNames(it, $keyword, $ruleType) {
|
|
|
65600
66023
|
return out;
|
|
65601
66024
|
}
|
|
65602
66025
|
|
|
65603
|
-
},{}],
|
|
66026
|
+
},{}],544:[function(require,module,exports){
|
|
65604
66027
|
'use strict';
|
|
65605
66028
|
module.exports = function generate_ref(it, $keyword, $ruleType) {
|
|
65606
66029
|
var out = ' ';
|
|
@@ -65726,7 +66149,7 @@ module.exports = function generate_ref(it, $keyword, $ruleType) {
|
|
|
65726
66149
|
return out;
|
|
65727
66150
|
}
|
|
65728
66151
|
|
|
65729
|
-
},{}],
|
|
66152
|
+
},{}],545:[function(require,module,exports){
|
|
65730
66153
|
'use strict';
|
|
65731
66154
|
module.exports = function generate_required(it, $keyword, $ruleType) {
|
|
65732
66155
|
var out = ' ';
|
|
@@ -65998,7 +66421,7 @@ module.exports = function generate_required(it, $keyword, $ruleType) {
|
|
|
65998
66421
|
return out;
|
|
65999
66422
|
}
|
|
66000
66423
|
|
|
66001
|
-
},{}],
|
|
66424
|
+
},{}],546:[function(require,module,exports){
|
|
66002
66425
|
'use strict';
|
|
66003
66426
|
module.exports = function generate_uniqueItems(it, $keyword, $ruleType) {
|
|
66004
66427
|
var out = ' ';
|
|
@@ -66086,7 +66509,7 @@ module.exports = function generate_uniqueItems(it, $keyword, $ruleType) {
|
|
|
66086
66509
|
return out;
|
|
66087
66510
|
}
|
|
66088
66511
|
|
|
66089
|
-
},{}],
|
|
66512
|
+
},{}],547:[function(require,module,exports){
|
|
66090
66513
|
'use strict';
|
|
66091
66514
|
module.exports = function generate_validate(it, $keyword, $ruleType) {
|
|
66092
66515
|
var out = '';
|
|
@@ -66570,7 +66993,7 @@ module.exports = function generate_validate(it, $keyword, $ruleType) {
|
|
|
66570
66993
|
return out;
|
|
66571
66994
|
}
|
|
66572
66995
|
|
|
66573
|
-
},{}],
|
|
66996
|
+
},{}],548:[function(require,module,exports){
|
|
66574
66997
|
'use strict';
|
|
66575
66998
|
|
|
66576
66999
|
var IDENTIFIER = /^[a-z_$][a-z0-9_$-]*$/i;
|
|
@@ -66718,7 +67141,7 @@ function validateKeyword(definition, throwError) {
|
|
|
66718
67141
|
return false;
|
|
66719
67142
|
}
|
|
66720
67143
|
|
|
66721
|
-
},{"./definition_schema":
|
|
67144
|
+
},{"./definition_schema":521,"./dotjs/custom":531}],549:[function(require,module,exports){
|
|
66722
67145
|
module.exports={
|
|
66723
67146
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
66724
67147
|
"$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
@@ -66737,7 +67160,7 @@ module.exports={
|
|
|
66737
67160
|
"additionalProperties": false
|
|
66738
67161
|
}
|
|
66739
67162
|
|
|
66740
|
-
},{}],
|
|
67163
|
+
},{}],550:[function(require,module,exports){
|
|
66741
67164
|
module.exports={
|
|
66742
67165
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
66743
67166
|
"$id": "http://json-schema.org/draft-06/schema#",
|
|
@@ -66893,7 +67316,7 @@ module.exports={
|
|
|
66893
67316
|
"default": {}
|
|
66894
67317
|
}
|
|
66895
67318
|
|
|
66896
|
-
},{}],
|
|
67319
|
+
},{}],551:[function(require,module,exports){
|
|
66897
67320
|
module.exports={
|
|
66898
67321
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
66899
67322
|
"$id": "http://json-schema.org/draft-07/schema#",
|
|
@@ -67063,7 +67486,7 @@ module.exports={
|
|
|
67063
67486
|
"default": true
|
|
67064
67487
|
}
|
|
67065
67488
|
|
|
67066
|
-
},{}],
|
|
67489
|
+
},{}],552:[function(require,module,exports){
|
|
67067
67490
|
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
|
|
67068
67491
|
|
|
67069
67492
|
|
|
@@ -67078,7 +67501,7 @@ module.exports = {
|
|
|
67078
67501
|
|
|
67079
67502
|
};
|
|
67080
67503
|
|
|
67081
|
-
},{}],
|
|
67504
|
+
},{}],553:[function(require,module,exports){
|
|
67082
67505
|
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
|
|
67083
67506
|
|
|
67084
67507
|
var errors = require('./errors');
|
|
@@ -67107,7 +67530,7 @@ for (var e in errors) {
|
|
|
67107
67530
|
module.exports[e] = errors[e];
|
|
67108
67531
|
}
|
|
67109
67532
|
|
|
67110
|
-
},{"./errors":
|
|
67533
|
+
},{"./errors":552,"./reader":554,"./types":555,"./writer":556}],554:[function(require,module,exports){
|
|
67111
67534
|
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
|
|
67112
67535
|
|
|
67113
67536
|
var assert = require('assert');
|
|
@@ -67371,7 +67794,7 @@ Reader.prototype._readTag = function (tag) {
|
|
|
67371
67794
|
|
|
67372
67795
|
module.exports = Reader;
|
|
67373
67796
|
|
|
67374
|
-
},{"./errors":
|
|
67797
|
+
},{"./errors":552,"./types":555,"assert":172,"safer-buffer":641}],555:[function(require,module,exports){
|
|
67375
67798
|
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
|
|
67376
67799
|
|
|
67377
67800
|
|
|
@@ -67409,7 +67832,7 @@ module.exports = {
|
|
|
67409
67832
|
Context: 128
|
|
67410
67833
|
};
|
|
67411
67834
|
|
|
67412
|
-
},{}],
|
|
67835
|
+
},{}],556:[function(require,module,exports){
|
|
67413
67836
|
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
|
|
67414
67837
|
|
|
67415
67838
|
var assert = require('assert');
|
|
@@ -67728,7 +68151,7 @@ Writer.prototype._ensure = function (len) {
|
|
|
67728
68151
|
|
|
67729
68152
|
module.exports = Writer;
|
|
67730
68153
|
|
|
67731
|
-
},{"./errors":
|
|
68154
|
+
},{"./errors":552,"./types":555,"assert":172,"safer-buffer":641}],557:[function(require,module,exports){
|
|
67732
68155
|
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
|
|
67733
68156
|
|
|
67734
68157
|
// If you have no idea what ASN.1 or BER is, see this:
|
|
@@ -67750,7 +68173,7 @@ module.exports = {
|
|
|
67750
68173
|
|
|
67751
68174
|
};
|
|
67752
68175
|
|
|
67753
|
-
},{"./ber/index":
|
|
68176
|
+
},{"./ber/index":553}],558:[function(require,module,exports){
|
|
67754
68177
|
(function (Buffer,process){(function (){
|
|
67755
68178
|
// Copyright (c) 2012, Mark Cavage. All rights reserved.
|
|
67756
68179
|
// Copyright 2015 Joyent, Inc.
|
|
@@ -67965,7 +68388,7 @@ function _setExports(ndebug) {
|
|
|
67965
68388
|
module.exports = _setExports(process.env.NODE_NDEBUG);
|
|
67966
68389
|
|
|
67967
68390
|
}).call(this)}).call(this,{"isBuffer":require("../../browser-agent/node_modules/is-buffer/index.js")},require('_process'))
|
|
67968
|
-
},{"../../browser-agent/node_modules/is-buffer/index.js":302,"_process":335,"assert":172,"stream":386,"util":400}],
|
|
68391
|
+
},{"../../browser-agent/node_modules/is-buffer/index.js":302,"_process":335,"assert":172,"stream":386,"util":400}],559:[function(require,module,exports){
|
|
67969
68392
|
|
|
67970
68393
|
/*!
|
|
67971
68394
|
* Copyright 2010 LearnBoost <dev@learnboost.com>
|
|
@@ -68179,7 +68602,7 @@ function canonicalizeResource (resource) {
|
|
|
68179
68602
|
}
|
|
68180
68603
|
module.exports.canonicalizeResource = canonicalizeResource
|
|
68181
68604
|
|
|
68182
|
-
},{"crypto":237,"url":395}],
|
|
68605
|
+
},{"crypto":237,"url":395}],560:[function(require,module,exports){
|
|
68183
68606
|
(function (process,Buffer){(function (){
|
|
68184
68607
|
var aws4 = exports,
|
|
68185
68608
|
url = require('url'),
|
|
@@ -68564,7 +68987,7 @@ aws4.sign = function(request, credentials) {
|
|
|
68564
68987
|
}
|
|
68565
68988
|
|
|
68566
68989
|
}).call(this)}).call(this,require('_process'),require("buffer").Buffer)
|
|
68567
|
-
},{"./lru":
|
|
68990
|
+
},{"./lru":561,"_process":335,"buffer":227,"crypto":237,"querystring":346,"url":395}],561:[function(require,module,exports){
|
|
68568
68991
|
module.exports = function(size) {
|
|
68569
68992
|
return new LruCache(size)
|
|
68570
68993
|
}
|
|
@@ -68662,7 +69085,7 @@ function DoublyLinkedNode(key, val) {
|
|
|
68662
69085
|
this.next = null
|
|
68663
69086
|
}
|
|
68664
69087
|
|
|
68665
|
-
},{}],
|
|
69088
|
+
},{}],562:[function(require,module,exports){
|
|
68666
69089
|
'use strict';
|
|
68667
69090
|
|
|
68668
69091
|
var crypto_hash_sha512 = require('tweetnacl').lowlevel.crypto_hash;
|
|
@@ -69220,7 +69643,7 @@ module.exports = {
|
|
|
69220
69643
|
pbkdf: bcrypt_pbkdf
|
|
69221
69644
|
};
|
|
69222
69645
|
|
|
69223
|
-
},{"tweetnacl":
|
|
69646
|
+
},{"tweetnacl":675}],563:[function(require,module,exports){
|
|
69224
69647
|
function Caseless (dict) {
|
|
69225
69648
|
this.dict = dict || {}
|
|
69226
69649
|
}
|
|
@@ -69289,7 +69712,7 @@ module.exports.httpify = function (resp, headers) {
|
|
|
69289
69712
|
return c
|
|
69290
69713
|
}
|
|
69291
69714
|
|
|
69292
|
-
},{}],
|
|
69715
|
+
},{}],564:[function(require,module,exports){
|
|
69293
69716
|
(function (Buffer){(function (){
|
|
69294
69717
|
var util = require('util');
|
|
69295
69718
|
var Stream = require('stream').Stream;
|
|
@@ -69501,7 +69924,7 @@ CombinedStream.prototype._emitError = function(err) {
|
|
|
69501
69924
|
};
|
|
69502
69925
|
|
|
69503
69926
|
}).call(this)}).call(this,{"isBuffer":require("../../../browser-agent/node_modules/is-buffer/index.js")})
|
|
69504
|
-
},{"../../../browser-agent/node_modules/is-buffer/index.js":302,"delayed-stream":
|
|
69927
|
+
},{"../../../browser-agent/node_modules/is-buffer/index.js":302,"delayed-stream":566,"stream":386,"util":400}],565:[function(require,module,exports){
|
|
69505
69928
|
(function (Buffer){(function (){
|
|
69506
69929
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
69507
69930
|
//
|
|
@@ -69612,7 +70035,7 @@ function objectToString(o) {
|
|
|
69612
70035
|
}
|
|
69613
70036
|
|
|
69614
70037
|
}).call(this)}).call(this,{"isBuffer":require("../../../browser-agent/node_modules/is-buffer/index.js")})
|
|
69615
|
-
},{"../../../browser-agent/node_modules/is-buffer/index.js":302}],
|
|
70038
|
+
},{"../../../browser-agent/node_modules/is-buffer/index.js":302}],566:[function(require,module,exports){
|
|
69616
70039
|
var Stream = require('stream').Stream;
|
|
69617
70040
|
var util = require('util');
|
|
69618
70041
|
|
|
@@ -69721,7 +70144,7 @@ DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() {
|
|
|
69721
70144
|
this.emit('error', new Error(message));
|
|
69722
70145
|
};
|
|
69723
70146
|
|
|
69724
|
-
},{"stream":386,"util":400}],
|
|
70147
|
+
},{"stream":386,"util":400}],567:[function(require,module,exports){
|
|
69725
70148
|
var crypto = require("crypto");
|
|
69726
70149
|
var BigInteger = require("jsbn").BigInteger;
|
|
69727
70150
|
var ECPointFp = require("./lib/ec.js").ECPointFp;
|
|
@@ -69781,7 +70204,7 @@ exports.ECKey = function(curve, key, isPublic)
|
|
|
69781
70204
|
}
|
|
69782
70205
|
|
|
69783
70206
|
|
|
69784
|
-
},{"./lib/ec.js":
|
|
70207
|
+
},{"./lib/ec.js":568,"./lib/sec.js":569,"crypto":237,"jsbn":604,"safer-buffer":641}],568:[function(require,module,exports){
|
|
69785
70208
|
// Basic Javascript Elliptic Curve implementation
|
|
69786
70209
|
// Ported loosely from BouncyCastle's Java EC code
|
|
69787
70210
|
// Only Fp curves implemented for now
|
|
@@ -70344,7 +70767,7 @@ var exports = {
|
|
|
70344
70767
|
|
|
70345
70768
|
module.exports = exports
|
|
70346
70769
|
|
|
70347
|
-
},{"jsbn":
|
|
70770
|
+
},{"jsbn":604}],569:[function(require,module,exports){
|
|
70348
70771
|
// Named EC curves
|
|
70349
70772
|
|
|
70350
70773
|
// Requires ec.js, jsbn.js, and jsbn2.js
|
|
@@ -70516,7 +70939,7 @@ module.exports = {
|
|
|
70516
70939
|
"secp256r1":secp256r1
|
|
70517
70940
|
}
|
|
70518
70941
|
|
|
70519
|
-
},{"./ec.js":
|
|
70942
|
+
},{"./ec.js":568,"jsbn":604}],570:[function(require,module,exports){
|
|
70520
70943
|
'use strict';
|
|
70521
70944
|
|
|
70522
70945
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
@@ -70635,7 +71058,7 @@ module.exports = function extend() {
|
|
|
70635
71058
|
return target;
|
|
70636
71059
|
};
|
|
70637
71060
|
|
|
70638
|
-
},{}],
|
|
71061
|
+
},{}],571:[function(require,module,exports){
|
|
70639
71062
|
(function (process){(function (){
|
|
70640
71063
|
/*
|
|
70641
71064
|
* extsprintf.js: extended POSIX-style sprintf
|
|
@@ -70822,7 +71245,7 @@ function dumpException(ex)
|
|
|
70822
71245
|
}
|
|
70823
71246
|
|
|
70824
71247
|
}).call(this)}).call(this,require('_process'))
|
|
70825
|
-
},{"_process":335,"assert":172,"util":400}],
|
|
71248
|
+
},{"_process":335,"assert":172,"util":400}],572:[function(require,module,exports){
|
|
70826
71249
|
'use strict';
|
|
70827
71250
|
|
|
70828
71251
|
// do not edit .js files directly - edit src/index.jst
|
|
@@ -70870,7 +71293,7 @@ module.exports = function equal(a, b) {
|
|
|
70870
71293
|
return a!==a && b!==b;
|
|
70871
71294
|
};
|
|
70872
71295
|
|
|
70873
|
-
},{}],
|
|
71296
|
+
},{}],573:[function(require,module,exports){
|
|
70874
71297
|
'use strict';
|
|
70875
71298
|
|
|
70876
71299
|
module.exports = function (data, opts) {
|
|
@@ -70931,7 +71354,7 @@ module.exports = function (data, opts) {
|
|
|
70931
71354
|
})(data);
|
|
70932
71355
|
};
|
|
70933
71356
|
|
|
70934
|
-
},{}],
|
|
71357
|
+
},{}],574:[function(require,module,exports){
|
|
70935
71358
|
module.exports = ForeverAgent
|
|
70936
71359
|
ForeverAgent.SSL = ForeverAgentSSL
|
|
70937
71360
|
|
|
@@ -71071,11 +71494,11 @@ function createConnectionSSL (port, host, options) {
|
|
|
71071
71494
|
return tls.connect(options);
|
|
71072
71495
|
}
|
|
71073
71496
|
|
|
71074
|
-
},{"http":387,"https":298,"net":225,"tls":225,"util":400}],
|
|
71497
|
+
},{"http":387,"https":298,"net":225,"tls":225,"util":400}],575:[function(require,module,exports){
|
|
71075
71498
|
/* eslint-env browser */
|
|
71076
71499
|
module.exports = typeof self == 'object' ? self.FormData : window.FormData;
|
|
71077
71500
|
|
|
71078
|
-
},{}],
|
|
71501
|
+
},{}],576:[function(require,module,exports){
|
|
71079
71502
|
module.exports={
|
|
71080
71503
|
"$id": "afterRequest.json#",
|
|
71081
71504
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71107,7 +71530,7 @@ module.exports={
|
|
|
71107
71530
|
}
|
|
71108
71531
|
}
|
|
71109
71532
|
|
|
71110
|
-
},{}],
|
|
71533
|
+
},{}],577:[function(require,module,exports){
|
|
71111
71534
|
module.exports={
|
|
71112
71535
|
"$id": "beforeRequest.json#",
|
|
71113
71536
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71139,7 +71562,7 @@ module.exports={
|
|
|
71139
71562
|
}
|
|
71140
71563
|
}
|
|
71141
71564
|
|
|
71142
|
-
},{}],
|
|
71565
|
+
},{}],578:[function(require,module,exports){
|
|
71143
71566
|
module.exports={
|
|
71144
71567
|
"$id": "browser.json#",
|
|
71145
71568
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71161,7 +71584,7 @@ module.exports={
|
|
|
71161
71584
|
}
|
|
71162
71585
|
}
|
|
71163
71586
|
|
|
71164
|
-
},{}],
|
|
71587
|
+
},{}],579:[function(require,module,exports){
|
|
71165
71588
|
module.exports={
|
|
71166
71589
|
"$id": "cache.json#",
|
|
71167
71590
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71184,7 +71607,7 @@ module.exports={
|
|
|
71184
71607
|
}
|
|
71185
71608
|
}
|
|
71186
71609
|
|
|
71187
|
-
},{}],
|
|
71610
|
+
},{}],580:[function(require,module,exports){
|
|
71188
71611
|
module.exports={
|
|
71189
71612
|
"$id": "content.json#",
|
|
71190
71613
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71215,7 +71638,7 @@ module.exports={
|
|
|
71215
71638
|
}
|
|
71216
71639
|
}
|
|
71217
71640
|
|
|
71218
|
-
},{}],
|
|
71641
|
+
},{}],581:[function(require,module,exports){
|
|
71219
71642
|
module.exports={
|
|
71220
71643
|
"$id": "cookie.json#",
|
|
71221
71644
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71253,7 +71676,7 @@ module.exports={
|
|
|
71253
71676
|
}
|
|
71254
71677
|
}
|
|
71255
71678
|
|
|
71256
|
-
},{}],
|
|
71679
|
+
},{}],582:[function(require,module,exports){
|
|
71257
71680
|
module.exports={
|
|
71258
71681
|
"$id": "creator.json#",
|
|
71259
71682
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71275,7 +71698,7 @@ module.exports={
|
|
|
71275
71698
|
}
|
|
71276
71699
|
}
|
|
71277
71700
|
|
|
71278
|
-
},{}],
|
|
71701
|
+
},{}],583:[function(require,module,exports){
|
|
71279
71702
|
module.exports={
|
|
71280
71703
|
"$id": "entry.json#",
|
|
71281
71704
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71330,7 +71753,7 @@ module.exports={
|
|
|
71330
71753
|
}
|
|
71331
71754
|
}
|
|
71332
71755
|
|
|
71333
|
-
},{}],
|
|
71756
|
+
},{}],584:[function(require,module,exports){
|
|
71334
71757
|
module.exports={
|
|
71335
71758
|
"$id": "har.json#",
|
|
71336
71759
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71345,7 +71768,7 @@ module.exports={
|
|
|
71345
71768
|
}
|
|
71346
71769
|
}
|
|
71347
71770
|
|
|
71348
|
-
},{}],
|
|
71771
|
+
},{}],585:[function(require,module,exports){
|
|
71349
71772
|
module.exports={
|
|
71350
71773
|
"$id": "header.json#",
|
|
71351
71774
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71367,7 +71790,7 @@ module.exports={
|
|
|
71367
71790
|
}
|
|
71368
71791
|
}
|
|
71369
71792
|
|
|
71370
|
-
},{}],
|
|
71793
|
+
},{}],586:[function(require,module,exports){
|
|
71371
71794
|
'use strict'
|
|
71372
71795
|
|
|
71373
71796
|
module.exports = {
|
|
@@ -71391,7 +71814,7 @@ module.exports = {
|
|
|
71391
71814
|
timings: require('./timings.json')
|
|
71392
71815
|
}
|
|
71393
71816
|
|
|
71394
|
-
},{"./afterRequest.json":
|
|
71817
|
+
},{"./afterRequest.json":576,"./beforeRequest.json":577,"./browser.json":578,"./cache.json":579,"./content.json":580,"./cookie.json":581,"./creator.json":582,"./entry.json":583,"./har.json":584,"./header.json":585,"./log.json":587,"./page.json":588,"./pageTimings.json":589,"./postData.json":590,"./query.json":591,"./request.json":592,"./response.json":593,"./timings.json":594}],587:[function(require,module,exports){
|
|
71395
71818
|
module.exports={
|
|
71396
71819
|
"$id": "log.json#",
|
|
71397
71820
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71429,7 +71852,7 @@ module.exports={
|
|
|
71429
71852
|
}
|
|
71430
71853
|
}
|
|
71431
71854
|
|
|
71432
|
-
},{}],
|
|
71855
|
+
},{}],588:[function(require,module,exports){
|
|
71433
71856
|
module.exports={
|
|
71434
71857
|
"$id": "page.json#",
|
|
71435
71858
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71463,7 +71886,7 @@ module.exports={
|
|
|
71463
71886
|
}
|
|
71464
71887
|
}
|
|
71465
71888
|
|
|
71466
|
-
},{}],
|
|
71889
|
+
},{}],589:[function(require,module,exports){
|
|
71467
71890
|
module.exports={
|
|
71468
71891
|
"$id": "pageTimings.json#",
|
|
71469
71892
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71483,7 +71906,7 @@ module.exports={
|
|
|
71483
71906
|
}
|
|
71484
71907
|
}
|
|
71485
71908
|
|
|
71486
|
-
},{}],
|
|
71909
|
+
},{}],590:[function(require,module,exports){
|
|
71487
71910
|
module.exports={
|
|
71488
71911
|
"$id": "postData.json#",
|
|
71489
71912
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71528,7 +71951,7 @@ module.exports={
|
|
|
71528
71951
|
}
|
|
71529
71952
|
}
|
|
71530
71953
|
|
|
71531
|
-
},{}],
|
|
71954
|
+
},{}],591:[function(require,module,exports){
|
|
71532
71955
|
module.exports={
|
|
71533
71956
|
"$id": "query.json#",
|
|
71534
71957
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71550,7 +71973,7 @@ module.exports={
|
|
|
71550
71973
|
}
|
|
71551
71974
|
}
|
|
71552
71975
|
|
|
71553
|
-
},{}],
|
|
71976
|
+
},{}],592:[function(require,module,exports){
|
|
71554
71977
|
module.exports={
|
|
71555
71978
|
"$id": "request.json#",
|
|
71556
71979
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71609,7 +72032,7 @@ module.exports={
|
|
|
71609
72032
|
}
|
|
71610
72033
|
}
|
|
71611
72034
|
|
|
71612
|
-
},{}],
|
|
72035
|
+
},{}],593:[function(require,module,exports){
|
|
71613
72036
|
module.exports={
|
|
71614
72037
|
"$id": "response.json#",
|
|
71615
72038
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71665,7 +72088,7 @@ module.exports={
|
|
|
71665
72088
|
}
|
|
71666
72089
|
}
|
|
71667
72090
|
|
|
71668
|
-
},{}],
|
|
72091
|
+
},{}],594:[function(require,module,exports){
|
|
71669
72092
|
module.exports={
|
|
71670
72093
|
"$id": "timings.json#",
|
|
71671
72094
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
@@ -71709,7 +72132,7 @@ module.exports={
|
|
|
71709
72132
|
}
|
|
71710
72133
|
}
|
|
71711
72134
|
|
|
71712
|
-
},{}],
|
|
72135
|
+
},{}],595:[function(require,module,exports){
|
|
71713
72136
|
function HARError (errors) {
|
|
71714
72137
|
var message = 'validation failed'
|
|
71715
72138
|
|
|
@@ -71728,7 +72151,7 @@ HARError.prototype = Error.prototype
|
|
|
71728
72151
|
|
|
71729
72152
|
module.exports = HARError
|
|
71730
72153
|
|
|
71731
|
-
},{}],
|
|
72154
|
+
},{}],596:[function(require,module,exports){
|
|
71732
72155
|
var Ajv = require('ajv')
|
|
71733
72156
|
var HARError = require('./error')
|
|
71734
72157
|
var schemas = require('har-schema')
|
|
@@ -71832,7 +72255,7 @@ exports.timings = function (data) {
|
|
|
71832
72255
|
return validate('timings', data)
|
|
71833
72256
|
}
|
|
71834
72257
|
|
|
71835
|
-
},{"./error":
|
|
72258
|
+
},{"./error":595,"ajv":509,"ajv/lib/refs/json-schema-draft-06.json":550,"har-schema":586}],597:[function(require,module,exports){
|
|
71836
72259
|
// Copyright 2015 Joyent, Inc.
|
|
71837
72260
|
|
|
71838
72261
|
var parser = require('./parser');
|
|
@@ -71863,7 +72286,7 @@ module.exports = {
|
|
|
71863
72286
|
verifyHMAC: verify.verifyHMAC
|
|
71864
72287
|
};
|
|
71865
72288
|
|
|
71866
|
-
},{"./parser":
|
|
72289
|
+
},{"./parser":598,"./signer":599,"./utils":600,"./verify":601}],598:[function(require,module,exports){
|
|
71867
72290
|
// Copyright 2012 Joyent, Inc. All rights reserved.
|
|
71868
72291
|
|
|
71869
72292
|
var assert = require('assert-plus');
|
|
@@ -72180,7 +72603,7 @@ module.exports = {
|
|
|
72180
72603
|
|
|
72181
72604
|
};
|
|
72182
72605
|
|
|
72183
|
-
},{"./utils":
|
|
72606
|
+
},{"./utils":600,"assert-plus":558,"util":400}],599:[function(require,module,exports){
|
|
72184
72607
|
(function (Buffer){(function (){
|
|
72185
72608
|
// Copyright 2012 Joyent, Inc. All rights reserved.
|
|
72186
72609
|
|
|
@@ -72585,7 +73008,7 @@ module.exports = {
|
|
|
72585
73008
|
};
|
|
72586
73009
|
|
|
72587
73010
|
}).call(this)}).call(this,{"isBuffer":require("../../../browser-agent/node_modules/is-buffer/index.js")})
|
|
72588
|
-
},{"../../../browser-agent/node_modules/is-buffer/index.js":302,"./utils":
|
|
73011
|
+
},{"../../../browser-agent/node_modules/is-buffer/index.js":302,"./utils":600,"assert-plus":558,"crypto":237,"http":387,"jsprim":608,"sshpk":661,"util":400}],600:[function(require,module,exports){
|
|
72589
73012
|
// Copyright 2012 Joyent, Inc. All rights reserved.
|
|
72590
73013
|
|
|
72591
73014
|
var assert = require('assert-plus');
|
|
@@ -72699,7 +73122,7 @@ module.exports = {
|
|
|
72699
73122
|
}
|
|
72700
73123
|
};
|
|
72701
73124
|
|
|
72702
|
-
},{"assert-plus":
|
|
73125
|
+
},{"assert-plus":558,"sshpk":661,"util":400}],601:[function(require,module,exports){
|
|
72703
73126
|
(function (Buffer){(function (){
|
|
72704
73127
|
// Copyright 2015 Joyent, Inc.
|
|
72705
73128
|
|
|
@@ -72791,7 +73214,7 @@ module.exports = {
|
|
|
72791
73214
|
};
|
|
72792
73215
|
|
|
72793
73216
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
72794
|
-
},{"./utils":
|
|
73217
|
+
},{"./utils":600,"assert-plus":558,"buffer":227,"crypto":237,"sshpk":661}],602:[function(require,module,exports){
|
|
72795
73218
|
module.exports = isTypedArray
|
|
72796
73219
|
isTypedArray.strict = isStrictTypedArray
|
|
72797
73220
|
isTypedArray.loose = isLooseTypedArray
|
|
@@ -72834,7 +73257,7 @@ function isLooseTypedArray(arr) {
|
|
|
72834
73257
|
return names[toString.call(arr)]
|
|
72835
73258
|
}
|
|
72836
73259
|
|
|
72837
|
-
},{}],
|
|
73260
|
+
},{}],603:[function(require,module,exports){
|
|
72838
73261
|
var stream = require('stream')
|
|
72839
73262
|
|
|
72840
73263
|
|
|
@@ -72863,7 +73286,7 @@ module.exports.isReadable = isReadable
|
|
|
72863
73286
|
module.exports.isWritable = isWritable
|
|
72864
73287
|
module.exports.isDuplex = isDuplex
|
|
72865
73288
|
|
|
72866
|
-
},{"stream":386}],
|
|
73289
|
+
},{"stream":386}],604:[function(require,module,exports){
|
|
72867
73290
|
(function(){
|
|
72868
73291
|
|
|
72869
73292
|
// Copyright (c) 2005 Tom Wu
|
|
@@ -74222,7 +74645,7 @@ module.exports.isDuplex = isDuplex
|
|
|
74222
74645
|
|
|
74223
74646
|
}).call(this);
|
|
74224
74647
|
|
|
74225
|
-
},{}],
|
|
74648
|
+
},{}],605:[function(require,module,exports){
|
|
74226
74649
|
'use strict';
|
|
74227
74650
|
|
|
74228
74651
|
var traverse = module.exports = function (schema, opts, cb) {
|
|
@@ -74313,7 +74736,7 @@ function escapeJsonPtr(str) {
|
|
|
74313
74736
|
return str.replace(/~/g, '~0').replace(/\//g, '~1');
|
|
74314
74737
|
}
|
|
74315
74738
|
|
|
74316
|
-
},{}],
|
|
74739
|
+
},{}],606:[function(require,module,exports){
|
|
74317
74740
|
/**
|
|
74318
74741
|
* JSONSchema Validator - Validates JavaScript objects using JSON Schemas
|
|
74319
74742
|
* (http://www.json.com/json-schema-proposal/)
|
|
@@ -74586,7 +75009,7 @@ exports.mustBeValid = function(result){
|
|
|
74586
75009
|
return exports;
|
|
74587
75010
|
}));
|
|
74588
75011
|
|
|
74589
|
-
},{}],
|
|
75012
|
+
},{}],607:[function(require,module,exports){
|
|
74590
75013
|
exports = module.exports = stringify
|
|
74591
75014
|
exports.getSerialize = serializer
|
|
74592
75015
|
|
|
@@ -74615,7 +75038,7 @@ function serializer(replacer, cycleReplacer) {
|
|
|
74615
75038
|
}
|
|
74616
75039
|
}
|
|
74617
75040
|
|
|
74618
|
-
},{}],
|
|
75041
|
+
},{}],608:[function(require,module,exports){
|
|
74619
75042
|
/*
|
|
74620
75043
|
* lib/jsprim.js: utilities for primitive JavaScript types
|
|
74621
75044
|
*/
|
|
@@ -75352,7 +75775,7 @@ function mergeObjects(provided, overrides, defaults)
|
|
|
75352
75775
|
return (rv);
|
|
75353
75776
|
}
|
|
75354
75777
|
|
|
75355
|
-
},{"assert-plus":
|
|
75778
|
+
},{"assert-plus":558,"extsprintf":571,"json-schema":606,"util":400,"verror":682}],609:[function(require,module,exports){
|
|
75356
75779
|
/**
|
|
75357
75780
|
* The code was extracted from:
|
|
75358
75781
|
* https://github.com/davidchambers/Base64.js
|
|
@@ -75392,7 +75815,7 @@ function polyfill (input) {
|
|
|
75392
75815
|
|
|
75393
75816
|
module.exports = typeof window !== 'undefined' && window.atob && window.atob.bind(window) || polyfill;
|
|
75394
75817
|
|
|
75395
|
-
},{}],
|
|
75818
|
+
},{}],610:[function(require,module,exports){
|
|
75396
75819
|
var atob = require('./atob');
|
|
75397
75820
|
|
|
75398
75821
|
function b64DecodeUnicode(str) {
|
|
@@ -75427,7 +75850,7 @@ module.exports = function(str) {
|
|
|
75427
75850
|
}
|
|
75428
75851
|
};
|
|
75429
75852
|
|
|
75430
|
-
},{"./atob":
|
|
75853
|
+
},{"./atob":609}],611:[function(require,module,exports){
|
|
75431
75854
|
'use strict';
|
|
75432
75855
|
|
|
75433
75856
|
var base64_url_decode = require('./base64_url_decode');
|
|
@@ -75455,7 +75878,7 @@ module.exports = function (token,options) {
|
|
|
75455
75878
|
|
|
75456
75879
|
module.exports.InvalidTokenError = InvalidTokenError;
|
|
75457
75880
|
|
|
75458
|
-
},{"./base64_url_decode":
|
|
75881
|
+
},{"./base64_url_decode":610}],612:[function(require,module,exports){
|
|
75459
75882
|
module.exports={
|
|
75460
75883
|
"application/1d-interleaved-parityfec": {
|
|
75461
75884
|
"source": "iana"
|
|
@@ -83976,7 +84399,7 @@ module.exports={
|
|
|
83976
84399
|
}
|
|
83977
84400
|
}
|
|
83978
84401
|
|
|
83979
|
-
},{}],
|
|
84402
|
+
},{}],613:[function(require,module,exports){
|
|
83980
84403
|
/*!
|
|
83981
84404
|
* mime-db
|
|
83982
84405
|
* Copyright(c) 2014 Jonathan Ong
|
|
@@ -83990,7 +84413,7 @@ module.exports={
|
|
|
83990
84413
|
|
|
83991
84414
|
module.exports = require('./db.json')
|
|
83992
84415
|
|
|
83993
|
-
},{"./db.json":
|
|
84416
|
+
},{"./db.json":612}],614:[function(require,module,exports){
|
|
83994
84417
|
/*!
|
|
83995
84418
|
* mime-types
|
|
83996
84419
|
* Copyright(c) 2014 Jonathan Ong
|
|
@@ -84180,7 +84603,7 @@ function populateMaps (extensions, types) {
|
|
|
84180
84603
|
})
|
|
84181
84604
|
}
|
|
84182
84605
|
|
|
84183
|
-
},{"mime-db":
|
|
84606
|
+
},{"mime-db":613,"path":327}],615:[function(require,module,exports){
|
|
84184
84607
|
var crypto = require('crypto')
|
|
84185
84608
|
|
|
84186
84609
|
function sha (key, body, algorithm) {
|
|
@@ -84327,7 +84750,7 @@ exports.plaintext = plaintext
|
|
|
84327
84750
|
exports.sign = sign
|
|
84328
84751
|
exports.rfc3986 = rfc3986
|
|
84329
84752
|
exports.generateBase = generateBase
|
|
84330
|
-
},{"crypto":237}],
|
|
84753
|
+
},{"crypto":237}],616:[function(require,module,exports){
|
|
84331
84754
|
(function (process){(function (){
|
|
84332
84755
|
// Generated by CoffeeScript 1.12.2
|
|
84333
84756
|
(function() {
|
|
@@ -84367,7 +84790,7 @@ exports.generateBase = generateBase
|
|
|
84367
84790
|
|
|
84368
84791
|
|
|
84369
84792
|
}).call(this)}).call(this,require('_process'))
|
|
84370
|
-
},{"_process":335}],
|
|
84793
|
+
},{"_process":335}],617:[function(require,module,exports){
|
|
84371
84794
|
module.exports=[
|
|
84372
84795
|
"ac",
|
|
84373
84796
|
"com.ac",
|
|
@@ -93744,7 +94167,7 @@ module.exports=[
|
|
|
93744
94167
|
"virtualserver.io",
|
|
93745
94168
|
"enterprisecloud.nu"
|
|
93746
94169
|
]
|
|
93747
|
-
},{}],
|
|
94170
|
+
},{}],618:[function(require,module,exports){
|
|
93748
94171
|
/*eslint no-var:0, prefer-arrow-callback: 0, object-shorthand: 0 */
|
|
93749
94172
|
'use strict';
|
|
93750
94173
|
|
|
@@ -94015,7 +94438,7 @@ exports.isValid = function (domain) {
|
|
|
94015
94438
|
return Boolean(parsed.domain && parsed.listed);
|
|
94016
94439
|
};
|
|
94017
94440
|
|
|
94018
|
-
},{"./data/rules.json":
|
|
94441
|
+
},{"./data/rules.json":617,"punycode":343}],619:[function(require,module,exports){
|
|
94019
94442
|
'use strict';
|
|
94020
94443
|
|
|
94021
94444
|
var replace = String.prototype.replace;
|
|
@@ -94035,7 +94458,7 @@ module.exports = {
|
|
|
94035
94458
|
RFC3986: 'RFC3986'
|
|
94036
94459
|
};
|
|
94037
94460
|
|
|
94038
|
-
},{}],
|
|
94461
|
+
},{}],620:[function(require,module,exports){
|
|
94039
94462
|
'use strict';
|
|
94040
94463
|
|
|
94041
94464
|
var stringify = require('./stringify');
|
|
@@ -94048,7 +94471,7 @@ module.exports = {
|
|
|
94048
94471
|
stringify: stringify
|
|
94049
94472
|
};
|
|
94050
94473
|
|
|
94051
|
-
},{"./formats":
|
|
94474
|
+
},{"./formats":619,"./parse":621,"./stringify":622}],621:[function(require,module,exports){
|
|
94052
94475
|
'use strict';
|
|
94053
94476
|
|
|
94054
94477
|
var utils = require('./utils');
|
|
@@ -94225,7 +94648,7 @@ module.exports = function (str, opts) {
|
|
|
94225
94648
|
return utils.compact(obj);
|
|
94226
94649
|
};
|
|
94227
94650
|
|
|
94228
|
-
},{"./utils":
|
|
94651
|
+
},{"./utils":623}],622:[function(require,module,exports){
|
|
94229
94652
|
'use strict';
|
|
94230
94653
|
|
|
94231
94654
|
var utils = require('./utils');
|
|
@@ -94444,7 +94867,7 @@ module.exports = function (object, opts) {
|
|
|
94444
94867
|
return joined.length > 0 ? prefix + joined : '';
|
|
94445
94868
|
};
|
|
94446
94869
|
|
|
94447
|
-
},{"./formats":
|
|
94870
|
+
},{"./formats":619,"./utils":623}],623:[function(require,module,exports){
|
|
94448
94871
|
'use strict';
|
|
94449
94872
|
|
|
94450
94873
|
var has = Object.prototype.hasOwnProperty;
|
|
@@ -94661,7 +95084,7 @@ module.exports = {
|
|
|
94661
95084
|
merge: merge
|
|
94662
95085
|
};
|
|
94663
95086
|
|
|
94664
|
-
},{}],
|
|
95087
|
+
},{}],624:[function(require,module,exports){
|
|
94665
95088
|
// Copyright 2010-2012 Mikeal Rogers
|
|
94666
95089
|
//
|
|
94667
95090
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -94818,7 +95241,7 @@ Object.defineProperty(request, 'debug', {
|
|
|
94818
95241
|
}
|
|
94819
95242
|
})
|
|
94820
95243
|
|
|
94821
|
-
},{"./lib/cookies":
|
|
95244
|
+
},{"./lib/cookies":626,"./lib/helpers":630,"./request":639,"extend":570}],625:[function(require,module,exports){
|
|
94822
95245
|
'use strict'
|
|
94823
95246
|
|
|
94824
95247
|
var caseless = require('caseless')
|
|
@@ -94987,7 +95410,7 @@ Auth.prototype.onResponse = function (response) {
|
|
|
94987
95410
|
|
|
94988
95411
|
exports.Auth = Auth
|
|
94989
95412
|
|
|
94990
|
-
},{"./helpers":
|
|
95413
|
+
},{"./helpers":630,"caseless":563,"uuid/v4":638}],626:[function(require,module,exports){
|
|
94991
95414
|
'use strict'
|
|
94992
95415
|
|
|
94993
95416
|
var tough = require('tough-cookie')
|
|
@@ -95027,7 +95450,7 @@ exports.jar = function (store) {
|
|
|
95027
95450
|
return new RequestJar(store)
|
|
95028
95451
|
}
|
|
95029
95452
|
|
|
95030
|
-
},{"tough-cookie":
|
|
95453
|
+
},{"tough-cookie":667}],627:[function(require,module,exports){
|
|
95031
95454
|
(function (process){(function (){
|
|
95032
95455
|
'use strict'
|
|
95033
95456
|
|
|
@@ -95110,7 +95533,7 @@ function getProxyFromURI (uri) {
|
|
|
95110
95533
|
module.exports = getProxyFromURI
|
|
95111
95534
|
|
|
95112
95535
|
}).call(this)}).call(this,require('_process'))
|
|
95113
|
-
},{"_process":335}],
|
|
95536
|
+
},{"_process":335}],628:[function(require,module,exports){
|
|
95114
95537
|
'use strict'
|
|
95115
95538
|
|
|
95116
95539
|
var fs = require('fs')
|
|
@@ -95317,7 +95740,7 @@ Har.prototype.options = function (options) {
|
|
|
95317
95740
|
|
|
95318
95741
|
exports.Har = Har
|
|
95319
95742
|
|
|
95320
|
-
},{"extend":
|
|
95743
|
+
},{"extend":570,"fs":225,"har-validator":596,"querystring":346}],629:[function(require,module,exports){
|
|
95321
95744
|
'use strict'
|
|
95322
95745
|
|
|
95323
95746
|
var crypto = require('crypto')
|
|
@@ -95408,7 +95831,7 @@ exports.header = function (uri, method, opts) {
|
|
|
95408
95831
|
return header
|
|
95409
95832
|
}
|
|
95410
95833
|
|
|
95411
|
-
},{"crypto":237}],
|
|
95834
|
+
},{"crypto":237}],630:[function(require,module,exports){
|
|
95412
95835
|
(function (process,setImmediate){(function (){
|
|
95413
95836
|
'use strict'
|
|
95414
95837
|
|
|
@@ -95478,7 +95901,7 @@ exports.version = version
|
|
|
95478
95901
|
exports.defer = defer
|
|
95479
95902
|
|
|
95480
95903
|
}).call(this)}).call(this,require('_process'),require("timers").setImmediate)
|
|
95481
|
-
},{"_process":335,"crypto":237,"json-stringify-safe":
|
|
95904
|
+
},{"_process":335,"crypto":237,"json-stringify-safe":607,"safe-buffer":640,"timers":393}],631:[function(require,module,exports){
|
|
95482
95905
|
'use strict'
|
|
95483
95906
|
|
|
95484
95907
|
var uuid = require('uuid/v4')
|
|
@@ -95592,7 +96015,7 @@ Multipart.prototype.onRequest = function (options) {
|
|
|
95592
96015
|
|
|
95593
96016
|
exports.Multipart = Multipart
|
|
95594
96017
|
|
|
95595
|
-
},{"combined-stream":
|
|
96018
|
+
},{"combined-stream":564,"isstream":603,"safe-buffer":640,"uuid/v4":638}],632:[function(require,module,exports){
|
|
95596
96019
|
'use strict'
|
|
95597
96020
|
|
|
95598
96021
|
var url = require('url')
|
|
@@ -95742,7 +96165,7 @@ OAuth.prototype.onRequest = function (_oauth) {
|
|
|
95742
96165
|
|
|
95743
96166
|
exports.OAuth = OAuth
|
|
95744
96167
|
|
|
95745
|
-
},{"caseless":
|
|
96168
|
+
},{"caseless":563,"crypto":237,"oauth-sign":615,"qs":620,"safe-buffer":640,"url":395,"uuid/v4":638}],633:[function(require,module,exports){
|
|
95746
96169
|
'use strict'
|
|
95747
96170
|
|
|
95748
96171
|
var qs = require('qs')
|
|
@@ -95794,7 +96217,7 @@ Querystring.prototype.unescape = querystring.unescape
|
|
|
95794
96217
|
|
|
95795
96218
|
exports.Querystring = Querystring
|
|
95796
96219
|
|
|
95797
|
-
},{"qs":
|
|
96220
|
+
},{"qs":620,"querystring":346}],634:[function(require,module,exports){
|
|
95798
96221
|
'use strict'
|
|
95799
96222
|
|
|
95800
96223
|
var url = require('url')
|
|
@@ -95950,7 +96373,7 @@ Redirect.prototype.onResponse = function (response) {
|
|
|
95950
96373
|
|
|
95951
96374
|
exports.Redirect = Redirect
|
|
95952
96375
|
|
|
95953
|
-
},{"url":395}],
|
|
96376
|
+
},{"url":395}],635:[function(require,module,exports){
|
|
95954
96377
|
'use strict'
|
|
95955
96378
|
|
|
95956
96379
|
var url = require('url')
|
|
@@ -96127,7 +96550,7 @@ Tunnel.defaultProxyHeaderWhiteList = defaultProxyHeaderWhiteList
|
|
|
96127
96550
|
Tunnel.defaultProxyHeaderExclusiveList = defaultProxyHeaderExclusiveList
|
|
96128
96551
|
exports.Tunnel = Tunnel
|
|
96129
96552
|
|
|
96130
|
-
},{"tunnel-agent":
|
|
96553
|
+
},{"tunnel-agent":674,"url":395}],636:[function(require,module,exports){
|
|
96131
96554
|
/**
|
|
96132
96555
|
* Convert array of 16 byte values to UUID string format of the form:
|
|
96133
96556
|
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
@@ -96155,7 +96578,7 @@ function bytesToUuid(buf, offset) {
|
|
|
96155
96578
|
|
|
96156
96579
|
module.exports = bytesToUuid;
|
|
96157
96580
|
|
|
96158
|
-
},{}],
|
|
96581
|
+
},{}],637:[function(require,module,exports){
|
|
96159
96582
|
// Unique ID creation requires a high quality random # generator. In the
|
|
96160
96583
|
// browser this is a little complicated due to unknown quality of Math.random()
|
|
96161
96584
|
// and inconsistent support for the `crypto` API. We do the best we can via
|
|
@@ -96191,7 +96614,7 @@ if (getRandomValues) {
|
|
|
96191
96614
|
};
|
|
96192
96615
|
}
|
|
96193
96616
|
|
|
96194
|
-
},{}],
|
|
96617
|
+
},{}],638:[function(require,module,exports){
|
|
96195
96618
|
var rng = require('./lib/rng');
|
|
96196
96619
|
var bytesToUuid = require('./lib/bytesToUuid');
|
|
96197
96620
|
|
|
@@ -96222,7 +96645,7 @@ function v4(options, buf, offset) {
|
|
|
96222
96645
|
|
|
96223
96646
|
module.exports = v4;
|
|
96224
96647
|
|
|
96225
|
-
},{"./lib/bytesToUuid":
|
|
96648
|
+
},{"./lib/bytesToUuid":636,"./lib/rng":637}],639:[function(require,module,exports){
|
|
96226
96649
|
(function (process){(function (){
|
|
96227
96650
|
'use strict'
|
|
96228
96651
|
|
|
@@ -97779,9 +98202,9 @@ Request.prototype.toJSON = requestToJSON
|
|
|
97779
98202
|
module.exports = Request
|
|
97780
98203
|
|
|
97781
98204
|
}).call(this)}).call(this,require('_process'))
|
|
97782
|
-
},{"./lib/auth":
|
|
98205
|
+
},{"./lib/auth":625,"./lib/cookies":626,"./lib/getProxyFromURI":627,"./lib/har":628,"./lib/hawk":629,"./lib/helpers":630,"./lib/multipart":631,"./lib/oauth":632,"./lib/querystring":633,"./lib/redirect":634,"./lib/tunnel":635,"_process":335,"aws-sign2":559,"aws4":560,"caseless":563,"extend":570,"forever-agent":574,"form-data":575,"http":387,"http-signature":597,"https":298,"is-typedarray":602,"isstream":603,"mime-types":614,"performance-now":616,"safe-buffer":640,"stream":386,"url":395,"util":400,"zlib":224}],640:[function(require,module,exports){
|
|
97783
98206
|
arguments[4][358][0].apply(exports,arguments)
|
|
97784
|
-
},{"buffer":227,"dup":358}],
|
|
98207
|
+
},{"buffer":227,"dup":358}],641:[function(require,module,exports){
|
|
97785
98208
|
(function (process){(function (){
|
|
97786
98209
|
/* eslint-disable node/no-deprecated-api */
|
|
97787
98210
|
|
|
@@ -97862,7 +98285,7 @@ if (!safer.constants) {
|
|
|
97862
98285
|
module.exports = safer
|
|
97863
98286
|
|
|
97864
98287
|
}).call(this)}).call(this,require('_process'))
|
|
97865
|
-
},{"_process":335,"buffer":227}],
|
|
98288
|
+
},{"_process":335,"buffer":227}],642:[function(require,module,exports){
|
|
97866
98289
|
// Copyright 2015 Joyent, Inc.
|
|
97867
98290
|
|
|
97868
98291
|
var Buffer = require('safer-buffer').Buffer;
|
|
@@ -98032,7 +98455,7 @@ module.exports = {
|
|
|
98032
98455
|
curves: curves
|
|
98033
98456
|
};
|
|
98034
98457
|
|
|
98035
|
-
},{"safer-buffer":
|
|
98458
|
+
},{"safer-buffer":641}],643:[function(require,module,exports){
|
|
98036
98459
|
// Copyright 2016 Joyent, Inc.
|
|
98037
98460
|
|
|
98038
98461
|
module.exports = Certificate;
|
|
@@ -98444,7 +98867,7 @@ Certificate._oldVersionDetect = function (obj) {
|
|
|
98444
98867
|
return ([1, 0]);
|
|
98445
98868
|
};
|
|
98446
98869
|
|
|
98447
|
-
},{"./algs":
|
|
98870
|
+
},{"./algs":642,"./errors":646,"./fingerprint":647,"./formats/openssh-cert":650,"./formats/x509":659,"./formats/x509-pem":658,"./identity":660,"./key":662,"./private-key":663,"./signature":664,"./utils":666,"assert-plus":558,"crypto":237,"safer-buffer":641,"util":400}],644:[function(require,module,exports){
|
|
98448
98871
|
// Copyright 2017 Joyent, Inc.
|
|
98449
98872
|
|
|
98450
98873
|
module.exports = {
|
|
@@ -98843,7 +99266,7 @@ function generateECDSA(curve) {
|
|
|
98843
99266
|
}
|
|
98844
99267
|
}
|
|
98845
99268
|
|
|
98846
|
-
},{"./algs":
|
|
99269
|
+
},{"./algs":642,"./key":662,"./private-key":663,"./utils":666,"assert-plus":558,"crypto":237,"ecc-jsbn":567,"ecc-jsbn/lib/ec":568,"jsbn":604,"safer-buffer":641,"tweetnacl":675}],645:[function(require,module,exports){
|
|
98847
99270
|
// Copyright 2015 Joyent, Inc.
|
|
98848
99271
|
|
|
98849
99272
|
module.exports = {
|
|
@@ -98937,7 +99360,7 @@ Signer.prototype.sign = function () {
|
|
|
98937
99360
|
return (sigObj);
|
|
98938
99361
|
};
|
|
98939
99362
|
|
|
98940
|
-
},{"./signature":
|
|
99363
|
+
},{"./signature":664,"assert-plus":558,"safer-buffer":641,"stream":386,"tweetnacl":675,"util":400}],646:[function(require,module,exports){
|
|
98941
99364
|
// Copyright 2015 Joyent, Inc.
|
|
98942
99365
|
|
|
98943
99366
|
var assert = require('assert-plus');
|
|
@@ -99023,7 +99446,7 @@ module.exports = {
|
|
|
99023
99446
|
CertificateParseError: CertificateParseError
|
|
99024
99447
|
};
|
|
99025
99448
|
|
|
99026
|
-
},{"assert-plus":
|
|
99449
|
+
},{"assert-plus":558,"util":400}],647:[function(require,module,exports){
|
|
99027
99450
|
// Copyright 2018 Joyent, Inc.
|
|
99028
99451
|
|
|
99029
99452
|
module.exports = Fingerprint;
|
|
@@ -99245,7 +99668,7 @@ Fingerprint._oldVersionDetect = function (obj) {
|
|
|
99245
99668
|
return ([1, 0]);
|
|
99246
99669
|
};
|
|
99247
99670
|
|
|
99248
|
-
},{"./algs":
|
|
99671
|
+
},{"./algs":642,"./certificate":643,"./errors":646,"./key":662,"./private-key":663,"./utils":666,"assert-plus":558,"crypto":237,"safer-buffer":641}],648:[function(require,module,exports){
|
|
99249
99672
|
// Copyright 2018 Joyent, Inc.
|
|
99250
99673
|
|
|
99251
99674
|
module.exports = {
|
|
@@ -99371,7 +99794,7 @@ function write(key, options) {
|
|
|
99371
99794
|
throw (new Error('"auto" format cannot be used for writing'));
|
|
99372
99795
|
}
|
|
99373
99796
|
|
|
99374
|
-
},{"../key":
|
|
99797
|
+
},{"../key":662,"../private-key":663,"../utils":666,"./dnssec":649,"./pem":651,"./putty":654,"./rfc4253":655,"./ssh":657,"assert-plus":558,"safer-buffer":641}],649:[function(require,module,exports){
|
|
99375
99798
|
// Copyright 2017 Joyent, Inc.
|
|
99376
99799
|
|
|
99377
99800
|
module.exports = {
|
|
@@ -99660,7 +100083,7 @@ function write(key, options) {
|
|
|
99660
100083
|
}
|
|
99661
100084
|
}
|
|
99662
100085
|
|
|
99663
|
-
},{"../dhe":
|
|
100086
|
+
},{"../dhe":644,"../key":662,"../private-key":663,"../ssh-buffer":665,"../utils":666,"assert-plus":558,"safer-buffer":641}],650:[function(require,module,exports){
|
|
99664
100087
|
// Copyright 2017 Joyent, Inc.
|
|
99665
100088
|
|
|
99666
100089
|
module.exports = {
|
|
@@ -100014,7 +100437,7 @@ function getCertType(key) {
|
|
|
100014
100437
|
throw (new Error('Unsupported key type ' + key.type));
|
|
100015
100438
|
}
|
|
100016
100439
|
|
|
100017
|
-
},{"../algs":
|
|
100440
|
+
},{"../algs":642,"../certificate":643,"../identity":660,"../key":662,"../private-key":663,"../signature":664,"../ssh-buffer":665,"../utils":666,"./rfc4253":655,"assert-plus":558,"crypto":237,"safer-buffer":641}],651:[function(require,module,exports){
|
|
100018
100441
|
// Copyright 2018 Joyent, Inc.
|
|
100019
100442
|
|
|
100020
100443
|
module.exports = {
|
|
@@ -100306,7 +100729,7 @@ function write(key, options, type) {
|
|
|
100306
100729
|
return (buf.slice(0, o));
|
|
100307
100730
|
}
|
|
100308
100731
|
|
|
100309
|
-
},{"../algs":
|
|
100732
|
+
},{"../algs":642,"../errors":646,"../key":662,"../private-key":663,"../utils":666,"./pkcs1":652,"./pkcs8":653,"./rfc4253":655,"./ssh-private":656,"asn1":557,"assert-plus":558,"crypto":237,"safer-buffer":641}],652:[function(require,module,exports){
|
|
100310
100733
|
// Copyright 2015 Joyent, Inc.
|
|
100311
100734
|
|
|
100312
100735
|
module.exports = {
|
|
@@ -100681,7 +101104,7 @@ function writePkcs1EdDSAPublic(der, key) {
|
|
|
100681
101104
|
throw (new Error('Public keys are not supported for EdDSA PKCS#1'));
|
|
100682
101105
|
}
|
|
100683
101106
|
|
|
100684
|
-
},{"../algs":
|
|
101107
|
+
},{"../algs":642,"../key":662,"../private-key":663,"../utils":666,"./pem":651,"./pkcs8":653,"asn1":557,"assert-plus":558,"safer-buffer":641}],653:[function(require,module,exports){
|
|
100685
101108
|
// Copyright 2018 Joyent, Inc.
|
|
100686
101109
|
|
|
100687
101110
|
module.exports = {
|
|
@@ -101314,7 +101737,7 @@ function writePkcs8EdDSAPrivate(key, der) {
|
|
|
101314
101737
|
der.endSequence();
|
|
101315
101738
|
}
|
|
101316
101739
|
|
|
101317
|
-
},{"../algs":
|
|
101740
|
+
},{"../algs":642,"../key":662,"../private-key":663,"../utils":666,"./pem":651,"asn1":557,"assert-plus":558,"safer-buffer":641}],654:[function(require,module,exports){
|
|
101318
101741
|
// Copyright 2018 Joyent, Inc.
|
|
101319
101742
|
|
|
101320
101743
|
module.exports = {
|
|
@@ -101510,7 +101933,7 @@ function wrap(txt, len) {
|
|
|
101510
101933
|
return (lines);
|
|
101511
101934
|
}
|
|
101512
101935
|
|
|
101513
|
-
},{"../errors":
|
|
101936
|
+
},{"../errors":646,"../key":662,"../private-key":663,"../ssh-buffer":665,"./rfc4253":655,"assert-plus":558,"crypto":237,"safer-buffer":641}],655:[function(require,module,exports){
|
|
101514
101937
|
// Copyright 2015 Joyent, Inc.
|
|
101515
101938
|
|
|
101516
101939
|
module.exports = {
|
|
@@ -101678,7 +102101,7 @@ function write(key, options) {
|
|
|
101678
102101
|
return (buf.toBuffer());
|
|
101679
102102
|
}
|
|
101680
102103
|
|
|
101681
|
-
},{"../algs":
|
|
102104
|
+
},{"../algs":642,"../key":662,"../private-key":663,"../ssh-buffer":665,"../utils":666,"assert-plus":558,"safer-buffer":641}],656:[function(require,module,exports){
|
|
101682
102105
|
// Copyright 2015 Joyent, Inc.
|
|
101683
102106
|
|
|
101684
102107
|
module.exports = {
|
|
@@ -101942,7 +102365,7 @@ function write(key, options) {
|
|
|
101942
102365
|
return (buf.slice(0, o));
|
|
101943
102366
|
}
|
|
101944
102367
|
|
|
101945
|
-
},{"../algs":
|
|
102368
|
+
},{"../algs":642,"../errors":646,"../key":662,"../private-key":663,"../ssh-buffer":665,"../utils":666,"./pem":651,"./rfc4253":655,"asn1":557,"assert-plus":558,"bcrypt-pbkdf":562,"crypto":237,"safer-buffer":641}],657:[function(require,module,exports){
|
|
101946
102369
|
// Copyright 2015 Joyent, Inc.
|
|
101947
102370
|
|
|
101948
102371
|
module.exports = {
|
|
@@ -102059,7 +102482,7 @@ function write(key, options) {
|
|
|
102059
102482
|
return (Buffer.from(parts.join(' ')));
|
|
102060
102483
|
}
|
|
102061
102484
|
|
|
102062
|
-
},{"../key":
|
|
102485
|
+
},{"../key":662,"../private-key":663,"../utils":666,"./rfc4253":655,"./ssh-private":656,"assert-plus":558,"safer-buffer":641}],658:[function(require,module,exports){
|
|
102063
102486
|
// Copyright 2016 Joyent, Inc.
|
|
102064
102487
|
|
|
102065
102488
|
var x509 = require('./x509');
|
|
@@ -102149,7 +102572,7 @@ function write(cert, options) {
|
|
|
102149
102572
|
return (buf.slice(0, o));
|
|
102150
102573
|
}
|
|
102151
102574
|
|
|
102152
|
-
},{"../algs":
|
|
102575
|
+
},{"../algs":642,"../certificate":643,"../identity":660,"../key":662,"../private-key":663,"../signature":664,"../utils":666,"./pem":651,"./x509":659,"asn1":557,"assert-plus":558,"safer-buffer":641}],659:[function(require,module,exports){
|
|
102153
102576
|
// Copyright 2017 Joyent, Inc.
|
|
102154
102577
|
|
|
102155
102578
|
module.exports = {
|
|
@@ -102903,7 +103326,7 @@ function writeBitField(setBits, bitIndex) {
|
|
|
102903
103326
|
return (bits);
|
|
102904
103327
|
}
|
|
102905
103328
|
|
|
102906
|
-
},{"../algs":
|
|
103329
|
+
},{"../algs":642,"../certificate":643,"../identity":660,"../key":662,"../private-key":663,"../signature":664,"../utils":666,"./pem":651,"./pkcs8":653,"asn1":557,"assert-plus":558,"safer-buffer":641}],660:[function(require,module,exports){
|
|
102907
103330
|
// Copyright 2017 Joyent, Inc.
|
|
102908
103331
|
|
|
102909
103332
|
module.exports = Identity;
|
|
@@ -103278,7 +103701,7 @@ Identity._oldVersionDetect = function (obj) {
|
|
|
103278
103701
|
return ([1, 0]);
|
|
103279
103702
|
};
|
|
103280
103703
|
|
|
103281
|
-
},{"./algs":
|
|
103704
|
+
},{"./algs":642,"./errors":646,"./fingerprint":647,"./signature":664,"./utils":666,"asn1":557,"assert-plus":558,"crypto":237,"safer-buffer":641,"util":400}],661:[function(require,module,exports){
|
|
103282
103705
|
// Copyright 2015 Joyent, Inc.
|
|
103283
103706
|
|
|
103284
103707
|
var Key = require('./key');
|
|
@@ -103320,7 +103743,7 @@ module.exports = {
|
|
|
103320
103743
|
CertificateParseError: errs.CertificateParseError
|
|
103321
103744
|
};
|
|
103322
103745
|
|
|
103323
|
-
},{"./certificate":
|
|
103746
|
+
},{"./certificate":643,"./errors":646,"./fingerprint":647,"./identity":660,"./key":662,"./private-key":663,"./signature":664}],662:[function(require,module,exports){
|
|
103324
103747
|
(function (Buffer){(function (){
|
|
103325
103748
|
// Copyright 2018 Joyent, Inc.
|
|
103326
103749
|
|
|
@@ -103618,7 +104041,7 @@ Key._oldVersionDetect = function (obj) {
|
|
|
103618
104041
|
};
|
|
103619
104042
|
|
|
103620
104043
|
}).call(this)}).call(this,{"isBuffer":require("../../../browser-agent/node_modules/is-buffer/index.js")})
|
|
103621
|
-
},{"../../../browser-agent/node_modules/is-buffer/index.js":302,"./algs":
|
|
104044
|
+
},{"../../../browser-agent/node_modules/is-buffer/index.js":302,"./algs":642,"./dhe":644,"./ed-compat":645,"./errors":646,"./fingerprint":647,"./formats/auto":648,"./formats/dnssec":649,"./formats/pem":651,"./formats/pkcs1":652,"./formats/pkcs8":653,"./formats/putty":654,"./formats/rfc4253":655,"./formats/ssh":657,"./formats/ssh-private":656,"./private-key":663,"./signature":664,"./utils":666,"assert-plus":558,"crypto":237}],663:[function(require,module,exports){
|
|
103622
104045
|
// Copyright 2017 Joyent, Inc.
|
|
103623
104046
|
|
|
103624
104047
|
module.exports = PrivateKey;
|
|
@@ -103867,7 +104290,7 @@ PrivateKey._oldVersionDetect = function (obj) {
|
|
|
103867
104290
|
return ([1, 0]);
|
|
103868
104291
|
};
|
|
103869
104292
|
|
|
103870
|
-
},{"./algs":
|
|
104293
|
+
},{"./algs":642,"./dhe":644,"./ed-compat":645,"./errors":646,"./fingerprint":647,"./formats/auto":648,"./formats/dnssec":649,"./formats/pem":651,"./formats/pkcs1":652,"./formats/pkcs8":653,"./formats/putty":654,"./formats/rfc4253":655,"./formats/ssh-private":656,"./key":662,"./signature":664,"./utils":666,"assert-plus":558,"crypto":237,"safer-buffer":641,"tweetnacl":675,"util":400}],664:[function(require,module,exports){
|
|
103871
104294
|
// Copyright 2015 Joyent, Inc.
|
|
103872
104295
|
|
|
103873
104296
|
module.exports = Signature;
|
|
@@ -104183,7 +104606,7 @@ Signature._oldVersionDetect = function (obj) {
|
|
|
104183
104606
|
return ([1, 0]);
|
|
104184
104607
|
};
|
|
104185
104608
|
|
|
104186
|
-
},{"./algs":
|
|
104609
|
+
},{"./algs":642,"./errors":646,"./ssh-buffer":665,"./utils":666,"asn1":557,"assert-plus":558,"crypto":237,"safer-buffer":641}],665:[function(require,module,exports){
|
|
104187
104610
|
// Copyright 2015 Joyent, Inc.
|
|
104188
104611
|
|
|
104189
104612
|
module.exports = SSHBuffer;
|
|
@@ -104334,7 +104757,7 @@ SSHBuffer.prototype.write = function (buf) {
|
|
|
104334
104757
|
this._offset += buf.length;
|
|
104335
104758
|
};
|
|
104336
104759
|
|
|
104337
|
-
},{"assert-plus":
|
|
104760
|
+
},{"assert-plus":558,"safer-buffer":641}],666:[function(require,module,exports){
|
|
104338
104761
|
// Copyright 2015 Joyent, Inc.
|
|
104339
104762
|
|
|
104340
104763
|
module.exports = {
|
|
@@ -104740,7 +105163,7 @@ function opensshCipherInfo(cipher) {
|
|
|
104740
105163
|
return (inf);
|
|
104741
105164
|
}
|
|
104742
105165
|
|
|
104743
|
-
},{"./algs":
|
|
105166
|
+
},{"./algs":642,"./key":662,"./private-key":663,"asn1":557,"assert-plus":558,"crypto":237,"ecc-jsbn/lib/ec":568,"jsbn":604,"safer-buffer":641,"tweetnacl":675}],667:[function(require,module,exports){
|
|
104744
105167
|
/*!
|
|
104745
105168
|
* Copyright (c) 2015, Salesforce.com, Inc.
|
|
104746
105169
|
* All rights reserved.
|
|
@@ -106224,7 +106647,7 @@ exports.permuteDomain = require('./permuteDomain').permuteDomain;
|
|
|
106224
106647
|
exports.permutePath = permutePath;
|
|
106225
106648
|
exports.canonicalDomain = canonicalDomain;
|
|
106226
106649
|
|
|
106227
|
-
},{"./memstore":
|
|
106650
|
+
},{"./memstore":668,"./pathMatch":669,"./permuteDomain":670,"./pubsuffix-psl":671,"./store":672,"./version":673,"net":225,"punycode":343,"url":395,"util":400}],668:[function(require,module,exports){
|
|
106228
106651
|
/*!
|
|
106229
106652
|
* Copyright (c) 2015, Salesforce.com, Inc.
|
|
106230
106653
|
* All rights reserved.
|
|
@@ -106407,7 +106830,7 @@ MemoryCookieStore.prototype.getAllCookies = function(cb) {
|
|
|
106407
106830
|
cb(null, cookies);
|
|
106408
106831
|
};
|
|
106409
106832
|
|
|
106410
|
-
},{"./pathMatch":
|
|
106833
|
+
},{"./pathMatch":669,"./permuteDomain":670,"./store":672,"util":400}],669:[function(require,module,exports){
|
|
106411
106834
|
/*!
|
|
106412
106835
|
* Copyright (c) 2015, Salesforce.com, Inc.
|
|
106413
106836
|
* All rights reserved.
|
|
@@ -106470,7 +106893,7 @@ function pathMatch (reqPath, cookiePath) {
|
|
|
106470
106893
|
|
|
106471
106894
|
exports.pathMatch = pathMatch;
|
|
106472
106895
|
|
|
106473
|
-
},{}],
|
|
106896
|
+
},{}],670:[function(require,module,exports){
|
|
106474
106897
|
/*!
|
|
106475
106898
|
* Copyright (c) 2015, Salesforce.com, Inc.
|
|
106476
106899
|
* All rights reserved.
|
|
@@ -106528,7 +106951,7 @@ function permuteDomain (domain) {
|
|
|
106528
106951
|
|
|
106529
106952
|
exports.permuteDomain = permuteDomain;
|
|
106530
106953
|
|
|
106531
|
-
},{"./pubsuffix-psl":
|
|
106954
|
+
},{"./pubsuffix-psl":671}],671:[function(require,module,exports){
|
|
106532
106955
|
/*!
|
|
106533
106956
|
* Copyright (c) 2018, Salesforce.com, Inc.
|
|
106534
106957
|
* All rights reserved.
|
|
@@ -106568,7 +106991,7 @@ function getPublicSuffix(domain) {
|
|
|
106568
106991
|
|
|
106569
106992
|
exports.getPublicSuffix = getPublicSuffix;
|
|
106570
106993
|
|
|
106571
|
-
},{"psl":
|
|
106994
|
+
},{"psl":618}],672:[function(require,module,exports){
|
|
106572
106995
|
/*!
|
|
106573
106996
|
* Copyright (c) 2015, Salesforce.com, Inc.
|
|
106574
106997
|
* All rights reserved.
|
|
@@ -106645,11 +107068,11 @@ Store.prototype.getAllCookies = function(cb) {
|
|
|
106645
107068
|
throw new Error('getAllCookies is not implemented (therefore jar cannot be serialized)');
|
|
106646
107069
|
};
|
|
106647
107070
|
|
|
106648
|
-
},{}],
|
|
107071
|
+
},{}],673:[function(require,module,exports){
|
|
106649
107072
|
// generated by genversion
|
|
106650
107073
|
module.exports = '2.5.0'
|
|
106651
107074
|
|
|
106652
|
-
},{}],
|
|
107075
|
+
},{}],674:[function(require,module,exports){
|
|
106653
107076
|
(function (process){(function (){
|
|
106654
107077
|
'use strict'
|
|
106655
107078
|
|
|
@@ -106897,7 +107320,7 @@ if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) {
|
|
|
106897
107320
|
exports.debug = debug // for test
|
|
106898
107321
|
|
|
106899
107322
|
}).call(this)}).call(this,require('_process'))
|
|
106900
|
-
},{"_process":335,"assert":172,"events":266,"http":387,"https":298,"net":225,"safe-buffer":
|
|
107323
|
+
},{"_process":335,"assert":172,"events":266,"http":387,"https":298,"net":225,"safe-buffer":640,"tls":225,"util":400}],675:[function(require,module,exports){
|
|
106901
107324
|
(function(nacl) {
|
|
106902
107325
|
'use strict';
|
|
106903
107326
|
|
|
@@ -109287,7 +109710,7 @@ nacl.setPRNG = function(fn) {
|
|
|
109287
109710
|
|
|
109288
109711
|
})(typeof module !== 'undefined' && module.exports ? module.exports : (self.nacl = self.nacl || {}));
|
|
109289
109712
|
|
|
109290
|
-
},{"crypto":179}],
|
|
109713
|
+
},{"crypto":179}],676:[function(require,module,exports){
|
|
109291
109714
|
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
109292
109715
|
(function (global, factory) {
|
|
109293
109716
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -110732,7 +111155,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
110732
111155
|
})));
|
|
110733
111156
|
|
|
110734
111157
|
|
|
110735
|
-
},{}],
|
|
111158
|
+
},{}],677:[function(require,module,exports){
|
|
110736
111159
|
var v1 = require('./v1');
|
|
110737
111160
|
var v4 = require('./v4');
|
|
110738
111161
|
|
|
@@ -110742,7 +111165,7 @@ uuid.v4 = v4;
|
|
|
110742
111165
|
|
|
110743
111166
|
module.exports = uuid;
|
|
110744
111167
|
|
|
110745
|
-
},{"./v1":
|
|
111168
|
+
},{"./v1":680,"./v4":681}],678:[function(require,module,exports){
|
|
110746
111169
|
/**
|
|
110747
111170
|
* Convert array of 16 byte values to UUID string format of the form:
|
|
110748
111171
|
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
@@ -110767,7 +111190,7 @@ function bytesToUuid(buf, offset) {
|
|
|
110767
111190
|
|
|
110768
111191
|
module.exports = bytesToUuid;
|
|
110769
111192
|
|
|
110770
|
-
},{}],
|
|
111193
|
+
},{}],679:[function(require,module,exports){
|
|
110771
111194
|
(function (global){(function (){
|
|
110772
111195
|
// Unique ID creation requires a high quality random # generator. In the
|
|
110773
111196
|
// browser this is a little complicated due to unknown quality of Math.random()
|
|
@@ -110804,7 +111227,7 @@ if (!rng) {
|
|
|
110804
111227
|
module.exports = rng;
|
|
110805
111228
|
|
|
110806
111229
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
110807
|
-
},{}],
|
|
111230
|
+
},{}],680:[function(require,module,exports){
|
|
110808
111231
|
var rng = require('./lib/rng');
|
|
110809
111232
|
var bytesToUuid = require('./lib/bytesToUuid');
|
|
110810
111233
|
|
|
@@ -110906,7 +111329,7 @@ function v1(options, buf, offset) {
|
|
|
110906
111329
|
|
|
110907
111330
|
module.exports = v1;
|
|
110908
111331
|
|
|
110909
|
-
},{"./lib/bytesToUuid":
|
|
111332
|
+
},{"./lib/bytesToUuid":678,"./lib/rng":679}],681:[function(require,module,exports){
|
|
110910
111333
|
var rng = require('./lib/rng');
|
|
110911
111334
|
var bytesToUuid = require('./lib/bytesToUuid');
|
|
110912
111335
|
|
|
@@ -110937,7 +111360,7 @@ function v4(options, buf, offset) {
|
|
|
110937
111360
|
|
|
110938
111361
|
module.exports = v4;
|
|
110939
111362
|
|
|
110940
|
-
},{"./lib/bytesToUuid":
|
|
111363
|
+
},{"./lib/bytesToUuid":678,"./lib/rng":679}],682:[function(require,module,exports){
|
|
110941
111364
|
/*
|
|
110942
111365
|
* verror.js: richer JavaScript errors
|
|
110943
111366
|
*/
|
|
@@ -111390,4 +111813,4 @@ WError.prototype.cause = function we_cause(c)
|
|
|
111390
111813
|
return (this.jse_cause);
|
|
111391
111814
|
};
|
|
111392
111815
|
|
|
111393
|
-
},{"assert-plus":
|
|
111816
|
+
},{"assert-plus":558,"core-util-is":565,"extsprintf":571,"util":400}]},{},[403]);
|