diff --git a/docs/api.json b/docs/api.json index 72495c2..3217ece 100644 --- a/docs/api.json +++ b/docs/api.json @@ -7,7 +7,7 @@ }, "children": [ { - "id": 210, + "id": 196, "name": "\"BrowserStackTunnel\"", "kind": 1, "kindString": "External module", @@ -18,7 +18,7 @@ "originalName": "src/BrowserStackTunnel.ts", "children": [ { - "id": 211, + "id": 197, "name": "BrowserStackTunnel", "kind": 128, "kindString": "Class", @@ -30,9 +30,30 @@ "shortText": "A BrowserStack tunnel.", "text": "The accessKey and username properties will be initialized using\nBROWSERSTACK_ACCESS_KEY and BROWSERSTACK_USERNAME.\n" }, + "typeParameter": [ + { + "id": 284, + "name": "O", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ], "children": [ { - "id": 217, + "id": 203, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -42,7 +63,7 @@ }, "signatures": [ { - "id": 218, + "id": 204, "name": "new BrowserStackTunnel", "kind": 16384, "kindString": "Constructor signature", @@ -51,7 +72,7 @@ }, "parameters": [ { - "id": 219, + "id": 205, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -62,14 +83,14 @@ "type": { "type": "reference", "name": "BrowserStackOptions", - "id": 322 + "id": 328 } } ], "type": { "type": "reference", "name": "BrowserStackTunnel", - "id": 211 + "id": 197 }, "overwrites": { "type": "reference", @@ -81,7 +102,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 50, + "line": 49, "character": 21 } ], @@ -92,7 +113,34 @@ } }, { - "id": 263, + "id": 285, + "name": "___typeMap__", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isProtected": true, + "isOptional": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 28, + "character": 25 + } + ], + "type": { + "type": "reference", + "name": "M" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.__typeMap__" + } + }, + { + "id": 248, "name": "_handle", "kind": 1024, "kindString": "Property", @@ -104,7 +152,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 137, + "line": 133, "character": 18 } ], @@ -124,11 +172,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._handle", - "id": 47 + "id": 46 } }, { - "id": 264, + "id": 249, "name": "_process", "kind": 1024, "kindString": "Property", @@ -140,7 +188,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 138, + "line": 134, "character": 19 } ], @@ -160,11 +208,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._process", - "id": 48 + "id": 47 } }, { - "id": 261, + "id": 246, "name": "_startTask", "kind": 1024, "kindString": "Property", @@ -176,7 +224,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 135, + "line": 131, "character": 21 } ], @@ -202,11 +250,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._startTask", - "id": 45 + "id": 44 } }, { - "id": 265, + "id": 250, "name": "_state", "kind": 1024, "kindString": "Property", @@ -218,7 +266,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 139, + "line": 135, "character": 17 } ], @@ -247,11 +295,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._state", - "id": 49 + "id": 48 } }, { - "id": 262, + "id": 247, "name": "_stopTask", "kind": 1024, "kindString": "Property", @@ -263,7 +311,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 136, + "line": 132, "character": 20 } ], @@ -289,11 +337,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._stopTask", - "id": 46 + "id": 45 } }, { - "id": 249, + "id": 234, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -307,7 +355,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 56, + "line": 52, "character": 10 } ], @@ -318,16 +366,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.accessKey", - "id": 30 + "id": 29 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.accessKey", - "id": 159 + "id": 178 } }, { - "id": 251, + "id": 236, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -341,7 +389,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 68, + "line": 64, "character": 13 } ], @@ -352,16 +400,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.architecture", - "id": 32 + "id": 31 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.architecture", - "id": 157 + "id": 176 } }, { - "id": 212, + "id": 198, "name": "automateOnly", "kind": 1024, "kindString": "Property", @@ -375,7 +423,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 29, + "line": 28, "character": 13 } ], @@ -385,7 +433,7 @@ } }, { - "id": 252, + "id": 237, "name": "directory", "kind": 1024, "kindString": "Property", @@ -399,7 +447,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 81, + "line": 77, "character": 10 } ], @@ -410,16 +458,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.directory", - "id": 34 + "id": 33 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.directory", - "id": 169 + "id": 188 } }, { - "id": 248, + "id": 233, "name": "environmentUrl", "kind": 1024, "kindString": "Property", @@ -433,7 +481,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 50, + "line": 46, "character": 15 } ], @@ -444,11 +492,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.environmentUrl", - "id": 29 + "id": 28 } }, { - "id": 216, + "id": 202, "name": "forceLocal", "kind": 1024, "kindString": "Property", @@ -462,7 +510,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 50, + "line": 49, "character": 11 } ], @@ -472,7 +520,7 @@ } }, { - "id": 253, + "id": 238, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -486,7 +534,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 94, + "line": 90, "character": 9 } ], @@ -497,16 +545,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.hostname", - "id": 36 + "id": 35 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.hostname", - "id": 161 + "id": 180 } }, { - "id": 213, + "id": 199, "name": "killOtherTunnels", "kind": 1024, "kindString": "Property", @@ -520,7 +568,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 35, + "line": 34, "character": 17 } ], @@ -530,37 +578,94 @@ } }, { - "id": 247, - "name": "on", + "id": 286, + "name": "listenersMap", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, "comment": { - "shortText": "Register an event listener" + "shortText": "map of listeners keyed by event type" }, "sources": [ { - "fileName": "Tunnel.ts", - "line": 44, - "character": 3 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 32, + "character": 26 } ], "type": { "type": "reference", - "name": "RegisterListener", - "id": 172 + "name": "Map", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "unknown", + "name": "keyof M" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + }, + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "unknown", + "name": "keyof M" + }, + { + "type": "unknown", + "name": "M[keyof M]" + } + ] + } + ] + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.on", - "id": 28 + "name": "Evented.listenersMap" } }, { - "id": 254, + "id": 239, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -574,7 +679,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 100, + "line": 96, "character": 9 } ], @@ -585,16 +690,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.pathname", - "id": 37 + "id": 36 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.pathname", - "id": 162 + "id": 181 } }, { - "id": 255, + "id": 240, "name": "platform", "kind": 1024, "kindString": "Property", @@ -608,7 +713,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 106, + "line": 102, "character": 9 } ], @@ -619,16 +724,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.platform", - "id": 38 + "id": 37 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.platform", - "id": 163 + "id": 182 } }, { - "id": 256, + "id": 241, "name": "port", "kind": 1024, "kindString": "Property", @@ -642,7 +747,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 112, + "line": 108, "character": 5 } ], @@ -653,16 +758,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.port", - "id": 39 + "id": 38 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.port", - "id": 164 + "id": 183 } }, { - "id": 257, + "id": 242, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -676,7 +781,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 118, + "line": 114, "character": 9 } ], @@ -687,16 +792,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.protocol", - "id": 40 + "id": 39 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.protocol", - "id": 165 + "id": 184 } }, { - "id": 258, + "id": 243, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -710,7 +815,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 124, + "line": 120, "character": 6 } ], @@ -721,16 +826,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.proxy", - "id": 41 + "id": 40 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.proxy", - "id": 170 + "id": 189 } }, { - "id": 214, + "id": 200, "name": "servers", "kind": 1024, "kindString": "Property", @@ -744,7 +849,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 41, + "line": 40, "character": 8 } ], @@ -766,7 +871,7 @@ } }, { - "id": 215, + "id": 201, "name": "skipServerValidation", "kind": 1024, "kindString": "Property", @@ -780,7 +885,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 47, + "line": 46, "character": 21 } ], @@ -790,7 +895,7 @@ } }, { - "id": 259, + "id": 244, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -804,7 +909,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 127, + "line": 123, "character": 9 } ], @@ -815,16 +920,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.tunnelId", - "id": 42 + "id": 41 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.tunnelId", - "id": 166 + "id": 185 } }, { - "id": 250, + "id": 235, "name": "username", "kind": 1024, "kindString": "Property", @@ -838,7 +943,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 62, + "line": 58, "character": 9 } ], @@ -849,16 +954,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.username", - "id": 31 + "id": 30 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.username", - "id": 167 + "id": 186 } }, { - "id": 260, + "id": 245, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -872,7 +977,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 133, + "line": 129, "character": 8 } ], @@ -883,42 +988,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.verbose", - "id": 44 + "id": 43 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.verbose", - "id": 168 - } - }, - { - "id": 299, - "name": "on", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExported": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "node_modules/@dojo/core/Evented.d.ts", - "line": 50, - "character": 6 - } - ], - "type": { - "type": "reference", - "name": "BaseEventedEvents" - }, - "inheritedFrom": { - "type": "reference", - "name": "Evented.on" + "id": 187 } }, { - "id": 220, + "id": 206, "name": "auth", "kind": 262144, "kindString": "Accessor", @@ -928,7 +1007,7 @@ }, "getSignature": [ { - "id": 221, + "id": 207, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -942,30 +1021,30 @@ "overwrites": { "type": "reference", "name": "Tunnel.auth", - "id": 33 + "id": 32 } } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 75, + "line": 74, "character": 9 } ], "overwrites": { "type": "reference", "name": "Tunnel.auth", - "id": 33 + "id": 32 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.auth", - "id": 158 + "id": 177 } }, { - "id": 266, + "id": 251, "name": "clientUrl", "kind": 262144, "kindString": "Accessor", @@ -978,7 +1057,7 @@ }, "getSignature": [ { - "id": 267, + "id": 252, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -995,25 +1074,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.clientUrl", - "id": 50 + "id": 49 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 149, + "line": 145, "character": 14 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.clientUrl", - "id": 50 + "id": 49 } }, { - "id": 222, + "id": 208, "name": "executable", "kind": 262144, "kindString": "Accessor", @@ -1023,7 +1102,7 @@ }, "getSignature": [ { - "id": 223, + "id": 209, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -1037,30 +1116,30 @@ "overwrites": { "type": "reference", "name": "Tunnel.executable", - "id": 35 + "id": 34 } } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 79, + "line": 78, "character": 15 } ], "overwrites": { "type": "reference", "name": "Tunnel.executable", - "id": 35 + "id": 34 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.executable", - "id": 160 + "id": 179 } }, { - "id": 224, + "id": 210, "name": "extraCapabilities", "kind": 262144, "kindString": "Accessor", @@ -1070,7 +1149,7 @@ }, "getSignature": [ { - "id": 225, + "id": 211, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -1084,25 +1163,25 @@ "overwrites": { "type": "reference", "name": "Tunnel.extraCapabilities", - "id": 52 + "id": 51 } } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 86, + "line": 85, "character": 22 } ], "overwrites": { "type": "reference", "name": "Tunnel.extraCapabilities", - "id": 52 + "id": 51 } }, { - "id": 268, + "id": 253, "name": "isDownloaded", "kind": 262144, "kindString": "Accessor", @@ -1115,7 +1194,7 @@ }, "getSignature": [ { - "id": 269, + "id": 254, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -1132,25 +1211,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isDownloaded", - "id": 54 + "id": 53 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 164, + "line": 160, "character": 17 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isDownloaded", - "id": 54 + "id": 53 } }, { - "id": 270, + "id": 255, "name": "isRunning", "kind": 262144, "kindString": "Accessor", @@ -1163,7 +1242,7 @@ }, "getSignature": [ { - "id": 271, + "id": 256, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -1180,25 +1259,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isRunning", - "id": 56 + "id": 55 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 171, + "line": 167, "character": 14 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isRunning", - "id": 56 + "id": 55 } }, { - "id": 272, + "id": 257, "name": "isStarting", "kind": 262144, "kindString": "Accessor", @@ -1211,7 +1290,7 @@ }, "getSignature": [ { - "id": 273, + "id": 258, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -1228,25 +1307,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isStarting", - "id": 58 + "id": 57 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 178, + "line": 174, "character": 15 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isStarting", - "id": 58 + "id": 57 } }, { - "id": 274, + "id": 259, "name": "isStopping", "kind": 262144, "kindString": "Accessor", @@ -1259,7 +1338,7 @@ }, "getSignature": [ { - "id": 275, + "id": 260, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -1276,25 +1355,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isStopping", - "id": 60 + "id": 59 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 185, + "line": 181, "character": 15 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isStopping", - "id": 60 + "id": 59 } }, { - "id": 226, + "id": 212, "name": "url", "kind": 262144, "kindString": "Accessor", @@ -1304,7 +1383,7 @@ }, "getSignature": [ { - "id": 227, + "id": 213, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -1318,30 +1397,30 @@ "overwrites": { "type": "reference", "name": "Tunnel.url", - "id": 43 + "id": 42 } } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 98, + "line": 97, "character": 8 } ], "overwrites": { "type": "reference", "name": "Tunnel.url", - "id": 43 + "id": 42 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.url", - "id": 171 + "id": 190 } }, { - "id": 279, + "id": 264, "name": "_downloadFile", "kind": 2048, "kindString": "Method", @@ -1352,7 +1431,7 @@ }, "signatures": [ { - "id": 280, + "id": 265, "name": "_downloadFile", "kind": 4096, "kindString": "Call signature", @@ -1361,7 +1440,7 @@ }, "parameters": [ { - "id": 281, + "id": 266, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -1374,7 +1453,7 @@ } }, { - "id": 282, + "id": 267, "name": "proxy", "kind": 32768, "kindString": "Parameter", @@ -1387,7 +1466,7 @@ } }, { - "id": 283, + "id": 268, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1398,7 +1477,7 @@ "type": { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } } ], @@ -1415,25 +1494,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._downloadFile", - "id": 65 + "id": 64 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 209, + "line": 205, "character": 24 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel._downloadFile", - "id": 65 + "id": 64 } }, { - "id": 232, + "id": 218, "name": "_makeArgs", "kind": 2048, "kindString": "Method", @@ -1444,7 +1523,7 @@ }, "signatures": [ { - "id": 233, + "id": 219, "name": "_makeArgs", "kind": 4096, "kindString": "Call signature", @@ -1453,7 +1532,7 @@ }, "parameters": [ { - "id": 234, + "id": 220, "name": "_values", "kind": 32768, "kindString": "Parameter", @@ -1480,25 +1559,25 @@ "overwrites": { "type": "reference", "name": "Tunnel._makeArgs", - "id": 74 + "id": 73 } } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 133, + "line": 132, "character": 20 } ], "overwrites": { "type": "reference", "name": "Tunnel._makeArgs", - "id": 74 + "id": 73 } }, { - "id": 284, + "id": 269, "name": "_makeChild", "kind": 2048, "kindString": "Method", @@ -1509,7 +1588,7 @@ }, "signatures": [ { - "id": 285, + "id": 270, "name": "_makeChild", "kind": 4096, "kindString": "Call signature", @@ -1523,7 +1602,7 @@ }, "parameters": [ { - "id": 286, + "id": 271, "name": "executor", "kind": 32768, "kindString": "Parameter", @@ -1533,11 +1612,11 @@ "type": { "type": "reference", "name": "ChildExecutor", - "id": 129 + "id": 148 } }, { - "id": 287, + "id": 272, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -1567,25 +1646,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._makeChild", - "id": 77 + "id": 76 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 304, + "line": 300, "character": 21 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel._makeChild", - "id": 77 + "id": 76 } }, { - "id": 288, + "id": 273, "name": "_makeOptions", "kind": 2048, "kindString": "Method", @@ -1596,7 +1675,7 @@ }, "signatures": [ { - "id": 289, + "id": 274, "name": "_makeOptions", "kind": 4096, "kindString": "Call signature", @@ -1610,7 +1689,7 @@ }, "parameters": [ { - "id": 290, + "id": 275, "name": "_values", "kind": 32768, "kindString": "Parameter", @@ -1630,7 +1709,7 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 276, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1639,7 +1718,7 @@ }, "children": [ { - "id": 292, + "id": 277, "name": "env", "kind": 32, "kindString": "Variable", @@ -1649,7 +1728,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 392, + "line": 388, "character": 14 } ], @@ -1665,7 +1744,7 @@ "title": "Variables", "kind": 32, "children": [ - 292 + 277 ] } ] @@ -1674,25 +1753,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._makeOptions", - "id": 81 + "id": 80 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 391, + "line": 387, "character": 23 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel._makeOptions", - "id": 81 + "id": 80 } }, { - "id": 244, + "id": 230, "name": "_normalizeEnvironment", "kind": 2048, "kindString": "Method", @@ -1703,7 +1782,7 @@ }, "signatures": [ { - "id": 245, + "id": 231, "name": "_normalizeEnvironment", "kind": 4096, "kindString": "Call signature", @@ -1717,7 +1796,7 @@ }, "parameters": [ { - "id": 246, + "id": 232, "name": "environment", "kind": 32768, "kindString": "Parameter", @@ -1736,30 +1815,30 @@ "type": { "type": "reference", "name": "NormalizedEnvironment", - "id": 143 + "id": 162 }, "overwrites": { "type": "reference", "name": "Tunnel._normalizeEnvironment", - "id": 101 + "id": 100 } } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 292, + "line": 291, "character": 32 } ], "overwrites": { "type": "reference", "name": "Tunnel._normalizeEnvironment", - "id": 101 + "id": 100 } }, { - "id": 228, + "id": 214, "name": "_postDownloadFile", "kind": 2048, "kindString": "Method", @@ -1770,7 +1849,7 @@ }, "signatures": [ { - "id": 229, + "id": 215, "name": "_postDownloadFile", "kind": 4096, "kindString": "Call signature", @@ -1779,7 +1858,7 @@ }, "parameters": [ { - "id": 230, + "id": 216, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -1792,7 +1871,7 @@ } }, { - "id": 231, + "id": 217, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1803,7 +1882,7 @@ "type": { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } } ], @@ -1820,25 +1899,25 @@ "overwrites": { "type": "reference", "name": "Tunnel._postDownloadFile", - "id": 70 + "id": 69 } } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 123, + "line": 122, "character": 28 } ], "overwrites": { "type": "reference", "name": "Tunnel._postDownloadFile", - "id": 70 + "id": 69 } }, { - "id": 239, + "id": 225, "name": "_start", "kind": 2048, "kindString": "Method", @@ -1849,7 +1928,7 @@ }, "signatures": [ { - "id": 240, + "id": 226, "name": "_start", "kind": 4096, "kindString": "Call signature", @@ -1858,7 +1937,7 @@ }, "parameters": [ { - "id": 241, + "id": 227, "name": "executor", "kind": 32768, "kindString": "Parameter", @@ -1868,7 +1947,7 @@ "type": { "type": "reference", "name": "ChildExecutor", - "id": 129 + "id": 148 } } ], @@ -1885,25 +1964,25 @@ "overwrites": { "type": "reference", "name": "Tunnel._start", - "id": 92 + "id": 91 } } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 211, + "line": 210, "character": 17 } ], "overwrites": { "type": "reference", "name": "Tunnel._start", - "id": 92 + "id": 91 } }, { - "id": 242, + "id": 228, "name": "_stop", "kind": 2048, "kindString": "Method", @@ -1914,7 +1993,7 @@ }, "signatures": [ { - "id": 243, + "id": 229, "name": "_stop", "kind": 4096, "kindString": "Call signature", @@ -1934,26 +2013,26 @@ "overwrites": { "type": "reference", "name": "Tunnel._stop", - "id": 97 + "id": 96 } } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 246, + "line": 245, "character": 16 } ], "overwrites": { "type": "reference", "name": "Tunnel._stop", - "id": 97 + "id": 96 } }, { - "id": 276, - "name": "download", + "id": 304, + "name": "destroy", "kind": 2048, "kindString": "Method", "flags": { @@ -1962,70 +2041,48 @@ }, "signatures": [ { - "id": 277, - "name": "download", + "id": 305, + "name": "destroy", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Downloads and extracts the tunnel software if it is not already\ndownloaded.", - "text": "This method can be extended by implementations to perform any necessary\npost-processing, such as setting appropriate file permissions on the\ndownloaded executable.\n", - "returns": "A promise that resolves once the download and extraction process\nhas completed.\n" + "shortText": "Destrpys all handers registered for the instance", + "returns": "a promise that resolves once all handles have been destroyed\n" }, - "parameters": [ - { - "id": 278, - "name": "forceDownload", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "comment": { - "text": "Force downloading the software even if it already\nhas been downloaded." - }, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], "type": { "type": "reference", - "name": "Task", + "name": "Promise", "typeArguments": [ { "type": "intrinsic", - "name": "void" + "name": "any" } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Destroyable.destroy" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 202, - "character": 9 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 23, + "character": 11 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Destroyable.destroy" } }, { - "id": 297, - "name": "getEnvironments", + "id": 261, + "name": "download", "kind": 2048, "kindString": "Method", "flags": { @@ -2034,55 +2091,70 @@ }, "signatures": [ { - "id": 298, - "name": "getEnvironments", + "id": 262, + "name": "download", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Get a list of environments available on the service.", - "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", - "returns": "An object containing the response and helper functions\n" + "shortText": "Downloads and extracts the tunnel software if it is not already\ndownloaded.", + "text": "This method can be extended by implementations to perform any necessary\npost-processing, such as setting appropriate file permissions on the\ndownloaded executable.\n", + "returns": "A promise that resolves once the download and extraction process\nhas completed.\n" }, + "parameters": [ + { + "id": 263, + "name": "forceDownload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "comment": { + "text": "Force downloading the software even if it already\nhas been downloaded." + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + } + ], "type": { "type": "reference", "name": "Task", "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 - } + "type": "intrinsic", + "name": "void" } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Tunnel.download", + "id": 61 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 581, - "character": 16 + "line": 198, + "character": 9 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Tunnel.download", + "id": 61 } }, { - "id": 235, - "name": "sendJobState", + "id": 287, + "name": "emit", "kind": 2048, "kindString": "Method", "flags": { @@ -2091,75 +2163,121 @@ }, "signatures": [ { - "id": 236, - "name": "sendJobState", + "id": 288, + "name": "emit", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Emits the event objet for the specified type" + }, + "typeParameter": [ + { + "id": 289, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], "parameters": [ { - "id": 237, - "name": "jobId", + "id": 290, + "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, + "comment": { + "text": "the event to emit\n" + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "unknown", + "name": "M[K]" } - }, + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.emit" + } + }, + { + "id": 291, + "name": "emit", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ { - "id": 238, - "name": "data", + "id": 292, + "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "JobState", - "id": 15 + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } } } ], "type": { - "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ] + "type": "intrinsic", + "name": "void" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.sendJobState", - "id": 86 + "name": "Evented.emit" } } ], "sources": [ { - "fileName": "BrowserStackTunnel.ts", - "line": 180, - "character": 13 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 38, + "character": 8 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 39, + "character": 8 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.sendJobState", - "id": 86 + "name": "Evented.emit" } }, { - "id": 293, - "name": "start", + "id": 282, + "name": "getEnvironments", "kind": 2048, "kindString": "Method", "flags": { @@ -2168,50 +2286,55 @@ }, "signatures": [ { - "id": 294, - "name": "start", + "id": 283, + "name": "getEnvironments", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Starts the tunnel, automatically downloading dependencies if necessary.", - "returns": "A promise that resolves once the tunnel has been established.\n" + "shortText": "Get a list of environments available on the service.", + "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", + "returns": "An object containing the response and helper functions\n" }, "type": { "type": "reference", "name": "Task", "typeArguments": [ { - "type": "intrinsic", - "name": "any" + "type": "array", + "elementType": { + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 + } } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.start", - "id": 90 + "name": "Tunnel.getEnvironments", + "id": 98 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 413, - "character": 6 + "line": 577, + "character": 16 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.start", - "id": 90 + "name": "Tunnel.getEnvironments", + "id": 98 } }, { - "id": 295, - "name": "stop", + "id": 293, + "name": "on", "kind": 2048, "kindString": "Method", "flags": { @@ -2220,46 +2343,427 @@ }, "signatures": [ { - "id": 296, - "name": "stop", + "id": 294, + "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Stops the tunnel.", - "returns": "A promise that resolves to the exit code for the tunnel once it\nhas been terminated.\n" - }, - "type": { - "type": "reference", - "name": "Promise", - "typeArguments": [ + "shortText": "Catch all handler for various call signatures. The signatures are defined in\n`BaseEventedEvents`. You can add your own event type -> handler types by extending\n`BaseEventedEvents`. See example for details.", + "returns": "\n", + "tags": [ { - "type": "intrinsic", - "name": "number" + "tag": "example", + "text": "\n\ninterface WidgetBaseEvents extends BaseEventedEvents {\n (type: 'properties:changed', handler: PropertiesChangedHandler): Handle;\n}\nclass WidgetBase extends Evented {\n on: WidgetBaseEvents;\n}\n" } ] }, + "typeParameter": [ + { + "id": 295, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], + "parameters": [ + { + "id": 296, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + } + }, + { + "id": 297, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + }, + { + "type": "unknown", + "name": "M[K]" + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" + }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.stop", - "id": 95 + "name": "Evented.on" } - } - ], - "sources": [ + }, { - "fileName": "Tunnel.ts", - "line": 500, - "character": 5 - } - ], - "inheritedFrom": { - "type": "reference", - "name": "Tunnel.stop", - "id": 95 - } + "id": 298, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 299, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 300, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + } + ], + "sources": [ + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 58, + "character": 6 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 59, + "character": 6 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + }, + { + "id": 301, + "name": "own", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "__visited__": true + }, + "signatures": [ + { + "id": 302, + "name": "own", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Register handles for the instance that will be destroyed when `this.destroy` is called", + "returns": "a handle for the handle, removes the handle for the instance and calls destroy\n" + }, + "parameters": [ + { + "id": 303, + "name": "handles", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Handle" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "Handle" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" + }, + "inheritedFrom": { + "type": "reference", + "name": "Destroyable.own" + } + } + ], + "sources": [ + { + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 17, + "character": 7 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Destroyable.own" + } + }, + { + "id": 221, + "name": "sendJobState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "__visited__": true + }, + "signatures": [ + { + "id": 222, + "name": "sendJobState", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 223, + "name": "jobId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 224, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "JobState", + "id": 15 + } + } + ], + "type": { + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] + }, + "overwrites": { + "type": "reference", + "name": "Tunnel.sendJobState", + "id": 85 + } + } + ], + "sources": [ + { + "fileName": "BrowserStackTunnel.ts", + "line": 179, + "character": 13 + } + ], + "overwrites": { + "type": "reference", + "name": "Tunnel.sendJobState", + "id": 85 + } + }, + { + "id": 278, + "name": "start", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "__visited__": true + }, + "signatures": [ + { + "id": 279, + "name": "start", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Starts the tunnel, automatically downloading dependencies if necessary.", + "returns": "A promise that resolves once the tunnel has been established.\n" + }, + "type": { + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.start", + "id": 89 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 409, + "character": 6 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.start", + "id": 89 + } + }, + { + "id": 280, + "name": "stop", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "__visited__": true + }, + "signatures": [ + { + "id": 281, + "name": "stop", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Stops the tunnel.", + "returns": "A promise that resolves to the exit code for the tunnel once it\nhas been terminated.\n" + }, + "type": { + "type": "reference", + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.stop", + "id": 94 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 496, + "character": 5 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.stop", + "id": 94 + } } ], "groups": [ @@ -2267,79 +2771,83 @@ "title": "Constructors", "kind": 512, "children": [ - 217 + 203 ] }, { "title": "Properties", - "kind": 1024, - "children": [ - 263, - 264, - 261, - 265, - 262, - 249, - 251, - 212, - 252, - 248, - 216, - 253, - 213, - 247, - 254, - 255, - 256, - 257, - 258, - 214, - 215, - 259, + "kind": 1024, + "children": [ + 285, + 248, + 249, + 246, 250, - 260, - 299 + 247, + 234, + 236, + 198, + 237, + 233, + 202, + 238, + 199, + 286, + 239, + 240, + 241, + 242, + 243, + 200, + 201, + 244, + 235, + 245 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 220, - 266, - 222, - 224, - 268, - 270, - 272, - 274, - 226 + 206, + 251, + 208, + 210, + 253, + 255, + 257, + 259, + 212 ] }, { "title": "Methods", "kind": 2048, "children": [ - 279, - 232, - 284, - 288, - 244, + 264, + 218, + 269, + 273, + 230, + 214, + 225, 228, - 239, - 242, - 276, - 297, - 235, + 304, + 261, + 287, + 282, 293, - 295 + 301, + 221, + 278, + 280 ] } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 24, + "line": 23, "character": 39 } ], @@ -2354,7 +2862,7 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 }, { "type": "reference", @@ -2363,7 +2871,7 @@ ] }, { - "id": 300, + "id": 306, "name": "BrowserStackProperties", "kind": 256, "kindString": "Interface", @@ -2373,7 +2881,7 @@ }, "children": [ { - "id": 309, + "id": 315, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -2384,7 +2892,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 711, + "line": 718, "character": 10 } ], @@ -2395,11 +2903,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.accessKey", - "id": 159 + "id": 178 } }, { - "id": 307, + "id": 313, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -2410,7 +2918,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 709, + "line": 716, "character": 13 } ], @@ -2421,11 +2929,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.architecture", - "id": 157 + "id": 176 } }, { - "id": 308, + "id": 314, "name": "auth", "kind": 1024, "kindString": "Property", @@ -2436,7 +2944,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 710, + "line": 717, "character": 5 } ], @@ -2447,11 +2955,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.auth", - "id": 158 + "id": 177 } }, { - "id": 301, + "id": 307, "name": "automateOnly", "kind": 1024, "kindString": "Property", @@ -2462,7 +2970,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 340, + "line": 339, "character": 13 } ], @@ -2472,7 +2980,7 @@ } }, { - "id": 319, + "id": 325, "name": "directory", "kind": 1024, "kindString": "Property", @@ -2483,7 +2991,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 679, + "line": 686, "character": 10 } ], @@ -2494,11 +3002,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.directory", - "id": 140 + "id": 159 } }, { - "id": 306, + "id": 312, "name": "environmentUrl", "kind": 1024, "kindString": "Property", @@ -2509,7 +3017,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 345, + "line": 344, "character": 15 } ], @@ -2519,7 +3027,7 @@ } }, { - "id": 310, + "id": 316, "name": "executable", "kind": 1024, "kindString": "Property", @@ -2530,7 +3038,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 712, + "line": 719, "character": 11 } ], @@ -2541,11 +3049,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.executable", - "id": 160 + "id": 179 } }, { - "id": 305, + "id": 311, "name": "forceLocal", "kind": 1024, "kindString": "Property", @@ -2556,7 +3064,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 344, + "line": 343, "character": 11 } ], @@ -2566,7 +3074,7 @@ } }, { - "id": 311, + "id": 317, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -2577,7 +3085,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 713, + "line": 720, "character": 9 } ], @@ -2588,11 +3096,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.hostname", - "id": 161 + "id": 180 } }, { - "id": 302, + "id": 308, "name": "killOtherTunnels", "kind": 1024, "kindString": "Property", @@ -2603,7 +3111,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 341, + "line": 340, "character": 17 } ], @@ -2613,7 +3121,7 @@ } }, { - "id": 312, + "id": 318, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -2624,7 +3132,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 714, + "line": 721, "character": 9 } ], @@ -2635,11 +3143,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.pathname", - "id": 162 + "id": 181 } }, { - "id": 313, + "id": 319, "name": "platform", "kind": 1024, "kindString": "Property", @@ -2650,7 +3158,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 715, + "line": 722, "character": 9 } ], @@ -2661,11 +3169,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.platform", - "id": 163 + "id": 182 } }, { - "id": 314, + "id": 320, "name": "port", "kind": 1024, "kindString": "Property", @@ -2676,7 +3184,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 716, + "line": 723, "character": 5 } ], @@ -2687,11 +3195,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.port", - "id": 164 + "id": 183 } }, { - "id": 315, + "id": 321, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -2702,7 +3210,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 717, + "line": 724, "character": 9 } ], @@ -2713,11 +3221,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.protocol", - "id": 165 + "id": 184 } }, { - "id": 320, + "id": 326, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -2728,7 +3236,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 680, + "line": 687, "character": 6 } ], @@ -2739,11 +3247,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.proxy", - "id": 141 + "id": 160 } }, { - "id": 303, + "id": 309, "name": "servers", "kind": 1024, "kindString": "Property", @@ -2754,7 +3262,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 342, + "line": 341, "character": 8 } ], @@ -2776,7 +3284,7 @@ } }, { - "id": 304, + "id": 310, "name": "skipServerValidation", "kind": 1024, "kindString": "Property", @@ -2787,7 +3295,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 343, + "line": 342, "character": 21 } ], @@ -2797,7 +3305,7 @@ } }, { - "id": 316, + "id": 322, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -2808,7 +3316,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 718, + "line": 725, "character": 9 } ], @@ -2819,11 +3327,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.tunnelId", - "id": 166 + "id": 185 } }, { - "id": 321, + "id": 327, "name": "url", "kind": 1024, "kindString": "Property", @@ -2834,7 +3342,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 681, + "line": 688, "character": 4 } ], @@ -2845,11 +3353,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.url", - "id": 142 + "id": 161 } }, { - "id": 317, + "id": 323, "name": "username", "kind": 1024, "kindString": "Property", @@ -2860,7 +3368,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 719, + "line": 726, "character": 9 } ], @@ -2871,11 +3379,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.username", - "id": 167 + "id": 186 } }, { - "id": 318, + "id": 324, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -2886,7 +3394,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 720, + "line": 727, "character": 8 } ], @@ -2897,7 +3405,7 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.verbose", - "id": 168 + "id": 187 } } ], @@ -2906,34 +3414,34 @@ "title": "Properties", "kind": 1024, "children": [ - 309, + 315, + 313, + 314, 307, + 325, + 312, + 316, + 311, + 317, 308, - 301, + 318, 319, - 306, - 310, - 305, - 311, - 302, - 312, - 313, - 314, - 315, 320, - 303, - 304, - 316, 321, - 317, - 318 + 326, + 309, + 310, + 322, + 327, + 323, + 324 ] } ], "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 339, + "line": 338, "character": 39 } ], @@ -2941,12 +3449,12 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 } ] }, { - "id": 322, + "id": 328, "name": "BrowserStackOptions", "kind": 4194304, "kindString": "Type alias", @@ -2957,7 +3465,7 @@ "sources": [ { "fileName": "BrowserStackTunnel.ts", - "line": 348, + "line": 347, "character": 31 } ], @@ -2968,7 +3476,7 @@ { "type": "reference", "name": "BrowserStackProperties", - "id": 300 + "id": 306 } ] } @@ -2979,21 +3487,21 @@ "title": "Classes", "kind": 128, "children": [ - 211 + 197 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 300 + 306 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 322 + 328 ] } ], @@ -3006,7 +3514,7 @@ ] }, { - "id": 323, + "id": 329, "name": "\"CrossBrowserTestingTunnel\"", "kind": 1, "kindString": "External module", @@ -3017,7 +3525,7 @@ "originalName": "src/CrossBrowserTestingTunnel.ts", "children": [ { - "id": 324, + "id": 330, "name": "CrossBrowserTestingTunnel", "kind": 128, "kindString": "Class", @@ -3029,9 +3537,30 @@ "shortText": "A CrossBrowserTesting tunnel.", "text": "This tunnel requires some non-standard configuration options (vs the other\ntunnels):\n\n1. The capabilities must include the username, API key, browser_api_name, and\n os_api_name properties\n2. The Intern proxyUrl must use 'local' instead of 'localhost'\n\nAn Intern config using this tunnel might be look like:\n\n```js\n{\n \"serverUrl\": \"http://local:9000\",\n \"tunnel\": \"cbt\",\n \"environments\": [\n {\n \"browserName\": \"chrome\",\n \"os_api_name\": \"Win10\",\n \"browser_api_name\": \"Chrome52\"\n }\n ],\n\t // Other Intern config options...\n}\n```\n\nThe username and accessKey properties will be initialized using CBT_USERNAME\nand CBT_APIKEY.\n" }, + "typeParameter": [ + { + "id": 414, + "name": "O", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ], "children": [ { - "id": 335, + "id": 341, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3041,7 +3570,7 @@ }, "signatures": [ { - "id": 336, + "id": 342, "name": "new CrossBrowserTestingTunnel", "kind": 16384, "kindString": "Constructor signature", @@ -3050,7 +3579,7 @@ }, "parameters": [ { - "id": 337, + "id": 343, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3061,14 +3590,14 @@ "type": { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 } } ], "type": { "type": "reference", "name": "CrossBrowserTestingTunnel", - "id": 324 + "id": 330 }, "overwrites": { "type": "reference", @@ -3091,7 +3620,34 @@ } }, { - "id": 372, + "id": 415, + "name": "___typeMap__", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isProtected": true, + "isOptional": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 28, + "character": 25 + } + ], + "type": { + "type": "reference", + "name": "M" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.__typeMap__" + } + }, + { + "id": 377, "name": "_handle", "kind": 1024, "kindString": "Property", @@ -3103,7 +3659,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 137, + "line": 133, "character": 18 } ], @@ -3123,11 +3679,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._handle", - "id": 47 + "id": 46 } }, { - "id": 373, + "id": 378, "name": "_process", "kind": 1024, "kindString": "Property", @@ -3139,7 +3695,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 138, + "line": 134, "character": 19 } ], @@ -3159,11 +3715,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._process", - "id": 48 + "id": 47 } }, { - "id": 370, + "id": 375, "name": "_startTask", "kind": 1024, "kindString": "Property", @@ -3175,7 +3731,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 135, + "line": 131, "character": 21 } ], @@ -3201,11 +3757,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._startTask", - "id": 45 + "id": 44 } }, { - "id": 374, + "id": 379, "name": "_state", "kind": 1024, "kindString": "Property", @@ -3217,7 +3773,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 139, + "line": 135, "character": 17 } ], @@ -3246,11 +3802,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._state", - "id": 49 + "id": 48 } }, { - "id": 371, + "id": 376, "name": "_stopTask", "kind": 1024, "kindString": "Property", @@ -3262,7 +3818,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 136, + "line": 132, "character": 20 } ], @@ -3288,11 +3844,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._stopTask", - "id": 46 + "id": 45 } }, { - "id": 356, + "id": 361, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -3306,7 +3862,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 56, + "line": 52, "character": 10 } ], @@ -3317,16 +3873,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.accessKey", - "id": 30 + "id": 29 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.accessKey", - "id": 159 + "id": 178 } }, { - "id": 358, + "id": 363, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -3340,7 +3896,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 68, + "line": 64, "character": 13 } ], @@ -3351,16 +3907,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.architecture", - "id": 32 + "id": 31 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.architecture", - "id": 157 + "id": 176 } }, { - "id": 325, + "id": 331, "name": "cbtVersion", "kind": 1024, "kindString": "Property", @@ -3381,7 +3937,7 @@ } }, { - "id": 359, + "id": 364, "name": "directory", "kind": 1024, "kindString": "Property", @@ -3395,7 +3951,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 81, + "line": 77, "character": 10 } ], @@ -3406,16 +3962,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.directory", - "id": 34 + "id": 33 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.directory", - "id": 169 + "id": 188 } }, { - "id": 355, + "id": 360, "name": "environmentUrl", "kind": 1024, "kindString": "Property", @@ -3429,7 +3985,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 50, + "line": 46, "character": 15 } ], @@ -3440,11 +3996,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.environmentUrl", - "id": 29 + "id": 28 } }, { - "id": 360, + "id": 365, "name": "executable", "kind": 1024, "kindString": "Property", @@ -3458,7 +4014,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 87, + "line": 83, "character": 11 } ], @@ -3469,16 +4025,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.executable", - "id": 35 + "id": 34 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.executable", - "id": 160 + "id": 179 } }, { - "id": 361, + "id": 366, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -3492,7 +4048,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 94, + "line": 90, "character": 9 } ], @@ -3503,46 +4059,103 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.hostname", - "id": 36 + "id": 35 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.hostname", - "id": 161 + "id": 180 } }, { - "id": 354, - "name": "on", + "id": 416, + "name": "listenersMap", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, "comment": { - "shortText": "Register an event listener" + "shortText": "map of listeners keyed by event type" }, "sources": [ { - "fileName": "Tunnel.ts", - "line": 44, - "character": 3 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 32, + "character": 26 } ], "type": { "type": "reference", - "name": "RegisterListener", - "id": 172 + "name": "Map", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "unknown", + "name": "keyof M" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + }, + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "unknown", + "name": "keyof M" + }, + { + "type": "unknown", + "name": "M[keyof M]" + } + ] + } + ] + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.on", - "id": 28 + "name": "Evented.listenersMap" } }, { - "id": 362, + "id": 367, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -3556,7 +4169,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 100, + "line": 96, "character": 9 } ], @@ -3567,16 +4180,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.pathname", - "id": 37 + "id": 36 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.pathname", - "id": 162 + "id": 181 } }, { - "id": 363, + "id": 368, "name": "platform", "kind": 1024, "kindString": "Property", @@ -3590,7 +4203,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 106, + "line": 102, "character": 9 } ], @@ -3601,16 +4214,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.platform", - "id": 38 + "id": 37 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.platform", - "id": 163 + "id": 182 } }, { - "id": 364, + "id": 369, "name": "port", "kind": 1024, "kindString": "Property", @@ -3624,7 +4237,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 112, + "line": 108, "character": 5 } ], @@ -3635,16 +4248,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.port", - "id": 39 + "id": 38 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.port", - "id": 164 + "id": 183 } }, { - "id": 365, + "id": 370, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -3658,7 +4271,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 118, + "line": 114, "character": 9 } ], @@ -3669,16 +4282,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.protocol", - "id": 40 + "id": 39 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.protocol", - "id": 165 + "id": 184 } }, { - "id": 366, + "id": 371, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -3692,7 +4305,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 124, + "line": 120, "character": 6 } ], @@ -3703,16 +4316,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.proxy", - "id": 41 + "id": 40 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.proxy", - "id": 170 + "id": 189 } }, { - "id": 367, + "id": 372, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -3726,7 +4339,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 127, + "line": 123, "character": 9 } ], @@ -3737,16 +4350,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.tunnelId", - "id": 42 + "id": 41 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.tunnelId", - "id": 166 + "id": 185 } }, { - "id": 368, + "id": 373, "name": "url", "kind": 1024, "kindString": "Property", @@ -3760,7 +4373,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 130, + "line": 126, "character": 4 } ], @@ -3771,16 +4384,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.url", - "id": 43 + "id": 42 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.url", - "id": 171 + "id": 190 } }, { - "id": 357, + "id": 362, "name": "username", "kind": 1024, "kindString": "Property", @@ -3794,7 +4407,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 62, + "line": 58, "character": 9 } ], @@ -3805,16 +4418,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.username", - "id": 31 + "id": 30 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.username", - "id": 167 + "id": 186 } }, { - "id": 369, + "id": 374, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -3828,7 +4441,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 133, + "line": 129, "character": 8 } ], @@ -3839,90 +4452,306 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.verbose", - "id": 44 + "id": 43 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.verbose", - "id": 168 + "id": 187 } }, { - "id": 409, - "name": "on", - "kind": 1024, - "kindString": "Property", + "id": 332, + "name": "auth", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isExported": true, + "__visited__": true + }, + "getSignature": [ + { + "id": 333, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "Tunnel.auth", + "id": 32 + } + } + ], + "sources": [ + { + "fileName": "CrossBrowserTestingTunnel.ts", + "line": 52, + "character": 9 + } + ], + "overwrites": { + "type": "reference", + "name": "Tunnel.auth", + "id": 32 + }, + "implementationOf": { + "type": "reference", + "name": "TunnelProperties.auth", + "id": 177 + } + }, + { + "id": 380, + "name": "clientUrl", + "kind": 262144, + "kindString": "Accessor", "flags": { - "isStatic": true, "isExported": true, "__visited__": true }, + "comment": { + "shortText": "The URL that a WebDriver client should used to interact with this\nservice." + }, + "getSignature": [ + { + "id": 381, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "The URL that a WebDriver client should used to interact with this\nservice." + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.clientUrl", + "id": 49 + } + } + ], "sources": [ { - "fileName": "node_modules/@dojo/core/Evented.d.ts", - "line": 50, - "character": 6 + "fileName": "Tunnel.ts", + "line": 145, + "character": 14 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.clientUrl", + "id": 49 + } + }, + { + "id": 334, + "name": "extraCapabilities", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isExported": true, + "__visited__": true + }, + "getSignature": [ + { + "id": 335, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 336, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "__visited__": true + }, + "children": [ + { + "id": 338, + "name": "password", + "kind": 32, + "kindString": "Variable", + "flags": { + "__visited__": true + }, + "sources": [ + { + "fileName": "CrossBrowserTestingTunnel.ts", + "line": 59, + "character": 11 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": " this.accessKey" + }, + { + "id": 337, + "name": "username", + "kind": 32, + "kindString": "Variable", + "flags": { + "__visited__": true + }, + "sources": [ + { + "fileName": "CrossBrowserTestingTunnel.ts", + "line": 58, + "character": 11 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": " this.username" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 338, + 337 + ] + } + ] + } + }, + "overwrites": { + "type": "reference", + "name": "Tunnel.extraCapabilities", + "id": 51 + } + } + ], + "sources": [ + { + "fileName": "CrossBrowserTestingTunnel.ts", + "line": 56, + "character": 22 + } + ], + "overwrites": { + "type": "reference", + "name": "Tunnel.extraCapabilities", + "id": 51 + } + }, + { + "id": 339, + "name": "isDownloaded", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isExported": true, + "__visited__": true + }, + "getSignature": [ + { + "id": 340, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "name": "Tunnel.isDownloaded", + "id": 53 + } + } + ], + "sources": [ + { + "fileName": "CrossBrowserTestingTunnel.ts", + "line": 63, + "character": 17 } ], - "type": { - "type": "reference", - "name": "BaseEventedEvents" - }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Evented.on" + "name": "Tunnel.isDownloaded", + "id": 53 } }, { - "id": 326, - "name": "auth", + "id": 382, + "name": "isRunning", "kind": 262144, "kindString": "Accessor", "flags": { "isExported": true, "__visited__": true }, + "comment": { + "shortText": "Whether or not the tunnel is currently running." + }, "getSignature": [ { - "id": 327, + "id": 383, "name": "__get", "kind": 524288, "kindString": "Get signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Whether or not the tunnel is currently running." + }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.auth", - "id": 33 + "name": "Tunnel.isRunning", + "id": 55 } } ], "sources": [ { - "fileName": "CrossBrowserTestingTunnel.ts", - "line": 52, - "character": 9 + "fileName": "Tunnel.ts", + "line": 167, + "character": 14 } ], - "overwrites": { - "type": "reference", - "name": "Tunnel.auth", - "id": 33 - }, - "implementationOf": { + "inheritedFrom": { "type": "reference", - "name": "TunnelProperties.auth", - "id": 158 + "name": "Tunnel.isRunning", + "id": 55 } }, { - "id": 375, - "name": "clientUrl", + "id": 384, + "name": "isStarting", "kind": 262144, "kindString": "Accessor", "flags": { @@ -3930,11 +4759,11 @@ "__visited__": true }, "comment": { - "shortText": "The URL that a WebDriver client should used to interact with this\nservice." + "shortText": "Whether or not the tunnel is currently starting up." }, "getSignature": [ { - "id": 376, + "id": 385, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -3942,325 +4771,497 @@ "__visited__": true }, "comment": { - "shortText": "The URL that a WebDriver client should used to interact with this\nservice." + "shortText": "Whether or not the tunnel is currently starting up." }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.clientUrl", - "id": 50 + "name": "Tunnel.isStarting", + "id": 57 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 149, - "character": 14 + "line": 174, + "character": 15 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.clientUrl", - "id": 50 + "name": "Tunnel.isStarting", + "id": 57 } }, { - "id": 328, - "name": "extraCapabilities", + "id": 386, + "name": "isStopping", "kind": 262144, "kindString": "Accessor", "flags": { "isExported": true, "__visited__": true }, + "comment": { + "shortText": "Whether or not the tunnel is currently stopping." + }, "getSignature": [ { - "id": 329, + "id": 387, "name": "__get", "kind": 524288, "kindString": "Get signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Whether or not the tunnel is currently stopping." + }, "type": { - "type": "reflection", - "declaration": { - "id": 330, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.isStopping", + "id": 59 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 181, + "character": 15 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.isStopping", + "id": 59 + } + }, + { + "id": 388, + "name": "_downloadFile", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 389, + "name": "_downloadFile", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 390, + "name": "url", + "kind": 32768, + "kindString": "Parameter", "flags": { "__visited__": true }, - "children": [ - { - "id": 332, - "name": "password", - "kind": 32, - "kindString": "Variable", - "flags": { - "__visited__": true - }, - "sources": [ - { - "fileName": "CrossBrowserTestingTunnel.ts", - "line": 59, - "character": 11 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": " this.accessKey" - }, - { - "id": 331, - "name": "username", - "kind": 32, - "kindString": "Variable", - "flags": { - "__visited__": true - }, - "sources": [ - { - "fileName": "CrossBrowserTestingTunnel.ts", - "line": 58, - "character": 11 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": " this.username" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 332, - 331 - ] - } - ] + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 391, + "name": "proxy", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 392, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true, + "__visited__": true + }, + "type": { + "type": "reference", + "name": "DownloadOptions", + "id": 158 + } } + ], + "type": { + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.extraCapabilities", - "id": 52 + "name": "Tunnel._downloadFile", + "id": 64 } } ], "sources": [ { - "fileName": "CrossBrowserTestingTunnel.ts", - "line": 56, - "character": 22 + "fileName": "Tunnel.ts", + "line": 205, + "character": 24 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.extraCapabilities", - "id": 52 + "name": "Tunnel._downloadFile", + "id": 64 } }, { - "id": 333, - "name": "isDownloaded", - "kind": 262144, - "kindString": "Accessor", + "id": 347, + "name": "_makeArgs", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "getSignature": [ + "signatures": [ { - "id": 334, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 348, + "name": "_makeArgs", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, + "parameters": [ + { + "id": 349, + "name": "readyFile", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } }, "overwrites": { "type": "reference", - "name": "Tunnel.isDownloaded", - "id": 54 + "name": "Tunnel._makeArgs", + "id": 73 } } ], "sources": [ { - "fileName": "CrossBrowserTestingTunnel.ts", - "line": 63, - "character": 17 + "fileName": "CrossBrowserTestingTunnel.ts", + "line": 109, + "character": 20 } ], "overwrites": { "type": "reference", - "name": "Tunnel.isDownloaded", - "id": 54 + "name": "Tunnel._makeArgs", + "id": 73 } }, { - "id": 377, - "name": "isRunning", - "kind": 262144, - "kindString": "Accessor", + "id": 397, + "name": "_makeChild", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "comment": { - "shortText": "Whether or not the tunnel is currently running." - }, - "getSignature": [ + "signatures": [ { - "id": 378, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 398, + "name": "_makeChild", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Whether or not the tunnel is currently running." + "shortText": "Creates a newly spawned child process for the tunnel software.\nImplementations should call this method to create the tunnel process.", + "text": "Arguments passed to this method will be passed as-is to\n[[Tunnel._makeArgs]] and [[Tunnel._makeOptions]].\n", + "returns": "An object containing a newly spawned Process and a Deferred that\nwill be resolved once the tunnel has started successfully.\n" }, + "parameters": [ + { + "id": 399, + "name": "executor", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "ChildExecutor", + "id": 148 + } + }, + { + "id": 400, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true, + "__visited__": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.isRunning", - "id": 56 + "name": "Tunnel._makeChild", + "id": 76 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 171, - "character": 14 + "line": 300, + "character": 21 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.isRunning", - "id": 56 + "name": "Tunnel._makeChild", + "id": 76 } }, { - "id": 379, - "name": "isStarting", - "kind": 262144, - "kindString": "Accessor", + "id": 401, + "name": "_makeOptions", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "comment": { - "shortText": "Whether or not the tunnel is currently starting up." - }, - "getSignature": [ + "signatures": [ { - "id": 380, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 402, + "name": "_makeOptions", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Whether or not the tunnel is currently starting up." + "shortText": "Creates the set of options to use when spawning the tunnel process.\nImplementations should override this method to provide the appropriate\noptions for the tunnel software.", + "text": "Arguments passed to [[Tunnel._makeChild]] will be passed as-is to this\nmethod.\n", + "returns": "A set of options matching those provided to Node.js\n`child_process.spawn`.\n" }, + "parameters": [ + { + "id": 403, + "name": "_values", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true, + "__visited__": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reflection", + "declaration": { + "id": 404, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "__visited__": true + }, + "children": [ + { + "id": 405, + "name": "env", + "kind": 32, + "kindString": "Variable", + "flags": { + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 388, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "defaultValue": " process.env" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 405 + ] + } + ] + } }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.isStarting", - "id": 58 + "name": "Tunnel._makeOptions", + "id": 80 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 178, - "character": 15 + "line": 387, + "character": 23 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.isStarting", - "id": 58 + "name": "Tunnel._makeOptions", + "id": 80 } }, { - "id": 381, - "name": "isStopping", - "kind": 262144, - "kindString": "Accessor", + "id": 357, + "name": "_normalizeEnvironment", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "comment": { - "shortText": "Whether or not the tunnel is currently stopping." - }, - "getSignature": [ + "signatures": [ { - "id": 382, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 358, + "name": "_normalizeEnvironment", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Whether or not the tunnel is currently stopping." + "shortText": "Attempt to normalize a TestingBot described environment with the standard\nSelenium capabilities", + "text": "TestingBot returns a list of environments that looks like:\n\n{\n \"selenium_name\": \"Chrome36\",\n \"name\": \"googlechrome\",\n \"platform\": \"CAPITAN\",\n \"version\":\"36\"\n}\n", + "returns": "a normalized descriptor\n" }, + "parameters": [ + { + "id": 359, + "name": "environment", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "comment": { + "text": "a TestingBot environment descriptor" + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Tunnel.isStopping", - "id": 60 + "name": "Tunnel._normalizeEnvironment", + "id": 100 } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 185, - "character": 15 + "fileName": "CrossBrowserTestingTunnel.ts", + "line": 230, + "character": 32 } ], - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Tunnel.isStopping", - "id": 60 + "name": "Tunnel._normalizeEnvironment", + "id": 100 } }, { - "id": 383, - "name": "_downloadFile", + "id": 393, + "name": "_postDownloadFile", "kind": 2048, "kindString": "Method", "flags": { @@ -4270,43 +5271,33 @@ }, "signatures": [ { - "id": 384, - "name": "_downloadFile", + "id": 394, + "name": "_postDownloadFile", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Called with the response after a file download has completed" + }, "parameters": [ { - "id": 385, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 386, - "name": "proxy", + "id": 395, + "name": "data", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "Buffer" } }, { - "id": 387, - "name": "options", + "id": 396, + "name": "_options", "kind": 32768, "kindString": "Parameter", "flags": { @@ -4316,13 +5307,13 @@ "type": { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } } ], "type": { "type": "reference", - "name": "Task", + "name": "Promise", "typeArguments": [ { "type": "intrinsic", @@ -4332,27 +5323,27 @@ }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._downloadFile", - "id": 65 + "name": "Tunnel._postDownloadFile", + "id": 69 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 209, - "character": 24 + "line": 265, + "character": 28 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._downloadFile", - "id": 65 + "name": "Tunnel._postDownloadFile", + "id": 69 } }, { - "id": 341, - "name": "_makeArgs", + "id": 354, + "name": "_start", "kind": 2048, "kindString": "Method", "flags": { @@ -4362,8 +5353,8 @@ }, "signatures": [ { - "id": 342, - "name": "_makeArgs", + "id": 355, + "name": "_start", "kind": 4096, "kindString": "Call signature", "flags": { @@ -4371,49 +5362,53 @@ }, "parameters": [ { - "id": 343, - "name": "readyFile", + "id": 356, + "name": "executor", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "ChildExecutor", + "id": 148 } } ], "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] }, "overwrites": { "type": "reference", - "name": "Tunnel._makeArgs", - "id": 74 + "name": "Tunnel._start", + "id": 91 } } ], "sources": [ { "fileName": "CrossBrowserTestingTunnel.ts", - "line": 109, - "character": 20 + "line": 172, + "character": 17 } ], "overwrites": { "type": "reference", - "name": "Tunnel._makeArgs", - "id": 74 + "name": "Tunnel._start", + "id": 91 } }, { - "id": 392, - "name": "_makeChild", + "id": 410, + "name": "_stop", "kind": 2048, "kindString": "Method", "flags": { @@ -4423,351 +5418,228 @@ }, "signatures": [ { - "id": 393, - "name": "_makeChild", + "id": 411, + "name": "_stop", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Creates a newly spawned child process for the tunnel software.\nImplementations should call this method to create the tunnel process.", - "text": "Arguments passed to this method will be passed as-is to\n[[Tunnel._makeArgs]] and [[Tunnel._makeOptions]].\n", - "returns": "An object containing a newly spawned Process and a Deferred that\nwill be resolved once the tunnel has started successfully.\n" + "shortText": "This method provides the implementation that actually stops the tunnel.", + "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", + "returns": "A promise that resolves once the tunnel has shut down.\n" }, - "parameters": [ - { - "id": 394, - "name": "executor", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "reference", - "name": "ChildExecutor", - "id": 129 - } - }, - { - "id": 395, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true, - "__visited__": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], "type": { "type": "reference", - "name": "Task", + "name": "Promise", "typeArguments": [ { "type": "intrinsic", - "name": "any" + "name": "number" } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeChild", - "id": 77 + "name": "Tunnel._stop", + "id": 96 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 304, - "character": 21 + "line": 544, + "character": 16 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeChild", - "id": 77 + "name": "Tunnel._stop", + "id": 96 } }, { - "id": 396, - "name": "_makeOptions", + "id": 434, + "name": "destroy", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 397, - "name": "_makeOptions", + "id": 435, + "name": "destroy", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Creates the set of options to use when spawning the tunnel process.\nImplementations should override this method to provide the appropriate\noptions for the tunnel software.", - "text": "Arguments passed to [[Tunnel._makeChild]] will be passed as-is to this\nmethod.\n", - "returns": "A set of options matching those provided to Node.js\n`child_process.spawn`.\n" + "shortText": "Destrpys all handers registered for the instance", + "returns": "a promise that resolves once all handles have been destroyed\n" }, - "parameters": [ - { - "id": 398, - "name": "_values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true, - "__visited__": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], "type": { - "type": "reflection", - "declaration": { - "id": 399, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "__visited__": true - }, - "children": [ - { - "id": 400, - "name": "env", - "kind": 32, - "kindString": "Variable", - "flags": { - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 392, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "defaultValue": " process.env" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 400 - ] - } - ] - } + "type": "reference", + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeOptions", - "id": 81 + "name": "Destroyable.destroy" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 391, - "character": 23 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 23, + "character": 11 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeOptions", - "id": 81 + "name": "Destroyable.destroy" } }, { - "id": 351, - "name": "_normalizeEnvironment", + "id": 344, + "name": "download", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 352, - "name": "_normalizeEnvironment", + "id": 345, + "name": "download", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, - "comment": { - "shortText": "Attempt to normalize a TestingBot described environment with the standard\nSelenium capabilities", - "text": "TestingBot returns a list of environments that looks like:\n\n{\n \"selenium_name\": \"Chrome36\",\n \"name\": \"googlechrome\",\n \"platform\": \"CAPITAN\",\n \"version\":\"36\"\n}\n", - "returns": "a normalized descriptor\n" - }, "parameters": [ { - "id": 353, - "name": "environment", + "id": 346, + "name": "forceDownload", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, - "comment": { - "text": "a TestingBot environment descriptor" - }, "type": { "type": "intrinsic", - "name": "any" - } + "name": "boolean" + }, + "defaultValue": "false" } ], "type": { "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] }, "overwrites": { "type": "reference", - "name": "Tunnel._normalizeEnvironment", - "id": 101 + "name": "Tunnel.download", + "id": 61 } } ], "sources": [ { "fileName": "CrossBrowserTestingTunnel.ts", - "line": 230, - "character": 32 + "line": 90, + "character": 9 } ], "overwrites": { "type": "reference", - "name": "Tunnel._normalizeEnvironment", - "id": 101 + "name": "Tunnel.download", + "id": 61 } }, { - "id": 388, - "name": "_postDownloadFile", + "id": 417, + "name": "emit", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 389, - "name": "_postDownloadFile", + "id": 418, + "name": "emit", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Called with the response after a file download has completed" + "shortText": "Emits the event objet for the specified type" }, - "parameters": [ + "typeParameter": [ { - "id": 390, - "name": "data", - "kind": 32768, - "kindString": "Parameter", + "id": 419, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "Buffer" + "type": "unknown", + "name": "keyof M" } - }, + } + ], + "parameters": [ { - "id": 391, - "name": "_options", + "id": 420, + "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { - "isOptional": true, "__visited__": true }, + "comment": { + "text": "the event to emit\n" + }, "type": { - "type": "reference", - "name": "DownloadOptions", - "id": 139 - } - } - ], - "type": { - "type": "reference", - "name": "Promise", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" + "type": "unknown", + "name": "M[K]" } - ] + } + ], + "type": { + "type": "intrinsic", + "name": "void" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._postDownloadFile", - "id": 70 + "name": "Evented.emit" } - } - ], - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 269, - "character": 28 - } - ], - "inheritedFrom": { - "type": "reference", - "name": "Tunnel._postDownloadFile", - "id": 70 - } - }, - { - "id": 348, - "name": "_start", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true, - "isProtected": true, - "__visited__": true - }, - "signatures": [ + }, { - "id": 349, - "name": "_start", + "id": 421, + "name": "emit", "kind": 4096, "kindString": "Call signature", "flags": { @@ -4775,107 +5647,116 @@ }, "parameters": [ { - "id": 350, - "name": "executor", + "id": 422, + "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "ChildExecutor", - "id": 129 + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } } } ], "type": { - "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ] + "type": "intrinsic", + "name": "void" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._start", - "id": 92 + "name": "Evented.emit" } } ], "sources": [ { - "fileName": "CrossBrowserTestingTunnel.ts", - "line": 172, - "character": 17 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 38, + "character": 8 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 39, + "character": 8 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._start", - "id": 92 + "name": "Evented.emit" } }, { - "id": 405, - "name": "_stop", + "id": 412, + "name": "getEnvironments", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 406, - "name": "_stop", + "id": 413, + "name": "getEnvironments", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "This method provides the implementation that actually stops the tunnel.", - "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", - "returns": "A promise that resolves once the tunnel has shut down.\n" + "shortText": "Get a list of environments available on the service.", + "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", + "returns": "An object containing the response and helper functions\n" }, "type": { "type": "reference", - "name": "Promise", + "name": "Task", "typeArguments": [ { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 + } } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 548, + "line": 577, "character": 16 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } }, { - "id": 338, - "name": "download", + "id": 423, + "name": "on", "kind": 2048, "kindString": "Method", "flags": { @@ -4884,62 +5765,179 @@ }, "signatures": [ { - "id": 339, - "name": "download", + "id": 424, + "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Catch all handler for various call signatures. The signatures are defined in\n`BaseEventedEvents`. You can add your own event type -> handler types by extending\n`BaseEventedEvents`. See example for details.", + "returns": "\n", + "tags": [ + { + "tag": "example", + "text": "\n\ninterface WidgetBaseEvents extends BaseEventedEvents {\n (type: 'properties:changed', handler: PropertiesChangedHandler): Handle;\n}\nclass WidgetBase extends Evented {\n on: WidgetBaseEvents;\n}\n" + } + ] + }, + "typeParameter": [ + { + "id": 425, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], "parameters": [ { - "id": 340, - "name": "forceDownload", + "id": 426, + "name": "type", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + } + }, + { + "id": 427, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true }, - "defaultValue": "false" + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + }, + { + "type": "unknown", + "name": "M[K]" + } + ] + } } ], "type": { "type": "reference", - "name": "Task", - "typeArguments": [ - { + "name": "Handle" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + }, + { + "id": 428, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 429, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { "type": "intrinsic", - "name": "void" + "name": "string" } - ] + }, + { + "id": 430, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } } ], "sources": [ { - "fileName": "CrossBrowserTestingTunnel.ts", - "line": 90, - "character": 9 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 58, + "character": 6 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 59, + "character": 6 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } }, { - "id": 407, - "name": "getEnvironments", + "id": 431, + "name": "own", "kind": 2048, "kindString": "Method", "flags": { @@ -4948,54 +5946,68 @@ }, "signatures": [ { - "id": 408, - "name": "getEnvironments", + "id": 432, + "name": "own", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Get a list of environments available on the service.", - "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", - "returns": "An object containing the response and helper functions\n" + "shortText": "Register handles for the instance that will be destroyed when `this.destroy` is called", + "returns": "a handle for the handle, removes the handle for the instance and calls destroy\n" }, + "parameters": [ + { + "id": 433, + "name": "handles", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Handle" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "Handle" + } + } + ] + } + } + ], "type": { "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 - } - } - ] + "name": "Handle" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 581, - "character": 16 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 17, + "character": 7 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } }, { - "id": 344, + "id": 350, "name": "sendJobState", "kind": 2048, "kindString": "Method", @@ -5005,7 +6017,7 @@ }, "signatures": [ { - "id": 345, + "id": 351, "name": "sendJobState", "kind": 4096, "kindString": "Call signature", @@ -5014,7 +6026,7 @@ }, "parameters": [ { - "id": 346, + "id": 352, "name": "jobId", "kind": 32768, "kindString": "Parameter", @@ -5027,7 +6039,7 @@ } }, { - "id": 347, + "id": 353, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -5054,7 +6066,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } } ], @@ -5068,11 +6080,11 @@ "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } }, { - "id": 401, + "id": 406, "name": "start", "kind": 2048, "kindString": "Method", @@ -5082,7 +6094,7 @@ }, "signatures": [ { - "id": 402, + "id": 407, "name": "start", "kind": 4096, "kindString": "Call signature", @@ -5106,25 +6118,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 413, + "line": 409, "character": 6 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } }, { - "id": 403, + "id": 408, "name": "stop", "kind": 2048, "kindString": "Method", @@ -5134,7 +6146,7 @@ }, "signatures": [ { - "id": 404, + "id": 409, "name": "stop", "kind": 4096, "kindString": "Call signature", @@ -5158,21 +6170,21 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 500, + "line": 496, "character": 5 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], @@ -5181,68 +6193,72 @@ "title": "Constructors", "kind": 512, "children": [ - 335 + 341 ] }, { "title": "Properties", "kind": 1024, "children": [ - 372, - 373, - 370, - 374, - 371, - 356, - 358, - 325, - 359, - 355, - 360, + 415, + 377, + 378, + 375, + 379, + 376, 361, - 354, - 362, 363, + 331, 364, + 360, 365, 366, + 416, 367, 368, - 357, 369, - 409 + 370, + 371, + 372, + 373, + 362, + 374 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 326, - 375, - 328, - 333, - 377, - 379, - 381 + 332, + 380, + 334, + 339, + 382, + 384, + 386 ] }, { "title": "Methods", "kind": 2048, "children": [ - 383, - 341, - 392, - 396, - 351, 388, - 348, - 405, - 338, - 407, - 344, + 347, + 397, 401, - 403 + 357, + 393, + 354, + 410, + 434, + 344, + 417, + 412, + 423, + 431, + 350, + 406, + 408 ] } ], @@ -5264,7 +6280,7 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 }, { "type": "reference", @@ -5273,7 +6289,7 @@ ] }, { - "id": 410, + "id": 436, "name": "cbtVersion", "kind": 32, "kindString": "Variable", @@ -5299,14 +6315,14 @@ "title": "Classes", "kind": 128, "children": [ - 324 + 330 ] }, { "title": "Variables", "kind": 32, "children": [ - 410 + 436 ] } ], @@ -5319,7 +6335,7 @@ ] }, { - "id": 411, + "id": 437, "name": "\"NullTunnel\"", "kind": 1, "kindString": "External module", @@ -5330,7 +6346,7 @@ "originalName": "src/NullTunnel.ts", "children": [ { - "id": 412, + "id": 438, "name": "NullTunnel", "kind": 128, "kindString": "Class", @@ -5341,9 +6357,30 @@ "comment": { "shortText": "A no-op tunnel." }, + "typeParameter": [ + { + "id": 514, + "name": "O", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ], "children": [ { - "id": 413, + "id": 439, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -5353,7 +6390,7 @@ }, "signatures": [ { - "id": 414, + "id": 440, "name": "new NullTunnel", "kind": 16384, "kindString": "Constructor signature", @@ -5362,7 +6399,7 @@ }, "parameters": [ { - "id": 415, + "id": 441, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5373,14 +6410,14 @@ "type": { "type": "reference", "name": "TunnelOptions", - "id": 205 + "id": 191 } } ], "type": { "type": "reference", "name": "NullTunnel", - "id": 412 + "id": 438 }, "overwrites": { "type": "reference", @@ -5403,7 +6440,34 @@ } }, { - "id": 445, + "id": 515, + "name": "___typeMap__", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isProtected": true, + "isOptional": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 28, + "character": 25 + } + ], + "type": { + "type": "reference", + "name": "M" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.__typeMap__" + } + }, + { + "id": 470, "name": "_handle", "kind": 1024, "kindString": "Property", @@ -5415,7 +6479,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 137, + "line": 133, "character": 18 } ], @@ -5435,11 +6499,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._handle", - "id": 47 + "id": 46 } }, { - "id": 446, + "id": 471, "name": "_process", "kind": 1024, "kindString": "Property", @@ -5451,7 +6515,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 138, + "line": 134, "character": 19 } ], @@ -5471,11 +6535,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._process", - "id": 48 + "id": 47 } }, { - "id": 443, + "id": 468, "name": "_startTask", "kind": 1024, "kindString": "Property", @@ -5487,7 +6551,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 135, + "line": 131, "character": 21 } ], @@ -5513,11 +6577,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._startTask", - "id": 45 + "id": 44 } }, { - "id": 447, + "id": 472, "name": "_state", "kind": 1024, "kindString": "Property", @@ -5529,7 +6593,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 139, + "line": 135, "character": 17 } ], @@ -5558,11 +6622,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._state", - "id": 49 + "id": 48 } }, { - "id": 444, + "id": 469, "name": "_stopTask", "kind": 1024, "kindString": "Property", @@ -5574,7 +6638,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 136, + "line": 132, "character": 20 } ], @@ -5600,11 +6664,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._stopTask", - "id": 46 + "id": 45 } }, { - "id": 428, + "id": 453, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -5618,7 +6682,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 56, + "line": 52, "character": 10 } ], @@ -5629,16 +6693,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.accessKey", - "id": 30 + "id": 29 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.accessKey", - "id": 159 + "id": 178 } }, { - "id": 430, + "id": 455, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -5652,7 +6716,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 68, + "line": 64, "character": 13 } ], @@ -5663,16 +6727,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.architecture", - "id": 32 + "id": 31 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.architecture", - "id": 157 + "id": 176 } }, { - "id": 431, + "id": 456, "name": "auth", "kind": 1024, "kindString": "Property", @@ -5686,7 +6750,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 74, + "line": 70, "character": 5 } ], @@ -5697,16 +6761,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.auth", - "id": 33 + "id": 32 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.auth", - "id": 158 + "id": 177 } }, { - "id": 432, + "id": 457, "name": "directory", "kind": 1024, "kindString": "Property", @@ -5720,7 +6784,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 81, + "line": 77, "character": 10 } ], @@ -5731,16 +6795,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.directory", - "id": 34 + "id": 33 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.directory", - "id": 169 + "id": 188 } }, { - "id": 427, + "id": 452, "name": "environmentUrl", "kind": 1024, "kindString": "Property", @@ -5754,7 +6818,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 50, + "line": 46, "character": 15 } ], @@ -5765,11 +6829,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.environmentUrl", - "id": 29 + "id": 28 } }, { - "id": 433, + "id": 458, "name": "executable", "kind": 1024, "kindString": "Property", @@ -5783,7 +6847,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 87, + "line": 83, "character": 11 } ], @@ -5794,16 +6858,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.executable", - "id": 35 + "id": 34 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.executable", - "id": 160 + "id": 179 } }, { - "id": 434, + "id": 459, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -5817,7 +6881,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 94, + "line": 90, "character": 9 } ], @@ -5828,46 +6892,103 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.hostname", - "id": 36 + "id": 35 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.hostname", - "id": 161 + "id": 180 } }, { - "id": 426, - "name": "on", + "id": 516, + "name": "listenersMap", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, "comment": { - "shortText": "Register an event listener" + "shortText": "map of listeners keyed by event type" }, "sources": [ { - "fileName": "Tunnel.ts", - "line": 44, - "character": 3 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 32, + "character": 26 } ], "type": { "type": "reference", - "name": "RegisterListener", - "id": 172 + "name": "Map", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "unknown", + "name": "keyof M" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + }, + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "unknown", + "name": "keyof M" + }, + { + "type": "unknown", + "name": "M[keyof M]" + } + ] + } + ] + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.on", - "id": 28 + "name": "Evented.listenersMap" } }, { - "id": 435, + "id": 460, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -5881,7 +7002,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 100, + "line": 96, "character": 9 } ], @@ -5892,16 +7013,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.pathname", - "id": 37 + "id": 36 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.pathname", - "id": 162 + "id": 181 } }, { - "id": 436, + "id": 461, "name": "platform", "kind": 1024, "kindString": "Property", @@ -5915,7 +7036,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 106, + "line": 102, "character": 9 } ], @@ -5926,16 +7047,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.platform", - "id": 38 + "id": 37 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.platform", - "id": 163 + "id": 182 } }, { - "id": 437, + "id": 462, "name": "port", "kind": 1024, "kindString": "Property", @@ -5949,7 +7070,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 112, + "line": 108, "character": 5 } ], @@ -5960,16 +7081,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.port", - "id": 39 + "id": 38 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.port", - "id": 164 + "id": 183 } }, { - "id": 438, + "id": 463, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -5983,7 +7104,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 118, + "line": 114, "character": 9 } ], @@ -5994,16 +7115,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.protocol", - "id": 40 + "id": 39 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.protocol", - "id": 165 + "id": 184 } }, { - "id": 439, + "id": 464, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -6017,7 +7138,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 124, + "line": 120, "character": 6 } ], @@ -6028,16 +7149,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.proxy", - "id": 41 + "id": 40 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.proxy", - "id": 170 + "id": 189 } }, { - "id": 440, + "id": 465, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -6051,7 +7172,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 127, + "line": 123, "character": 9 } ], @@ -6062,16 +7183,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.tunnelId", - "id": 42 + "id": 41 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.tunnelId", - "id": 166 + "id": 185 } }, { - "id": 441, + "id": 466, "name": "url", "kind": 1024, "kindString": "Property", @@ -6085,7 +7206,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 130, + "line": 126, "character": 4 } ], @@ -6096,16 +7217,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.url", - "id": 43 + "id": 42 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.url", - "id": 171 + "id": 190 } }, { - "id": 429, + "id": 454, "name": "username", "kind": 1024, "kindString": "Property", @@ -6119,7 +7240,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 62, + "line": 58, "character": 9 } ], @@ -6130,16 +7251,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.username", - "id": 31 + "id": 30 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.username", - "id": 167 + "id": 186 } }, { - "id": 442, + "id": 467, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -6153,7 +7274,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 133, + "line": 129, "character": 8 } ], @@ -6164,42 +7285,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.verbose", - "id": 44 + "id": 43 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.verbose", - "id": 168 - } - }, - { - "id": 489, - "name": "on", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExported": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "node_modules/@dojo/core/Evented.d.ts", - "line": 50, - "character": 6 - } - ], - "type": { - "type": "reference", - "name": "BaseEventedEvents" - }, - "inheritedFrom": { - "type": "reference", - "name": "Evented.on" + "id": 187 } }, { - "id": 448, + "id": 473, "name": "clientUrl", "kind": 262144, "kindString": "Accessor", @@ -6212,7 +7307,7 @@ }, "getSignature": [ { - "id": 449, + "id": 474, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -6229,25 +7324,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.clientUrl", - "id": 50 + "id": 49 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 149, + "line": 145, "character": 14 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.clientUrl", - "id": 50 + "id": 49 } }, { - "id": 450, + "id": 475, "name": "extraCapabilities", "kind": 262144, "kindString": "Accessor", @@ -6260,7 +7355,7 @@ }, "getSignature": [ { - "id": 451, + "id": 476, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -6277,25 +7372,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.extraCapabilities", - "id": 52 + "id": 51 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 157, + "line": 153, "character": 22 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.extraCapabilities", - "id": 52 + "id": 51 } }, { - "id": 416, + "id": 442, "name": "isDownloaded", "kind": 262144, "kindString": "Accessor", @@ -6305,7 +7400,7 @@ }, "getSignature": [ { - "id": 417, + "id": 443, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -6319,7 +7414,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.isDownloaded", - "id": 54 + "id": 53 } } ], @@ -6333,11 +7428,11 @@ "overwrites": { "type": "reference", "name": "Tunnel.isDownloaded", - "id": 54 + "id": 53 } }, { - "id": 452, + "id": 477, "name": "isRunning", "kind": 262144, "kindString": "Accessor", @@ -6350,7 +7445,7 @@ }, "getSignature": [ { - "id": 453, + "id": 478, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -6367,25 +7462,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isRunning", - "id": 56 + "id": 55 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 171, + "line": 167, "character": 14 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isRunning", - "id": 56 + "id": 55 } }, { - "id": 454, + "id": 479, "name": "isStarting", "kind": 262144, "kindString": "Accessor", @@ -6398,7 +7493,7 @@ }, "getSignature": [ { - "id": 455, + "id": 480, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -6415,25 +7510,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isStarting", - "id": 58 + "id": 57 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 178, + "line": 174, "character": 15 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isStarting", - "id": 58 + "id": 57 } }, { - "id": 456, + "id": 481, "name": "isStopping", "kind": 262144, "kindString": "Accessor", @@ -6446,7 +7541,7 @@ }, "getSignature": [ { - "id": 457, + "id": 482, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -6463,25 +7558,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isStopping", - "id": 60 + "id": 59 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 185, + "line": 181, "character": 15 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isStopping", - "id": 60 + "id": 59 } }, { - "id": 458, + "id": 483, "name": "_downloadFile", "kind": 2048, "kindString": "Method", @@ -6492,7 +7587,7 @@ }, "signatures": [ { - "id": 459, + "id": 484, "name": "_downloadFile", "kind": 4096, "kindString": "Call signature", @@ -6501,7 +7596,7 @@ }, "parameters": [ { - "id": 460, + "id": 485, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -6514,7 +7609,7 @@ } }, { - "id": 461, + "id": 486, "name": "proxy", "kind": 32768, "kindString": "Parameter", @@ -6527,7 +7622,7 @@ } }, { - "id": 462, + "id": 487, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6538,7 +7633,7 @@ "type": { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } } ], @@ -6555,25 +7650,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._downloadFile", - "id": 65 + "id": 64 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 209, + "line": 205, "character": 24 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel._downloadFile", - "id": 65 + "id": 64 } }, { - "id": 467, + "id": 492, "name": "_makeArgs", "kind": 2048, "kindString": "Method", @@ -6584,7 +7679,7 @@ }, "signatures": [ { - "id": 468, + "id": 493, "name": "_makeArgs", "kind": 4096, "kindString": "Call signature", @@ -6598,7 +7693,7 @@ }, "parameters": [ { - "id": 469, + "id": 494, "name": "_values", "kind": 32768, "kindString": "Parameter", @@ -6625,25 +7720,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._makeArgs", - "id": 74 + "id": 73 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 290, + "line": 286, "character": 20 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel._makeArgs", - "id": 74 + "id": 73 } }, { - "id": 470, + "id": 495, "name": "_makeChild", "kind": 2048, "kindString": "Method", @@ -6654,7 +7749,7 @@ }, "signatures": [ { - "id": 471, + "id": 496, "name": "_makeChild", "kind": 4096, "kindString": "Call signature", @@ -6668,7 +7763,7 @@ }, "parameters": [ { - "id": 472, + "id": 497, "name": "executor", "kind": 32768, "kindString": "Parameter", @@ -6678,11 +7773,11 @@ "type": { "type": "reference", "name": "ChildExecutor", - "id": 129 + "id": 148 } }, { - "id": 473, + "id": 498, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6712,25 +7807,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._makeChild", - "id": 77 + "id": 76 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 304, + "line": 300, "character": 21 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel._makeChild", - "id": 77 + "id": 76 } }, { - "id": 474, + "id": 499, "name": "_makeOptions", "kind": 2048, "kindString": "Method", @@ -6741,7 +7836,7 @@ }, "signatures": [ { - "id": 475, + "id": 500, "name": "_makeOptions", "kind": 4096, "kindString": "Call signature", @@ -6755,7 +7850,7 @@ }, "parameters": [ { - "id": 476, + "id": 501, "name": "_values", "kind": 32768, "kindString": "Parameter", @@ -6775,7 +7870,7 @@ "type": { "type": "reflection", "declaration": { - "id": 477, + "id": 502, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6784,7 +7879,7 @@ }, "children": [ { - "id": 478, + "id": 503, "name": "env", "kind": 32, "kindString": "Variable", @@ -6794,7 +7889,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 392, + "line": 388, "character": 14 } ], @@ -6810,7 +7905,7 @@ "title": "Variables", "kind": 32, "children": [ - 478 + 503 ] } ] @@ -6819,25 +7914,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._makeOptions", - "id": 81 + "id": 80 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 391, + "line": 387, "character": 23 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel._makeOptions", - "id": 81 + "id": 80 } }, { - "id": 486, + "id": 511, "name": "_normalizeEnvironment", "kind": 2048, "kindString": "Method", @@ -6848,7 +7943,7 @@ }, "signatures": [ { - "id": 487, + "id": 512, "name": "_normalizeEnvironment", "kind": 4096, "kindString": "Call signature", @@ -6861,7 +7956,7 @@ }, "parameters": [ { - "id": 488, + "id": 513, "name": "environment", "kind": 32768, "kindString": "Parameter", @@ -6880,30 +7975,30 @@ "type": { "type": "reference", "name": "NormalizedEnvironment", - "id": 143 + "id": 162 }, "inheritedFrom": { "type": "reference", "name": "Tunnel._normalizeEnvironment", - "id": 101 + "id": 100 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 625, + "line": 621, "character": 32 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel._normalizeEnvironment", - "id": 101 + "id": 100 } }, { - "id": 463, + "id": 488, "name": "_postDownloadFile", "kind": 2048, "kindString": "Method", @@ -6914,7 +8009,7 @@ }, "signatures": [ { - "id": 464, + "id": 489, "name": "_postDownloadFile", "kind": 4096, "kindString": "Call signature", @@ -6926,7 +8021,7 @@ }, "parameters": [ { - "id": 465, + "id": 490, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -6939,7 +8034,7 @@ } }, { - "id": 466, + "id": 491, "name": "_options", "kind": 32768, "kindString": "Parameter", @@ -6950,7 +8045,7 @@ "type": { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } } ], @@ -6967,25 +8062,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._postDownloadFile", - "id": 70 + "id": 69 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 269, + "line": 265, "character": 28 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel._postDownloadFile", - "id": 70 + "id": 69 } }, { - "id": 479, + "id": 504, "name": "_start", "kind": 2048, "kindString": "Method", @@ -6996,7 +8091,7 @@ }, "signatures": [ { - "id": 480, + "id": 505, "name": "_start", "kind": 4096, "kindString": "Call signature", @@ -7010,7 +8105,7 @@ }, "parameters": [ { - "id": 481, + "id": 506, "name": "executor", "kind": 32768, "kindString": "Parameter", @@ -7020,7 +8115,7 @@ "type": { "type": "reference", "name": "ChildExecutor", - "id": 129 + "id": 148 } } ], @@ -7037,80 +8132,358 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._start", - "id": 92 + "id": 91 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 474, + "character": 17 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._start", + "id": 91 + } + }, + { + "id": 507, + "name": "_stop", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 508, + "name": "_stop", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "This method provides the implementation that actually stops the tunnel.", + "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", + "returns": "A promise that resolves once the tunnel has shut down.\n" + }, + "type": { + "type": "reference", + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._stop", + "id": 96 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 544, + "character": 16 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._stop", + "id": 96 + } + }, + { + "id": 534, + "name": "destroy", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "__visited__": true + }, + "signatures": [ + { + "id": 535, + "name": "destroy", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Destrpys all handers registered for the instance", + "returns": "a promise that resolves once all handles have been destroyed\n" + }, + "type": { + "type": "reference", + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Destroyable.destroy" + } + } + ], + "sources": [ + { + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 23, + "character": 11 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Destroyable.destroy" + } + }, + { + "id": 444, + "name": "download", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "__visited__": true + }, + "signatures": [ + { + "id": 445, + "name": "download", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] + }, + "overwrites": { + "type": "reference", + "name": "Tunnel.download", + "id": 61 + } + } + ], + "sources": [ + { + "fileName": "NullTunnel.ts", + "line": 24, + "character": 9 + } + ], + "overwrites": { + "type": "reference", + "name": "Tunnel.download", + "id": 61 + } + }, + { + "id": 517, + "name": "emit", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "__visited__": true + }, + "signatures": [ + { + "id": 518, + "name": "emit", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Emits the event objet for the specified type" + }, + "typeParameter": [ + { + "id": 519, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], + "parameters": [ + { + "id": 520, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "comment": { + "text": "the event to emit\n" + }, + "type": { + "type": "unknown", + "name": "M[K]" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.emit" + } + }, + { + "id": 521, + "name": "emit", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 522, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.emit" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 478, - "character": 17 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 38, + "character": 8 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 39, + "character": 8 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._start", - "id": 92 + "name": "Evented.emit" } }, { - "id": 482, - "name": "_stop", + "id": 509, + "name": "getEnvironments", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 483, - "name": "_stop", + "id": 510, + "name": "getEnvironments", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "This method provides the implementation that actually stops the tunnel.", - "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", - "returns": "A promise that resolves once the tunnel has shut down.\n" + "shortText": "Get a list of environments available on the service.", + "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", + "returns": "An object containing the response and helper functions\n" }, "type": { "type": "reference", - "name": "Promise", + "name": "Task", "typeArguments": [ { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 + } } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 548, + "line": 577, "character": 16 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } }, { - "id": 418, - "name": "download", + "id": 523, + "name": "on", "kind": 2048, "kindString": "Method", "flags": { @@ -7119,46 +8492,179 @@ }, "signatures": [ { - "id": 419, - "name": "download", + "id": 524, + "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Catch all handler for various call signatures. The signatures are defined in\n`BaseEventedEvents`. You can add your own event type -> handler types by extending\n`BaseEventedEvents`. See example for details.", + "returns": "\n", + "tags": [ + { + "tag": "example", + "text": "\n\ninterface WidgetBaseEvents extends BaseEventedEvents {\n (type: 'properties:changed', handler: PropertiesChangedHandler): Handle;\n}\nclass WidgetBase extends Evented {\n on: WidgetBaseEvents;\n}\n" + } + ] + }, + "typeParameter": [ + { + "id": 525, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], + "parameters": [ + { + "id": 526, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + } + }, + { + "id": 527, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + }, + { + "type": "unknown", + "name": "M[K]" + } + ] + } + } + ], "type": { "type": "reference", - "name": "Task", - "typeArguments": [ - { + "name": "Handle" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + }, + { + "id": 528, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 529, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { "type": "intrinsic", - "name": "void" + "name": "string" } - ] + }, + { + "id": 530, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } } ], "sources": [ { - "fileName": "NullTunnel.ts", - "line": 24, - "character": 9 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 58, + "character": 6 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 59, + "character": 6 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } }, { - "id": 484, - "name": "getEnvironments", + "id": 531, + "name": "own", "kind": 2048, "kindString": "Method", "flags": { @@ -7167,54 +8673,68 @@ }, "signatures": [ { - "id": 485, - "name": "getEnvironments", + "id": 532, + "name": "own", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Get a list of environments available on the service.", - "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", - "returns": "An object containing the response and helper functions\n" + "shortText": "Register handles for the instance that will be destroyed when `this.destroy` is called", + "returns": "a handle for the handle, removes the handle for the instance and calls destroy\n" }, + "parameters": [ + { + "id": 533, + "name": "handles", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Handle" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "Handle" + } + } + ] + } + } + ], "type": { "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 - } - } - ] + "name": "Handle" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 581, - "character": 16 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 17, + "character": 7 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } }, { - "id": 424, + "id": 450, "name": "sendJobState", "kind": 2048, "kindString": "Method", @@ -7224,7 +8744,7 @@ }, "signatures": [ { - "id": 425, + "id": 451, "name": "sendJobState", "kind": 4096, "kindString": "Call signature", @@ -7244,7 +8764,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } } ], @@ -7258,11 +8778,11 @@ "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } }, { - "id": 420, + "id": 446, "name": "start", "kind": 2048, "kindString": "Method", @@ -7272,7 +8792,7 @@ }, "signatures": [ { - "id": 421, + "id": 447, "name": "start", "kind": 4096, "kindString": "Call signature", @@ -7292,7 +8812,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } } ], @@ -7306,11 +8826,11 @@ "overwrites": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } }, { - "id": 422, + "id": 448, "name": "stop", "kind": 2048, "kindString": "Method", @@ -7320,7 +8840,7 @@ }, "signatures": [ { - "id": 423, + "id": 449, "name": "stop", "kind": 4096, "kindString": "Call signature", @@ -7340,7 +8860,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], @@ -7354,7 +8874,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], @@ -7363,67 +8883,71 @@ "title": "Constructors", "kind": 512, "children": [ - 413 + 439 ] }, { "title": "Properties", "kind": 1024, "children": [ - 445, - 446, - 443, - 447, - 444, - 428, - 430, - 431, - 432, - 427, - 433, - 434, - 426, - 435, - 436, - 437, - 438, - 439, - 440, - 441, - 429, - 442, - 489 + 515, + 470, + 471, + 468, + 472, + 469, + 453, + 455, + 456, + 457, + 452, + 458, + 459, + 516, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 454, + 467 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 448, - 450, - 416, - 452, - 454, - 456 + 473, + 475, + 442, + 477, + 479, + 481 ] }, { "title": "Methods", "kind": 2048, "children": [ - 458, - 467, - 470, - 474, - 486, - 463, - 479, - 482, - 418, - 484, - 424, - 420, - 422 + 483, + 492, + 495, + 499, + 511, + 488, + 504, + 507, + 534, + 444, + 517, + 509, + 523, + 531, + 450, + 446, + 448 ] } ], @@ -7445,7 +8969,7 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 }, { "type": "reference", @@ -7459,7 +8983,7 @@ "title": "Classes", "kind": 128, "children": [ - 412 + 438 ] } ], @@ -7472,7 +8996,7 @@ ] }, { - "id": 490, + "id": 536, "name": "\"SauceLabsTunnel\"", "kind": 1, "kindString": "External module", @@ -7483,7 +9007,7 @@ "originalName": "src/SauceLabsTunnel.ts", "children": [ { - "id": 491, + "id": 537, "name": "SauceLabsTunnel", "kind": 128, "kindString": "Class", @@ -7495,9 +9019,30 @@ "shortText": "A Sauce Labs tunnel. This tunnel uses Sauce Connect 4 on platforms where it\nis supported, and Sauce Connect 3 on all other platforms.", "text": "The accessKey and username properties will be initialized using\nSAUCE_ACCESS_KEY and SAUCE_USERNAME.\n" }, + "typeParameter": [ + { + "id": 640, + "name": "O", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ], "children": [ { - "id": 507, + "id": 553, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7507,7 +9052,7 @@ }, "signatures": [ { - "id": 508, + "id": 554, "name": "new SauceLabsTunnel", "kind": 16384, "kindString": "Constructor signature", @@ -7516,7 +9061,7 @@ }, "parameters": [ { - "id": 509, + "id": 555, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7527,14 +9072,14 @@ "type": { "type": "reference", "name": "SauceLabsOptions", - "id": 627 + "id": 693 } } ], "type": { "type": "reference", "name": "SauceLabsTunnel", - "id": 491 + "id": 537 }, "overwrites": { "type": "reference", @@ -7546,7 +9091,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 108, + "line": 107, "character": 19 } ], @@ -7557,7 +9102,34 @@ } }, { - "id": 559, + "id": 641, + "name": "___typeMap__", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isProtected": true, + "isOptional": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 28, + "character": 25 + } + ], + "type": { + "type": "reference", + "name": "M" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.__typeMap__" + } + }, + { + "id": 604, "name": "_handle", "kind": 1024, "kindString": "Property", @@ -7569,7 +9141,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 137, + "line": 133, "character": 18 } ], @@ -7589,11 +9161,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._handle", - "id": 47 + "id": 46 } }, { - "id": 560, + "id": 605, "name": "_process", "kind": 1024, "kindString": "Property", @@ -7605,7 +9177,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 138, + "line": 134, "character": 19 } ], @@ -7625,11 +9197,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._process", - "id": 48 + "id": 47 } }, { - "id": 557, + "id": 602, "name": "_startTask", "kind": 1024, "kindString": "Property", @@ -7641,7 +9213,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 135, + "line": 131, "character": 21 } ], @@ -7667,11 +9239,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._startTask", - "id": 45 + "id": 44 } }, { - "id": 561, + "id": 606, "name": "_state", "kind": 1024, "kindString": "Property", @@ -7683,7 +9255,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 139, + "line": 135, "character": 17 } ], @@ -7712,11 +9284,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._state", - "id": 49 + "id": 48 } }, { - "id": 558, + "id": 603, "name": "_stopTask", "kind": 1024, "kindString": "Property", @@ -7728,7 +9300,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 136, + "line": 132, "character": 20 } ], @@ -7754,11 +9326,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._stopTask", - "id": 46 + "id": 45 } }, { - "id": 545, + "id": 590, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -7772,7 +9344,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 56, + "line": 52, "character": 10 } ], @@ -7783,16 +9355,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.accessKey", - "id": 30 + "id": 29 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.accessKey", - "id": 613 + "id": 679 } }, { - "id": 547, + "id": 592, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -7806,7 +9378,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 68, + "line": 64, "character": 13 } ], @@ -7817,16 +9389,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.architecture", - "id": 32 + "id": 31 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.architecture", - "id": 611 + "id": 677 } }, { - "id": 492, + "id": 538, "name": "directDomains", "kind": 1024, "kindString": "Property", @@ -7840,7 +9412,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 34, + "line": 33, "character": 14 } ], @@ -7854,11 +9426,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.directDomains", - "id": 597 + "id": 663 } }, { - "id": 548, + "id": 593, "name": "directory", "kind": 1024, "kindString": "Property", @@ -7872,7 +9444,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 81, + "line": 77, "character": 10 } ], @@ -7883,16 +9455,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.directory", - "id": 34 + "id": 33 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.directory", - "id": 623 + "id": 689 } }, { - "id": 494, + "id": 540, "name": "domainAuthentication", "kind": 1024, "kindString": "Property", @@ -7906,7 +9478,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 46, + "line": 45, "character": 21 } ], @@ -7920,11 +9492,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.domainAuthentication", - "id": 599 + "id": 665 } }, { - "id": 544, + "id": 589, "name": "environmentUrl", "kind": 1024, "kindString": "Property", @@ -7938,7 +9510,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 50, + "line": 46, "character": 15 } ], @@ -7949,11 +9521,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.environmentUrl", - "id": 29 + "id": 28 } }, { - "id": 495, + "id": 541, "name": "fastFailDomains", "kind": 1024, "kindString": "Property", @@ -7967,7 +9539,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 52, + "line": 51, "character": 16 } ], @@ -7981,11 +9553,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.fastFailDomains", - "id": 600 + "id": 666 } }, { - "id": 549, + "id": 594, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -7999,7 +9571,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 94, + "line": 90, "character": 9 } ], @@ -8010,16 +9582,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.hostname", - "id": 36 + "id": 35 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.hostname", - "id": 615 + "id": 681 } }, { - "id": 496, + "id": 542, "name": "isSharedTunnel", "kind": 1024, "kindString": "Property", @@ -8033,7 +9605,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 58, + "line": 57, "character": 15 } ], @@ -8044,41 +9616,99 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.isSharedTunnel", - "id": 601 + "id": 667 } }, { - "id": 497, - "name": "logFile", + "id": 642, + "name": "listenersMap", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, "comment": { - "shortText": "A filename where additional logs from the tunnel should be output." + "shortText": "map of listeners keyed by event type" }, "sources": [ { - "fileName": "SauceLabsTunnel.ts", - "line": 61, - "character": 8 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 32, + "character": 26 } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "Map", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "unknown", + "name": "keyof M" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + }, + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "unknown", + "name": "keyof M" + }, + { + "type": "unknown", + "name": "M[keyof M]" + } + ] + } + ] + } + ] }, - "implementationOf": { + "inheritedFrom": { "type": "reference", - "name": "SauceLabsProperties.logFile", - "id": 602 + "name": "Evented.listenersMap" } }, { - "id": 499, - "name": "logFileSize", + "id": 543, + "name": "logFile", "kind": 1024, "kindString": "Property", "flags": { @@ -8086,28 +9716,28 @@ "__visited__": true }, "comment": { - "shortText": "Specifies the maximum log filesize before rotation, in bytes. This\nproperty is only supported by Sauce Connect 3 tunnels." + "shortText": "A filename where additional logs from the tunnel should be output." }, "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 70, - "character": 12 + "line": 60, + "character": 8 } ], "type": { "type": "intrinsic", - "name": "number" + "name": "string" }, "implementationOf": { "type": "reference", - "name": "SauceLabsProperties.logFileSize", - "id": 604 + "name": "SauceLabsProperties.logFile", + "id": 668 } }, { - "id": 500, - "name": "logTrafficStats", + "id": 545, + "name": "logFileSize", "kind": 1024, "kindString": "Property", "flags": { @@ -8115,13 +9745,13 @@ "__visited__": true }, "comment": { - "shortText": "Log statistics about HTTP traffic every `logTrafficStats` milliseconds.\nThis property is only supported by Sauce Connect 4 tunnels." + "shortText": "Specifies the maximum log filesize before rotation, in bytes. This\nproperty is only supported by Sauce Connect 3 tunnels." }, "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 76, - "character": 16 + "line": 69, + "character": 12 } ], "type": { @@ -8130,13 +9760,13 @@ }, "implementationOf": { "type": "reference", - "name": "SauceLabsProperties.logTrafficStats", - "id": 605 + "name": "SauceLabsProperties.logFileSize", + "id": 670 } }, { - "id": 543, - "name": "on", + "id": 546, + "name": "logTrafficStats", "kind": 1024, "kindString": "Property", "flags": { @@ -8144,28 +9774,27 @@ "__visited__": true }, "comment": { - "shortText": "Register an event listener" + "shortText": "Log statistics about HTTP traffic every `logTrafficStats` milliseconds.\nThis property is only supported by Sauce Connect 4 tunnels." }, "sources": [ { - "fileName": "Tunnel.ts", - "line": 44, - "character": 3 + "fileName": "SauceLabsTunnel.ts", + "line": 75, + "character": 16 } ], "type": { - "type": "reference", - "name": "RegisterListener", - "id": 172 + "type": "intrinsic", + "name": "number" }, - "inheritedFrom": { + "implementationOf": { "type": "reference", - "name": "Tunnel.on", - "id": 28 + "name": "SauceLabsProperties.logTrafficStats", + "id": 671 } }, { - "id": 550, + "id": 595, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -8179,7 +9808,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 100, + "line": 96, "character": 9 } ], @@ -8190,16 +9819,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.pathname", - "id": 37 + "id": 36 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.pathname", - "id": 616 + "id": 682 } }, { - "id": 498, + "id": 544, "name": "pidFile", "kind": 1024, "kindString": "Property", @@ -8213,7 +9842,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 64, + "line": 63, "character": 8 } ], @@ -8224,11 +9853,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.pidFile", - "id": 603 + "id": 669 } }, { - "id": 551, + "id": 596, "name": "platform", "kind": 1024, "kindString": "Property", @@ -8242,7 +9871,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 106, + "line": 102, "character": 9 } ], @@ -8253,16 +9882,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.platform", - "id": 38 + "id": 37 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.platform", - "id": 617 + "id": 683 } }, { - "id": 552, + "id": 597, "name": "port", "kind": 1024, "kindString": "Property", @@ -8276,7 +9905,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 112, + "line": 108, "character": 5 } ], @@ -8287,16 +9916,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.port", - "id": 39 + "id": 38 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.port", - "id": 618 + "id": 684 } }, { - "id": 553, + "id": 598, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -8310,7 +9939,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 118, + "line": 114, "character": 9 } ], @@ -8321,16 +9950,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.protocol", - "id": 40 + "id": 39 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.protocol", - "id": 619 + "id": 685 } }, { - "id": 554, + "id": 599, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -8344,7 +9973,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 124, + "line": 120, "character": 6 } ], @@ -8355,16 +9984,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.proxy", - "id": 41 + "id": 40 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.proxy", - "id": 624 + "id": 690 } }, { - "id": 501, + "id": 547, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -8378,7 +10007,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 82, + "line": 81, "character": 8 } ], @@ -8389,11 +10018,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.restUrl", - "id": 606 + "id": 672 } }, { - "id": 506, + "id": 552, "name": "scVersion", "kind": 1024, "kindString": "Property", @@ -8404,7 +10033,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 108, + "line": 107, "character": 10 } ], @@ -8414,7 +10043,7 @@ } }, { - "id": 502, + "id": 548, "name": "skipSslDomains", "kind": 1024, "kindString": "Property", @@ -8428,7 +10057,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 88, + "line": 87, "character": 15 } ], @@ -8442,11 +10071,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.skipSslDomains", - "id": 607 + "id": 673 } }, { - "id": 503, + "id": 549, "name": "squidOptions", "kind": 1024, "kindString": "Property", @@ -8460,7 +10089,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 94, + "line": 93, "character": 13 } ], @@ -8471,11 +10100,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.squidOptions", - "id": 608 + "id": 674 } }, { - "id": 493, + "id": 539, "name": "tunnelDomains", "kind": 1024, "kindString": "Property", @@ -8489,7 +10118,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 39, + "line": 38, "character": 14 } ], @@ -8503,11 +10132,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.tunnelDomains", - "id": 598 + "id": 664 } }, { - "id": 555, + "id": 600, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -8521,7 +10150,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 127, + "line": 123, "character": 9 } ], @@ -8532,16 +10161,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.tunnelId", - "id": 42 + "id": 41 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.tunnelId", - "id": 620 + "id": 686 } }, { - "id": 504, + "id": 550, "name": "useProxyForTunnel", "kind": 1024, "kindString": "Property", @@ -8555,7 +10184,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 100, + "line": 99, "character": 18 } ], @@ -8566,11 +10195,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.useProxyForTunnel", - "id": 609 + "id": 675 } }, { - "id": 546, + "id": 591, "name": "username", "kind": 1024, "kindString": "Property", @@ -8584,7 +10213,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 62, + "line": 58, "character": 9 } ], @@ -8595,16 +10224,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.username", - "id": 31 + "id": 30 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.username", - "id": 621 + "id": 687 } }, { - "id": 556, + "id": 601, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -8618,7 +10247,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 133, + "line": 129, "character": 8 } ], @@ -8629,16 +10258,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.verbose", - "id": 44 + "id": 43 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.verbose", - "id": 622 + "id": 688 } }, { - "id": 505, + "id": 551, "name": "vmVersion", "kind": 1024, "kindString": "Property", @@ -8652,7 +10281,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 106, + "line": 105, "character": 10 } ], @@ -8663,37 +10292,11 @@ "implementationOf": { "type": "reference", "name": "SauceLabsProperties.vmVersion", - "id": 610 - } - }, - { - "id": 595, - "name": "on", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExported": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "node_modules/@dojo/core/Evented.d.ts", - "line": 50, - "character": 6 - } - ], - "type": { - "type": "reference", - "name": "BaseEventedEvents" - }, - "inheritedFrom": { - "type": "reference", - "name": "Evented.on" + "id": 676 } }, { - "id": 510, + "id": 556, "name": "auth", "kind": 262144, "kindString": "Accessor", @@ -8703,7 +10306,7 @@ }, "getSignature": [ { - "id": 511, + "id": 557, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -8717,30 +10320,30 @@ "overwrites": { "type": "reference", "name": "Tunnel.auth", - "id": 33 + "id": 32 } } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 134, + "line": 133, "character": 9 } ], "overwrites": { "type": "reference", "name": "Tunnel.auth", - "id": 33 + "id": 32 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.auth", - "id": 612 + "id": 678 } }, { - "id": 562, + "id": 607, "name": "clientUrl", "kind": 262144, "kindString": "Accessor", @@ -8753,7 +10356,7 @@ }, "getSignature": [ { - "id": 563, + "id": 608, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -8770,25 +10373,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.clientUrl", - "id": 50 + "id": 49 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 149, + "line": 145, "character": 14 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.clientUrl", - "id": 50 + "id": 49 } }, { - "id": 512, + "id": 558, "name": "executable", "kind": 262144, "kindString": "Accessor", @@ -8798,7 +10401,7 @@ }, "getSignature": [ { - "id": 513, + "id": 559, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -8812,30 +10415,30 @@ "overwrites": { "type": "reference", "name": "Tunnel.executable", - "id": 35 + "id": 34 } } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 138, + "line": 137, "character": 15 } ], "overwrites": { "type": "reference", "name": "Tunnel.executable", - "id": 35 + "id": 34 }, "implementationOf": { "type": "reference", "name": "SauceLabsProperties.executable", - "id": 614 + "id": 680 } }, { - "id": 514, + "id": 560, "name": "extraCapabilities", "kind": 262144, "kindString": "Accessor", @@ -8845,7 +10448,7 @@ }, "getSignature": [ { - "id": 515, + "id": 561, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -8859,25 +10462,25 @@ "overwrites": { "type": "reference", "name": "Tunnel.extraCapabilities", - "id": 52 + "id": 51 } } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 161, + "line": 160, "character": 22 } ], "overwrites": { "type": "reference", "name": "Tunnel.extraCapabilities", - "id": 52 + "id": 51 } }, { - "id": 516, + "id": 562, "name": "isDownloaded", "kind": 262144, "kindString": "Accessor", @@ -8887,7 +10490,7 @@ }, "getSignature": [ { - "id": 517, + "id": 563, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -8901,25 +10504,25 @@ "overwrites": { "type": "reference", "name": "Tunnel.isDownloaded", - "id": 54 + "id": 53 } } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 171, + "line": 170, "character": 17 } ], "overwrites": { "type": "reference", "name": "Tunnel.isDownloaded", - "id": 54 + "id": 53 } }, { - "id": 564, + "id": 609, "name": "isRunning", "kind": 262144, "kindString": "Accessor", @@ -8932,7 +10535,7 @@ }, "getSignature": [ { - "id": 565, + "id": 610, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -8949,25 +10552,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isRunning", - "id": 56 + "id": 55 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 171, + "line": 167, "character": 14 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isRunning", - "id": 56 + "id": 55 } }, { - "id": 566, + "id": 611, "name": "isStarting", "kind": 262144, "kindString": "Accessor", @@ -8980,7 +10583,7 @@ }, "getSignature": [ { - "id": 567, + "id": 612, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -8997,121 +10600,413 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isStarting", - "id": 58 + "id": 57 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 178, + "line": 174, "character": 15 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isStarting", - "id": 58 + "id": 57 + } + }, + { + "id": 613, + "name": "isStopping", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isExported": true, + "__visited__": true + }, + "comment": { + "shortText": "Whether or not the tunnel is currently stopping." + }, + "getSignature": [ + { + "id": 614, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Whether or not the tunnel is currently stopping." + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.isStopping", + "id": 59 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 181, + "character": 15 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.isStopping", + "id": 59 + } + }, + { + "id": 564, + "name": "url", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isExported": true, + "__visited__": true + }, + "getSignature": [ + { + "id": 565, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "Tunnel.url", + "id": 42 + } + } + ], + "sources": [ + { + "fileName": "SauceLabsTunnel.ts", + "line": 178, + "character": 8 + } + ], + "overwrites": { + "type": "reference", + "name": "Tunnel.url", + "id": 42 + }, + "implementationOf": { + "type": "reference", + "name": "SauceLabsProperties.url", + "id": 691 + } + }, + { + "id": 618, + "name": "_downloadFile", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 619, + "name": "_downloadFile", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 620, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 621, + "name": "proxy", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 622, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true, + "__visited__": true + }, + "type": { + "type": "reference", + "name": "DownloadOptions", + "id": 158 + } + } + ], + "type": { + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._downloadFile", + "id": 64 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 205, + "character": 24 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._downloadFile", + "id": 64 + } + }, + { + "id": 576, + "name": "_makeArgs", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 577, + "name": "_makeArgs", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 578, + "name": "readyFile", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "overwrites": { + "type": "reference", + "name": "Tunnel._makeArgs", + "id": 73 + } + } + ], + "sources": [ + { + "fileName": "SauceLabsTunnel.ts", + "line": 269, + "character": 20 + } + ], + "overwrites": { + "type": "reference", + "name": "Tunnel._makeArgs", + "id": 73 } }, { - "id": 568, - "name": "isStopping", - "kind": 262144, - "kindString": "Accessor", + "id": 623, + "name": "_makeChild", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "comment": { - "shortText": "Whether or not the tunnel is currently stopping." - }, - "getSignature": [ + "signatures": [ { - "id": 569, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 624, + "name": "_makeChild", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Whether or not the tunnel is currently stopping." + "shortText": "Creates a newly spawned child process for the tunnel software.\nImplementations should call this method to create the tunnel process.", + "text": "Arguments passed to this method will be passed as-is to\n[[Tunnel._makeArgs]] and [[Tunnel._makeOptions]].\n", + "returns": "An object containing a newly spawned Process and a Deferred that\nwill be resolved once the tunnel has started successfully.\n" }, + "parameters": [ + { + "id": 625, + "name": "executor", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "ChildExecutor", + "id": 148 + } + }, + { + "id": 626, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true, + "__visited__": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.isStopping", - "id": 60 + "name": "Tunnel._makeChild", + "id": 76 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 185, - "character": 15 + "line": 300, + "character": 21 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.isStopping", - "id": 60 + "name": "Tunnel._makeChild", + "id": 76 } }, { - "id": 518, - "name": "url", - "kind": 262144, - "kindString": "Accessor", + "id": 573, + "name": "_makeJavaArgs", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "getSignature": [ + "signatures": [ { - "id": 519, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 574, + "name": "_makeJavaArgs", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, + "parameters": [ + { + "id": 575, + "name": "proxy", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true, + "__visited__": true + }, + "type": { + "type": "reference", + "name": "Url" + } + } + ], "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "name": "Tunnel.url", - "id": 43 + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 179, - "character": 8 + "line": 237, + "character": 24 } - ], - "overwrites": { - "type": "reference", - "name": "Tunnel.url", - "id": 43 - }, - "implementationOf": { - "type": "reference", - "name": "SauceLabsProperties.url", - "id": 625 - } + ] }, { - "id": 573, - "name": "_downloadFile", + "id": 570, + "name": "_makeNativeArgs", "kind": 2048, "kindString": "Method", "flags": { @@ -9121,8 +11016,8 @@ }, "signatures": [ { - "id": 574, - "name": "_downloadFile", + "id": 571, + "name": "_makeNativeArgs", "kind": 4096, "kindString": "Call signature", "flags": { @@ -9130,80 +11025,147 @@ }, "parameters": [ { - "id": 575, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 576, + "id": 572, "name": "proxy", "kind": 32768, "kindString": "Parameter", "flags": { + "isOptional": true, "__visited__": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "Url" } - }, + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "sources": [ + { + "fileName": "SauceLabsTunnel.ts", + "line": 207, + "character": 26 + } + ] + }, + { + "id": 627, + "name": "_makeOptions", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 628, + "name": "_makeOptions", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Creates the set of options to use when spawning the tunnel process.\nImplementations should override this method to provide the appropriate\noptions for the tunnel software.", + "text": "Arguments passed to [[Tunnel._makeChild]] will be passed as-is to this\nmethod.\n", + "returns": "A set of options matching those provided to Node.js\n`child_process.spawn`.\n" + }, + "parameters": [ { - "id": 577, - "name": "options", + "id": 629, + "name": "_values", "kind": 32768, "kindString": "Parameter", "flags": { - "isOptional": true, + "isRest": true, "__visited__": true }, "type": { - "type": "reference", - "name": "DownloadOptions", - "id": 139 + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } } ], "type": { - "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ] + "type": "reflection", + "declaration": { + "id": 630, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "__visited__": true + }, + "children": [ + { + "id": 631, + "name": "env", + "kind": 32, + "kindString": "Variable", + "flags": { + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 388, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "defaultValue": " process.env" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 631 + ] + } + ] + } }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._downloadFile", - "id": 65 + "name": "Tunnel._makeOptions", + "id": 80 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 209, - "character": 24 + "line": 387, + "character": 23 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._downloadFile", - "id": 65 + "name": "Tunnel._makeOptions", + "id": 80 } }, { - "id": 530, - "name": "_makeArgs", + "id": 586, + "name": "_normalizeEnvironment", "kind": 2048, "kindString": "Method", "flags": { @@ -9213,58 +11175,64 @@ }, "signatures": [ { - "id": 531, - "name": "_makeArgs", + "id": 587, + "name": "_normalizeEnvironment", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Attempt to normalize a SauceLabs described environment with the standard\nSelenium capabilities", + "text": "SauceLabs returns a list of environments that looks like:\n\n{\n \"short_version\": \"25\",\n \"long_name\": \"Firefox\",\n \"api_name\": \"firefox\",\n \"long_version\": \"25.0b2.\",\n \"latest_stable_version\": \"\",\n \"automation_backend\": \"webdriver\",\n \"os\": \"Windows 2003\"\n}\n", + "returns": "a normalized descriptor\n" + }, "parameters": [ { - "id": 532, - "name": "readyFile", + "id": 588, + "name": "environment", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, + "comment": { + "text": "a SauceLabs environment descriptor" + }, "type": { "type": "intrinsic", - "name": "string" + "name": "any" } } ], "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 }, "overwrites": { "type": "reference", - "name": "Tunnel._makeArgs", - "id": 74 + "name": "Tunnel._normalizeEnvironment", + "id": 100 } } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 270, - "character": 20 + "line": 514, + "character": 32 } ], "overwrites": { "type": "reference", - "name": "Tunnel._makeArgs", - "id": 74 + "name": "Tunnel._normalizeEnvironment", + "id": 100 } }, { - "id": 578, - "name": "_makeChild", + "id": 566, + "name": "_postDownloadFile", "kind": 2048, "kindString": "Method", "flags": { @@ -9274,22 +11242,17 @@ }, "signatures": [ { - "id": 579, - "name": "_makeChild", + "id": 567, + "name": "_postDownloadFile", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, - "comment": { - "shortText": "Creates a newly spawned child process for the tunnel software.\nImplementations should call this method to create the tunnel process.", - "text": "Arguments passed to this method will be passed as-is to\n[[Tunnel._makeArgs]] and [[Tunnel._makeOptions]].\n", - "returns": "An object containing a newly spawned Process and a Deferred that\nwill be resolved once the tunnel has started successfully.\n" - }, "parameters": [ { - "id": 580, - "name": "executor", + "id": 568, + "name": "data", "kind": 32768, "kindString": "Parameter", "flags": { @@ -9297,61 +11260,58 @@ }, "type": { "type": "reference", - "name": "ChildExecutor", - "id": 129 + "name": "Buffer" } }, { - "id": 581, - "name": "values", + "id": 569, + "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { - "isRest": true, + "isOptional": true, "__visited__": true }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "name": "DownloadOptions", + "id": 158 } } ], "type": { "type": "reference", - "name": "Task", + "name": "Promise", "typeArguments": [ { "type": "intrinsic", - "name": "any" + "name": "void" } ] }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Tunnel._makeChild", - "id": 77 + "name": "Tunnel._postDownloadFile", + "id": 69 } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 304, - "character": 21 + "fileName": "SauceLabsTunnel.ts", + "line": 196, + "character": 28 } ], - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Tunnel._makeChild", - "id": 77 + "name": "Tunnel._postDownloadFile", + "id": 69 } }, { - "id": 527, - "name": "_makeJavaArgs", + "id": 583, + "name": "_start", "kind": 2048, "kindString": "Method", "flags": { @@ -9361,8 +11321,8 @@ }, "signatures": [ { - "id": 528, - "name": "_makeJavaArgs", + "id": 584, + "name": "_start", "kind": 4096, "kindString": "Call signature", "flags": { @@ -9370,40 +11330,53 @@ }, "parameters": [ { - "id": 529, - "name": "proxy", + "id": 585, + "name": "executor", "kind": 32768, "kindString": "Parameter", "flags": { - "isOptional": true, "__visited__": true }, "type": { "type": "reference", - "name": "Url" + "name": "ChildExecutor", + "id": 148 } } ], "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] + }, + "overwrites": { + "type": "reference", + "name": "Tunnel._start", + "id": 91 } } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 238, - "character": 24 + "line": 361, + "character": 17 } - ] + ], + "overwrites": { + "type": "reference", + "name": "Tunnel._start", + "id": 91 + } }, { - "id": 524, - "name": "_makeNativeArgs", + "id": 636, + "name": "_stop", "kind": 2048, "kindString": "Method", "flags": { @@ -9413,313 +11386,236 @@ }, "signatures": [ { - "id": 525, - "name": "_makeNativeArgs", + "id": 637, + "name": "_stop", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, - "parameters": [ - { - "id": 526, - "name": "proxy", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true, - "__visited__": true - }, - "type": { - "type": "reference", - "name": "Url" - } - } - ], + "comment": { + "shortText": "This method provides the implementation that actually stops the tunnel.", + "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", + "returns": "A promise that resolves once the tunnel has shut down.\n" + }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._stop", + "id": 96 } } ], "sources": [ { - "fileName": "SauceLabsTunnel.ts", - "line": 208, - "character": 26 + "fileName": "Tunnel.ts", + "line": 544, + "character": 16 } - ] + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._stop", + "id": 96 + } }, { - "id": 582, - "name": "_makeOptions", + "id": 660, + "name": "destroy", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 583, - "name": "_makeOptions", + "id": 661, + "name": "destroy", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Creates the set of options to use when spawning the tunnel process.\nImplementations should override this method to provide the appropriate\noptions for the tunnel software.", - "text": "Arguments passed to [[Tunnel._makeChild]] will be passed as-is to this\nmethod.\n", - "returns": "A set of options matching those provided to Node.js\n`child_process.spawn`.\n" + "shortText": "Destrpys all handers registered for the instance", + "returns": "a promise that resolves once all handles have been destroyed\n" }, - "parameters": [ - { - "id": 584, - "name": "_values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true, - "__visited__": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], "type": { - "type": "reflection", - "declaration": { - "id": 585, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "__visited__": true - }, - "children": [ - { - "id": 586, - "name": "env", - "kind": 32, - "kindString": "Variable", - "flags": { - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 392, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "defaultValue": " process.env" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 586 - ] - } - ] - } + "type": "reference", + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeOptions", - "id": 81 + "name": "Destroyable.destroy" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 391, - "character": 23 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 23, + "character": 11 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeOptions", - "id": 81 + "name": "Destroyable.destroy" } }, { - "id": 540, - "name": "_normalizeEnvironment", + "id": 615, + "name": "download", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 541, - "name": "_normalizeEnvironment", + "id": 616, + "name": "download", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Attempt to normalize a SauceLabs described environment with the standard\nSelenium capabilities", - "text": "SauceLabs returns a list of environments that looks like:\n\n{\n \"short_version\": \"25\",\n \"long_name\": \"Firefox\",\n \"api_name\": \"firefox\",\n \"long_version\": \"25.0b2.\",\n \"latest_stable_version\": \"\",\n \"automation_backend\": \"webdriver\",\n \"os\": \"Windows 2003\"\n}\n", - "returns": "a normalized descriptor\n" + "shortText": "Downloads and extracts the tunnel software if it is not already\ndownloaded.", + "text": "This method can be extended by implementations to perform any necessary\npost-processing, such as setting appropriate file permissions on the\ndownloaded executable.\n", + "returns": "A promise that resolves once the download and extraction process\nhas completed.\n" }, "parameters": [ { - "id": 542, - "name": "environment", + "id": 617, + "name": "forceDownload", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "comment": { - "text": "a SauceLabs environment descriptor" + "text": "Force downloading the software even if it already\nhas been downloaded." }, "type": { "type": "intrinsic", - "name": "any" - } + "name": "boolean" + }, + "defaultValue": "false" } ], "type": { "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._normalizeEnvironment", - "id": 101 + "name": "Tunnel.download", + "id": 61 } } ], "sources": [ { - "fileName": "SauceLabsTunnel.ts", - "line": 515, - "character": 32 + "fileName": "Tunnel.ts", + "line": 198, + "character": 9 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._normalizeEnvironment", - "id": 101 + "name": "Tunnel.download", + "id": 61 } }, { - "id": 520, - "name": "_postDownloadFile", + "id": 643, + "name": "emit", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 521, - "name": "_postDownloadFile", + "id": 644, + "name": "emit", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, - "parameters": [ + "comment": { + "shortText": "Emits the event objet for the specified type" + }, + "typeParameter": [ { - "id": 522, - "name": "data", - "kind": 32768, - "kindString": "Parameter", + "id": 645, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "Buffer" + "type": "unknown", + "name": "keyof M" } - }, + } + ], + "parameters": [ { - "id": 523, - "name": "options", + "id": 646, + "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { - "isOptional": true, "__visited__": true }, + "comment": { + "text": "the event to emit\n" + }, "type": { - "type": "reference", - "name": "DownloadOptions", - "id": 139 + "type": "unknown", + "name": "M[K]" } } ], "type": { - "type": "reference", - "name": "Promise", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ] + "type": "intrinsic", + "name": "void" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._postDownloadFile", - "id": 70 + "name": "Evented.emit" } - } - ], - "sources": [ - { - "fileName": "SauceLabsTunnel.ts", - "line": 197, - "character": 28 - } - ], - "overwrites": { - "type": "reference", - "name": "Tunnel._postDownloadFile", - "id": 70 - } - }, - { - "id": 537, - "name": "_start", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true, - "isProtected": true, - "__visited__": true - }, - "signatures": [ + }, { - "id": 538, - "name": "_start", + "id": 647, + "name": "emit", "kind": 4096, "kindString": "Call signature", "flags": { @@ -9727,107 +11623,116 @@ }, "parameters": [ { - "id": 539, - "name": "executor", + "id": 648, + "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "ChildExecutor", - "id": 129 + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } } } ], "type": { - "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ] + "type": "intrinsic", + "name": "void" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._start", - "id": 92 + "name": "Evented.emit" } } ], "sources": [ { - "fileName": "SauceLabsTunnel.ts", - "line": 362, - "character": 17 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 38, + "character": 8 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 39, + "character": 8 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._start", - "id": 92 + "name": "Evented.emit" } }, { - "id": 591, - "name": "_stop", + "id": 638, + "name": "getEnvironments", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 592, - "name": "_stop", + "id": 639, + "name": "getEnvironments", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "This method provides the implementation that actually stops the tunnel.", - "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", - "returns": "A promise that resolves once the tunnel has shut down.\n" + "shortText": "Get a list of environments available on the service.", + "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", + "returns": "An object containing the response and helper functions\n" }, "type": { "type": "reference", - "name": "Promise", + "name": "Task", "typeArguments": [ { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 + } } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 548, + "line": 577, "character": 16 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } }, { - "id": 570, - "name": "download", + "id": 649, + "name": "on", "kind": 2048, "kindString": "Method", "flags": { @@ -9836,70 +11741,179 @@ }, "signatures": [ { - "id": 571, - "name": "download", + "id": 650, + "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Downloads and extracts the tunnel software if it is not already\ndownloaded.", - "text": "This method can be extended by implementations to perform any necessary\npost-processing, such as setting appropriate file permissions on the\ndownloaded executable.\n", - "returns": "A promise that resolves once the download and extraction process\nhas completed.\n" + "shortText": "Catch all handler for various call signatures. The signatures are defined in\n`BaseEventedEvents`. You can add your own event type -> handler types by extending\n`BaseEventedEvents`. See example for details.", + "returns": "\n", + "tags": [ + { + "tag": "example", + "text": "\n\ninterface WidgetBaseEvents extends BaseEventedEvents {\n (type: 'properties:changed', handler: PropertiesChangedHandler): Handle;\n}\nclass WidgetBase extends Evented {\n on: WidgetBaseEvents;\n}\n" + } + ] }, + "typeParameter": [ + { + "id": 651, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], "parameters": [ { - "id": 572, - "name": "forceDownload", + "id": 652, + "name": "type", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, - "comment": { - "text": "Force downloading the software even if it already\nhas been downloaded." + "type": { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + } + }, + { + "id": 653, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + }, + { + "type": "unknown", + "name": "M[K]" + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + }, + { + "id": 654, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 655, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + } + }, + { + "id": 656, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true }, - "defaultValue": "false" + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + } } ], "type": { "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ] + "name": "Handle" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 202, - "character": 9 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 58, + "character": 6 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 59, + "character": 6 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } }, { - "id": 593, - "name": "getEnvironments", + "id": 657, + "name": "own", "kind": 2048, "kindString": "Method", "flags": { @@ -9908,54 +11922,68 @@ }, "signatures": [ { - "id": 594, - "name": "getEnvironments", + "id": 658, + "name": "own", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Get a list of environments available on the service.", - "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", - "returns": "An object containing the response and helper functions\n" + "shortText": "Register handles for the instance that will be destroyed when `this.destroy` is called", + "returns": "a handle for the handle, removes the handle for the instance and calls destroy\n" }, + "parameters": [ + { + "id": 659, + "name": "handles", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Handle" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "Handle" + } + } + ] + } + } + ], "type": { "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 - } - } - ] + "name": "Handle" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 581, - "character": 16 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 17, + "character": 7 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } }, { - "id": 533, + "id": 579, "name": "sendJobState", "kind": 2048, "kindString": "Method", @@ -9965,7 +11993,7 @@ }, "signatures": [ { - "id": 534, + "id": 580, "name": "sendJobState", "kind": 4096, "kindString": "Call signature", @@ -9974,7 +12002,7 @@ }, "parameters": [ { - "id": 535, + "id": 581, "name": "jobId", "kind": 32768, "kindString": "Parameter", @@ -9987,7 +12015,7 @@ } }, { - "id": 536, + "id": 582, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -10014,25 +12042,25 @@ "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 312, + "line": 311, "character": 13 } ], "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } }, { - "id": 587, + "id": 632, "name": "start", "kind": 2048, "kindString": "Method", @@ -10042,7 +12070,7 @@ }, "signatures": [ { - "id": 588, + "id": 633, "name": "start", "kind": 4096, "kindString": "Call signature", @@ -10066,25 +12094,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 413, + "line": 409, "character": 6 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } }, { - "id": 589, + "id": 634, "name": "stop", "kind": 2048, "kindString": "Method", @@ -10094,7 +12122,7 @@ }, "signatures": [ { - "id": 590, + "id": 635, "name": "stop", "kind": 4096, "kindString": "Call signature", @@ -10118,21 +12146,21 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 500, + "line": 496, "character": 5 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], @@ -10141,91 +12169,95 @@ "title": "Constructors", "kind": 512, "children": [ - 507 + 553 ] }, { "title": "Properties", "kind": 1024, "children": [ - 559, - 560, - 557, - 561, - 558, + 641, + 604, + 605, + 602, + 606, + 603, + 590, + 592, + 538, + 593, + 540, + 589, + 541, + 594, + 542, + 642, + 543, 545, + 546, + 595, + 544, + 596, + 597, + 598, + 599, 547, - 492, + 552, 548, - 494, - 544, - 495, 549, - 496, - 497, - 499, - 500, - 543, + 539, + 600, 550, - 498, - 551, - 552, - 553, - 554, - 501, - 506, - 502, - 503, - 493, - 555, - 504, - 546, - 556, - 505, - 595 + 591, + 601, + 551 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 510, + 556, + 607, + 558, + 560, 562, - 512, - 514, - 516, - 564, - 566, - 568, - 518 + 609, + 611, + 613, + 564 ] }, { "title": "Methods", "kind": 2048, "children": [ + 618, + 576, + 623, 573, - 530, - 578, - 527, - 524, - 582, - 540, - 520, - 537, - 591, 570, - 593, - 533, - 587, - 589 + 627, + 586, + 566, + 583, + 636, + 660, + 615, + 643, + 638, + 649, + 657, + 579, + 632, + 634 ] } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 28, + "line": 27, "character": 36 } ], @@ -10240,7 +12272,7 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 }, { "type": "reference", @@ -10249,12 +12281,12 @@ { "type": "reference", "name": "SauceLabsProperties", - "id": 596 + "id": 662 } ] }, { - "id": 596, + "id": 662, "name": "SauceLabsProperties", "kind": 256, "kindString": "Interface", @@ -10264,7 +12296,7 @@ }, "children": [ { - "id": 613, + "id": 679, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -10275,7 +12307,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 711, + "line": 718, "character": 10 } ], @@ -10286,11 +12318,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.accessKey", - "id": 159 + "id": 178 } }, { - "id": 611, + "id": 677, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -10301,7 +12333,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 709, + "line": 716, "character": 13 } ], @@ -10312,11 +12344,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.architecture", - "id": 157 + "id": 176 } }, { - "id": 612, + "id": 678, "name": "auth", "kind": 1024, "kindString": "Property", @@ -10327,7 +12359,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 710, + "line": 717, "character": 5 } ], @@ -10338,11 +12370,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.auth", - "id": 158 + "id": 177 } }, { - "id": 597, + "id": 663, "name": "directDomains", "kind": 1024, "kindString": "Property", @@ -10353,7 +12385,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 567, + "line": 566, "character": 14 } ], @@ -10366,7 +12398,7 @@ } }, { - "id": 623, + "id": 689, "name": "directory", "kind": 1024, "kindString": "Property", @@ -10377,7 +12409,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 679, + "line": 686, "character": 10 } ], @@ -10388,11 +12420,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.directory", - "id": 140 + "id": 159 } }, { - "id": 599, + "id": 665, "name": "domainAuthentication", "kind": 1024, "kindString": "Property", @@ -10403,7 +12435,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 569, + "line": 568, "character": 21 } ], @@ -10416,7 +12448,7 @@ } }, { - "id": 614, + "id": 680, "name": "executable", "kind": 1024, "kindString": "Property", @@ -10427,7 +12459,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 712, + "line": 719, "character": 11 } ], @@ -10438,11 +12470,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.executable", - "id": 160 + "id": 179 } }, { - "id": 600, + "id": 666, "name": "fastFailDomains", "kind": 1024, "kindString": "Property", @@ -10453,7 +12485,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 570, + "line": 569, "character": 16 } ], @@ -10466,7 +12498,7 @@ } }, { - "id": 615, + "id": 681, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -10477,7 +12509,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 713, + "line": 720, "character": 9 } ], @@ -10488,11 +12520,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.hostname", - "id": 161 + "id": 180 } }, { - "id": 601, + "id": 667, "name": "isSharedTunnel", "kind": 1024, "kindString": "Property", @@ -10503,7 +12535,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 571, + "line": 570, "character": 15 } ], @@ -10513,7 +12545,7 @@ } }, { - "id": 602, + "id": 668, "name": "logFile", "kind": 1024, "kindString": "Property", @@ -10524,7 +12556,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 572, + "line": 571, "character": 8 } ], @@ -10534,7 +12566,7 @@ } }, { - "id": 604, + "id": 670, "name": "logFileSize", "kind": 1024, "kindString": "Property", @@ -10545,7 +12577,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 574, + "line": 573, "character": 12 } ], @@ -10555,7 +12587,7 @@ } }, { - "id": 605, + "id": 671, "name": "logTrafficStats", "kind": 1024, "kindString": "Property", @@ -10566,7 +12598,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 575, + "line": 574, "character": 16 } ], @@ -10576,7 +12608,7 @@ } }, { - "id": 616, + "id": 682, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -10587,7 +12619,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 714, + "line": 721, "character": 9 } ], @@ -10598,11 +12630,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.pathname", - "id": 162 + "id": 181 } }, { - "id": 603, + "id": 669, "name": "pidFile", "kind": 1024, "kindString": "Property", @@ -10613,7 +12645,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 573, + "line": 572, "character": 8 } ], @@ -10623,7 +12655,7 @@ } }, { - "id": 617, + "id": 683, "name": "platform", "kind": 1024, "kindString": "Property", @@ -10634,7 +12666,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 715, + "line": 722, "character": 9 } ], @@ -10645,11 +12677,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.platform", - "id": 163 + "id": 182 } }, { - "id": 618, + "id": 684, "name": "port", "kind": 1024, "kindString": "Property", @@ -10660,7 +12692,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 716, + "line": 723, "character": 5 } ], @@ -10671,11 +12703,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.port", - "id": 164 + "id": 183 } }, { - "id": 619, + "id": 685, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -10686,7 +12718,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 717, + "line": 724, "character": 9 } ], @@ -10697,11 +12729,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.protocol", - "id": 165 + "id": 184 } }, { - "id": 624, + "id": 690, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -10712,7 +12744,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 680, + "line": 687, "character": 6 } ], @@ -10723,11 +12755,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.proxy", - "id": 141 + "id": 160 } }, { - "id": 606, + "id": 672, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -10738,7 +12770,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 576, + "line": 575, "character": 8 } ], @@ -10748,7 +12780,7 @@ } }, { - "id": 607, + "id": 673, "name": "skipSslDomains", "kind": 1024, "kindString": "Property", @@ -10759,7 +12791,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 577, + "line": 576, "character": 15 } ], @@ -10772,7 +12804,7 @@ } }, { - "id": 608, + "id": 674, "name": "squidOptions", "kind": 1024, "kindString": "Property", @@ -10783,7 +12815,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 578, + "line": 577, "character": 13 } ], @@ -10793,7 +12825,7 @@ } }, { - "id": 598, + "id": 664, "name": "tunnelDomains", "kind": 1024, "kindString": "Property", @@ -10804,7 +12836,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 568, + "line": 567, "character": 14 } ], @@ -10817,7 +12849,7 @@ } }, { - "id": 620, + "id": 686, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -10828,7 +12860,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 718, + "line": 725, "character": 9 } ], @@ -10839,11 +12871,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.tunnelId", - "id": 166 + "id": 185 } }, { - "id": 625, + "id": 691, "name": "url", "kind": 1024, "kindString": "Property", @@ -10854,7 +12886,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 681, + "line": 688, "character": 4 } ], @@ -10865,11 +12897,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.url", - "id": 142 + "id": 161 } }, { - "id": 609, + "id": 675, "name": "useProxyForTunnel", "kind": 1024, "kindString": "Property", @@ -10880,7 +12912,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 579, + "line": 578, "character": 18 } ], @@ -10890,7 +12922,7 @@ } }, { - "id": 621, + "id": 687, "name": "username", "kind": 1024, "kindString": "Property", @@ -10901,7 +12933,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 719, + "line": 726, "character": 9 } ], @@ -10912,11 +12944,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.username", - "id": 167 + "id": 186 } }, { - "id": 622, + "id": 688, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -10927,7 +12959,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 720, + "line": 727, "character": 8 } ], @@ -10938,11 +12970,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.verbose", - "id": 168 + "id": 187 } }, { - "id": 610, + "id": 676, "name": "vmVersion", "kind": 1024, "kindString": "Property", @@ -10953,7 +12985,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 580, + "line": 579, "character": 10 } ], @@ -10968,42 +13000,42 @@ "title": "Properties", "kind": 1024, "children": [ - 613, - 611, - 612, - 597, - 623, - 599, - 614, - 600, - 615, - 601, - 602, - 604, - 605, - 616, - 603, - 617, - 618, - 619, - 624, - 606, - 607, - 608, - 598, - 620, - 625, - 609, - 621, - 622, - 610 + 679, + 677, + 678, + 663, + 689, + 665, + 680, + 666, + 681, + 667, + 668, + 670, + 671, + 682, + 669, + 683, + 684, + 685, + 690, + 672, + 673, + 674, + 664, + 686, + 691, + 675, + 687, + 688, + 676 ] } ], "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 566, + "line": 565, "character": 36 } ], @@ -11011,19 +13043,19 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 } ], "implementedBy": [ { "type": "reference", "name": "SauceLabsTunnel", - "id": 491 + "id": 537 } ] }, { - "id": 627, + "id": 693, "name": "SauceLabsOptions", "kind": 4194304, "kindString": "Type alias", @@ -11034,7 +13066,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 583, + "line": 582, "character": 28 } ], @@ -11045,13 +13077,13 @@ { "type": "reference", "name": "SauceLabsProperties", - "id": 596 + "id": 662 } ] } }, { - "id": 626, + "id": 692, "name": "scVersion", "kind": 32, "kindString": "Variable", @@ -11061,7 +13093,7 @@ "sources": [ { "fileName": "SauceLabsTunnel.ts", - "line": 19, + "line": 18, "character": 15 } ], @@ -11077,28 +13109,28 @@ "title": "Classes", "kind": 128, "children": [ - 491 + 537 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 596 + 662 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 627 + 693 ] }, { "title": "Variables", "kind": 32, "children": [ - 626 + 692 ] } ], @@ -11111,7 +13143,7 @@ ] }, { - "id": 628, + "id": 694, "name": "\"SeleniumTunnel\"", "kind": 1, "kindString": "External module", @@ -11122,7 +13154,7 @@ "originalName": "src/SeleniumTunnel.ts", "children": [ { - "id": 768, + "id": 854, "name": "ChromeConfig", "kind": 128, "kindString": "Class", @@ -11131,7 +13163,7 @@ }, "children": [ { - "id": 773, + "id": 859, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -11140,7 +13172,7 @@ }, "signatures": [ { - "id": 774, + "id": 860, "name": "new ChromeConfig", "kind": 16384, "kindString": "Constructor signature", @@ -11149,7 +13181,7 @@ }, "parameters": [ { - "id": 775, + "id": 861, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11159,19 +13191,19 @@ "type": { "type": "reference", "name": "ChromeOptions", - "id": 859 + "id": 945 } } ], "type": { "type": "reference", "name": "ChromeConfig", - "id": 768 + "id": 854 }, "overwrites": { "type": "reference", "name": "Config.__constructor", - "id": 757 + "id": 843 } } ], @@ -11185,11 +13217,11 @@ "overwrites": { "type": "reference", "name": "Config.__constructor", - "id": 757 + "id": 843 } }, { - "id": 769, + "id": 855, "name": "arch", "kind": 1024, "kindString": "Property", @@ -11210,11 +13242,11 @@ "implementationOf": { "type": "reference", "name": "ChromeProperties.arch", - "id": 764 + "id": 850 } }, { - "id": 770, + "id": 856, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -11235,11 +13267,11 @@ "implementationOf": { "type": "reference", "name": "ChromeProperties.baseUrl", - "id": 765 + "id": 851 } }, { - "id": 771, + "id": 857, "name": "platform", "kind": 1024, "kindString": "Property", @@ -11260,11 +13292,11 @@ "implementationOf": { "type": "reference", "name": "ChromeProperties.platform", - "id": 766 + "id": 852 } }, { - "id": 772, + "id": 858, "name": "version", "kind": 1024, "kindString": "Property", @@ -11285,11 +13317,11 @@ "implementationOf": { "type": "reference", "name": "ChromeProperties.version", - "id": 767 + "id": 853 } }, { - "id": 776, + "id": 862, "name": "artifact", "kind": 262144, "kindString": "Accessor", @@ -11298,7 +13330,7 @@ }, "getSignature": [ { - "id": 777, + "id": 863, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -11320,7 +13352,7 @@ ] }, { - "id": 780, + "id": 866, "name": "executable", "kind": 262144, "kindString": "Accessor", @@ -11329,7 +13361,7 @@ }, "getSignature": [ { - "id": 781, + "id": 867, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -11352,7 +13384,7 @@ "overwrites": { "type": "reference", "name": "Config.executable", - "id": 760 + "id": 846 } } ], @@ -11366,16 +13398,16 @@ "overwrites": { "type": "reference", "name": "Config.executable", - "id": 760 + "id": 846 }, "implementationOf": { "type": "reference", "name": "DriverFile.executable", - "id": 722 + "id": 808 } }, { - "id": 782, + "id": 868, "name": "seleniumProperty", "kind": 262144, "kindString": "Accessor", @@ -11384,7 +13416,7 @@ }, "getSignature": [ { - "id": 783, + "id": 869, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -11398,7 +13430,7 @@ "overwrites": { "type": "reference", "name": "Config.seleniumProperty", - "id": 762 + "id": 848 } } ], @@ -11412,16 +13444,16 @@ "overwrites": { "type": "reference", "name": "Config.seleniumProperty", - "id": 762 + "id": 848 }, "implementationOf": { "type": "reference", "name": "DriverFile.seleniumProperty", - "id": 720 + "id": 806 } }, { - "id": 778, + "id": 864, "name": "url", "kind": 262144, "kindString": "Accessor", @@ -11430,7 +13462,7 @@ }, "getSignature": [ { - "id": 779, + "id": 865, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -11444,7 +13476,7 @@ "overwrites": { "type": "reference", "name": "Config.url", - "id": 761 + "id": 847 } } ], @@ -11458,12 +13490,12 @@ "overwrites": { "type": "reference", "name": "Config.url", - "id": 761 + "id": 847 }, "implementationOf": { "type": "reference", "name": "DriverFile.url", - "id": 723 + "id": 809 } } ], @@ -11472,27 +13504,27 @@ "title": "Constructors", "kind": 512, "children": [ - 773 + 859 ] }, { "title": "Properties", "kind": 1024, "children": [ - 769, - 770, - 771, - 772 + 855, + 856, + 857, + 858 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 776, - 780, - 782, - 778 + 862, + 866, + 868, + 864 ] } ], @@ -11507,12 +13539,12 @@ { "type": "reference", "name": "Config", - "id": 755, + "id": 841, "typeArguments": [ { "type": "reference", "name": "ChromeOptions", - "id": 859 + "id": 945 } ] } @@ -11521,17 +13553,17 @@ { "type": "reference", "name": "ChromeProperties", - "id": 763 + "id": 849 }, { "type": "reference", "name": "DriverFile", - "id": 719 + "id": 805 } ] }, { - "id": 755, + "id": 841, "name": "Config", "kind": 128, "kindString": "Class", @@ -11540,7 +13572,7 @@ }, "typeParameter": [ { - "id": 756, + "id": 842, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11551,7 +13583,7 @@ ], "children": [ { - "id": 757, + "id": 843, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -11560,7 +13592,7 @@ }, "signatures": [ { - "id": 758, + "id": 844, "name": "new Config", "kind": 16384, "kindString": "Constructor signature", @@ -11569,7 +13601,7 @@ }, "parameters": [ { - "id": 759, + "id": 845, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -11585,7 +13617,7 @@ "type": { "type": "reference", "name": "Config", - "id": 755 + "id": 841 } } ], @@ -11598,7 +13630,7 @@ ] }, { - "id": 760, + "id": 846, "name": "executable", "kind": 1024, "kindString": "Property", @@ -11618,7 +13650,7 @@ } }, { - "id": 762, + "id": 848, "name": "seleniumProperty", "kind": 1024, "kindString": "Property", @@ -11648,7 +13680,7 @@ } }, { - "id": 761, + "id": 847, "name": "url", "kind": 1024, "kindString": "Property", @@ -11673,16 +13705,16 @@ "title": "Constructors", "kind": 512, "children": [ - 757 + 843 ] }, { "title": "Properties", "kind": 1024, "children": [ - 760, - 762, - 761 + 846, + 848, + 847 ] } ], @@ -11697,27 +13729,27 @@ { "type": "reference", "name": "ChromeConfig", - "id": 768 + "id": 854 }, { "type": "reference", "name": "FirefoxConfig", - "id": 789 + "id": 875 }, { "type": "reference", "name": "IEConfig", - "id": 809 + "id": 895 }, { "type": "reference", "name": "EdgeConfig", - "id": 828 + "id": 914 } ] }, { - "id": 828, + "id": 914, "name": "EdgeConfig", "kind": 128, "kindString": "Class", @@ -11726,7 +13758,7 @@ }, "children": [ { - "id": 832, + "id": 918, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -11735,7 +13767,7 @@ }, "signatures": [ { - "id": 833, + "id": 919, "name": "new EdgeConfig", "kind": 16384, "kindString": "Constructor signature", @@ -11744,7 +13776,7 @@ }, "parameters": [ { - "id": 834, + "id": 920, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11754,19 +13786,19 @@ "type": { "type": "reference", "name": "EdgeOptions", - "id": 862 + "id": 948 } } ], "type": { "type": "reference", "name": "EdgeConfig", - "id": 828 + "id": 914 }, "overwrites": { "type": "reference", "name": "Config.__constructor", - "id": 757 + "id": 843 } } ], @@ -11780,11 +13812,11 @@ "overwrites": { "type": "reference", "name": "Config.__constructor", - "id": 757 + "id": 843 } }, { - "id": 829, + "id": 915, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -11805,11 +13837,11 @@ "implementationOf": { "type": "reference", "name": "EdgeProperties.baseUrl", - "id": 825 + "id": 911 } }, { - "id": 830, + "id": 916, "name": "uuid", "kind": 1024, "kindString": "Property", @@ -11830,11 +13862,11 @@ "implementationOf": { "type": "reference", "name": "EdgeProperties.uuid", - "id": 826 + "id": 912 } }, { - "id": 831, + "id": 917, "name": "version", "kind": 1024, "kindString": "Property", @@ -11855,11 +13887,11 @@ "implementationOf": { "type": "reference", "name": "EdgeProperties.version", - "id": 827 + "id": 913 } }, { - "id": 839, + "id": 925, "name": "artifact", "kind": 262144, "kindString": "Accessor", @@ -11868,7 +13900,7 @@ }, "getSignature": [ { - "id": 840, + "id": 926, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -11890,7 +13922,7 @@ ] }, { - "id": 835, + "id": 921, "name": "dontExtract", "kind": 262144, "kindString": "Accessor", @@ -11899,7 +13931,7 @@ }, "getSignature": [ { - "id": 836, + "id": 922, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -11922,11 +13954,11 @@ "implementationOf": { "type": "reference", "name": "DriverFile.dontExtract", - "id": 721 + "id": 807 } }, { - "id": 841, + "id": 927, "name": "executable", "kind": 262144, "kindString": "Accessor", @@ -11935,7 +13967,7 @@ }, "getSignature": [ { - "id": 842, + "id": 928, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -11949,7 +13981,7 @@ "overwrites": { "type": "reference", "name": "Config.executable", - "id": 760 + "id": 846 } } ], @@ -11963,16 +13995,16 @@ "overwrites": { "type": "reference", "name": "Config.executable", - "id": 760 + "id": 846 }, "implementationOf": { "type": "reference", "name": "DriverFile.executable", - "id": 722 + "id": 808 } }, { - "id": 843, + "id": 929, "name": "seleniumProperty", "kind": 262144, "kindString": "Accessor", @@ -11981,7 +14013,7 @@ }, "getSignature": [ { - "id": 844, + "id": 930, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -11995,7 +14027,7 @@ "overwrites": { "type": "reference", "name": "Config.seleniumProperty", - "id": 762 + "id": 848 } } ], @@ -12009,16 +14041,16 @@ "overwrites": { "type": "reference", "name": "Config.seleniumProperty", - "id": 762 + "id": 848 }, "implementationOf": { "type": "reference", "name": "DriverFile.seleniumProperty", - "id": 720 + "id": 806 } }, { - "id": 837, + "id": 923, "name": "url", "kind": 262144, "kindString": "Accessor", @@ -12027,7 +14059,7 @@ }, "getSignature": [ { - "id": 838, + "id": 924, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -12041,7 +14073,7 @@ "overwrites": { "type": "reference", "name": "Config.url", - "id": 761 + "id": 847 } } ], @@ -12055,12 +14087,12 @@ "overwrites": { "type": "reference", "name": "Config.url", - "id": 761 + "id": 847 }, "implementationOf": { "type": "reference", "name": "DriverFile.url", - "id": 723 + "id": 809 } } ], @@ -12069,27 +14101,27 @@ "title": "Constructors", "kind": 512, "children": [ - 832 + 918 ] }, { "title": "Properties", "kind": 1024, "children": [ - 829, - 830, - 831 + 915, + 916, + 917 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 839, - 835, - 841, - 843, - 837 + 925, + 921, + 927, + 929, + 923 ] } ], @@ -12104,12 +14136,12 @@ { "type": "reference", "name": "Config", - "id": 755, + "id": 841, "typeArguments": [ { "type": "reference", "name": "EdgeOptions", - "id": 862 + "id": 948 } ] } @@ -12118,17 +14150,17 @@ { "type": "reference", "name": "EdgeProperties", - "id": 824 + "id": 910 }, { "type": "reference", "name": "DriverFile", - "id": 719 + "id": 805 } ] }, { - "id": 789, + "id": 875, "name": "FirefoxConfig", "kind": 128, "kindString": "Class", @@ -12137,7 +14169,7 @@ }, "children": [ { - "id": 794, + "id": 880, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12146,7 +14178,7 @@ }, "signatures": [ { - "id": 795, + "id": 881, "name": "new FirefoxConfig", "kind": 16384, "kindString": "Constructor signature", @@ -12155,7 +14187,7 @@ }, "parameters": [ { - "id": 796, + "id": 882, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12165,19 +14197,19 @@ "type": { "type": "reference", "name": "FirefoxOptions", - "id": 860 + "id": 946 } } ], "type": { "type": "reference", "name": "FirefoxConfig", - "id": 789 + "id": 875 }, "overwrites": { "type": "reference", "name": "Config.__constructor", - "id": 757 + "id": 843 } } ], @@ -12191,11 +14223,11 @@ "overwrites": { "type": "reference", "name": "Config.__constructor", - "id": 757 + "id": 843 } }, { - "id": 790, + "id": 876, "name": "arch", "kind": 1024, "kindString": "Property", @@ -12216,11 +14248,11 @@ "implementationOf": { "type": "reference", "name": "FirefoxProperties.arch", - "id": 785 + "id": 871 } }, { - "id": 791, + "id": 877, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -12241,11 +14273,11 @@ "implementationOf": { "type": "reference", "name": "FirefoxProperties.baseUrl", - "id": 786 + "id": 872 } }, { - "id": 792, + "id": 878, "name": "platform", "kind": 1024, "kindString": "Property", @@ -12266,11 +14298,11 @@ "implementationOf": { "type": "reference", "name": "FirefoxProperties.platform", - "id": 787 + "id": 873 } }, { - "id": 793, + "id": 879, "name": "version", "kind": 1024, "kindString": "Property", @@ -12291,11 +14323,11 @@ "implementationOf": { "type": "reference", "name": "FirefoxProperties.version", - "id": 788 + "id": 874 } }, { - "id": 797, + "id": 883, "name": "artifact", "kind": 262144, "kindString": "Accessor", @@ -12304,7 +14336,7 @@ }, "getSignature": [ { - "id": 798, + "id": 884, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -12326,7 +14358,7 @@ ] }, { - "id": 801, + "id": 887, "name": "executable", "kind": 262144, "kindString": "Accessor", @@ -12335,7 +14367,7 @@ }, "getSignature": [ { - "id": 802, + "id": 888, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -12358,7 +14390,7 @@ "overwrites": { "type": "reference", "name": "Config.executable", - "id": 760 + "id": 846 } } ], @@ -12372,16 +14404,16 @@ "overwrites": { "type": "reference", "name": "Config.executable", - "id": 760 + "id": 846 }, "implementationOf": { "type": "reference", "name": "DriverFile.executable", - "id": 722 + "id": 808 } }, { - "id": 803, + "id": 889, "name": "seleniumProperty", "kind": 262144, "kindString": "Accessor", @@ -12390,7 +14422,7 @@ }, "getSignature": [ { - "id": 804, + "id": 890, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -12404,7 +14436,7 @@ "overwrites": { "type": "reference", "name": "Config.seleniumProperty", - "id": 762 + "id": 848 } } ], @@ -12418,16 +14450,16 @@ "overwrites": { "type": "reference", "name": "Config.seleniumProperty", - "id": 762 + "id": 848 }, "implementationOf": { "type": "reference", "name": "DriverFile.seleniumProperty", - "id": 720 + "id": 806 } }, { - "id": 799, + "id": 885, "name": "url", "kind": 262144, "kindString": "Accessor", @@ -12436,7 +14468,7 @@ }, "getSignature": [ { - "id": 800, + "id": 886, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -12450,7 +14482,7 @@ "overwrites": { "type": "reference", "name": "Config.url", - "id": 761 + "id": 847 } } ], @@ -12464,12 +14496,12 @@ "overwrites": { "type": "reference", "name": "Config.url", - "id": 761 + "id": 847 }, "implementationOf": { "type": "reference", "name": "DriverFile.url", - "id": 723 + "id": 809 } } ], @@ -12478,27 +14510,27 @@ "title": "Constructors", "kind": 512, "children": [ - 794 + 880 ] }, { "title": "Properties", "kind": 1024, "children": [ - 790, - 791, - 792, - 793 + 876, + 877, + 878, + 879 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 797, - 801, - 803, - 799 + 883, + 887, + 889, + 885 ] } ], @@ -12513,12 +14545,12 @@ { "type": "reference", "name": "Config", - "id": 755, + "id": 841, "typeArguments": [ { "type": "reference", "name": "FirefoxOptions", - "id": 860 + "id": 946 } ] } @@ -12527,17 +14559,17 @@ { "type": "reference", "name": "FirefoxProperties", - "id": 784 + "id": 870 }, { "type": "reference", "name": "DriverFile", - "id": 719 + "id": 805 } ] }, { - "id": 809, + "id": 895, "name": "IEConfig", "kind": 128, "kindString": "Class", @@ -12546,7 +14578,7 @@ }, "children": [ { - "id": 813, + "id": 899, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12555,7 +14587,7 @@ }, "signatures": [ { - "id": 814, + "id": 900, "name": "new IEConfig", "kind": 16384, "kindString": "Constructor signature", @@ -12564,7 +14596,7 @@ }, "parameters": [ { - "id": 815, + "id": 901, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12574,19 +14606,19 @@ "type": { "type": "reference", "name": "IEOptions", - "id": 861 + "id": 947 } } ], "type": { "type": "reference", "name": "IEConfig", - "id": 809 + "id": 895 }, "overwrites": { "type": "reference", "name": "Config.__constructor", - "id": 757 + "id": 843 } } ], @@ -12600,11 +14632,11 @@ "overwrites": { "type": "reference", "name": "Config.__constructor", - "id": 757 + "id": 843 } }, { - "id": 810, + "id": 896, "name": "arch", "kind": 1024, "kindString": "Property", @@ -12625,11 +14657,11 @@ "implementationOf": { "type": "reference", "name": "IEProperties.arch", - "id": 806 + "id": 892 } }, { - "id": 811, + "id": 897, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -12650,11 +14682,11 @@ "implementationOf": { "type": "reference", "name": "IEProperties.baseUrl", - "id": 807 + "id": 893 } }, { - "id": 812, + "id": 898, "name": "version", "kind": 1024, "kindString": "Property", @@ -12675,11 +14707,11 @@ "implementationOf": { "type": "reference", "name": "IEProperties.version", - "id": 808 + "id": 894 } }, { - "id": 816, + "id": 902, "name": "artifact", "kind": 262144, "kindString": "Accessor", @@ -12688,7 +14720,7 @@ }, "getSignature": [ { - "id": 817, + "id": 903, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -12710,7 +14742,7 @@ ] }, { - "id": 820, + "id": 906, "name": "executable", "kind": 262144, "kindString": "Accessor", @@ -12719,7 +14751,7 @@ }, "getSignature": [ { - "id": 821, + "id": 907, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -12733,7 +14765,7 @@ "overwrites": { "type": "reference", "name": "Config.executable", - "id": 760 + "id": 846 } } ], @@ -12747,16 +14779,16 @@ "overwrites": { "type": "reference", "name": "Config.executable", - "id": 760 + "id": 846 }, "implementationOf": { "type": "reference", "name": "DriverFile.executable", - "id": 722 + "id": 808 } }, { - "id": 822, + "id": 908, "name": "seleniumProperty", "kind": 262144, "kindString": "Accessor", @@ -12765,7 +14797,7 @@ }, "getSignature": [ { - "id": 823, + "id": 909, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -12779,7 +14811,7 @@ "overwrites": { "type": "reference", "name": "Config.seleniumProperty", - "id": 762 + "id": 848 } } ], @@ -12793,16 +14825,16 @@ "overwrites": { "type": "reference", "name": "Config.seleniumProperty", - "id": 762 + "id": 848 }, "implementationOf": { "type": "reference", "name": "DriverFile.seleniumProperty", - "id": 720 + "id": 806 } }, { - "id": 818, + "id": 904, "name": "url", "kind": 262144, "kindString": "Accessor", @@ -12811,7 +14843,7 @@ }, "getSignature": [ { - "id": 819, + "id": 905, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -12825,7 +14857,7 @@ "overwrites": { "type": "reference", "name": "Config.url", - "id": 761 + "id": 847 } } ], @@ -12839,12 +14871,12 @@ "overwrites": { "type": "reference", "name": "Config.url", - "id": 761 + "id": 847 }, "implementationOf": { "type": "reference", "name": "DriverFile.url", - "id": 723 + "id": 809 } } ], @@ -12853,26 +14885,26 @@ "title": "Constructors", "kind": 512, "children": [ - 813 + 899 ] }, { "title": "Properties", "kind": 1024, "children": [ - 810, - 811, - 812 + 896, + 897, + 898 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 816, - 820, - 822, - 818 + 902, + 906, + 908, + 904 ] } ], @@ -12887,12 +14919,12 @@ { "type": "reference", "name": "Config", - "id": 755, + "id": 841, "typeArguments": [ { "type": "reference", "name": "IEOptions", - "id": 861 + "id": 947 } ] } @@ -12901,17 +14933,17 @@ { "type": "reference", "name": "IEProperties", - "id": 805 + "id": 891 }, { "type": "reference", "name": "DriverFile", - "id": 719 + "id": 805 } ] }, { - "id": 629, + "id": 695, "name": "SeleniumTunnel", "kind": 128, "kindString": "Class", @@ -12923,9 +14955,30 @@ "shortText": "A Selenium tunnel. This tunnel downloads the\n[[http://www.seleniumhq.org/download/|Selenium-standalone server]] and any\nnecessary WebDriver executables, and handles starting and stopping Selenium.", "text": "The primary configuration option is [[SeleniumTunnel.drivers|drivers]], which\ndetermines which browsers the Selenium tunnel will support.\n\nNote that Java must be installed and in the system path to use this tunnel.\n\nThe standard browser names (for the `browserName` selenium capability) are:\n\n* `MicrosoftEdge`\n* `chrome`\n* `firefox`\n* `internet explorer`\n* `safari`\n" }, + "typeParameter": [ + { + "id": 783, + "name": "O", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ], "children": [ { - "id": 635, + "id": 701, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12935,7 +14988,7 @@ }, "signatures": [ { - "id": 636, + "id": 702, "name": "new SeleniumTunnel", "kind": 16384, "kindString": "Constructor signature", @@ -12944,7 +14997,7 @@ }, "parameters": [ { - "id": 637, + "id": 703, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12955,14 +15008,14 @@ "type": { "type": "reference", "name": "SeleniumOptions", - "id": 853 + "id": 939 } } ], "type": { "type": "reference", "name": "SeleniumTunnel", - "id": 629 + "id": 695 }, "overwrites": { "type": "reference", @@ -12985,7 +15038,34 @@ } }, { - "id": 680, + "id": 784, + "name": "___typeMap__", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isProtected": true, + "isOptional": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 28, + "character": 25 + } + ], + "type": { + "type": "reference", + "name": "M" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.__typeMap__" + } + }, + { + "id": 745, "name": "_handle", "kind": 1024, "kindString": "Property", @@ -12997,7 +15077,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 137, + "line": 133, "character": 18 } ], @@ -13017,11 +15097,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._handle", - "id": 47 + "id": 46 } }, { - "id": 681, + "id": 746, "name": "_process", "kind": 1024, "kindString": "Property", @@ -13033,7 +15113,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 138, + "line": 134, "character": 19 } ], @@ -13053,11 +15133,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._process", - "id": 48 + "id": 47 } }, { - "id": 678, + "id": 743, "name": "_startTask", "kind": 1024, "kindString": "Property", @@ -13069,7 +15149,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 135, + "line": 131, "character": 21 } ], @@ -13095,11 +15175,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._startTask", - "id": 45 + "id": 44 } }, { - "id": 682, + "id": 747, "name": "_state", "kind": 1024, "kindString": "Property", @@ -13111,7 +15191,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 139, + "line": 135, "character": 17 } ], @@ -13140,11 +15220,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._state", - "id": 49 + "id": 48 } }, { - "id": 679, + "id": 744, "name": "_stopTask", "kind": 1024, "kindString": "Property", @@ -13156,7 +15236,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 136, + "line": 132, "character": 20 } ], @@ -13182,11 +15262,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._stopTask", - "id": 46 + "id": 45 } }, { - "id": 666, + "id": 731, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -13200,7 +15280,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 56, + "line": 52, "character": 10 } ], @@ -13211,16 +15291,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.accessKey", - "id": 30 + "id": 29 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.accessKey", - "id": 736 + "id": 822 } }, { - "id": 668, + "id": 733, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -13234,7 +15314,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 68, + "line": 64, "character": 13 } ], @@ -13245,16 +15325,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.architecture", - "id": 32 + "id": 31 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.architecture", - "id": 734 + "id": 820 } }, { - "id": 669, + "id": 734, "name": "auth", "kind": 1024, "kindString": "Property", @@ -13268,7 +15348,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 74, + "line": 70, "character": 5 } ], @@ -13279,16 +15359,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.auth", - "id": 33 + "id": 32 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.auth", - "id": 735 + "id": 821 } }, { - "id": 632, + "id": 698, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -13319,11 +15399,11 @@ "implementationOf": { "type": "reference", "name": "SeleniumProperties.baseUrl", - "id": 731 + "id": 817 } }, { - "id": 631, + "id": 697, "name": "drivers", "kind": 1024, "kindString": "Property", @@ -13353,17 +15433,17 @@ "elementType": { "type": "reference", "name": "DriverDescriptor", - "id": 849 + "id": 935 } }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.drivers", - "id": 730 + "id": 816 } }, { - "id": 665, + "id": 730, "name": "environmentUrl", "kind": 1024, "kindString": "Property", @@ -13377,7 +15457,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 50, + "line": 46, "character": 15 } ], @@ -13388,11 +15468,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.environmentUrl", - "id": 29 + "id": 28 } }, { - "id": 670, + "id": 735, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -13406,7 +15486,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 94, + "line": 90, "character": 9 } ], @@ -13417,46 +15497,103 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.hostname", - "id": 36 + "id": 35 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.hostname", - "id": 738 + "id": 824 } }, { - "id": 664, - "name": "on", + "id": 785, + "name": "listenersMap", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, "comment": { - "shortText": "Register an event listener" + "shortText": "map of listeners keyed by event type" }, "sources": [ { - "fileName": "Tunnel.ts", - "line": 44, - "character": 3 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 32, + "character": 26 } ], "type": { "type": "reference", - "name": "RegisterListener", - "id": 172 + "name": "Map", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "unknown", + "name": "keyof M" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + }, + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "unknown", + "name": "keyof M" + }, + { + "type": "unknown", + "name": "M[keyof M]" + } + ] + } + ] + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.on", - "id": 28 + "name": "Evented.listenersMap" } }, { - "id": 671, + "id": 736, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -13470,7 +15607,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 100, + "line": 96, "character": 9 } ], @@ -13481,16 +15618,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.pathname", - "id": 37 + "id": 36 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.pathname", - "id": 739 + "id": 825 } }, { - "id": 672, + "id": 737, "name": "platform", "kind": 1024, "kindString": "Property", @@ -13504,7 +15641,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 106, + "line": 102, "character": 9 } ], @@ -13515,16 +15652,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.platform", - "id": 38 + "id": 37 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.platform", - "id": 740 + "id": 826 } }, { - "id": 673, + "id": 738, "name": "port", "kind": 1024, "kindString": "Property", @@ -13538,7 +15675,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 112, + "line": 108, "character": 5 } ], @@ -13549,16 +15686,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.port", - "id": 39 + "id": 38 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.port", - "id": 741 + "id": 827 } }, { - "id": 674, + "id": 739, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -13572,7 +15709,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 118, + "line": 114, "character": 9 } ], @@ -13583,16 +15720,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.protocol", - "id": 40 + "id": 39 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.protocol", - "id": 742 + "id": 828 } }, { - "id": 675, + "id": 740, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -13606,7 +15743,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 124, + "line": 120, "character": 6 } ], @@ -13617,16 +15754,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.proxy", - "id": 41 + "id": 40 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.proxy", - "id": 747 + "id": 833 } }, { - "id": 630, + "id": 696, "name": "seleniumArgs", "kind": 1024, "kindString": "Property", @@ -13654,11 +15791,11 @@ "implementationOf": { "type": "reference", "name": "SeleniumProperties.seleniumArgs", - "id": 729 + "id": 815 } }, { - "id": 634, + "id": 700, "name": "seleniumTimeout", "kind": 1024, "kindString": "Property", @@ -13689,11 +15826,11 @@ "implementationOf": { "type": "reference", "name": "SeleniumProperties.seleniumTimeout", - "id": 733 + "id": 819 } }, { - "id": 676, + "id": 741, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -13707,7 +15844,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 127, + "line": 123, "character": 9 } ], @@ -13718,16 +15855,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.tunnelId", - "id": 42 + "id": 41 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.tunnelId", - "id": 743 + "id": 829 } }, { - "id": 667, + "id": 732, "name": "username", "kind": 1024, "kindString": "Property", @@ -13741,7 +15878,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 62, + "line": 58, "character": 9 } ], @@ -13752,16 +15889,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.username", - "id": 31 + "id": 30 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.username", - "id": 744 + "id": 830 } }, { - "id": 677, + "id": 742, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -13775,7 +15912,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 133, + "line": 129, "character": 8 } ], @@ -13786,16 +15923,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.verbose", - "id": 44 + "id": 43 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.verbose", - "id": 745 + "id": 831 } }, { - "id": 633, + "id": 699, "name": "version", "kind": 1024, "kindString": "Property", @@ -13826,37 +15963,11 @@ "implementationOf": { "type": "reference", "name": "SeleniumProperties.version", - "id": 732 - } - }, - { - "id": 718, - "name": "on", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExported": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "node_modules/@dojo/core/Evented.d.ts", - "line": 50, - "character": 6 - } - ], - "type": { - "type": "reference", - "name": "BaseEventedEvents" - }, - "inheritedFrom": { - "type": "reference", - "name": "Evented.on" + "id": 818 } }, { - "id": 638, + "id": 704, "name": "artifact", "kind": 262144, "kindString": "Accessor", @@ -13866,7 +15977,7 @@ }, "getSignature": [ { - "id": 639, + "id": 705, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -13888,7 +15999,7 @@ ] }, { - "id": 683, + "id": 748, "name": "clientUrl", "kind": 262144, "kindString": "Accessor", @@ -13901,7 +16012,7 @@ }, "getSignature": [ { - "id": 684, + "id": 749, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -13918,25 +16029,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.clientUrl", - "id": 50 + "id": 49 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 149, + "line": 145, "character": 14 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.clientUrl", - "id": 50 + "id": 49 } }, { - "id": 640, + "id": 706, "name": "directory", "kind": 262144, "kindString": "Accessor", @@ -13946,7 +16057,7 @@ }, "getSignature": [ { - "id": 641, + "id": 707, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -13960,7 +16071,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.directory", - "id": 34 + "id": 33 } } ], @@ -13974,16 +16085,16 @@ "overwrites": { "type": "reference", "name": "Tunnel.directory", - "id": 34 + "id": 33 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.directory", - "id": 746 + "id": 832 } }, { - "id": 642, + "id": 708, "name": "executable", "kind": 262144, "kindString": "Accessor", @@ -13993,7 +16104,7 @@ }, "getSignature": [ { - "id": 643, + "id": 709, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -14007,7 +16118,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.executable", - "id": 35 + "id": 34 } } ], @@ -14021,16 +16132,16 @@ "overwrites": { "type": "reference", "name": "Tunnel.executable", - "id": 35 + "id": 34 }, "implementationOf": { "type": "reference", "name": "SeleniumProperties.executable", - "id": 737 + "id": 823 } }, { - "id": 685, + "id": 750, "name": "extraCapabilities", "kind": 262144, "kindString": "Accessor", @@ -14043,7 +16154,7 @@ }, "getSignature": [ { - "id": 686, + "id": 751, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -14060,25 +16171,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.extraCapabilities", - "id": 52 + "id": 51 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 157, + "line": 153, "character": 22 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.extraCapabilities", - "id": 52 + "id": 51 } }, { - "id": 644, + "id": 710, "name": "isDownloaded", "kind": 262144, "kindString": "Accessor", @@ -14088,7 +16199,7 @@ }, "getSignature": [ { - "id": 645, + "id": 711, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -14102,7 +16213,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.isDownloaded", - "id": 54 + "id": 53 } } ], @@ -14116,11 +16227,11 @@ "overwrites": { "type": "reference", "name": "Tunnel.isDownloaded", - "id": 54 + "id": 53 } }, { - "id": 687, + "id": 752, "name": "isRunning", "kind": 262144, "kindString": "Accessor", @@ -14133,7 +16244,7 @@ }, "getSignature": [ { - "id": 688, + "id": 753, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -14150,25 +16261,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isRunning", - "id": 56 + "id": 55 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 171, + "line": 167, "character": 14 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isRunning", - "id": 56 + "id": 55 } }, { - "id": 689, + "id": 754, "name": "isStarting", "kind": 262144, "kindString": "Accessor", @@ -14181,7 +16292,7 @@ }, "getSignature": [ { - "id": 690, + "id": 755, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -14198,25 +16309,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isStarting", - "id": 58 + "id": 57 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 178, + "line": 174, "character": 15 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isStarting", - "id": 58 + "id": 57 } }, { - "id": 691, + "id": 756, "name": "isStopping", "kind": 262144, "kindString": "Accessor", @@ -14229,7 +16340,7 @@ }, "getSignature": [ { - "id": 692, + "id": 757, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -14246,25 +16357,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.isStopping", - "id": 60 + "id": 59 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 185, + "line": 181, "character": 15 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.isStopping", - "id": 60 + "id": 59 } }, { - "id": 646, + "id": 712, "name": "url", "kind": 262144, "kindString": "Accessor", @@ -14274,7 +16385,7 @@ }, "getSignature": [ { - "id": 647, + "id": 713, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -14287,32 +16398,207 @@ }, "overwrites": { "type": "reference", - "name": "Tunnel.url", - "id": 43 + "name": "Tunnel.url", + "id": 42 + } + } + ], + "sources": [ + { + "fileName": "SeleniumTunnel.ts", + "line": 132, + "character": 8 + } + ], + "overwrites": { + "type": "reference", + "name": "Tunnel.url", + "id": 42 + }, + "implementationOf": { + "type": "reference", + "name": "SeleniumProperties.url", + "id": 834 + } + }, + { + "id": 758, + "name": "_downloadFile", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 759, + "name": "_downloadFile", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 760, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 761, + "name": "proxy", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 762, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true, + "__visited__": true + }, + "type": { + "type": "reference", + "name": "DownloadOptions", + "id": 158 + } + } + ], + "type": { + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._downloadFile", + "id": 64 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 205, + "character": 24 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._downloadFile", + "id": 64 + } + }, + { + "id": 719, + "name": "_getDriverConfigs", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 720, + "name": "_getDriverConfigs", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "DriverFile", + "id": 805 + } + } + } + ], + "sources": [ + { + "fileName": "SeleniumTunnel.ts", + "line": 195, + "character": 28 + } + ] + }, + { + "id": 721, + "name": "_makeArgs", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 722, + "name": "_makeArgs", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "overwrites": { + "type": "reference", + "name": "Tunnel._makeArgs", + "id": 73 } } ], "sources": [ { "fileName": "SeleniumTunnel.ts", - "line": 132, - "character": 8 + "line": 218, + "character": 20 } ], "overwrites": { "type": "reference", - "name": "Tunnel.url", - "id": 43 - }, - "implementationOf": { - "type": "reference", - "name": "SeleniumProperties.url", - "id": 748 + "name": "Tunnel._makeArgs", + "id": 73 } }, { - "id": 693, - "name": "_downloadFile", + "id": 763, + "name": "_makeChild", "kind": 2048, "kindString": "Method", "flags": { @@ -14322,53 +16608,48 @@ }, "signatures": [ { - "id": 694, - "name": "_downloadFile", + "id": 764, + "name": "_makeChild", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Creates a newly spawned child process for the tunnel software.\nImplementations should call this method to create the tunnel process.", + "text": "Arguments passed to this method will be passed as-is to\n[[Tunnel._makeArgs]] and [[Tunnel._makeOptions]].\n", + "returns": "An object containing a newly spawned Process and a Deferred that\nwill be resolved once the tunnel has started successfully.\n" + }, "parameters": [ { - "id": 695, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 696, - "name": "proxy", + "id": 765, + "name": "executor", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "ChildExecutor", + "id": 148 } }, { - "id": 697, - "name": "options", + "id": 766, + "name": "values", "kind": 32768, "kindString": "Parameter", "flags": { - "isOptional": true, + "isRest": true, "__visited__": true }, "type": { - "type": "reference", - "name": "DownloadOptions", - "id": 139 + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } } ], @@ -14378,33 +16659,33 @@ "typeArguments": [ { "type": "intrinsic", - "name": "void" + "name": "any" } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._downloadFile", - "id": 65 + "name": "Tunnel._makeChild", + "id": 76 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 209, - "character": 24 + "line": 300, + "character": 21 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._downloadFile", - "id": 65 + "name": "Tunnel._makeChild", + "id": 76 } }, { - "id": 653, - "name": "_getDriverConfigs", + "id": 767, + "name": "_makeOptions", "kind": 2048, "kindString": "Method", "flags": { @@ -14414,34 +16695,104 @@ }, "signatures": [ { - "id": 654, - "name": "_getDriverConfigs", + "id": 768, + "name": "_makeOptions", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Creates the set of options to use when spawning the tunnel process.\nImplementations should override this method to provide the appropriate\noptions for the tunnel software.", + "text": "Arguments passed to [[Tunnel._makeChild]] will be passed as-is to this\nmethod.\n", + "returns": "A set of options matching those provided to Node.js\n`child_process.spawn`.\n" + }, + "parameters": [ + { + "id": 769, + "name": "_values", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true, + "__visited__": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "DriverFile", - "id": 719 + "type": "reflection", + "declaration": { + "id": 770, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "__visited__": true + }, + "children": [ + { + "id": 771, + "name": "env", + "kind": 32, + "kindString": "Variable", + "flags": { + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 388, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "defaultValue": " process.env" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 771 + ] + } + ] } + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._makeOptions", + "id": 80 } } ], "sources": [ { - "fileName": "SeleniumTunnel.ts", - "line": 195, - "character": 28 + "fileName": "Tunnel.ts", + "line": 387, + "character": 23 } - ] + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._makeOptions", + "id": 80 + } }, { - "id": 655, - "name": "_makeArgs", + "id": 780, + "name": "_normalizeEnvironment", "kind": 2048, "kindString": "Method", "flags": { @@ -14451,43 +16802,141 @@ }, "signatures": [ { - "id": 656, - "name": "_makeArgs", + "id": 781, + "name": "_normalizeEnvironment", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Normalizes a specific Tunnel environment descriptor to a general form. To\nbe overriden by a child implementation.", + "returns": "a normalized environment\n" + }, + "parameters": [ + { + "id": 782, + "name": "environment", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "comment": { + "text": "an environment descriptor specific to the Tunnel" + }, + "type": { + "type": "reference", + "name": "Object" + } + } + ], "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._normalizeEnvironment", + "id": 100 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 621, + "character": 32 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel._normalizeEnvironment", + "id": 100 + } + }, + { + "id": 723, + "name": "_postDownloadFile", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 724, + "name": "_postDownloadFile", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 725, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "Buffer" + } + }, + { + "id": 726, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "SeleniumDownloadOptions", + "id": 835 + } } + ], + "type": { + "type": "reference", + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] }, "overwrites": { "type": "reference", - "name": "Tunnel._makeArgs", - "id": 74 + "name": "Tunnel._postDownloadFile", + "id": 69 } } ], "sources": [ { "fileName": "SeleniumTunnel.ts", - "line": 218, - "character": 20 + "line": 251, + "character": 28 } ], "overwrites": { "type": "reference", - "name": "Tunnel._makeArgs", - "id": 74 + "name": "Tunnel._postDownloadFile", + "id": 69 } }, { - "id": 698, - "name": "_makeChild", + "id": 727, + "name": "_start", "kind": 2048, "kindString": "Method", "flags": { @@ -14497,21 +16946,16 @@ }, "signatures": [ { - "id": 699, - "name": "_makeChild", + "id": 728, + "name": "_start", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, - "comment": { - "shortText": "Creates a newly spawned child process for the tunnel software.\nImplementations should call this method to create the tunnel process.", - "text": "Arguments passed to this method will be passed as-is to\n[[Tunnel._makeArgs]] and [[Tunnel._makeOptions]].\n", - "returns": "An object containing a newly spawned Process and a Deferred that\nwill be resolved once the tunnel has started successfully.\n" - }, "parameters": [ { - "id": 700, + "id": 729, "name": "executor", "kind": 32768, "kindString": "Parameter", @@ -14521,24 +16965,7 @@ "type": { "type": "reference", "name": "ChildExecutor", - "id": 129 - } - }, - { - "id": 701, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true, - "__visited__": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "id": 148 } } ], @@ -14552,29 +16979,29 @@ } ] }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Tunnel._makeChild", - "id": 77 + "name": "Tunnel._start", + "id": 91 } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 304, - "character": 21 + "fileName": "SeleniumTunnel.ts", + "line": 262, + "character": 17 } ], - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Tunnel._makeChild", - "id": 77 + "name": "Tunnel._start", + "id": 91 } }, { - "id": 702, - "name": "_makeOptions", + "id": 776, + "name": "_stop", "kind": 2048, "kindString": "Method", "flags": { @@ -14584,181 +17011,111 @@ }, "signatures": [ { - "id": 703, - "name": "_makeOptions", + "id": 777, + "name": "_stop", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Creates the set of options to use when spawning the tunnel process.\nImplementations should override this method to provide the appropriate\noptions for the tunnel software.", - "text": "Arguments passed to [[Tunnel._makeChild]] will be passed as-is to this\nmethod.\n", - "returns": "A set of options matching those provided to Node.js\n`child_process.spawn`.\n" + "shortText": "This method provides the implementation that actually stops the tunnel.", + "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", + "returns": "A promise that resolves once the tunnel has shut down.\n" }, - "parameters": [ - { - "id": 704, - "name": "_values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true, - "__visited__": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], "type": { - "type": "reflection", - "declaration": { - "id": 705, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "__visited__": true - }, - "children": [ - { - "id": 706, - "name": "env", - "kind": 32, - "kindString": "Variable", - "flags": { - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 392, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "defaultValue": " process.env" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 706 - ] - } - ] - } + "type": "reference", + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeOptions", - "id": 81 + "name": "Tunnel._stop", + "id": 96 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 391, - "character": 23 + "line": 544, + "character": 16 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeOptions", - "id": 81 + "name": "Tunnel._stop", + "id": 96 } }, { - "id": 715, - "name": "_normalizeEnvironment", + "id": 803, + "name": "destroy", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 716, - "name": "_normalizeEnvironment", + "id": 804, + "name": "destroy", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Normalizes a specific Tunnel environment descriptor to a general form. To\nbe overriden by a child implementation.", - "returns": "a normalized environment\n" + "shortText": "Destrpys all handers registered for the instance", + "returns": "a promise that resolves once all handles have been destroyed\n" }, - "parameters": [ - { - "id": 717, - "name": "environment", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "comment": { - "text": "an environment descriptor specific to the Tunnel" - }, - "type": { - "type": "reference", - "name": "Object" - } - } - ], "type": { "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._normalizeEnvironment", - "id": 101 + "name": "Destroyable.destroy" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 625, - "character": 32 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 23, + "character": 11 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._normalizeEnvironment", - "id": 101 + "name": "Destroyable.destroy" } }, { - "id": 657, - "name": "_postDownloadFile", + "id": 714, + "name": "download", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 658, - "name": "_postDownloadFile", + "id": 715, + "name": "download", "kind": 4096, "kindString": "Call signature", "flags": { @@ -14766,36 +17123,23 @@ }, "parameters": [ { - "id": 659, - "name": "data", + "id": 716, + "name": "forceDownload", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "Buffer" - } - }, - { - "id": 660, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true + "type": "intrinsic", + "name": "boolean" }, - "type": { - "type": "reference", - "name": "SeleniumDownloadOptions", - "id": 749 - } + "defaultValue": "false" } ], "type": { "type": "reference", - "name": "Promise", + "name": "Task", "typeArguments": [ { "type": "intrinsic", @@ -14805,38 +17149,90 @@ }, "overwrites": { "type": "reference", - "name": "Tunnel._postDownloadFile", - "id": 70 + "name": "Tunnel.download", + "id": 61 } } ], "sources": [ { "fileName": "SeleniumTunnel.ts", - "line": 251, - "character": 28 + "line": 145, + "character": 9 } ], "overwrites": { "type": "reference", - "name": "Tunnel._postDownloadFile", - "id": 70 + "name": "Tunnel.download", + "id": 61 } }, { - "id": 661, - "name": "_start", + "id": 786, + "name": "emit", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 662, - "name": "_start", + "id": 787, + "name": "emit", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Emits the event objet for the specified type" + }, + "typeParameter": [ + { + "id": 788, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], + "parameters": [ + { + "id": 789, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "comment": { + "text": "the event to emit\n" + }, + "type": { + "type": "unknown", + "name": "M[K]" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.emit" + } + }, + { + "id": 790, + "name": "emit", "kind": 4096, "kindString": "Call signature", "flags": { @@ -14844,107 +17240,116 @@ }, "parameters": [ { - "id": 663, - "name": "executor", + "id": 791, + "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "ChildExecutor", - "id": 129 + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } } } ], "type": { - "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ] + "type": "intrinsic", + "name": "void" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._start", - "id": 92 + "name": "Evented.emit" } } ], "sources": [ { - "fileName": "SeleniumTunnel.ts", - "line": 262, - "character": 17 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 38, + "character": 8 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 39, + "character": 8 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._start", - "id": 92 + "name": "Evented.emit" } }, { - "id": 711, - "name": "_stop", + "id": 778, + "name": "getEnvironments", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 712, - "name": "_stop", + "id": 779, + "name": "getEnvironments", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "This method provides the implementation that actually stops the tunnel.", - "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", - "returns": "A promise that resolves once the tunnel has shut down.\n" + "shortText": "Get a list of environments available on the service.", + "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", + "returns": "An object containing the response and helper functions\n" }, "type": { "type": "reference", - "name": "Promise", + "name": "Task", "typeArguments": [ { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 + } } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 548, + "line": 577, "character": 16 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } }, { - "id": 648, - "name": "download", + "id": 792, + "name": "on", "kind": 2048, "kindString": "Method", "flags": { @@ -14953,62 +17358,179 @@ }, "signatures": [ { - "id": 649, - "name": "download", + "id": 793, + "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Catch all handler for various call signatures. The signatures are defined in\n`BaseEventedEvents`. You can add your own event type -> handler types by extending\n`BaseEventedEvents`. See example for details.", + "returns": "\n", + "tags": [ + { + "tag": "example", + "text": "\n\ninterface WidgetBaseEvents extends BaseEventedEvents {\n (type: 'properties:changed', handler: PropertiesChangedHandler): Handle;\n}\nclass WidgetBase extends Evented {\n on: WidgetBaseEvents;\n}\n" + } + ] + }, + "typeParameter": [ + { + "id": 794, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], "parameters": [ { - "id": 650, - "name": "forceDownload", + "id": 795, + "name": "type", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + } + }, + { + "id": 796, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true }, - "defaultValue": "false" + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + }, + { + "type": "unknown", + "name": "M[K]" + } + ] + } } ], "type": { "type": "reference", - "name": "Task", - "typeArguments": [ - { + "name": "Handle" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + }, + { + "id": 797, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 798, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { "type": "intrinsic", - "name": "void" + "name": "string" } - ] + }, + { + "id": 799, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } } ], "sources": [ { - "fileName": "SeleniumTunnel.ts", - "line": 145, - "character": 9 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 58, + "character": 6 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 59, + "character": 6 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } }, { - "id": 713, - "name": "getEnvironments", + "id": 800, + "name": "own", "kind": 2048, "kindString": "Method", "flags": { @@ -15017,54 +17539,68 @@ }, "signatures": [ { - "id": 714, - "name": "getEnvironments", + "id": 801, + "name": "own", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Get a list of environments available on the service.", - "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", - "returns": "An object containing the response and helper functions\n" + "shortText": "Register handles for the instance that will be destroyed when `this.destroy` is called", + "returns": "a handle for the handle, removes the handle for the instance and calls destroy\n" }, + "parameters": [ + { + "id": 802, + "name": "handles", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Handle" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "Handle" + } + } + ] + } + } + ], "type": { "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 - } - } - ] + "name": "Handle" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 581, - "character": 16 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 17, + "character": 7 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } }, { - "id": 651, + "id": 717, "name": "sendJobState", "kind": 2048, "kindString": "Method", @@ -15074,7 +17610,7 @@ }, "signatures": [ { - "id": 652, + "id": 718, "name": "sendJobState", "kind": 4096, "kindString": "Call signature", @@ -15094,7 +17630,7 @@ "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } } ], @@ -15108,11 +17644,11 @@ "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } }, { - "id": 707, + "id": 772, "name": "start", "kind": 2048, "kindString": "Method", @@ -15122,7 +17658,7 @@ }, "signatures": [ { - "id": 708, + "id": 773, "name": "start", "kind": 4096, "kindString": "Call signature", @@ -15146,25 +17682,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 413, + "line": 409, "character": 6 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } }, { - "id": 709, + "id": 774, "name": "stop", "kind": 2048, "kindString": "Method", @@ -15174,7 +17710,7 @@ }, "signatures": [ { - "id": 710, + "id": 775, "name": "stop", "kind": 4096, "kindString": "Call signature", @@ -15198,21 +17734,21 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 500, + "line": 496, "character": 5 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], @@ -15221,74 +17757,78 @@ "title": "Constructors", "kind": 512, "children": [ - 635 + 701 ] }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 680, - 681, - 678, - 682, - 679, - 666, - 668, - 669, - 632, - 631, - 665, - 670, - 664, - 671, - 672, - 673, - 674, - 675, - 630, - 634, - 676, - 667, - 677, - 633, - 718 + { + "title": "Properties", + "kind": 1024, + "children": [ + 784, + 745, + 746, + 743, + 747, + 744, + 731, + 733, + 734, + 698, + 697, + 730, + 735, + 785, + 736, + 737, + 738, + 739, + 740, + 696, + 700, + 741, + 732, + 742, + 699 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 638, - 683, - 640, - 642, - 685, - 644, - 687, - 689, - 691, - 646 + 704, + 748, + 706, + 708, + 750, + 710, + 752, + 754, + 756, + 712 ] }, { "title": "Methods", "kind": 2048, "children": [ - 693, - 653, - 655, - 698, - 702, - 715, - 657, - 661, - 711, - 648, - 713, - 651, - 707, - 709 + 758, + 719, + 721, + 763, + 767, + 780, + 723, + 727, + 776, + 803, + 714, + 786, + 778, + 792, + 800, + 717, + 772, + 774 ] } ], @@ -15310,7 +17850,7 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 }, { "type": "reference", @@ -15319,12 +17859,12 @@ { "type": "reference", "name": "SeleniumProperties", - "id": 728 + "id": 814 } ] }, { - "id": 763, + "id": 849, "name": "ChromeProperties", "kind": 256, "kindString": "Interface", @@ -15333,7 +17873,7 @@ }, "children": [ { - "id": 764, + "id": 850, "name": "arch", "kind": 1024, "kindString": "Property", @@ -15353,7 +17893,7 @@ } }, { - "id": 765, + "id": 851, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -15373,7 +17913,7 @@ } }, { - "id": 766, + "id": 852, "name": "platform", "kind": 1024, "kindString": "Property", @@ -15393,7 +17933,7 @@ } }, { - "id": 767, + "id": 853, "name": "version", "kind": 1024, "kindString": "Property", @@ -15418,10 +17958,10 @@ "title": "Properties", "kind": 1024, "children": [ - 764, - 765, - 766, - 767 + 850, + 851, + 852, + 853 ] } ], @@ -15436,12 +17976,12 @@ { "type": "reference", "name": "ChromeConfig", - "id": 768 + "id": 854 } ] }, { - "id": 719, + "id": 805, "name": "DriverFile", "kind": 256, "kindString": "Interface", @@ -15451,7 +17991,7 @@ }, "children": [ { - "id": 721, + "id": 807, "name": "dontExtract", "kind": 1024, "kindString": "Property", @@ -15487,11 +18027,11 @@ "inheritedFrom": { "type": "reference", "name": "RemoteFile.dontExtract", - "id": 725 + "id": 811 } }, { - "id": 722, + "id": 808, "name": "executable", "kind": 1024, "kindString": "Property", @@ -15513,11 +18053,11 @@ "inheritedFrom": { "type": "reference", "name": "RemoteFile.executable", - "id": 726 + "id": 812 } }, { - "id": 720, + "id": 806, "name": "seleniumProperty", "kind": 1024, "kindString": "Property", @@ -15538,7 +18078,7 @@ } }, { - "id": 723, + "id": 809, "name": "url", "kind": 1024, "kindString": "Property", @@ -15560,7 +18100,7 @@ "inheritedFrom": { "type": "reference", "name": "RemoteFile.url", - "id": 727 + "id": 813 } } ], @@ -15569,10 +18109,10 @@ "title": "Properties", "kind": 1024, "children": [ - 721, - 722, - 720, - 723 + 807, + 808, + 806, + 809 ] } ], @@ -15587,34 +18127,34 @@ { "type": "reference", "name": "RemoteFile", - "id": 724 + "id": 810 } ], "implementedBy": [ { "type": "reference", "name": "ChromeConfig", - "id": 768 + "id": 854 }, { "type": "reference", "name": "EdgeConfig", - "id": 828 + "id": 914 }, { "type": "reference", "name": "FirefoxConfig", - "id": 789 + "id": 875 }, { "type": "reference", "name": "IEConfig", - "id": 809 + "id": 895 } ] }, { - "id": 824, + "id": 910, "name": "EdgeProperties", "kind": 256, "kindString": "Interface", @@ -15623,7 +18163,7 @@ }, "children": [ { - "id": 825, + "id": 911, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -15643,7 +18183,7 @@ } }, { - "id": 826, + "id": 912, "name": "uuid", "kind": 1024, "kindString": "Property", @@ -15663,7 +18203,7 @@ } }, { - "id": 827, + "id": 913, "name": "version", "kind": 1024, "kindString": "Property", @@ -15688,9 +18228,9 @@ "title": "Properties", "kind": 1024, "children": [ - 825, - 826, - 827 + 911, + 912, + 913 ] } ], @@ -15705,12 +18245,12 @@ { "type": "reference", "name": "EdgeConfig", - "id": 828 + "id": 914 } ] }, { - "id": 784, + "id": 870, "name": "FirefoxProperties", "kind": 256, "kindString": "Interface", @@ -15719,7 +18259,7 @@ }, "children": [ { - "id": 785, + "id": 871, "name": "arch", "kind": 1024, "kindString": "Property", @@ -15739,7 +18279,7 @@ } }, { - "id": 786, + "id": 872, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -15759,7 +18299,7 @@ } }, { - "id": 787, + "id": 873, "name": "platform", "kind": 1024, "kindString": "Property", @@ -15779,7 +18319,7 @@ } }, { - "id": 788, + "id": 874, "name": "version", "kind": 1024, "kindString": "Property", @@ -15804,10 +18344,10 @@ "title": "Properties", "kind": 1024, "children": [ - 785, - 786, - 787, - 788 + 871, + 872, + 873, + 874 ] } ], @@ -15822,12 +18362,12 @@ { "type": "reference", "name": "FirefoxConfig", - "id": 789 + "id": 875 } ] }, { - "id": 805, + "id": 891, "name": "IEProperties", "kind": 256, "kindString": "Interface", @@ -15836,7 +18376,7 @@ }, "children": [ { - "id": 806, + "id": 892, "name": "arch", "kind": 1024, "kindString": "Property", @@ -15856,7 +18396,7 @@ } }, { - "id": 807, + "id": 893, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -15876,7 +18416,7 @@ } }, { - "id": 808, + "id": 894, "name": "version", "kind": 1024, "kindString": "Property", @@ -15901,9 +18441,9 @@ "title": "Properties", "kind": 1024, "children": [ - 806, - 807, - 808 + 892, + 893, + 894 ] } ], @@ -15918,12 +18458,12 @@ { "type": "reference", "name": "IEConfig", - "id": 809 + "id": 895 } ] }, { - "id": 724, + "id": 810, "name": "RemoteFile", "kind": 256, "kindString": "Interface", @@ -15933,7 +18473,7 @@ }, "children": [ { - "id": 725, + "id": 811, "name": "dontExtract", "kind": 1024, "kindString": "Property", @@ -15968,7 +18508,7 @@ } }, { - "id": 726, + "id": 812, "name": "executable", "kind": 1024, "kindString": "Property", @@ -15989,7 +18529,7 @@ } }, { - "id": 727, + "id": 813, "name": "url", "kind": 1024, "kindString": "Property", @@ -16015,9 +18555,9 @@ "title": "Properties", "kind": 1024, "children": [ - 725, - 726, - 727 + 811, + 812, + 813 ] } ], @@ -16032,12 +18572,12 @@ { "type": "reference", "name": "DriverFile", - "id": 719 + "id": 805 } ] }, { - "id": 749, + "id": 835, "name": "SeleniumDownloadOptions", "kind": 256, "kindString": "Interface", @@ -16047,7 +18587,7 @@ }, "children": [ { - "id": 752, + "id": 838, "name": "directory", "kind": 1024, "kindString": "Property", @@ -16058,7 +18598,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 679, + "line": 686, "character": 10 } ], @@ -16069,11 +18609,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.directory", - "id": 140 + "id": 159 } }, { - "id": 751, + "id": 837, "name": "dontExtract", "kind": 1024, "kindString": "Property", @@ -16108,7 +18648,7 @@ } }, { - "id": 750, + "id": 836, "name": "executable", "kind": 1024, "kindString": "Property", @@ -16139,7 +18679,7 @@ } }, { - "id": 753, + "id": 839, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -16150,7 +18690,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 680, + "line": 687, "character": 6 } ], @@ -16161,11 +18701,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.proxy", - "id": 141 + "id": 160 } }, { - "id": 754, + "id": 840, "name": "url", "kind": 1024, "kindString": "Property", @@ -16176,7 +18716,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 681, + "line": 688, "character": 4 } ], @@ -16187,7 +18727,7 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.url", - "id": 142 + "id": 161 } } ], @@ -16196,11 +18736,11 @@ "title": "Properties", "kind": 1024, "children": [ - 752, - 751, - 750, - 753, - 754 + 838, + 837, + 836, + 839, + 840 ] } ], @@ -16215,12 +18755,12 @@ { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } ] }, { - "id": 728, + "id": 814, "name": "SeleniumProperties", "kind": 256, "kindString": "Interface", @@ -16230,7 +18770,7 @@ }, "children": [ { - "id": 736, + "id": 822, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -16241,7 +18781,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 711, + "line": 718, "character": 10 } ], @@ -16252,11 +18792,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.accessKey", - "id": 159 + "id": 178 } }, { - "id": 734, + "id": 820, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -16267,7 +18807,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 709, + "line": 716, "character": 13 } ], @@ -16278,11 +18818,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.architecture", - "id": 157 + "id": 176 } }, { - "id": 735, + "id": 821, "name": "auth", "kind": 1024, "kindString": "Property", @@ -16293,7 +18833,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 710, + "line": 717, "character": 5 } ], @@ -16304,11 +18844,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.auth", - "id": 158 + "id": 177 } }, { - "id": 731, + "id": 817, "name": "baseUrl", "kind": 1024, "kindString": "Property", @@ -16329,7 +18869,7 @@ } }, { - "id": 746, + "id": 832, "name": "directory", "kind": 1024, "kindString": "Property", @@ -16340,7 +18880,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 679, + "line": 686, "character": 10 } ], @@ -16351,11 +18891,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.directory", - "id": 140 + "id": 159 } }, { - "id": 730, + "id": 816, "name": "drivers", "kind": 1024, "kindString": "Property", @@ -16375,12 +18915,12 @@ "elementType": { "type": "reference", "name": "DriverDescriptor", - "id": 849 + "id": 935 } } }, { - "id": 737, + "id": 823, "name": "executable", "kind": 1024, "kindString": "Property", @@ -16391,7 +18931,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 712, + "line": 719, "character": 11 } ], @@ -16402,11 +18942,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.executable", - "id": 160 + "id": 179 } }, { - "id": 738, + "id": 824, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -16417,7 +18957,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 713, + "line": 720, "character": 9 } ], @@ -16428,11 +18968,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.hostname", - "id": 161 + "id": 180 } }, { - "id": 739, + "id": 825, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -16443,7 +18983,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 714, + "line": 721, "character": 9 } ], @@ -16454,11 +18994,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.pathname", - "id": 162 + "id": 181 } }, { - "id": 740, + "id": 826, "name": "platform", "kind": 1024, "kindString": "Property", @@ -16469,7 +19009,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 715, + "line": 722, "character": 9 } ], @@ -16480,11 +19020,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.platform", - "id": 163 + "id": 182 } }, { - "id": 741, + "id": 827, "name": "port", "kind": 1024, "kindString": "Property", @@ -16495,7 +19035,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 716, + "line": 723, "character": 5 } ], @@ -16506,11 +19046,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.port", - "id": 164 + "id": 183 } }, { - "id": 742, + "id": 828, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -16521,7 +19061,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 717, + "line": 724, "character": 9 } ], @@ -16532,11 +19072,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.protocol", - "id": 165 + "id": 184 } }, { - "id": 747, + "id": 833, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -16547,7 +19087,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 680, + "line": 687, "character": 6 } ], @@ -16558,11 +19098,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.proxy", - "id": 141 + "id": 160 } }, { - "id": 729, + "id": 815, "name": "seleniumArgs", "kind": 1024, "kindString": "Property", @@ -16586,7 +19126,7 @@ } }, { - "id": 733, + "id": 819, "name": "seleniumTimeout", "kind": 1024, "kindString": "Property", @@ -16607,7 +19147,7 @@ } }, { - "id": 743, + "id": 829, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -16618,7 +19158,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 718, + "line": 725, "character": 9 } ], @@ -16629,11 +19169,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.tunnelId", - "id": 166 + "id": 185 } }, { - "id": 748, + "id": 834, "name": "url", "kind": 1024, "kindString": "Property", @@ -16644,7 +19184,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 681, + "line": 688, "character": 4 } ], @@ -16655,11 +19195,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.url", - "id": 142 + "id": 161 } }, { - "id": 744, + "id": 830, "name": "username", "kind": 1024, "kindString": "Property", @@ -16670,7 +19210,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 719, + "line": 726, "character": 9 } ], @@ -16681,11 +19221,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.username", - "id": 167 + "id": 186 } }, { - "id": 745, + "id": 831, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -16696,7 +19236,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 720, + "line": 727, "character": 8 } ], @@ -16707,11 +19247,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.verbose", - "id": 168 + "id": 187 } }, { - "id": 732, + "id": 818, "name": "version", "kind": 1024, "kindString": "Property", @@ -16737,26 +19277,26 @@ "title": "Properties", "kind": 1024, "children": [ - 736, - 734, - 735, - 731, - 746, - 730, - 737, - 738, - 739, - 740, - 741, - 742, - 747, - 729, - 733, - 743, - 748, - 744, - 745, - 732 + 822, + 820, + 821, + 817, + 832, + 816, + 823, + 824, + 825, + 826, + 827, + 828, + 833, + 815, + 819, + 829, + 834, + 830, + 831, + 818 ] } ], @@ -16771,19 +19311,19 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 } ], "implementedBy": [ { "type": "reference", "name": "SeleniumTunnel", - "id": 629 + "id": 695 } ] }, { - "id": 859, + "id": 945, "name": "ChromeOptions", "kind": 4194304, "kindString": "Type alias", @@ -16804,13 +19344,13 @@ { "type": "reference", "name": "ChromeProperties", - "id": 763 + "id": 849 } ] } }, { - "id": 854, + "id": 940, "name": "DriverConstructor", "kind": 4194304, "kindString": "Type alias", @@ -16827,7 +19367,7 @@ "type": { "type": "reflection", "declaration": { - "id": 855, + "id": 941, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16836,7 +19376,7 @@ }, "children": [ { - "id": 856, + "id": 942, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -16845,7 +19385,7 @@ }, "signatures": [ { - "id": 857, + "id": 943, "name": "new __type", "kind": 16384, "kindString": "Constructor signature", @@ -16854,7 +19394,7 @@ }, "parameters": [ { - "id": 858, + "id": 944, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -16871,7 +19411,7 @@ "type": { "type": "reference", "name": "DriverFile", - "id": 719 + "id": 805 } } ], @@ -16889,7 +19429,7 @@ "title": "Constructors", "kind": 512, "children": [ - 856 + 942 ] } ], @@ -16904,7 +19444,7 @@ } }, { - "id": 849, + "id": 935, "name": "DriverDescriptor", "kind": 4194304, "kindString": "Type alias", @@ -16937,12 +19477,12 @@ { "type": "reference", "name": "DriverFile", - "id": 719 + "id": 805 }, { "type": "reflection", "declaration": { - "id": 850, + "id": 936, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16951,7 +19491,7 @@ }, "children": [ { - "id": 851, + "id": 937, "name": "name", "kind": 32, "kindString": "Variable", @@ -16971,7 +19511,7 @@ } }, { - "id": 852, + "id": 938, "name": "version", "kind": 32, "kindString": "Variable", @@ -17006,8 +19546,8 @@ "title": "Variables", "kind": 32, "children": [ - 851, - 852 + 937, + 938 ] } ], @@ -17024,7 +19564,7 @@ } }, { - "id": 862, + "id": 948, "name": "EdgeOptions", "kind": 4194304, "kindString": "Type alias", @@ -17045,13 +19585,13 @@ { "type": "reference", "name": "EdgeProperties", - "id": 824 + "id": 910 } ] } }, { - "id": 860, + "id": 946, "name": "FirefoxOptions", "kind": 4194304, "kindString": "Type alias", @@ -17072,13 +19612,13 @@ { "type": "reference", "name": "FirefoxProperties", - "id": 784 + "id": 870 } ] } }, { - "id": 861, + "id": 947, "name": "IEOptions", "kind": 4194304, "kindString": "Type alias", @@ -17099,13 +19639,13 @@ { "type": "reference", "name": "IEProperties", - "id": 805 + "id": 891 } ] } }, { - "id": 853, + "id": 939, "name": "SeleniumOptions", "kind": 4194304, "kindString": "Type alias", @@ -17127,13 +19667,13 @@ { "type": "reference", "name": "SeleniumProperties", - "id": 728 + "id": 814 } ] } }, { - "id": 846, + "id": 932, "name": "ChromeVersion", "kind": 32, "kindString": "Variable", @@ -17154,7 +19694,7 @@ "defaultValue": "\"2.33\"" }, { - "id": 847, + "id": 933, "name": "FirefoxVersion", "kind": 32, "kindString": "Variable", @@ -17175,7 +19715,7 @@ "defaultValue": "\"0.18.0\"" }, { - "id": 848, + "id": 934, "name": "IEVersion", "kind": 32, "kindString": "Variable", @@ -17196,7 +19736,7 @@ "defaultValue": "\"3.5.1\"" }, { - "id": 845, + "id": 931, "name": "SeleniumVersion", "kind": 32, "kindString": "Variable", @@ -17217,7 +19757,7 @@ "defaultValue": "\"3.5.2\"" }, { - "id": 863, + "id": 949, "name": "EdgeVersions", "kind": 2097152, "kindString": "Object literal", @@ -17226,7 +19766,7 @@ }, "children": [ { - "id": 864, + "id": 950, "name": "15063", "kind": 32, "kindString": "Variable", @@ -17247,7 +19787,7 @@ "defaultValue": "\"342316D7-EBE0-4F10-ABA2-AE8E0CDF36DD\"" }, { - "id": 865, + "id": 951, "name": "16299", "kind": 32, "kindString": "Variable", @@ -17273,8 +19813,8 @@ "title": "Variables", "kind": 32, "children": [ - 864, - 865 + 950, + 951 ] } ], @@ -17291,7 +19831,7 @@ } }, { - "id": 866, + "id": 952, "name": "driverNameMap", "kind": 2097152, "kindString": "Object literal", @@ -17300,7 +19840,7 @@ }, "children": [ { - "id": 867, + "id": 953, "name": "chrome", "kind": 32, "kindString": "Variable", @@ -17317,12 +19857,12 @@ "type": { "type": "reference", "name": "ChromeConfig", - "id": 768 + "id": 854 }, "defaultValue": " ChromeConfig" }, { - "id": 870, + "id": 956, "name": "edge", "kind": 32, "kindString": "Variable", @@ -17339,12 +19879,12 @@ "type": { "type": "reference", "name": "EdgeConfig", - "id": 828 + "id": 914 }, "defaultValue": " EdgeConfig" }, { - "id": 868, + "id": 954, "name": "firefox", "kind": 32, "kindString": "Variable", @@ -17361,12 +19901,12 @@ "type": { "type": "reference", "name": "FirefoxConfig", - "id": 789 + "id": 875 }, "defaultValue": " FirefoxConfig" }, { - "id": 869, + "id": 955, "name": "ie", "kind": 32, "kindString": "Variable", @@ -17383,7 +19923,7 @@ "type": { "type": "reference", "name": "IEConfig", - "id": 809 + "id": 895 }, "defaultValue": " IEConfig" } @@ -17393,10 +19933,10 @@ "title": "Variables", "kind": 32, "children": [ - 867, - 870, - 868, - 869 + 953, + 956, + 954, + 955 ] } ], @@ -17418,57 +19958,57 @@ "title": "Classes", "kind": 128, "children": [ - 768, - 755, - 828, - 789, - 809, - 629 + 854, + 841, + 914, + 875, + 895, + 695 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 763, - 719, - 824, - 784, + 849, 805, - 724, - 749, - 728 + 910, + 870, + 891, + 810, + 835, + 814 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 859, - 854, - 849, - 862, - 860, - 861, - 853 + 945, + 940, + 935, + 948, + 946, + 947, + 939 ] }, { "title": "Variables", "kind": 32, "children": [ - 846, - 847, - 848, - 845 + 932, + 933, + 934, + 931 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 863, - 866 + 949, + 952 ] } ], @@ -17481,7 +20021,7 @@ ] }, { - "id": 871, + "id": 957, "name": "\"TestingBotTunnel\"", "kind": 1, "kindString": "External module", @@ -17492,7 +20032,7 @@ "originalName": "src/TestingBotTunnel.ts", "children": [ { - "id": 872, + "id": 958, "name": "TestingBotTunnel", "kind": 128, "kindString": "Class", @@ -17504,9 +20044,30 @@ "shortText": "A TestingBot tunnel.", "text": "The username and accessKey properties will be initialized using\nTESTINGBOT_API_KEY and TESTINGBOT_API_SECRET.\n" }, + "typeParameter": [ + { + "id": 1044, + "name": "O", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ], "children": [ { - "id": 879, + "id": 965, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -17516,7 +20077,7 @@ }, "signatures": [ { - "id": 880, + "id": 966, "name": "new TestingBotTunnel", "kind": 16384, "kindString": "Constructor signature", @@ -17525,7 +20086,7 @@ }, "parameters": [ { - "id": 881, + "id": 967, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17536,14 +20097,14 @@ "type": { "type": "reference", "name": "TestingBotOptions", - "id": 982 + "id": 1088 } } ], "type": { "type": "reference", "name": "TestingBotTunnel", - "id": 872 + "id": 958 }, "overwrites": { "type": "reference", @@ -17555,7 +20116,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 48, + "line": 47, "character": 17 } ], @@ -17566,7 +20127,34 @@ } }, { - "id": 917, + "id": 1045, + "name": "___typeMap__", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isProtected": true, + "isOptional": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 28, + "character": 25 + } + ], + "type": { + "type": "reference", + "name": "M" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.__typeMap__" + } + }, + { + "id": 1002, "name": "_handle", "kind": 1024, "kindString": "Property", @@ -17578,7 +20166,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 137, + "line": 133, "character": 18 } ], @@ -17598,11 +20186,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._handle", - "id": 47 + "id": 46 } }, { - "id": 918, + "id": 1003, "name": "_process", "kind": 1024, "kindString": "Property", @@ -17614,7 +20202,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 138, + "line": 134, "character": 19 } ], @@ -17634,11 +20222,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._process", - "id": 48 + "id": 47 } }, { - "id": 915, + "id": 1000, "name": "_startTask", "kind": 1024, "kindString": "Property", @@ -17650,7 +20238,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 135, + "line": 131, "character": 21 } ], @@ -17676,11 +20264,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._startTask", - "id": 45 + "id": 44 } }, { - "id": 919, + "id": 1004, "name": "_state", "kind": 1024, "kindString": "Property", @@ -17692,7 +20280,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 139, + "line": 135, "character": 17 } ], @@ -17721,11 +20309,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._state", - "id": 49 + "id": 48 } }, { - "id": 916, + "id": 1001, "name": "_stopTask", "kind": 1024, "kindString": "Property", @@ -17737,7 +20325,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 136, + "line": 132, "character": 20 } ], @@ -17763,11 +20351,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel._stopTask", - "id": 46 + "id": 45 } }, { - "id": 901, + "id": 986, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -17781,7 +20369,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 56, + "line": 52, "character": 10 } ], @@ -17792,16 +20380,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.accessKey", - "id": 30 + "id": 29 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.accessKey", - "id": 159 + "id": 178 } }, { - "id": 903, + "id": 988, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -17815,7 +20403,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 68, + "line": 64, "character": 13 } ], @@ -17826,16 +20414,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.architecture", - "id": 32 + "id": 31 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.architecture", - "id": 157 + "id": 176 } }, { - "id": 904, + "id": 989, "name": "directory", "kind": 1024, "kindString": "Property", @@ -17849,7 +20437,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 81, + "line": 77, "character": 10 } ], @@ -17860,16 +20448,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.directory", - "id": 34 + "id": 33 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.directory", - "id": 169 + "id": 188 } }, { - "id": 900, + "id": 985, "name": "environmentUrl", "kind": 1024, "kindString": "Property", @@ -17883,7 +20471,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 50, + "line": 46, "character": 15 } ], @@ -17894,11 +20482,11 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.environmentUrl", - "id": 29 + "id": 28 } }, { - "id": 905, + "id": 990, "name": "executable", "kind": 1024, "kindString": "Property", @@ -17912,7 +20500,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 87, + "line": 83, "character": 11 } ], @@ -17923,16 +20511,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.executable", - "id": 35 + "id": 34 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.executable", - "id": 160 + "id": 179 } }, { - "id": 873, + "id": 959, "name": "fastFailDomains", "kind": 1024, "kindString": "Property", @@ -17946,7 +20534,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 31, + "line": 30, "character": 16 } ], @@ -17959,7 +20547,7 @@ } }, { - "id": 906, + "id": 991, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -17973,7 +20561,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 94, + "line": 90, "character": 9 } ], @@ -17984,41 +20572,104 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.hostname", - "id": 36 + "id": 35 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.hostname", - "id": 161 + "id": 180 } }, { - "id": 874, - "name": "logFile", + "id": 1046, + "name": "listenersMap", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, "comment": { - "shortText": "A filename where additional logs from the tunnel should be output." + "shortText": "map of listeners keyed by event type" }, "sources": [ { - "fileName": "TestingBotTunnel.ts", - "line": 34, - "character": 8 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 32, + "character": 26 } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "Map", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "unknown", + "name": "keyof M" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + }, + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "unknown", + "name": "keyof M" + }, + { + "type": "unknown", + "name": "M[keyof M]" + } + ] + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.listenersMap" } }, { - "id": 899, - "name": "on", + "id": 960, + "name": "logFile", "kind": 1024, "kindString": "Property", "flags": { @@ -18026,28 +20677,22 @@ "__visited__": true }, "comment": { - "shortText": "Register an event listener" + "shortText": "A filename where additional logs from the tunnel should be output." }, "sources": [ { - "fileName": "Tunnel.ts", - "line": 44, - "character": 3 + "fileName": "TestingBotTunnel.ts", + "line": 33, + "character": 8 } ], "type": { - "type": "reference", - "name": "RegisterListener", - "id": 172 - }, - "inheritedFrom": { - "type": "reference", - "name": "Tunnel.on", - "id": 28 + "type": "intrinsic", + "name": "string" } }, { - "id": 907, + "id": 992, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -18061,7 +20706,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 100, + "line": 96, "character": 9 } ], @@ -18072,16 +20717,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.pathname", - "id": 37 + "id": 36 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.pathname", - "id": 162 + "id": 181 } }, { - "id": 908, + "id": 993, "name": "platform", "kind": 1024, "kindString": "Property", @@ -18095,7 +20740,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 106, + "line": 102, "character": 9 } ], @@ -18106,16 +20751,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.platform", - "id": 38 + "id": 37 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.platform", - "id": 163 + "id": 182 } }, { - "id": 909, + "id": 994, "name": "port", "kind": 1024, "kindString": "Property", @@ -18129,7 +20774,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 112, + "line": 108, "character": 5 } ], @@ -18140,16 +20785,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.port", - "id": 39 + "id": 38 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.port", - "id": 164 + "id": 183 } }, { - "id": 910, + "id": 995, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -18163,7 +20808,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 118, + "line": 114, "character": 9 } ], @@ -18174,16 +20819,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.protocol", - "id": 40 + "id": 39 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.protocol", - "id": 165 + "id": 184 } }, { - "id": 911, + "id": 996, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -18197,7 +20842,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 124, + "line": 120, "character": 6 } ], @@ -18208,16 +20853,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.proxy", - "id": 41 + "id": 40 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.proxy", - "id": 170 + "id": 189 } }, { - "id": 912, + "id": 997, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -18231,7 +20876,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 127, + "line": 123, "character": 9 } ], @@ -18242,16 +20887,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.tunnelId", - "id": 42 + "id": 41 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.tunnelId", - "id": 166 + "id": 185 } }, { - "id": 913, + "id": 998, "name": "url", "kind": 1024, "kindString": "Property", @@ -18265,7 +20910,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 130, + "line": 126, "character": 4 } ], @@ -18276,16 +20921,16 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.url", - "id": 43 + "id": 42 }, "implementationOf": { "type": "reference", "name": "TunnelProperties.url", - "id": 171 + "id": 190 } }, { - "id": 875, + "id": 961, "name": "useCompression", "kind": 1024, "kindString": "Property", @@ -18299,7 +20944,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 37, + "line": 36, "character": 15 } ], @@ -18309,7 +20954,7 @@ } }, { - "id": 876, + "id": 962, "name": "useJettyProxy", "kind": 1024, "kindString": "Property", @@ -18323,7 +20968,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 40, + "line": 39, "character": 14 } ], @@ -18333,7 +20978,7 @@ } }, { - "id": 877, + "id": 963, "name": "useSquidProxy", "kind": 1024, "kindString": "Property", @@ -18347,7 +20992,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 43, + "line": 42, "character": 14 } ], @@ -18357,7 +21002,7 @@ } }, { - "id": 878, + "id": 964, "name": "useSsl", "kind": 1024, "kindString": "Property", @@ -18371,7 +21016,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 48, + "line": 47, "character": 7 } ], @@ -18381,7 +21026,7 @@ } }, { - "id": 902, + "id": 987, "name": "username", "kind": 1024, "kindString": "Property", @@ -18395,135 +21040,295 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 62, - "character": 9 + "line": 58, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.username", + "id": 30 + }, + "implementationOf": { + "type": "reference", + "name": "TunnelProperties.username", + "id": 186 + } + }, + { + "id": 999, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "comment": { + "shortText": "Whether or not to tell the tunnel to provide verbose logging output." + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 129, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.verbose", + "id": 43 + }, + "implementationOf": { + "type": "reference", + "name": "TunnelProperties.verbose", + "id": 187 + } + }, + { + "id": 968, + "name": "auth", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isExported": true, + "__visited__": true + }, + "getSignature": [ + { + "id": 969, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "Tunnel.auth", + "id": 32 + } + } + ], + "sources": [ + { + "fileName": "TestingBotTunnel.ts", + "line": 73, + "character": 9 + } + ], + "overwrites": { + "type": "reference", + "name": "Tunnel.auth", + "id": 32 + }, + "implementationOf": { + "type": "reference", + "name": "TunnelProperties.auth", + "id": 177 + } + }, + { + "id": 1005, + "name": "clientUrl", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isExported": true, + "__visited__": true + }, + "comment": { + "shortText": "The URL that a WebDriver client should used to interact with this\nservice." + }, + "getSignature": [ + { + "id": 1006, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "The URL that a WebDriver client should used to interact with this\nservice." + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.clientUrl", + "id": 49 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 145, + "character": 14 } ], - "type": { - "type": "intrinsic", - "name": "string" - }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.username", - "id": 31 - }, - "implementationOf": { - "type": "reference", - "name": "TunnelProperties.username", - "id": 167 + "name": "Tunnel.clientUrl", + "id": 49 } }, { - "id": 914, - "name": "verbose", - "kind": 1024, - "kindString": "Property", + "id": 1007, + "name": "extraCapabilities", + "kind": 262144, + "kindString": "Accessor", "flags": { "isExported": true, "__visited__": true }, "comment": { - "shortText": "Whether or not to tell the tunnel to provide verbose logging output." + "shortText": "A map of additional capabilities that need to be sent to the provider\nwhen a new session is being created." }, + "getSignature": [ + { + "id": 1008, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "A map of additional capabilities that need to be sent to the provider\nwhen a new session is being created." + }, + "type": { + "type": "reference", + "name": "Object" + }, + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.extraCapabilities", + "id": 51 + } + } + ], "sources": [ { "fileName": "Tunnel.ts", - "line": 133, - "character": 8 + "line": 153, + "character": 22 } ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.verbose", - "id": 44 - }, - "implementationOf": { - "type": "reference", - "name": "TunnelProperties.verbose", - "id": 168 + "name": "Tunnel.extraCapabilities", + "id": 51 } }, { - "id": 959, - "name": "on", - "kind": 1024, - "kindString": "Property", + "id": 970, + "name": "isDownloaded", + "kind": 262144, + "kindString": "Accessor", "flags": { - "isStatic": true, "isExported": true, "__visited__": true }, + "getSignature": [ + { + "id": 971, + "name": "__get", + "kind": 524288, + "kindString": "Get signature", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "name": "Tunnel.isDownloaded", + "id": 53 + } + } + ], "sources": [ { - "fileName": "node_modules/@dojo/core/Evented.d.ts", - "line": 50, - "character": 6 + "fileName": "TestingBotTunnel.ts", + "line": 77, + "character": 17 } ], - "type": { - "type": "reference", - "name": "BaseEventedEvents" - }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Evented.on" + "name": "Tunnel.isDownloaded", + "id": 53 } }, { - "id": 882, - "name": "auth", + "id": 1009, + "name": "isRunning", "kind": 262144, "kindString": "Accessor", "flags": { "isExported": true, "__visited__": true }, + "comment": { + "shortText": "Whether or not the tunnel is currently running." + }, "getSignature": [ { - "id": 883, + "id": 1010, "name": "__get", "kind": 524288, "kindString": "Get signature", "flags": { "__visited__": true }, + "comment": { + "shortText": "Whether or not the tunnel is currently running." + }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel.auth", - "id": 33 + "name": "Tunnel.isRunning", + "id": 55 } } ], "sources": [ { - "fileName": "TestingBotTunnel.ts", - "line": 74, - "character": 9 + "fileName": "Tunnel.ts", + "line": 167, + "character": 14 } ], - "overwrites": { - "type": "reference", - "name": "Tunnel.auth", - "id": 33 - }, - "implementationOf": { + "inheritedFrom": { "type": "reference", - "name": "TunnelProperties.auth", - "id": 158 + "name": "Tunnel.isRunning", + "id": 55 } }, { - "id": 920, - "name": "clientUrl", + "id": 1011, + "name": "isStarting", "kind": 262144, "kindString": "Accessor", "flags": { @@ -18531,11 +21336,11 @@ "__visited__": true }, "comment": { - "shortText": "The URL that a WebDriver client should used to interact with this\nservice." + "shortText": "Whether or not the tunnel is currently starting up." }, "getSignature": [ { - "id": 921, + "id": 1012, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -18543,35 +21348,35 @@ "__visited__": true }, "comment": { - "shortText": "The URL that a WebDriver client should used to interact with this\nservice." + "shortText": "Whether or not the tunnel is currently starting up." }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.clientUrl", - "id": 50 + "name": "Tunnel.isStarting", + "id": 57 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 149, - "character": 14 + "line": 174, + "character": 15 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.clientUrl", - "id": 50 + "name": "Tunnel.isStarting", + "id": 57 } }, { - "id": 922, - "name": "extraCapabilities", + "id": 1013, + "name": "isStopping", "kind": 262144, "kindString": "Accessor", "flags": { @@ -18579,11 +21384,11 @@ "__visited__": true }, "comment": { - "shortText": "A map of additional capabilities that need to be sent to the provider\nwhen a new session is being created." + "shortText": "Whether or not the tunnel is currently stopping." }, "getSignature": [ { - "id": 923, + "id": 1014, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -18591,221 +21396,449 @@ "__visited__": true }, "comment": { - "shortText": "A map of additional capabilities that need to be sent to the provider\nwhen a new session is being created." + "shortText": "Whether or not the tunnel is currently stopping." }, "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { "type": "reference", - "name": "Object" + "name": "Tunnel.isStopping", + "id": 59 + } + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 181, + "character": 15 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Tunnel.isStopping", + "id": 59 + } + }, + { + "id": 1018, + "name": "_downloadFile", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "isProtected": true, + "__visited__": true + }, + "signatures": [ + { + "id": 1019, + "name": "_downloadFile", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 1020, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1021, + "name": "proxy", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1022, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true, + "__visited__": true + }, + "type": { + "type": "reference", + "name": "DownloadOptions", + "id": 158 + } + } + ], + "type": { + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.extraCapabilities", - "id": 52 + "name": "Tunnel._downloadFile", + "id": 64 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 157, - "character": 22 + "line": 205, + "character": 24 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.extraCapabilities", - "id": 52 + "name": "Tunnel._downloadFile", + "id": 64 } }, { - "id": 884, - "name": "isDownloaded", - "kind": 262144, - "kindString": "Accessor", + "id": 972, + "name": "_makeArgs", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "getSignature": [ + "signatures": [ { - "id": 885, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 973, + "name": "_makeArgs", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, + "parameters": [ + { + "id": 974, + "name": "readyFile", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } }, "overwrites": { "type": "reference", - "name": "Tunnel.isDownloaded", - "id": 54 + "name": "Tunnel._makeArgs", + "id": 73 } } ], "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 78, - "character": 17 + "line": 83, + "character": 20 } ], "overwrites": { "type": "reference", - "name": "Tunnel.isDownloaded", - "id": 54 + "name": "Tunnel._makeArgs", + "id": 73 } }, { - "id": 924, - "name": "isRunning", - "kind": 262144, - "kindString": "Accessor", + "id": 1027, + "name": "_makeChild", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "comment": { - "shortText": "Whether or not the tunnel is currently running." - }, - "getSignature": [ + "signatures": [ { - "id": 925, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 1028, + "name": "_makeChild", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Whether or not the tunnel is currently running." + "shortText": "Creates a newly spawned child process for the tunnel software.\nImplementations should call this method to create the tunnel process.", + "text": "Arguments passed to this method will be passed as-is to\n[[Tunnel._makeArgs]] and [[Tunnel._makeOptions]].\n", + "returns": "An object containing a newly spawned Process and a Deferred that\nwill be resolved once the tunnel has started successfully.\n" }, + "parameters": [ + { + "id": 1029, + "name": "executor", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "ChildExecutor", + "id": 148 + } + }, + { + "id": 1030, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true, + "__visited__": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.isRunning", - "id": 56 + "name": "Tunnel._makeChild", + "id": 76 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 171, - "character": 14 + "line": 300, + "character": 21 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.isRunning", - "id": 56 + "name": "Tunnel._makeChild", + "id": 76 } }, { - "id": 926, - "name": "isStarting", - "kind": 262144, - "kindString": "Accessor", + "id": 1031, + "name": "_makeOptions", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "comment": { - "shortText": "Whether or not the tunnel is currently starting up." - }, - "getSignature": [ + "signatures": [ { - "id": 927, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 1032, + "name": "_makeOptions", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Whether or not the tunnel is currently starting up." + "shortText": "Creates the set of options to use when spawning the tunnel process.\nImplementations should override this method to provide the appropriate\noptions for the tunnel software.", + "text": "Arguments passed to [[Tunnel._makeChild]] will be passed as-is to this\nmethod.\n", + "returns": "A set of options matching those provided to Node.js\n`child_process.spawn`.\n" }, + "parameters": [ + { + "id": 1033, + "name": "_values", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true, + "__visited__": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reflection", + "declaration": { + "id": 1034, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "__visited__": true + }, + "children": [ + { + "id": 1035, + "name": "env", + "kind": 32, + "kindString": "Variable", + "flags": { + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 388, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "defaultValue": " process.env" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 1035 + ] + } + ] + } }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.isStarting", - "id": 58 + "name": "Tunnel._makeOptions", + "id": 80 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 178, - "character": 15 + "line": 387, + "character": 23 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.isStarting", - "id": 58 + "name": "Tunnel._makeOptions", + "id": 80 } }, { - "id": 928, - "name": "isStopping", - "kind": 262144, - "kindString": "Accessor", + "id": 982, + "name": "_normalizeEnvironment", + "kind": 2048, + "kindString": "Method", "flags": { "isExported": true, + "isProtected": true, "__visited__": true }, - "comment": { - "shortText": "Whether or not the tunnel is currently stopping." - }, - "getSignature": [ + "signatures": [ { - "id": 929, - "name": "__get", - "kind": 524288, - "kindString": "Get signature", + "id": 983, + "name": "_normalizeEnvironment", + "kind": 4096, + "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Whether or not the tunnel is currently stopping." + "shortText": "Attempt to normalize a TestingBot described environment with the standard\nSelenium capabilities", + "text": "TestingBot returns a list of environments that looks like:\n\n{\n \"selenium_name\": \"Chrome36\",\n \"name\": \"googlechrome\",\n \"platform\": \"CAPITAN\",\n \"version\":\"36\"\n}\n", + "returns": "a normalized descriptor\n" }, + "parameters": [ + { + "id": 984, + "name": "environment", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "comment": { + "text": "a TestingBot environment descriptor" + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Tunnel.isStopping", - "id": 60 + "name": "Tunnel._normalizeEnvironment", + "id": 100 } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 185, - "character": 15 + "fileName": "TestingBotTunnel.ts", + "line": 250, + "character": 32 } ], - "inheritedFrom": { + "overwrites": { "type": "reference", - "name": "Tunnel.isStopping", - "id": 60 + "name": "Tunnel._normalizeEnvironment", + "id": 100 } }, { - "id": 933, - "name": "_downloadFile", + "id": 1023, + "name": "_postDownloadFile", "kind": 2048, "kindString": "Method", "flags": { @@ -18814,44 +21847,34 @@ "__visited__": true }, "signatures": [ - { - "id": 934, - "name": "_downloadFile", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "__visited__": true - }, - "parameters": [ - { - "id": 935, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + { + "id": 1024, + "name": "_postDownloadFile", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Called with the response after a file download has completed" + }, + "parameters": [ { - "id": 936, - "name": "proxy", + "id": 1025, + "name": "data", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "Buffer" } }, { - "id": 937, - "name": "options", + "id": 1026, + "name": "_options", "kind": 32768, "kindString": "Parameter", "flags": { @@ -18861,13 +21884,13 @@ "type": { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } } ], "type": { "type": "reference", - "name": "Task", + "name": "Promise", "typeArguments": [ { "type": "intrinsic", @@ -18877,27 +21900,27 @@ }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._downloadFile", - "id": 65 + "name": "Tunnel._postDownloadFile", + "id": 69 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 209, - "character": 24 + "line": 265, + "character": 28 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._downloadFile", - "id": 65 + "name": "Tunnel._postDownloadFile", + "id": 69 } }, { - "id": 886, - "name": "_makeArgs", + "id": 979, + "name": "_start", "kind": 2048, "kindString": "Method", "flags": { @@ -18907,8 +21930,8 @@ }, "signatures": [ { - "id": 887, - "name": "_makeArgs", + "id": 980, + "name": "_start", "kind": 4096, "kindString": "Call signature", "flags": { @@ -18916,49 +21939,53 @@ }, "parameters": [ { - "id": 888, - "name": "readyFile", + "id": 981, + "name": "executor", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "ChildExecutor", + "id": 148 } } ], "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] }, "overwrites": { "type": "reference", - "name": "Tunnel._makeArgs", - "id": 74 + "name": "Tunnel._start", + "id": 91 } } ], "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 84, - "character": 20 + "line": 170, + "character": 17 } ], "overwrites": { "type": "reference", - "name": "Tunnel._makeArgs", - "id": 74 + "name": "Tunnel._start", + "id": 91 } }, { - "id": 942, - "name": "_makeChild", + "id": 1040, + "name": "_stop", "kind": 2048, "kindString": "Method", "flags": { @@ -18968,351 +21995,236 @@ }, "signatures": [ { - "id": 943, - "name": "_makeChild", + "id": 1041, + "name": "_stop", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Creates a newly spawned child process for the tunnel software.\nImplementations should call this method to create the tunnel process.", - "text": "Arguments passed to this method will be passed as-is to\n[[Tunnel._makeArgs]] and [[Tunnel._makeOptions]].\n", - "returns": "An object containing a newly spawned Process and a Deferred that\nwill be resolved once the tunnel has started successfully.\n" + "shortText": "This method provides the implementation that actually stops the tunnel.", + "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", + "returns": "A promise that resolves once the tunnel has shut down.\n" }, - "parameters": [ - { - "id": 944, - "name": "executor", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "reference", - "name": "ChildExecutor", - "id": 129 - } - }, - { - "id": 945, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true, - "__visited__": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], "type": { "type": "reference", - "name": "Task", + "name": "Promise", "typeArguments": [ { "type": "intrinsic", - "name": "any" + "name": "number" } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeChild", - "id": 77 + "name": "Tunnel._stop", + "id": 96 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 304, - "character": 21 + "line": 544, + "character": 16 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeChild", - "id": 77 + "name": "Tunnel._stop", + "id": 96 } }, { - "id": 946, - "name": "_makeOptions", + "id": 1064, + "name": "destroy", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 947, - "name": "_makeOptions", + "id": 1065, + "name": "destroy", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Creates the set of options to use when spawning the tunnel process.\nImplementations should override this method to provide the appropriate\noptions for the tunnel software.", - "text": "Arguments passed to [[Tunnel._makeChild]] will be passed as-is to this\nmethod.\n", - "returns": "A set of options matching those provided to Node.js\n`child_process.spawn`.\n" + "shortText": "Destrpys all handers registered for the instance", + "returns": "a promise that resolves once all handles have been destroyed\n" }, - "parameters": [ - { - "id": 948, - "name": "_values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true, - "__visited__": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], "type": { - "type": "reflection", - "declaration": { - "id": 949, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "__visited__": true - }, - "children": [ - { - "id": 950, - "name": "env", - "kind": 32, - "kindString": "Variable", - "flags": { - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 392, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "defaultValue": " process.env" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 950 - ] - } - ] - } + "type": "reference", + "name": "Promise", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeOptions", - "id": 81 + "name": "Destroyable.destroy" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 391, - "character": 23 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 23, + "character": 11 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._makeOptions", - "id": 81 + "name": "Destroyable.destroy" } }, { - "id": 896, - "name": "_normalizeEnvironment", + "id": 1015, + "name": "download", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 897, - "name": "_normalizeEnvironment", + "id": 1016, + "name": "download", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Attempt to normalize a TestingBot described environment with the standard\nSelenium capabilities", - "text": "TestingBot returns a list of environments that looks like:\n\n{\n \"selenium_name\": \"Chrome36\",\n \"name\": \"googlechrome\",\n \"platform\": \"CAPITAN\",\n \"version\":\"36\"\n}\n", - "returns": "a normalized descriptor\n" + "shortText": "Downloads and extracts the tunnel software if it is not already\ndownloaded.", + "text": "This method can be extended by implementations to perform any necessary\npost-processing, such as setting appropriate file permissions on the\ndownloaded executable.\n", + "returns": "A promise that resolves once the download and extraction process\nhas completed.\n" }, "parameters": [ { - "id": 898, - "name": "environment", + "id": 1017, + "name": "forceDownload", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "comment": { - "text": "a TestingBot environment descriptor" + "text": "Force downloading the software even if it already\nhas been downloaded." }, "type": { "type": "intrinsic", - "name": "any" - } + "name": "boolean" + }, + "defaultValue": "false" } ], "type": { "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 + "name": "Task", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ] }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._normalizeEnvironment", - "id": 101 + "name": "Tunnel.download", + "id": 61 } } ], "sources": [ { - "fileName": "TestingBotTunnel.ts", - "line": 251, - "character": 32 + "fileName": "Tunnel.ts", + "line": 198, + "character": 9 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._normalizeEnvironment", - "id": 101 + "name": "Tunnel.download", + "id": 61 } }, { - "id": 938, - "name": "_postDownloadFile", + "id": 1047, + "name": "emit", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 939, - "name": "_postDownloadFile", + "id": 1048, + "name": "emit", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Called with the response after a file download has completed" + "shortText": "Emits the event objet for the specified type" }, - "parameters": [ + "typeParameter": [ { - "id": 940, - "name": "data", - "kind": 32768, - "kindString": "Parameter", + "id": 1049, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "Buffer" + "type": "unknown", + "name": "keyof M" } - }, + } + ], + "parameters": [ { - "id": 941, - "name": "_options", + "id": 1050, + "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { - "isOptional": true, "__visited__": true }, + "comment": { + "text": "the event to emit\n" + }, "type": { - "type": "reference", - "name": "DownloadOptions", - "id": 139 + "type": "unknown", + "name": "M[K]" } } ], "type": { - "type": "reference", - "name": "Promise", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ] + "type": "intrinsic", + "name": "void" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._postDownloadFile", - "id": 70 + "name": "Evented.emit" } - } - ], - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 269, - "character": 28 - } - ], - "inheritedFrom": { - "type": "reference", - "name": "Tunnel._postDownloadFile", - "id": 70 - } - }, - { - "id": 893, - "name": "_start", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true, - "isProtected": true, - "__visited__": true - }, - "signatures": [ + }, { - "id": 894, - "name": "_start", + "id": 1051, + "name": "emit", "kind": 4096, "kindString": "Call signature", "flags": { @@ -19320,107 +22232,116 @@ }, "parameters": [ { - "id": 895, - "name": "executor", + "id": 1052, + "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "ChildExecutor", - "id": 129 + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } } } ], "type": { - "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ] + "type": "intrinsic", + "name": "void" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._start", - "id": 92 + "name": "Evented.emit" } } ], "sources": [ { - "fileName": "TestingBotTunnel.ts", - "line": 171, - "character": 17 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 38, + "character": 8 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 39, + "character": 8 } ], - "overwrites": { + "inheritedFrom": { "type": "reference", - "name": "Tunnel._start", - "id": 92 + "name": "Evented.emit" } }, { - "id": 955, - "name": "_stop", + "id": 1042, + "name": "getEnvironments", "kind": 2048, "kindString": "Method", "flags": { "isExported": true, - "isProtected": true, "__visited__": true }, "signatures": [ { - "id": 956, - "name": "_stop", + "id": 1043, + "name": "getEnvironments", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "This method provides the implementation that actually stops the tunnel.", - "text": "The default implementation that assumes the tunnel has been closed once\nthe child process has exited. This method should be reimplemented by\nother tunnel launchers to implement correct shutdown logic, if necessary.\n", - "returns": "A promise that resolves once the tunnel has shut down.\n" + "shortText": "Get a list of environments available on the service.", + "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", + "returns": "An object containing the response and helper functions\n" }, "type": { "type": "reference", - "name": "Promise", + "name": "Task", "typeArguments": [ { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "reference", + "name": "NormalizedEnvironment", + "id": 162 + } } ] }, "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 548, + "line": 577, "character": 16 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel._stop", - "id": 97 + "name": "Tunnel.getEnvironments", + "id": 98 } }, { - "id": 930, - "name": "download", + "id": 1053, + "name": "on", "kind": 2048, "kindString": "Method", "flags": { @@ -19429,70 +22350,179 @@ }, "signatures": [ { - "id": 931, - "name": "download", + "id": 1054, + "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Downloads and extracts the tunnel software if it is not already\ndownloaded.", - "text": "This method can be extended by implementations to perform any necessary\npost-processing, such as setting appropriate file permissions on the\ndownloaded executable.\n", - "returns": "A promise that resolves once the download and extraction process\nhas completed.\n" + "shortText": "Catch all handler for various call signatures. The signatures are defined in\n`BaseEventedEvents`. You can add your own event type -> handler types by extending\n`BaseEventedEvents`. See example for details.", + "returns": "\n", + "tags": [ + { + "tag": "example", + "text": "\n\ninterface WidgetBaseEvents extends BaseEventedEvents {\n (type: 'properties:changed', handler: PropertiesChangedHandler): Handle;\n}\nclass WidgetBase extends Evented {\n on: WidgetBaseEvents;\n}\n" + } + ] }, + "typeParameter": [ + { + "id": 1055, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], "parameters": [ { - "id": 932, - "name": "forceDownload", + "id": 1056, + "name": "type", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, - "comment": { - "text": "Force downloading the software even if it already\nhas been downloaded." - }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + } + }, + { + "id": 1057, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true }, - "defaultValue": "false" + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + }, + { + "type": "unknown", + "name": "M[K]" + } + ] + } } ], "type": { "type": "reference", - "name": "Task", - "typeArguments": [ - { + "name": "Handle" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + }, + { + "id": 1058, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 1059, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { "type": "intrinsic", - "name": "void" + "name": "string" } - ] + }, + { + "id": 1060, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 202, - "character": 9 + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 58, + "character": 6 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 59, + "character": 6 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.download", - "id": 62 + "name": "Evented.on" } }, { - "id": 957, - "name": "getEnvironments", + "id": 1061, + "name": "own", "kind": 2048, "kindString": "Method", "flags": { @@ -19501,54 +22531,68 @@ }, "signatures": [ { - "id": 958, - "name": "getEnvironments", + "id": 1062, + "name": "own", "kind": 4096, "kindString": "Call signature", "flags": { "__visited__": true }, "comment": { - "shortText": "Get a list of environments available on the service.", - "text": "This method should be overridden and use a specific implementation that\nreturns normalized environments from the service. E.g.\n\n```js\n{\n browserName: 'firefox',\n version: '12',\n platform: 'windows',\n descriptor: { }\n}\n```\n", - "returns": "An object containing the response and helper functions\n" + "shortText": "Register handles for the instance that will be destroyed when `this.destroy` is called", + "returns": "a handle for the handle, removes the handle for the instance and calls destroy\n" }, - "type": { - "type": "reference", - "name": "Task", - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "name": "NormalizedEnvironment", - "id": 143 - } + "parameters": [ + { + "id": 1063, + "name": "handles", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Handle" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "Handle" + } + } + ] } - ] + } + ], + "type": { + "type": "reference", + "name": "Handle" }, "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } } ], "sources": [ { - "fileName": "Tunnel.ts", - "line": 581, - "character": 16 + "fileName": "node_modules/@dojo/core/Destroyable.d.ts", + "line": 17, + "character": 7 } ], "inheritedFrom": { "type": "reference", - "name": "Tunnel.getEnvironments", - "id": 99 + "name": "Destroyable.own" } }, { - "id": 889, + "id": 975, "name": "sendJobState", "kind": 2048, "kindString": "Method", @@ -19558,7 +22602,7 @@ }, "signatures": [ { - "id": 890, + "id": 976, "name": "sendJobState", "kind": 4096, "kindString": "Call signature", @@ -19567,7 +22611,7 @@ }, "parameters": [ { - "id": 891, + "id": 977, "name": "jobId", "kind": 32768, "kindString": "Parameter", @@ -19580,7 +22624,7 @@ } }, { - "id": 892, + "id": 978, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -19607,25 +22651,25 @@ "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } } ], "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 121, + "line": 120, "character": 13 } ], "overwrites": { "type": "reference", "name": "Tunnel.sendJobState", - "id": 86 + "id": 85 } }, { - "id": 951, + "id": 1036, "name": "start", "kind": 2048, "kindString": "Method", @@ -19635,7 +22679,7 @@ }, "signatures": [ { - "id": 952, + "id": 1037, "name": "start", "kind": 4096, "kindString": "Call signature", @@ -19659,25 +22703,25 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 413, + "line": 409, "character": 6 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.start", - "id": 90 + "id": 89 } }, { - "id": 953, + "id": 1038, "name": "stop", "kind": 2048, "kindString": "Method", @@ -19687,7 +22731,7 @@ }, "signatures": [ { - "id": 954, + "id": 1039, "name": "stop", "kind": 4096, "kindString": "Call signature", @@ -19711,21 +22755,21 @@ "inheritedFrom": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 500, + "line": 496, "character": 5 } ], "inheritedFrom": { "type": "reference", "name": "Tunnel.stop", - "id": 95 + "id": 94 } } ], @@ -19734,80 +22778,84 @@ "title": "Constructors", "kind": 512, "children": [ - 879 + 965 ] }, { "title": "Properties", "kind": 1024, "children": [ - 917, - 918, - 915, - 919, - 916, - 901, - 903, - 904, - 900, - 905, - 873, - 906, - 874, - 899, - 907, - 908, - 909, - 910, - 911, - 912, - 913, - 875, - 876, - 877, - 878, - 902, - 914, - 959 + 1045, + 1002, + 1003, + 1000, + 1004, + 1001, + 986, + 988, + 989, + 985, + 990, + 959, + 991, + 1046, + 960, + 992, + 993, + 994, + 995, + 996, + 997, + 998, + 961, + 962, + 963, + 964, + 987, + 999 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 882, - 920, - 922, - 884, - 924, - 926, - 928 + 968, + 1005, + 1007, + 970, + 1009, + 1011, + 1013 ] }, { "title": "Methods", "kind": 2048, "children": [ - 933, - 886, - 942, - 946, - 896, - 938, - 893, - 955, - 930, - 957, - 889, - 951, - 953 + 1018, + 972, + 1027, + 1031, + 982, + 1023, + 979, + 1040, + 1064, + 1015, + 1047, + 1042, + 1053, + 1061, + 975, + 1036, + 1038 ] } ], "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 25, + "line": 24, "character": 37 } ], @@ -19822,7 +22870,7 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 }, { "type": "reference", @@ -19831,12 +22879,12 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 } ] }, { - "id": 960, + "id": 1066, "name": "TestingBotProperties", "kind": 256, "kindString": "Interface", @@ -19846,7 +22894,7 @@ }, "children": [ { - "id": 969, + "id": 1075, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -19857,7 +22905,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 711, + "line": 718, "character": 10 } ], @@ -19868,11 +22916,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.accessKey", - "id": 159 + "id": 178 } }, { - "id": 967, + "id": 1073, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -19883,7 +22931,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 709, + "line": 716, "character": 13 } ], @@ -19894,11 +22942,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.architecture", - "id": 157 + "id": 176 } }, { - "id": 968, + "id": 1074, "name": "auth", "kind": 1024, "kindString": "Property", @@ -19909,7 +22957,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 710, + "line": 717, "character": 5 } ], @@ -19920,11 +22968,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.auth", - "id": 158 + "id": 177 } }, { - "id": 979, + "id": 1085, "name": "directory", "kind": 1024, "kindString": "Property", @@ -19935,7 +22983,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 679, + "line": 686, "character": 10 } ], @@ -19946,11 +22994,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.directory", - "id": 140 + "id": 159 } }, { - "id": 970, + "id": 1076, "name": "executable", "kind": 1024, "kindString": "Property", @@ -19961,7 +23009,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 712, + "line": 719, "character": 11 } ], @@ -19972,11 +23020,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.executable", - "id": 160 + "id": 179 } }, { - "id": 961, + "id": 1067, "name": "fastFailDomains", "kind": 1024, "kindString": "Property", @@ -19987,7 +23035,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 277, + "line": 276, "character": 16 } ], @@ -20000,7 +23048,7 @@ } }, { - "id": 971, + "id": 1077, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -20011,7 +23059,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 713, + "line": 720, "character": 9 } ], @@ -20022,11 +23070,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.hostname", - "id": 161 + "id": 180 } }, { - "id": 962, + "id": 1068, "name": "logFile", "kind": 1024, "kindString": "Property", @@ -20037,7 +23085,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 278, + "line": 277, "character": 8 } ], @@ -20047,7 +23095,7 @@ } }, { - "id": 972, + "id": 1078, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -20058,7 +23106,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 714, + "line": 721, "character": 9 } ], @@ -20069,11 +23117,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.pathname", - "id": 162 + "id": 181 } }, { - "id": 973, + "id": 1079, "name": "platform", "kind": 1024, "kindString": "Property", @@ -20084,7 +23132,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 715, + "line": 722, "character": 9 } ], @@ -20095,11 +23143,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.platform", - "id": 163 + "id": 182 } }, { - "id": 974, + "id": 1080, "name": "port", "kind": 1024, "kindString": "Property", @@ -20110,7 +23158,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 716, + "line": 723, "character": 5 } ], @@ -20121,11 +23169,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.port", - "id": 164 + "id": 183 } }, { - "id": 975, + "id": 1081, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -20136,7 +23184,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 717, + "line": 724, "character": 9 } ], @@ -20147,11 +23195,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.protocol", - "id": 165 + "id": 184 } }, { - "id": 980, + "id": 1086, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -20162,7 +23210,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 680, + "line": 687, "character": 6 } ], @@ -20173,11 +23221,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.proxy", - "id": 141 + "id": 160 } }, { - "id": 976, + "id": 1082, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -20188,7 +23236,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 718, + "line": 725, "character": 9 } ], @@ -20199,11 +23247,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.tunnelId", - "id": 166 + "id": 185 } }, { - "id": 981, + "id": 1087, "name": "url", "kind": 1024, "kindString": "Property", @@ -20214,7 +23262,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 681, + "line": 688, "character": 4 } ], @@ -20225,11 +23273,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.url", - "id": 142 + "id": 161 } }, { - "id": 963, + "id": 1069, "name": "useCompression", "kind": 1024, "kindString": "Property", @@ -20240,7 +23288,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 279, + "line": 278, "character": 15 } ], @@ -20250,7 +23298,7 @@ } }, { - "id": 964, + "id": 1070, "name": "useJettyProxy", "kind": 1024, "kindString": "Property", @@ -20261,7 +23309,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 280, + "line": 279, "character": 14 } ], @@ -20271,7 +23319,7 @@ } }, { - "id": 965, + "id": 1071, "name": "useSquidProxy", "kind": 1024, "kindString": "Property", @@ -20282,7 +23330,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 281, + "line": 280, "character": 14 } ], @@ -20292,7 +23340,7 @@ } }, { - "id": 966, + "id": 1072, "name": "useSsl", "kind": 1024, "kindString": "Property", @@ -20303,7 +23351,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 282, + "line": 281, "character": 7 } ], @@ -20313,7 +23361,7 @@ } }, { - "id": 977, + "id": 1083, "name": "username", "kind": 1024, "kindString": "Property", @@ -20324,7 +23372,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 719, + "line": 726, "character": 9 } ], @@ -20335,11 +23383,11 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.username", - "id": 167 + "id": 186 } }, { - "id": 978, + "id": 1084, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -20350,7 +23398,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 720, + "line": 727, "character": 8 } ], @@ -20361,7 +23409,7 @@ "inheritedFrom": { "type": "reference", "name": "TunnelProperties.verbose", - "id": 168 + "id": 187 } } ], @@ -20370,34 +23418,34 @@ "title": "Properties", "kind": 1024, "children": [ - 969, - 967, - 968, - 979, - 970, - 961, - 971, - 962, - 972, - 973, - 974, - 975, - 980, - 976, - 981, - 963, - 964, - 965, - 966, - 977, - 978 + 1075, + 1073, + 1074, + 1085, + 1076, + 1067, + 1077, + 1068, + 1078, + 1079, + 1080, + 1081, + 1086, + 1082, + 1087, + 1069, + 1070, + 1071, + 1072, + 1083, + 1084 ] } ], "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 276, + "line": 275, "character": 37 } ], @@ -20405,12 +23453,12 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 } ] }, { - "id": 982, + "id": 1088, "name": "TestingBotOptions", "kind": 4194304, "kindString": "Type alias", @@ -20421,7 +23469,7 @@ "sources": [ { "fileName": "TestingBotTunnel.ts", - "line": 285, + "line": 284, "character": 29 } ], @@ -20432,7 +23480,7 @@ { "type": "reference", "name": "TestingBotProperties", - "id": 960 + "id": 1066 } ] } @@ -20443,21 +23491,21 @@ "title": "Classes", "kind": 128, "children": [ - 872 + 958 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 960 + 1066 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 982 + 1088 ] } ], @@ -20492,6 +23540,27 @@ "comment": { "shortText": "A Tunnel is a mechanism for connecting to a WebDriver service provider that\nsecurely exposes local services for testing within the service provider’s\nnetwork." }, + "typeParameter": [ + { + "id": 103, + "name": "O", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ], "children": [ { "id": 25, @@ -20524,7 +23593,7 @@ "type": { "type": "reference", "name": "TunnelOptions", - "id": 205 + "id": 191 } } ], @@ -20535,24 +23604,51 @@ }, "overwrites": { "type": "reference", - "name": "Evented.__constructor" + "name": "Destroyable.__constructor" } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 25, - "character": 78 + "line": 24, + "character": 100 } ], "overwrites": { "type": "reference", - "name": "Evented.__constructor" + "name": "Destroyable.__constructor" } }, { - "id": 47, + "id": 104, + "name": "___typeMap__", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isProtected": true, + "isOptional": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 28, + "character": 25 + } + ], + "type": { + "type": "reference", + "name": "M" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.__typeMap__" + } + }, + { + "id": 46, "name": "_handle", "kind": 1024, "kindString": "Property", @@ -20564,7 +23660,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 137, + "line": 133, "character": 18 } ], @@ -20583,7 +23679,7 @@ } }, { - "id": 48, + "id": 47, "name": "_process", "kind": 1024, "kindString": "Property", @@ -20595,7 +23691,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 138, + "line": 134, "character": 19 } ], @@ -20614,7 +23710,7 @@ } }, { - "id": 45, + "id": 44, "name": "_startTask", "kind": 1024, "kindString": "Property", @@ -20626,7 +23722,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 135, + "line": 131, "character": 21 } ], @@ -20651,7 +23747,7 @@ } }, { - "id": 49, + "id": 48, "name": "_state", "kind": 1024, "kindString": "Property", @@ -20663,7 +23759,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 139, + "line": 135, "character": 17 } ], @@ -20691,7 +23787,7 @@ "defaultValue": "\"stopped\"" }, { - "id": 46, + "id": 45, "name": "_stopTask", "kind": 1024, "kindString": "Property", @@ -20703,7 +23799,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 136, + "line": 132, "character": 20 } ], @@ -20728,7 +23824,7 @@ } }, { - "id": 30, + "id": 29, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -20742,7 +23838,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 56, + "line": 52, "character": 10 } ], @@ -20753,11 +23849,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.accessKey", - "id": 159 + "id": 178 } }, { - "id": 32, + "id": 31, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -20771,7 +23867,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 68, + "line": 64, "character": 13 } ], @@ -20782,11 +23878,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.architecture", - "id": 157 + "id": 176 } }, { - "id": 33, + "id": 32, "name": "auth", "kind": 1024, "kindString": "Property", @@ -20800,7 +23896,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 74, + "line": 70, "character": 5 } ], @@ -20811,11 +23907,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.auth", - "id": 158 + "id": 177 } }, { - "id": 34, + "id": 33, "name": "directory", "kind": 1024, "kindString": "Property", @@ -20829,7 +23925,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 81, + "line": 77, "character": 10 } ], @@ -20840,11 +23936,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.directory", - "id": 169 + "id": 188 } }, { - "id": 29, + "id": 28, "name": "environmentUrl", "kind": 1024, "kindString": "Property", @@ -20858,7 +23954,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 50, + "line": 46, "character": 15 } ], @@ -20868,7 +23964,7 @@ } }, { - "id": 35, + "id": 34, "name": "executable", "kind": 1024, "kindString": "Property", @@ -20882,7 +23978,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 87, + "line": 83, "character": 11 } ], @@ -20893,11 +23989,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.executable", - "id": 160 + "id": 179 } }, { - "id": 36, + "id": 35, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -20911,7 +24007,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 94, + "line": 90, "character": 9 } ], @@ -20922,7 +24018,7 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.hostname", - "id": 161 + "id": 180 } }, { @@ -20941,7 +24037,7 @@ "sources": [ { "fileName": "node_modules/@dojo/core/Evented.d.ts", - "line": 65, + "line": 32, "character": 26 } ], @@ -20950,16 +24046,58 @@ "name": "Map", "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "unknown", + "name": "keyof M" + } + ] }, { - "type": "reference", - "name": "EventedCallback", - "typeArguments": [ + "type": "union", + "types": [ { "type": "reference", - "name": "EventObject" + "name": "EventedCallback", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + }, + { + "type": "reference", + "name": "EventedCallback", + "typeArguments": [ + { + "type": "unknown", + "name": "keyof M" + }, + { + "type": "unknown", + "name": "M[keyof M]" + } + ] } ] } @@ -20971,36 +24109,7 @@ } }, { - "id": 28, - "name": "on", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "comment": { - "shortText": "Register an event listener" - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 44, - "character": 3 - } - ], - "type": { - "type": "reference", - "name": "RegisterListener", - "id": 172 - }, - "overwrites": { - "type": "reference", - "name": "Evented.on" - } - }, - { - "id": 37, + "id": 36, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -21014,7 +24123,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 100, + "line": 96, "character": 9 } ], @@ -21025,11 +24134,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.pathname", - "id": 162 + "id": 181 } }, { - "id": 38, + "id": 37, "name": "platform", "kind": 1024, "kindString": "Property", @@ -21043,7 +24152,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 106, + "line": 102, "character": 9 } ], @@ -21054,11 +24163,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.platform", - "id": 163 + "id": 182 } }, { - "id": 39, + "id": 38, "name": "port", "kind": 1024, "kindString": "Property", @@ -21072,7 +24181,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 112, + "line": 108, "character": 5 } ], @@ -21083,11 +24192,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.port", - "id": 164 + "id": 183 } }, { - "id": 40, + "id": 39, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -21101,7 +24210,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 118, + "line": 114, "character": 9 } ], @@ -21112,11 +24221,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.protocol", - "id": 165 + "id": 184 } }, { - "id": 41, + "id": 40, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -21130,7 +24239,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 124, + "line": 120, "character": 6 } ], @@ -21141,11 +24250,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.proxy", - "id": 170 + "id": 189 } }, { - "id": 42, + "id": 41, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -21159,7 +24268,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 127, + "line": 123, "character": 9 } ], @@ -21170,11 +24279,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.tunnelId", - "id": 166 + "id": 185 } }, { - "id": 43, + "id": 42, "name": "url", "kind": 1024, "kindString": "Property", @@ -21188,7 +24297,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 130, + "line": 126, "character": 4 } ], @@ -21199,11 +24308,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.url", - "id": 171 + "id": 190 } }, { - "id": 31, + "id": 30, "name": "username", "kind": 1024, "kindString": "Property", @@ -21217,7 +24326,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 62, + "line": 58, "character": 9 } ], @@ -21228,11 +24337,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.username", - "id": 167 + "id": 186 } }, { - "id": 44, + "id": 43, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -21246,7 +24355,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 133, + "line": 129, "character": 8 } ], @@ -21257,37 +24366,11 @@ "implementationOf": { "type": "reference", "name": "TunnelProperties.verbose", - "id": 168 - } - }, - { - "id": 104, - "name": "on", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExported": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "node_modules/@dojo/core/Evented.d.ts", - "line": 50, - "character": 6 - } - ], - "type": { - "type": "reference", - "name": "BaseEventedEvents" - }, - "inheritedFrom": { - "type": "reference", - "name": "Evented.on" + "id": 187 } }, { - "id": 50, + "id": 49, "name": "clientUrl", "kind": 262144, "kindString": "Accessor", @@ -21300,7 +24383,7 @@ }, "getSignature": [ { - "id": 51, + "id": 50, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -21319,13 +24402,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 149, + "line": 145, "character": 14 } ] }, { - "id": 52, + "id": 51, "name": "extraCapabilities", "kind": 262144, "kindString": "Accessor", @@ -21338,7 +24421,7 @@ }, "getSignature": [ { - "id": 53, + "id": 52, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -21357,13 +24440,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 157, + "line": 153, "character": 22 } ] }, { - "id": 54, + "id": 53, "name": "isDownloaded", "kind": 262144, "kindString": "Accessor", @@ -21376,7 +24459,7 @@ }, "getSignature": [ { - "id": 55, + "id": 54, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -21395,13 +24478,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 164, + "line": 160, "character": 17 } ] }, { - "id": 56, + "id": 55, "name": "isRunning", "kind": 262144, "kindString": "Accessor", @@ -21414,7 +24497,7 @@ }, "getSignature": [ { - "id": 57, + "id": 56, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -21433,13 +24516,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 171, + "line": 167, "character": 14 } ] }, { - "id": 58, + "id": 57, "name": "isStarting", "kind": 262144, "kindString": "Accessor", @@ -21452,7 +24535,7 @@ }, "getSignature": [ { - "id": 59, + "id": 58, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -21471,13 +24554,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 178, + "line": 174, "character": 15 } ] }, { - "id": 60, + "id": 59, "name": "isStopping", "kind": 262144, "kindString": "Accessor", @@ -21490,7 +24573,7 @@ }, "getSignature": [ { - "id": 61, + "id": 60, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -21509,13 +24592,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 185, + "line": 181, "character": 15 } ] }, { - "id": 65, + "id": 64, "name": "_downloadFile", "kind": 2048, "kindString": "Method", @@ -21526,7 +24609,7 @@ }, "signatures": [ { - "id": 66, + "id": 65, "name": "_downloadFile", "kind": 4096, "kindString": "Call signature", @@ -21535,7 +24618,7 @@ }, "parameters": [ { - "id": 67, + "id": 66, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -21548,7 +24631,7 @@ } }, { - "id": 68, + "id": 67, "name": "proxy", "kind": 32768, "kindString": "Parameter", @@ -21561,7 +24644,7 @@ } }, { - "id": 69, + "id": 68, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -21572,7 +24655,7 @@ "type": { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } } ], @@ -21591,13 +24674,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 209, + "line": 205, "character": 24 } ] }, { - "id": 74, + "id": 73, "name": "_makeArgs", "kind": 2048, "kindString": "Method", @@ -21608,7 +24691,7 @@ }, "signatures": [ { - "id": 75, + "id": 74, "name": "_makeArgs", "kind": 4096, "kindString": "Call signature", @@ -21622,7 +24705,7 @@ }, "parameters": [ { - "id": 76, + "id": 75, "name": "_values", "kind": 32768, "kindString": "Parameter", @@ -21651,13 +24734,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 290, + "line": 286, "character": 20 } ] }, { - "id": 77, + "id": 76, "name": "_makeChild", "kind": 2048, "kindString": "Method", @@ -21668,7 +24751,7 @@ }, "signatures": [ { - "id": 78, + "id": 77, "name": "_makeChild", "kind": 4096, "kindString": "Call signature", @@ -21682,7 +24765,7 @@ }, "parameters": [ { - "id": 79, + "id": 78, "name": "executor", "kind": 32768, "kindString": "Parameter", @@ -21692,11 +24775,11 @@ "type": { "type": "reference", "name": "ChildExecutor", - "id": 129 + "id": 148 } }, { - "id": 80, + "id": 79, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -21728,13 +24811,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 304, + "line": 300, "character": 21 } ] }, { - "id": 81, + "id": 80, "name": "_makeOptions", "kind": 2048, "kindString": "Method", @@ -21745,7 +24828,7 @@ }, "signatures": [ { - "id": 82, + "id": 81, "name": "_makeOptions", "kind": 4096, "kindString": "Call signature", @@ -21759,7 +24842,7 @@ }, "parameters": [ { - "id": 83, + "id": 82, "name": "_values", "kind": 32768, "kindString": "Parameter", @@ -21779,7 +24862,7 @@ "type": { "type": "reflection", "declaration": { - "id": 84, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21788,7 +24871,7 @@ }, "children": [ { - "id": 85, + "id": 84, "name": "env", "kind": 32, "kindString": "Variable", @@ -21798,7 +24881,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 392, + "line": 388, "character": 14 } ], @@ -21814,7 +24897,7 @@ "title": "Variables", "kind": 32, "children": [ - 85 + 84 ] } ] @@ -21825,13 +24908,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 391, + "line": 387, "character": 23 } ] }, { - "id": 101, + "id": 100, "name": "_normalizeEnvironment", "kind": 2048, "kindString": "Method", @@ -21842,7 +24925,7 @@ }, "signatures": [ { - "id": 102, + "id": 101, "name": "_normalizeEnvironment", "kind": 4096, "kindString": "Call signature", @@ -21855,7 +24938,7 @@ }, "parameters": [ { - "id": 103, + "id": 102, "name": "environment", "kind": 32768, "kindString": "Parameter", @@ -21874,20 +24957,20 @@ "type": { "type": "reference", "name": "NormalizedEnvironment", - "id": 143 + "id": 162 } } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 625, + "line": 621, "character": 32 } ] }, { - "id": 70, + "id": 69, "name": "_postDownloadFile", "kind": 2048, "kindString": "Method", @@ -21898,7 +24981,7 @@ }, "signatures": [ { - "id": 71, + "id": 70, "name": "_postDownloadFile", "kind": 4096, "kindString": "Call signature", @@ -21910,7 +24993,7 @@ }, "parameters": [ { - "id": 72, + "id": 71, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -21923,7 +25006,7 @@ } }, { - "id": 73, + "id": 72, "name": "_options", "kind": 32768, "kindString": "Parameter", @@ -21934,7 +25017,7 @@ "type": { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } } ], @@ -21953,13 +25036,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 269, + "line": 265, "character": 28 } ] }, { - "id": 92, + "id": 91, "name": "_start", "kind": 2048, "kindString": "Method", @@ -21970,7 +25053,7 @@ }, "signatures": [ { - "id": 93, + "id": 92, "name": "_start", "kind": 4096, "kindString": "Call signature", @@ -21984,7 +25067,7 @@ }, "parameters": [ { - "id": 94, + "id": 93, "name": "executor", "kind": 32768, "kindString": "Parameter", @@ -21994,7 +25077,7 @@ "type": { "type": "reference", "name": "ChildExecutor", - "id": 129 + "id": 148 } } ], @@ -22013,13 +25096,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 478, + "line": 474, "character": 17 } ] }, { - "id": 97, + "id": 96, "name": "_stop", "kind": 2048, "kindString": "Method", @@ -22030,7 +25113,7 @@ }, "signatures": [ { - "id": 98, + "id": 97, "name": "_stop", "kind": 4096, "kindString": "Call signature", @@ -22057,13 +25140,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 548, + "line": 544, "character": 16 } ] }, { - "id": 113, + "id": 123, "name": "destroy", "kind": 2048, "kindString": "Method", @@ -22073,7 +25156,7 @@ }, "signatures": [ { - "id": 114, + "id": 124, "name": "destroy", "kind": 4096, "kindString": "Call signature", @@ -22113,7 +25196,7 @@ } }, { - "id": 62, + "id": 61, "name": "download", "kind": 2048, "kindString": "Method", @@ -22123,7 +25206,7 @@ }, "signatures": [ { - "id": 63, + "id": 62, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -22137,7 +25220,7 @@ }, "parameters": [ { - "id": 64, + "id": 63, "name": "forceDownload", "kind": 32768, "kindString": "Parameter", @@ -22169,7 +25252,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 202, + "line": 198, "character": 9 } ] @@ -22198,15 +25281,15 @@ "typeParameter": [ { "id": 108, - "name": "E", + "name": "K", "kind": 131072, "kindString": "Type parameter", "flags": { "__visited__": true }, "type": { - "type": "reference", - "name": "EventObject" + "type": "unknown", + "name": "keyof M" } } ], @@ -22222,12 +25305,50 @@ "comment": { "text": "the event to emit\n" }, + "type": { + "type": "unknown", + "name": "M[K]" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.emit" + } + }, + { + "id": 110, + "name": "emit", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 111, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, "type": { "type": "typeParameter", - "name": "E", + "name": "O", "constraint": { "type": "reference", - "name": "EventObject" + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] } } } @@ -22245,7 +25366,12 @@ "sources": [ { "fileName": "node_modules/@dojo/core/Evented.d.ts", - "line": 76, + "line": 38, + "character": 8 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 39, "character": 8 } ], @@ -22255,7 +25381,7 @@ } }, { - "id": 99, + "id": 98, "name": "getEnvironments", "kind": 2048, "kindString": "Method", @@ -22265,7 +25391,7 @@ }, "signatures": [ { - "id": 100, + "id": 99, "name": "getEnvironments", "kind": 4096, "kindString": "Call signature", @@ -22286,7 +25412,7 @@ "elementType": { "type": "reference", "name": "NormalizedEnvironment", - "id": 143 + "id": 162 } } ] @@ -22296,13 +25422,194 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 581, + "line": 577, "character": 16 } ] }, { - "id": 110, + "id": 112, + "name": "on", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true, + "__visited__": true + }, + "signatures": [ + { + "id": 113, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "comment": { + "shortText": "Catch all handler for various call signatures. The signatures are defined in\n`BaseEventedEvents`. You can add your own event type -> handler types by extending\n`BaseEventedEvents`. See example for details.", + "returns": "\n", + "tags": [ + { + "tag": "example", + "text": "\n\ninterface WidgetBaseEvents extends BaseEventedEvents {\n (type: 'properties:changed', handler: PropertiesChangedHandler): Handle;\n}\nclass WidgetBase extends Evented {\n on: WidgetBaseEvents;\n}\n" + } + ] + }, + "typeParameter": [ + { + "id": 114, + "name": "K", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "unknown", + "name": "keyof M" + } + } + ], + "parameters": [ + { + "id": 115, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + } + }, + { + "id": 116, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "typeParameter", + "name": "K", + "constraint": { + "type": "unknown", + "name": "keyof M" + } + }, + { + "type": "unknown", + "name": "M[K]" + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + }, + { + "id": 117, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "__visited__": true + }, + "parameters": [ + { + "id": 118, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 119, + "name": "listener", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "__visited__": true + }, + "type": { + "type": "reference", + "name": "EventedCallbackOrArray", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeParameter", + "name": "O", + "constraint": { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "name": "Handle" + }, + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + } + ], + "sources": [ + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 58, + "character": 6 + }, + { + "fileName": "node_modules/@dojo/core/Evented.d.ts", + "line": 59, + "character": 6 + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Evented.on" + } + }, + { + "id": 120, "name": "own", "kind": 2048, "kindString": "Method", @@ -22312,7 +25619,7 @@ }, "signatures": [ { - "id": 111, + "id": 121, "name": "own", "kind": 4096, "kindString": "Call signature", @@ -22325,19 +25632,28 @@ }, "parameters": [ { - "id": 112, - "name": "handle", + "id": 122, + "name": "handles", "kind": 32768, "kindString": "Parameter", "flags": { "__visited__": true }, - "comment": { - "text": "The handle to add for the instance" - }, "type": { - "type": "reference", - "name": "Handle" + "type": "union", + "types": [ + { + "type": "reference", + "name": "Handle" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "Handle" + } + } + ] } } ], @@ -22364,7 +25680,7 @@ } }, { - "id": 86, + "id": 85, "name": "sendJobState", "kind": 2048, "kindString": "Method", @@ -22374,7 +25690,7 @@ }, "signatures": [ { - "id": 87, + "id": 86, "name": "sendJobState", "kind": 4096, "kindString": "Call signature", @@ -22387,7 +25703,7 @@ }, "parameters": [ { - "id": 88, + "id": 87, "name": "_jobId", "kind": 32768, "kindString": "Parameter", @@ -22400,7 +25716,7 @@ } }, { - "id": 89, + "id": 88, "name": "_data", "kind": 32768, "kindString": "Parameter", @@ -22429,13 +25745,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 402, + "line": 398, "character": 13 } ] }, { - "id": 90, + "id": 89, "name": "start", "kind": 2048, "kindString": "Method", @@ -22445,7 +25761,7 @@ }, "signatures": [ { - "id": 91, + "id": 90, "name": "start", "kind": 4096, "kindString": "Call signature", @@ -22471,13 +25787,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 413, + "line": 409, "character": 6 } ] }, { - "id": 95, + "id": 94, "name": "stop", "kind": 2048, "kindString": "Method", @@ -22487,7 +25803,7 @@ }, "signatures": [ { - "id": 96, + "id": 95, "name": "stop", "kind": 4096, "kindString": "Call signature", @@ -22513,7 +25829,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 500, + "line": 496, "character": 5 } ] @@ -22531,121 +25847,128 @@ "title": "Properties", "kind": 1024, "children": [ + 104, + 46, 47, + 44, 48, 45, - 49, - 46, - 30, + 29, + 31, 32, 33, + 28, 34, - 29, 35, - 36, 105, - 28, + 36, 37, 38, 39, 40, 41, 42, - 43, - 31, - 44, - 104 + 30, + 43 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 50, - 52, - 54, - 56, - 58, - 60 + 49, + 51, + 53, + 55, + 57, + 59 ] }, { "title": "Methods", "kind": 2048, "children": [ - 65, - 74, - 77, - 81, - 101, - 70, - 92, - 97, - 113, - 62, + 64, + 73, + 76, + 80, + 100, + 69, + 91, + 96, + 123, + 61, 106, - 99, - 110, - 86, - 90, - 95 + 98, + 112, + 120, + 85, + 89, + 94 ] } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 25, + "line": 24, "character": 27 } ], "extendedTypes": [ { "type": "reference", - "name": "Evented" + "name": "Evented", + "typeArguments": [ + { + "type": "reference", + "name": "TunnelEvents", + "id": 129 + }, + { + "type": "intrinsic", + "name": "string" + } + ] } ], "extendedBy": [ { "type": "reference", "name": "BrowserStackTunnel", - "id": 211 + "id": 197 }, { "type": "reference", "name": "CrossBrowserTestingTunnel", - "id": 324 + "id": 330 }, { "type": "reference", "name": "NullTunnel", - "id": 412 + "id": 438 }, { "type": "reference", "name": "SauceLabsTunnel", - "id": 491 + "id": 537 }, { "type": "reference", "name": "SeleniumTunnel", - "id": 629 + "id": 695 }, { "type": "reference", "name": "TestingBotTunnel", - "id": 872 + "id": 958 } ], "implementedTypes": [ - { - "type": "reference", - "name": "Evented" - }, { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 }, { "type": "reference", @@ -22654,7 +25977,7 @@ ] }, { - "id": 129, + "id": 148, "name": "ChildExecutor", "kind": 256, "kindString": "Interface", @@ -22667,7 +25990,7 @@ }, "signatures": [ { - "id": 130, + "id": 149, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -22679,7 +26002,7 @@ }, "parameters": [ { - "id": 131, + "id": 150, "name": "child", "kind": 32768, "kindString": "Parameter", @@ -22692,7 +26015,7 @@ } }, { - "id": 132, + "id": 151, "name": "resolve", "kind": 32768, "kindString": "Parameter", @@ -22702,7 +26025,7 @@ "type": { "type": "reflection", "declaration": { - "id": 133, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22711,7 +26034,7 @@ }, "signatures": [ { - "id": 134, + "id": 153, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -22727,7 +26050,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 672, + "line": 679, "character": 10 } ] @@ -22735,7 +26058,7 @@ } }, { - "id": 135, + "id": 154, "name": "reject", "kind": 32768, "kindString": "Parameter", @@ -22745,7 +26068,7 @@ "type": { "type": "reflection", "declaration": { - "id": 136, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22754,7 +26077,7 @@ }, "signatures": [ { - "id": 137, + "id": 156, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -22763,7 +26086,7 @@ }, "parameters": [ { - "id": 138, + "id": 157, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -22786,7 +26109,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 673, + "line": 680, "character": 9 } ] @@ -22798,313 +26121,28 @@ "type": "union", "types": [ { - "type": "reference", - "name": "Handle" - }, - { - "type": "intrinsic", - "name": "void" - } - ] - } - } - ], - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 669, - "character": 30 - } - ] - }, - { - "id": 139, - "name": "DownloadOptions", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExported": true, - "__visited__": true - }, - "comment": { - "shortText": "Options for file downloads" - }, - "children": [ - { - "id": 140, - "name": "directory", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 679, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 141, - "name": "proxy", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 680, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 142, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 681, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 140, - 141, - 142 - ] - } - ], - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 678, - "character": 32 - } - ], - "extendedBy": [ - { - "type": "reference", - "name": "TunnelProperties", - "id": 156 - }, - { - "type": "reference", - "name": "SeleniumDownloadOptions", - "id": 749 - } - ] - }, - { - "id": 123, - "name": "DownloadProgressEvent", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExported": true, - "__visited__": true - }, - "comment": { - "shortText": "An event indicating that part of a tunnel binary has been downloaded from the\nserver." - }, - "children": [ - { - "id": 127, - "name": "received", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "comment": { - "shortText": "The number of bytes received so far" - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 662, - "character": 18 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 128, - "name": "target", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "comment": { - "shortText": "The target of the event" - }, - "sources": [ - { - "fileName": "node_modules/@dojo/interfaces/core.d.ts", - "line": 67, - "character": 16 - } - ], - "type": { - "type": "reference", - "name": "Tunnel", - "id": 24 - }, - "inheritedFrom": { - "type": "reference", - "name": "EventTargettedObject.target" - } - }, - { - "id": 126, - "name": "total", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "comment": { - "shortText": "The total number of bytes being downloaded" - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 660, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 124, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "comment": { - "shortText": "The event type" - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 656, - "character": 14 - } - ], - "type": { - "type": "stringLiteral", - "value": "downloadprogress" - }, - "overwrites": { - "type": "reference", - "name": "EventTargettedObject.type" - } - }, - { - "id": 125, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "comment": { - "shortText": "The URL being downloaded from" - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 658, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "Handle" + }, + { + "type": "intrinsic", + "name": "void" + } + ] } } ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 127, - 128, - 126, - 124, - 125 - ] - } - ], "sources": [ { "fileName": "Tunnel.ts", - "line": 654, - "character": 38 - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "EventTargettedObject", - "typeArguments": [ - { - "type": "reference", - "name": "Tunnel", - "id": 24 - } - ] + "line": 676, + "character": 30 } ] }, { - "id": 115, - "name": "IOEvent", + "id": 158, + "name": "DownloadOptions", "kind": 256, "kindString": "Interface", "flags": { @@ -23112,12 +26150,12 @@ "__visited__": true }, "comment": { - "shortText": "A chunk of raw string data output by the tunnel software to stdout or stderr." + "shortText": "Options for file downloads" }, "children": [ { - "id": 117, - "name": "data", + "id": 159, + "name": "directory", "kind": 1024, "kindString": "Property", "flags": { @@ -23127,8 +26165,8 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 638, - "character": 14 + "line": 686, + "character": 10 } ], "type": { @@ -23137,37 +26175,29 @@ } }, { - "id": 118, - "name": "target", + "id": 160, + "name": "proxy", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "__visited__": true }, - "comment": { - "shortText": "The target of the event" - }, "sources": [ { - "fileName": "node_modules/@dojo/interfaces/core.d.ts", - "line": 67, - "character": 16 + "fileName": "Tunnel.ts", + "line": 687, + "character": 6 } ], "type": { - "type": "reference", - "name": "Tunnel", - "id": 24 - }, - "inheritedFrom": { - "type": "reference", - "name": "EventTargettedObject.target" + "type": "intrinsic", + "name": "string" } }, { - "id": 116, - "name": "type", + "id": 161, + "name": "url", "kind": 1024, "kindString": "Property", "flags": { @@ -23177,26 +26207,13 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 637, - "character": 14 + "line": 688, + "character": 4 } ], "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "stdout" - }, - { - "type": "stringLiteral", - "value": "stderr" - } - ] - }, - "overwrites": { - "type": "reference", - "name": "EventTargettedObject.type" + "type": "intrinsic", + "name": "string" } } ], @@ -23205,36 +26222,35 @@ "title": "Properties", "kind": 1024, "children": [ - 117, - 118, - 116 + 159, + 160, + 161 ] } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 636, - "character": 24 + "line": 685, + "character": 32 } ], - "extendedTypes": [ + "extendedBy": [ { "type": "reference", - "name": "EventTargettedObject", - "typeArguments": [ - { - "type": "reference", - "name": "Tunnel", - "id": 24 - } - ] + "name": "TunnelProperties", + "id": 175 + }, + { + "type": "reference", + "name": "SeleniumDownloadOptions", + "id": 835 } ] }, { - "id": 143, - "name": "NormalizedEnvironment", + "id": 142, + "name": "DownloadProgressEvent", "kind": 256, "kindString": "Interface", "flags": { @@ -23242,195 +26258,36 @@ "__visited__": true }, "comment": { - "shortText": "A normalized environment descriptor.", - "text": "A NormalizedEnvironment contains a mix of W3C WebDriver and JSONWireProtocol\ncapabilities, as well as a set of standardized capabilities that can be used\nto specify the given environment in an Intern `environments` descriptor.\n" + "shortText": "An event indicating that part of a tunnel binary has been downloaded from the\nserver." }, "children": [ - { - "id": 144, - "name": "browserName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 692, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 145, - "name": "browserVersion", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true, - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 693, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, { "id": 146, - "name": "descriptor", + "name": "received", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "__visited__": true }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 694, - "character": 11 - } - ], - "type": { - "type": "reference", - "name": "Object" - } - }, - { - "id": 151, - "name": "intern", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "__visited__": true + "comment": { + "shortText": "The number of bytes received so far" }, "sources": [ { "fileName": "Tunnel.ts", - "line": 700, - "character": 7 + "line": 669, + "character": 18 } ], - "type": { - "type": "reflection", - "declaration": { - "id": 152, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "__visited__": true - }, - "children": [ - { - "id": 154, - "name": "browserName", - "kind": 32, - "kindString": "Variable", - "flags": { - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 702, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 153, - "name": "platform", - "kind": 32, - "kindString": "Variable", - "flags": { - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 701, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 155, - "name": "version", - "kind": 32, - "kindString": "Variable", - "flags": { - "__visited__": true - }, - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 703, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 154, - 153, - 155 - ] - } - ], - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 700, - "character": 8 - } - ] - } + "type": { + "type": "intrinsic", + "name": "number" } }, { "id": 147, - "name": "platform", + "name": "target", "kind": 1024, "kindString": "Property", "flags": { @@ -23440,91 +26297,90 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 695, - "character": 9 + "line": 629, + "character": 16 } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "name": "Tunnel", + "id": 24 + }, + "inheritedFrom": { + "type": "reference", + "name": "TunnelEventObject.target", + "id": 127 } }, { - "id": 148, - "name": "platformName", + "id": 145, + "name": "total", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, - "isOptional": true, "__visited__": true }, + "comment": { + "shortText": "The total number of bytes being downloaded" + }, "sources": [ { "fileName": "Tunnel.ts", - "line": 696, - "character": 13 + "line": 667, + "character": 15 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "intrinsic", + "name": "number" } }, { - "id": 149, - "name": "platformVersion", + "id": 143, + "name": "type", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, - "isOptional": true, "__visited__": true }, + "comment": { + "shortText": "The event type" + }, "sources": [ { "fileName": "Tunnel.ts", - "line": 697, - "character": 16 + "line": 663, + "character": 14 } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "stringLiteral", + "value": "downloadprogress" + }, + "overwrites": { + "type": "reference", + "name": "EventObject.type" } }, { - "id": 150, - "name": "version", + "id": 144, + "name": "url", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "__visited__": true }, + "comment": { + "shortText": "The URL being downloaded from" + }, "sources": [ { "fileName": "Tunnel.ts", - "line": 698, - "character": 8 + "line": 665, + "character": 13 } ], "type": { @@ -23538,28 +26394,39 @@ "title": "Properties", "kind": 1024, "children": [ - 144, - 145, 146, - 151, 147, - 148, - 149, - 150 + 145, + 143, + 144 ] } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 691, + "line": 661, "character": 38 } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "TunnelEventObject", + "id": 125, + "typeArguments": [ + { + "type": "reference", + "name": "Tunnel", + "id": 24 + } + ] + } ] }, { - "id": 172, - "name": "RegisterListener", + "id": 134, + "name": "IOEvent", "kind": 256, "kindString": "Interface", "flags": { @@ -23567,575 +26434,452 @@ "__visited__": true }, "comment": { - "shortText": "Event registration call signatures" + "shortText": "A chunk of raw string data output by the tunnel software to stdout or stderr." }, - "signatures": [ + "children": [ { - "id": 173, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", + "id": 136, + "name": "data", + "kind": 1024, + "kindString": "Property", "flags": { + "isExported": true, "__visited__": true }, - "comment": { - "shortText": "Event registration call signatures" + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 645, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 137, + "name": "target", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true }, - "parameters": [ + "sources": [ { - "id": 174, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "stderr" - }, - { - "type": "stringLiteral", - "value": "stdout" - } - ] - } - }, + "fileName": "Tunnel.ts", + "line": 629, + "character": 16 + } + ], + "type": { + "type": "reference", + "name": "Tunnel", + "id": 24 + }, + "inheritedFrom": { + "type": "reference", + "name": "TunnelEventObject.target", + "id": 127 + } + }, + { + "id": 135, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "sources": [ { - "id": 175, - "name": "listener", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true + "fileName": "Tunnel.ts", + "line": 644, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "stringLiteral", + "value": "stdout" }, - "type": { - "type": "reflection", - "declaration": { - "id": 176, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "__visited__": true - }, - "signatures": [ - { - "id": 177, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "__visited__": true - }, - "parameters": [ - { - "id": 178, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "reference", - "name": "IOEvent", - "id": 115 - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 728, - "character": 38 - } - ] - } + { + "type": "stringLiteral", + "value": "stderr" } + ] + }, + "overwrites": { + "type": "reference", + "name": "EventObject.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 136, + 137, + 135 + ] + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 643, + "character": 24 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "TunnelEventObject", + "id": 125, + "typeArguments": [ + { + "type": "reference", + "name": "Tunnel", + "id": 24 + } + ] + } + ] + }, + { + "id": 162, + "name": "NormalizedEnvironment", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExported": true, + "__visited__": true + }, + "comment": { + "shortText": "A normalized environment descriptor.", + "text": "A NormalizedEnvironment contains a mix of W3C WebDriver and JSONWireProtocol\ncapabilities, as well as a set of standardized capabilities that can be used\nto specify the given environment in an Intern `environments` descriptor.\n" + }, + "children": [ + { + "id": 163, + "name": "browserName", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 699, + "character": 12 } ], "type": { - "type": "reference", - "name": "Handle" + "type": "intrinsic", + "name": "string" } }, { - "id": 179, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", + "id": 164, + "name": "browserVersion", + "kind": 1024, + "kindString": "Property", "flags": { + "isExported": true, + "isOptional": true, "__visited__": true }, - "comment": { - "shortText": "Event registration call signatures" - }, - "parameters": [ - { - "id": 180, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "stringLiteral", - "value": "status" - } - }, + "sources": [ { - "id": 181, - "name": "listener", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 182, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "__visited__": true - }, - "signatures": [ - { - "id": 183, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "__visited__": true - }, - "parameters": [ - { - "id": 184, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "reference", - "name": "StatusEvent", - "id": 119 - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 729, - "character": 27 - } - ] - } - } + "fileName": "Tunnel.ts", + "line": 700, + "character": 15 } ], "type": { - "type": "reference", - "name": "Handle" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 185, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", + "id": 165, + "name": "descriptor", + "kind": 1024, + "kindString": "Property", "flags": { + "isExported": true, "__visited__": true }, - "comment": { - "shortText": "Event registration call signatures" - }, - "parameters": [ - { - "id": 186, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "stringLiteral", - "value": "downloadprogress" - } - }, + "sources": [ { - "id": 187, - "name": "listener", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 188, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "__visited__": true - }, - "signatures": [ - { - "id": 189, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "__visited__": true - }, - "parameters": [ - { - "id": 190, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "reference", - "name": "DownloadProgressEvent", - "id": 123 - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "Tunnel.ts", - "line": 732, - "character": 11 - } - ] - } - } + "fileName": "Tunnel.ts", + "line": 701, + "character": 11 } ], "type": { "type": "reference", - "name": "Handle" + "name": "Object" } }, { - "id": 191, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", + "id": 170, + "name": "intern", + "kind": 1024, + "kindString": "Property", "flags": { + "isExported": true, "__visited__": true }, - "comment": { - "shortText": "Event registration call signatures" - }, - "parameters": [ - { - "id": 192, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "sources": [ { - "id": 193, - "name": "listener", - "kind": 32768, - "kindString": "Parameter", + "fileName": "Tunnel.ts", + "line": 707, + "character": 7 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 171, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": { "__visited__": true }, - "type": { - "type": "reflection", - "declaration": { - "id": 194, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "children": [ + { + "id": 173, + "name": "browserName", + "kind": 32, + "kindString": "Variable", "flags": { "__visited__": true }, - "signatures": [ + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 709, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 172, + "name": "platform", + "kind": 32, + "kindString": "Variable", + "flags": { + "__visited__": true + }, + "sources": [ { - "id": 195, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "__visited__": true - }, - "parameters": [ - { - "id": 196, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "type": { - "type": "reference", - "name": "EventObject" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } + "fileName": "Tunnel.ts", + "line": 708, + "character": 10 } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 174, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "__visited__": true + }, "sources": [ { "fileName": "Tunnel.ts", - "line": 734, - "character": 25 + "line": 710, + "character": 9 } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 173, + 172, + 174 ] } - } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 707, + "character": 8 + } + ] } - ], - "type": { - "type": "reference", - "name": "Handle" } }, { - "id": 197, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", + "id": 166, + "name": "platform", + "kind": 1024, + "kindString": "Property", "flags": { + "isExported": true, "__visited__": true }, - "comment": { - "shortText": "Regsister a callback for a specific event type" - }, - "parameters": [ + "sources": [ { - "id": 198, - "name": "listeners", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "comment": { - "text": "map of listeners\n" - }, - "type": { - "type": "reference", - "name": "EventedListenersMap", - "typeArguments": [ - { - "type": "reference", - "name": "Evented" - } - ] - } + "fileName": "Tunnel.ts", + "line": 702, + "character": 9 } ], "type": { - "type": "reference", - "name": "Handle" + "type": "intrinsic", + "name": "string" } }, { - "id": 199, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", + "id": 167, + "name": "platformName", + "kind": 1024, + "kindString": "Property", "flags": { + "isExported": true, + "isOptional": true, "__visited__": true }, - "comment": { - "shortText": "Event registration call signatures" - }, - "parameters": [ - { - "id": 200, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "comment": { - "text": "the type of the event" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - } - }, + "sources": [ { - "id": 201, - "name": "listener", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "comment": { - "text": "the listener to attach\n" - }, - "type": { - "type": "reference", - "name": "EventedListenerOrArray", - "typeArguments": [ - { - "type": "reference", - "name": "Evented" - }, - { - "type": "reference", - "name": "EventTargettedObject", - "typeArguments": [ - { - "type": "reference", - "name": "Evented" - } - ] - } - ] - } + "fileName": "Tunnel.ts", + "line": 703, + "character": 13 } ], "type": { - "type": "reference", - "name": "Handle" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 202, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", + "id": 168, + "name": "platformVersion", + "kind": 1024, + "kindString": "Property", "flags": { + "isExported": true, + "isOptional": true, "__visited__": true }, - "comment": { - "shortText": "Event registration call signatures" - }, - "parameters": [ + "sources": [ { - "id": 203, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "comment": { - "text": "the type for `error`" + "fileName": "Tunnel.ts", + "line": 704, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" }, - "type": { - "type": "stringLiteral", - "value": "error" + { + "type": "intrinsic", + "name": "string" } - }, + ] + } + }, + { + "id": 169, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "sources": [ { - "id": 204, - "name": "listener", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "__visited__": true - }, - "comment": { - "text": "the listener to attach\n" - }, - "type": { - "type": "reference", - "name": "EventedListenerOrArray", - "typeArguments": [ - { - "type": "reference", - "name": "Evented" - }, - { - "type": "reference", - "name": "EventErrorObject", - "typeArguments": [ - { - "type": "reference", - "name": "Evented" - } - ] - } - ] - } + "fileName": "Tunnel.ts", + "line": 705, + "character": 8 } ], "type": { - "type": "reference", - "name": "Handle" + "type": "intrinsic", + "name": "string" } } ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 163, + 164, + 165, + 170, + 166, + 167, + 168, + 169 + ] + } + ], "sources": [ { "fileName": "Tunnel.ts", - "line": 727, - "character": 33 - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "BaseEventedEvents" + "line": 698, + "character": 38 } ] }, { - "id": 119, + "id": 138, "name": "StatusEvent", "kind": 256, "kindString": "Interface", @@ -24148,7 +26892,7 @@ }, "children": [ { - "id": 121, + "id": 140, "name": "status", "kind": 1024, "kindString": "Property", @@ -24159,7 +26903,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 647, + "line": 654, "character": 16 } ], @@ -24169,7 +26913,7 @@ } }, { - "id": 122, + "id": 141, "name": "target", "kind": 1024, "kindString": "Property", @@ -24177,13 +26921,10 @@ "isExported": true, "__visited__": true }, - "comment": { - "shortText": "The target of the event" - }, "sources": [ { - "fileName": "node_modules/@dojo/interfaces/core.d.ts", - "line": 67, + "fileName": "Tunnel.ts", + "line": 629, "character": 16 } ], @@ -24194,11 +26935,12 @@ }, "inheritedFrom": { "type": "reference", - "name": "EventTargettedObject.target" + "name": "TunnelEventObject.target", + "id": 127 } }, { - "id": 120, + "id": 139, "name": "type", "kind": 1024, "kindString": "Property", @@ -24209,7 +26951,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 646, + "line": 653, "character": 14 } ], @@ -24219,7 +26961,7 @@ }, "overwrites": { "type": "reference", - "name": "EventTargettedObject.type" + "name": "EventObject.type" } } ], @@ -24228,23 +26970,24 @@ "title": "Properties", "kind": 1024, "children": [ - 121, - 122, - 120 + 140, + 141, + 139 ] } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 645, + "line": 652, "character": 28 } ], "extendedTypes": [ { "type": "reference", - "name": "EventTargettedObject", + "name": "TunnelEventObject", + "id": 125, "typeArguments": [ { "type": "reference", @@ -24256,7 +26999,244 @@ ] }, { - "id": 156, + "id": 125, + "name": "TunnelEventObject", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExported": true, + "__visited__": true + }, + "typeParameter": [ + { + "id": 126, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "__visited__": true + } + } + ], + "children": [ + { + "id": 127, + "name": "target", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 629, + "character": 16 + } + ], + "type": { + "type": "typeParameter", + "name": "T" + } + }, + { + "id": 128, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "comment": { + "shortText": "The type of the event" + }, + "sources": [ + { + "fileName": "node_modules/@dojo/core/interfaces.d.ts", + "line": 9, + "character": 17 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "EventObject.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 127, + 128 + ] + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 628, + "character": 34 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "EventObject", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "name": "IOEvent", + "id": 134 + }, + { + "type": "reference", + "name": "StatusEvent", + "id": 138 + }, + { + "type": "reference", + "name": "DownloadProgressEvent", + "id": 142 + } + ] + }, + { + "id": 129, + "name": "TunnelEvents", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExported": true, + "__visited__": true + }, + "children": [ + { + "id": 133, + "name": "downloadprogress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 636, + "character": 17 + } + ], + "type": { + "type": "reference", + "name": "DownloadProgressEvent", + "id": 142 + } + }, + { + "id": 132, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 635, + "character": 7 + } + ], + "type": { + "type": "reference", + "name": "StatusEvent", + "id": 138 + } + }, + { + "id": 131, + "name": "stderr", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 634, + "character": 7 + } + ], + "type": { + "type": "reference", + "name": "IOEvent", + "id": 134 + } + }, + { + "id": 130, + "name": "stdout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "__visited__": true + }, + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 633, + "character": 7 + } + ], + "type": { + "type": "reference", + "name": "IOEvent", + "id": 134 + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 133, + 132, + 131, + 130 + ] + } + ], + "sources": [ + { + "fileName": "Tunnel.ts", + "line": 632, + "character": 29 + } + ] + }, + { + "id": 175, "name": "TunnelProperties", "kind": 256, "kindString": "Interface", @@ -24269,7 +27249,7 @@ }, "children": [ { - "id": 159, + "id": 178, "name": "accessKey", "kind": 1024, "kindString": "Property", @@ -24280,7 +27260,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 711, + "line": 718, "character": 10 } ], @@ -24290,7 +27270,7 @@ } }, { - "id": 157, + "id": 176, "name": "architecture", "kind": 1024, "kindString": "Property", @@ -24301,7 +27281,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 709, + "line": 716, "character": 13 } ], @@ -24311,7 +27291,7 @@ } }, { - "id": 158, + "id": 177, "name": "auth", "kind": 1024, "kindString": "Property", @@ -24322,7 +27302,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 710, + "line": 717, "character": 5 } ], @@ -24332,7 +27312,7 @@ } }, { - "id": 169, + "id": 188, "name": "directory", "kind": 1024, "kindString": "Property", @@ -24343,7 +27323,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 679, + "line": 686, "character": 10 } ], @@ -24354,11 +27334,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.directory", - "id": 140 + "id": 159 } }, { - "id": 160, + "id": 179, "name": "executable", "kind": 1024, "kindString": "Property", @@ -24369,7 +27349,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 712, + "line": 719, "character": 11 } ], @@ -24379,7 +27359,7 @@ } }, { - "id": 161, + "id": 180, "name": "hostname", "kind": 1024, "kindString": "Property", @@ -24390,7 +27370,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 713, + "line": 720, "character": 9 } ], @@ -24400,7 +27380,7 @@ } }, { - "id": 162, + "id": 181, "name": "pathname", "kind": 1024, "kindString": "Property", @@ -24411,7 +27391,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 714, + "line": 721, "character": 9 } ], @@ -24421,7 +27401,7 @@ } }, { - "id": 163, + "id": 182, "name": "platform", "kind": 1024, "kindString": "Property", @@ -24432,7 +27412,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 715, + "line": 722, "character": 9 } ], @@ -24442,7 +27422,7 @@ } }, { - "id": 164, + "id": 183, "name": "port", "kind": 1024, "kindString": "Property", @@ -24453,7 +27433,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 716, + "line": 723, "character": 5 } ], @@ -24463,7 +27443,7 @@ } }, { - "id": 165, + "id": 184, "name": "protocol", "kind": 1024, "kindString": "Property", @@ -24474,7 +27454,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 717, + "line": 724, "character": 9 } ], @@ -24484,7 +27464,7 @@ } }, { - "id": 170, + "id": 189, "name": "proxy", "kind": 1024, "kindString": "Property", @@ -24495,7 +27475,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 680, + "line": 687, "character": 6 } ], @@ -24506,11 +27486,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.proxy", - "id": 141 + "id": 160 } }, { - "id": 166, + "id": 185, "name": "tunnelId", "kind": 1024, "kindString": "Property", @@ -24521,7 +27501,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 718, + "line": 725, "character": 9 } ], @@ -24531,7 +27511,7 @@ } }, { - "id": 171, + "id": 190, "name": "url", "kind": 1024, "kindString": "Property", @@ -24542,7 +27522,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 681, + "line": 688, "character": 4 } ], @@ -24553,11 +27533,11 @@ "inheritedFrom": { "type": "reference", "name": "DownloadOptions.url", - "id": 142 + "id": 161 } }, { - "id": 167, + "id": 186, "name": "username", "kind": 1024, "kindString": "Property", @@ -24568,7 +27548,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 719, + "line": 726, "character": 9 } ], @@ -24578,7 +27558,7 @@ } }, { - "id": 168, + "id": 187, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -24589,7 +27569,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 720, + "line": 727, "character": 8 } ], @@ -24604,28 +27584,28 @@ "title": "Properties", "kind": 1024, "children": [ - 159, - 157, - 158, - 169, - 160, - 161, - 162, - 163, - 164, - 165, - 170, - 166, - 171, - 167, - 168 + 178, + 176, + 177, + 188, + 179, + 180, + 181, + 182, + 183, + 184, + 189, + 185, + 190, + 186, + 187 ] } ], "sources": [ { "fileName": "Tunnel.ts", - "line": 708, + "line": 715, "character": 33 } ], @@ -24633,66 +27613,66 @@ { "type": "reference", "name": "DownloadOptions", - "id": 139 + "id": 158 } ], "extendedBy": [ { "type": "reference", "name": "BrowserStackProperties", - "id": 300 + "id": 306 }, { "type": "reference", "name": "SauceLabsProperties", - "id": 596 + "id": 662 }, { "type": "reference", "name": "SeleniumProperties", - "id": 728 + "id": 814 }, { "type": "reference", "name": "TestingBotProperties", - "id": 960 + "id": 1066 } ], "implementedBy": [ { "type": "reference", "name": "BrowserStackTunnel", - "id": 211 + "id": 197 }, { "type": "reference", "name": "CrossBrowserTestingTunnel", - "id": 324 + "id": 330 }, { "type": "reference", "name": "NullTunnel", - "id": 412 + "id": 438 }, { "type": "reference", "name": "SauceLabsTunnel", - "id": 491 + "id": 537 }, { "type": "reference", "name": "SeleniumTunnel", - "id": 629 + "id": 695 }, { "type": "reference", "name": "TestingBotTunnel", - "id": 872 + "id": 958 }, { "type": "reference", "name": "TestingBotTunnel", - "id": 872 + "id": 958 }, { "type": "reference", @@ -24702,7 +27682,7 @@ ] }, { - "id": 205, + "id": 191, "name": "TunnelOptions", "kind": 4194304, "kindString": "Type alias", @@ -24716,7 +27696,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 724, + "line": 731, "character": 25 } ], @@ -24727,13 +27707,13 @@ { "type": "reference", "name": "TunnelProperties", - "id": 156 + "id": 175 } ] } }, { - "id": 206, + "id": 192, "name": "proxyIOEvent", "kind": 64, "kindString": "Function", @@ -24742,7 +27722,7 @@ }, "signatures": [ { - "id": 207, + "id": 193, "name": "proxyIOEvent", "kind": 4096, "kindString": "Call signature", @@ -24751,7 +27731,7 @@ }, "parameters": [ { - "id": 208, + "id": 194, "name": "target", "kind": 32768, "kindString": "Parameter", @@ -24765,7 +27745,7 @@ } }, { - "id": 209, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -24796,7 +27776,7 @@ "sources": [ { "fileName": "Tunnel.ts", - "line": 737, + "line": 733, "character": 21 } ] @@ -24814,28 +27794,29 @@ "title": "Interfaces", "kind": 256, "children": [ + 148, + 158, + 142, + 134, + 162, + 138, + 125, 129, - 139, - 123, - 115, - 143, - 172, - 119, - 156 + 175 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 205 + 191 ] }, { "title": "Functions", "kind": 64, "children": [ - 206 + 192 ] } ], @@ -24848,7 +27829,7 @@ ] }, { - "id": 983, + "id": 1089, "name": "\"bin/digdugEnvironments\"", "kind": 1, "kindString": "External module", @@ -24859,7 +27840,7 @@ "originalName": "src/bin/digdugEnvironments.ts", "children": [ { - "id": 987, + "id": 1093, "name": "TunnelCtor", "kind": 32, "kindString": "Variable", @@ -24881,7 +27862,7 @@ "defaultValue": " require('../' + tunnelName).default" }, { - "id": 984, + "id": 1090, "name": "digdugPath", "kind": 32, "kindString": "Variable", @@ -24902,7 +27883,7 @@ "defaultValue": " path.dirname(__dirname)" }, { - "id": 988, + "id": 1094, "name": "tunnel", "kind": 32, "kindString": "Variable", @@ -24924,7 +27905,7 @@ "defaultValue": " new TunnelCtor()" }, { - "id": 986, + "id": 1092, "name": "tunnelName", "kind": 32, "kindString": "Variable", @@ -24945,7 +27926,7 @@ "defaultValue": " process.argv[2]" }, { - "id": 985, + "id": 1091, "name": "tunnels", "kind": 32, "kindString": "Variable", @@ -24974,11 +27955,11 @@ "title": "Variables", "kind": 32, "children": [ - 987, - 984, - 988, - 986, - 985 + 1093, + 1090, + 1094, + 1092, + 1091 ] } ], @@ -25532,14 +28513,14 @@ "title": "External modules", "kind": 1, "children": [ - 210, - 323, - 411, - 490, - 628, - 871, + 196, + 329, + 437, + 536, + 694, + 957, 23, - 983, + 1089, 14, 1 ] diff --git a/package-lock.json b/package-lock.json index 7b393e4..6b7d74e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,39 +1,47 @@ { "name": "@theintern/digdug", - "version": "2.1.0-pre", + "version": "2.0.4-pre", "lockfileVersion": 1, "requires": true, "dependencies": { "@dojo/core": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@dojo/core/-/core-0.1.0.tgz", - "integrity": "sha512-boiwQHfV7idOZfZnDzgLrofS2LA7ELGKjd6tl0/hLBunJ3psozAd4CpNcT7XC00/OPYFIxVHFEpI+FZNlpUgfw==" + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@dojo/core/-/core-0.3.0.tgz", + "integrity": "sha512-SnmiQcbPUqtjzy1sOmkLvg3C6UFUaXDNUNqHzGaF2QM1Ebp1Lw+j+BE+E6uJgxISlgckjAZ6myjwFI+obZ316w==" }, "@dojo/has": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@dojo/has/-/has-0.1.0.tgz", - "integrity": "sha512-orYLbYVTcqNpZBmPNRlidUyCn/WuV4jV4JvTAy4Je/zQq9m9Nb8gK+8X7/iOUjSJbP1+vv1ld9Q3932IGC1IyA==" + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@dojo/has/-/has-0.1.1.tgz", + "integrity": "sha512-McwwBLpM0R0zsIy0+1WkHFXYYNalMOPJydqW3dd089K+AaOCto4AtFKA6+GDEuXDgJE9cMG5tX48hFwIL3dtxQ==" }, "@dojo/interfaces": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@dojo/interfaces/-/interfaces-0.1.0.tgz", - "integrity": "sha512-rpBALDc5Ya/+JrlyFvrt7wKGdGA1xq2gSFGce6j3L9meB8tAFYQvs/bx9DDp+CSdpEzzeVZWr8C4FpoUId2New==" + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@dojo/interfaces/-/interfaces-0.2.0.tgz", + "integrity": "sha512-sgqHsKraTjKDoLfWece/E/ip29CsV3z+vEDSIzuBSWtXDEau6/pDRhbhuSnxjBB1bvvB8Drn93xWkO+PqqQ0Dg==", + "requires": { + "@types/yargs": "8.0.2" + } }, "@dojo/loader": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@dojo/loader/-/loader-0.1.0.tgz", - "integrity": "sha512-3qoMKkewhIUqV99JzGiAkXdJuT3HUQkSviYut9828Cv4uKOqKqnb6znE8ofZhaAuv25ZU9anHTPiC8fepONfVQ==", + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@dojo/loader/-/loader-0.1.1.tgz", + "integrity": "sha512-DRfG8tCaV1kJdFHxN+qW3KY2clVna/Y5f5aXfG5gOxY7JDwqvQ+ooU8xtKY4Ob53FH0yOUFKMbiiIMbgyCWyrA==", "dev": true }, "@dojo/shim": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@dojo/shim/-/shim-0.1.0.tgz", - "integrity": "sha512-008RP8DB175ib26dde7wQWFiYIbSACFaArLdLHYdY/cQLN9s3yVj2Gtp5C/9YoY3Ziy9wA241myOjy6QcVHcWw==" + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@dojo/shim/-/shim-0.2.3.tgz", + "integrity": "sha512-DzpD1D90D1vsHuqPqGb78JFfykf0Nvbel+iAupYVPEwq+LVxAZPDC8nGZRsAaVfWSsFLuKPcbRRIInf+emCFAw==", + "requires": { + "intersection-observer": "0.4.3", + "pepjs": "0.4.3", + "tslib": "1.8.0" + } }, "@theintern/dev": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@theintern/dev/-/dev-0.6.0.tgz", - "integrity": "sha512-vNjUjrdi9Y68oiVqb/l0ymUb2Wq9WHTHgOCqhQwj+Cc+q8xCSMaE0x2JJ3hgPpbjtD71JBlForku+g5L85piYg==", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@theintern/dev/-/dev-0.6.1.tgz", + "integrity": "sha512-ewT432ESsryCschVNE2hJguNCSw+ufnHpSEfYMHHw7cpDNqe+e+H5wvgwaKQe9/lrxxWtNfvhBWsojaOAFSxmw==", "dev": true, "requires": { "chalk": "2.1.0", @@ -42,8 +50,8 @@ "semver": "5.4.1", "shelljs": "0.7.8", "tslint": "5.7.0", - "typedoc": "0.8.0", - "typescript": "2.6.1" + "typedoc": "0.9.0", + "typescript": "2.6.2" } }, "@types/chai": { @@ -53,12 +61,12 @@ "dev": true }, "@types/fs-extra": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-4.0.3.tgz", - "integrity": "sha512-cUE7dc4RJsRPCk8mbrgMAaglugcJbf1Oxp7DYi/aOj4+ggCxzddDQFZwCKWnqrLv4LJ89apyNJ7Y3pN79tAPVg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-4.0.0.tgz", + "integrity": "sha512-PlKJw6ujJXLJjbvB3T0UCbY3jibKM6/Ya5cc9j1q+mYDeK3aR4Dp+20ZwxSuvJr9mIoPxp7+IL4aMOEvsscRTA==", "dev": true, "requires": { - "@types/node": "7.0.46" + "@types/node": "7.0.48" } }, "@types/glob": { @@ -68,31 +76,31 @@ "dev": true, "requires": { "@types/minimatch": "2.0.29", - "@types/node": "7.0.46" + "@types/node": "7.0.48" } }, "@types/handlebars": { - "version": "4.0.36", - "resolved": "https://registry.npmjs.org/@types/handlebars/-/handlebars-4.0.36.tgz", - "integrity": "sha512-LjNiTX7TY7wtuC6y3QwC93hKMuqYhgV9A1uXBKNvZtVC8ZvyWAjZkJ5BvT0K7RKqORRYRLMrqCxpw5RgS+MdrQ==", + "version": "4.0.31", + "resolved": "https://registry.npmjs.org/@types/handlebars/-/handlebars-4.0.31.tgz", + "integrity": "sha1-p/umb6/kJxOu6I7sqNuRGS7+bnI=", "dev": true }, "@types/highlight.js": { - "version": "9.1.10", - "resolved": "https://registry.npmjs.org/@types/highlight.js/-/highlight.js-9.1.10.tgz", - "integrity": "sha512-3uQgLVw3ukDjrgi1h2qxSgsg2W7Sp/BN/P+IBgi8D019FdCcetJzJIxk0Wp1Qfcxzy3EreUnPI7/1HXhFNCRTg==", + "version": "9.1.8", + "resolved": "https://registry.npmjs.org/@types/highlight.js/-/highlight.js-9.1.8.tgz", + "integrity": "sha1-0ifxi8uPPxh+FpZfJESFmgRol1g=", "dev": true }, "@types/lodash": { - "version": "4.14.80", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.80.tgz", - "integrity": "sha512-FumgRtCaxilKUcgMnZCzH6K3gntIwLiLLIaR+UBGNZpT/N3ne2dKrDSGoGIxSHYpAjnq6kIVV0r51U+kLXX59A==", + "version": "4.14.74", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.74.tgz", + "integrity": "sha512-BZknw3E/z3JmCLqQVANcR17okqVTPZdlxvcIz0fJiJVLUCbSH1hK3zs9r634PVSmrzAxN+n/fxlVRiYoArdOIQ==", "dev": true }, "@types/marked": { - "version": "0.0.28", - "resolved": "https://registry.npmjs.org/@types/marked/-/marked-0.0.28.tgz", - "integrity": "sha1-RLp1Tp+lFDJYPo6zCnxN0km1L6o=", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@types/marked/-/marked-0.3.0.tgz", + "integrity": "sha512-CSf9YWJdX1DkTNu9zcNtdCcn6hkRtB5ILjbhRId4ZOQqx30fXmdecuaXhugQL6eyrhuXtaHJ7PHI+Vm7k9ZJjg==", "dev": true }, "@types/minimatch": { @@ -102,9 +110,9 @@ "dev": true }, "@types/node": { - "version": "7.0.46", - "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.46.tgz", - "integrity": "sha512-u+JAi1KtmaUoU/EHJkxoiuvzyo91FCE41Z9TZWWcOUU3P8oUdlDLdrGzCGWySPgbRMD17B0B+1aaJLYI9egQ6A==", + "version": "7.0.48", + "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.48.tgz", + "integrity": "sha512-LLlXafM3BD52MH056tHxTXO8JFCnpJJQkdzIU3+m8ew+CXJY/5zIXgDNb4TK/QFvlI8QexLS5tL+sE0Qhegr1w==", "dev": true }, "@types/semver": { @@ -114,15 +122,20 @@ "dev": true }, "@types/shelljs": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@types/shelljs/-/shelljs-0.7.5.tgz", - "integrity": "sha512-DAzKifYYFQY6k4YvnoYVFHBazorDoHvHC0hwR1sPzxrIfO7U/k3aa1rnHT0vkajco6ax9ECu474rCgqpW8rwzw==", + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/@types/shelljs/-/shelljs-0.7.6.tgz", + "integrity": "sha512-u5yMnfjMnLIwoRJWkGF5amWEtoIsIjszpvopqB9Pz91/U2Q7C9hgiY/dDmpbyLH6UoYF4inDvvJwjqflcUhCAg==", "dev": true, "requires": { "@types/glob": "5.0.33", - "@types/node": "7.0.46" + "@types/node": "7.0.48" } }, + "@types/yargs": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-8.0.2.tgz", + "integrity": "sha512-Upj9YsBZRgjEVPvsaeGru48d2JiyzBNZkmkebHyoaQ+UM9wqj/rp5mkilRjSq/Ga45yfd/zwrNuML9f2gGfVpw==" + }, "abbrev": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", @@ -158,7 +171,7 @@ "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", "dev": true, "requires": { - "color-convert": "1.9.0" + "color-convert": "1.9.1" } }, "anymatch": { @@ -279,9 +292,9 @@ } }, "binary-extensions": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.10.0.tgz", - "integrity": "sha1-muuabF6IY4qtFx4Wf1kAq+JINdA=", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.11.0.tgz", + "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=", "dev": true }, "bl": { @@ -402,7 +415,7 @@ "requires": { "anymatch": "1.3.2", "async-each": "1.0.1", - "fsevents": "1.1.2", + "fsevents": "1.1.3", "glob-parent": "2.0.0", "inherits": "2.0.3", "is-binary-path": "1.0.1", @@ -433,9 +446,9 @@ } }, "clone": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz", - "integrity": "sha1-Jgt6meux7f4kdTgXX3gyQ8sZ0Uk=", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.3.tgz", + "integrity": "sha1-KY1+IjFmD0DAA8LtMUDezz9TCF8=", "dev": true }, "clone-stats": { @@ -445,9 +458,9 @@ "dev": true }, "color-convert": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.0.tgz", - "integrity": "sha1-Gsz5fdc5uYO/mU1W/sj5WFNkG3o=", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", + "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", "dev": true, "requires": { "color-name": "1.1.3" @@ -491,9 +504,9 @@ } }, "concurrently": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-3.5.0.tgz", - "integrity": "sha1-jPG3cHppFqeKT/W3e7BN7FSzebI=", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-3.5.1.tgz", + "integrity": "sha512-689HrwGw8Rbk1xtV9C4dY6TPJAvIYZbRbnKSAtfJ7tHqICFGoZ0PCWYjxfmerRyxBG0o3sbG3pe7N8vqPwIHuQ==", "dev": true, "requires": { "chalk": "0.5.1", @@ -581,9 +594,9 @@ } }, "convert-source-map": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", - "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", "dev": true }, "core-util-is": { @@ -626,7 +639,7 @@ "requires": { "file-type": "5.2.0", "is-stream": "1.1.0", - "tar-stream": "1.5.4" + "tar-stream": "1.5.5" } }, "decompress-tarbz2": { @@ -767,7 +780,7 @@ "is-tar": "1.0.0", "object-assign": "2.1.1", "strip-dirs": "1.1.1", - "tar-stream": "1.5.4", + "tar-stream": "1.5.5", "through2": "0.6.5", "vinyl": "0.4.6" } @@ -782,7 +795,7 @@ "object-assign": "2.1.1", "seek-bzip": "1.0.5", "strip-dirs": "1.1.1", - "tar-stream": "1.5.4", + "tar-stream": "1.5.5", "through2": "0.6.5", "vinyl": "0.4.6" } @@ -796,7 +809,7 @@ "is-gzip": "1.0.0", "object-assign": "2.1.1", "strip-dirs": "1.1.1", - "tar-stream": "1.5.4", + "tar-stream": "1.5.5", "through2": "0.6.5", "vinyl": "0.4.6" } @@ -817,9 +830,9 @@ }, "dependencies": { "clone": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz", - "integrity": "sha1-Jgt6meux7f4kdTgXX3gyQ8sZ0Uk=", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.3.tgz", + "integrity": "sha1-KY1+IjFmD0DAA8LtMUDezz9TCF8=", "dev": true }, "through2": { @@ -838,7 +851,7 @@ "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=", "dev": true, "requires": { - "clone": "1.0.2", + "clone": "1.0.3", "clone-stats": "0.0.1", "replace-ext": "0.0.1" } @@ -1138,25 +1151,27 @@ "dev": true }, "fsevents": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.2.tgz", - "integrity": "sha512-Sn44E5wQW4bTHXvQmvSHwqbuiXtduD6Rrjm2ZtUEGbyrig+nUH3t/QD4M4/ZXViY556TBpRgZkHLDx3JxPwxiw==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz", + "integrity": "sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==", "dev": true, "optional": true, "requires": { - "nan": "2.7.0", - "node-pre-gyp": "0.6.36" + "nan": "2.8.0", + "node-pre-gyp": "0.6.39" }, "dependencies": { "abbrev": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz", + "integrity": "sha1-0FVMIlZjbi9W58LlrRg/hZQo2B8=", "dev": true, "optional": true }, "ajv": { "version": "4.11.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", "dev": true, "optional": true, "requires": { @@ -1166,18 +1181,21 @@ }, "ansi-regex": { "version": "2.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true }, "aproba": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.1.1.tgz", + "integrity": "sha1-ldNgDwdxCqDpKYxyatXs8urLq6s=", "dev": true, "optional": true }, "are-we-there-yet": { "version": "1.1.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz", + "integrity": "sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0=", "dev": true, "optional": true, "requires": { @@ -1187,42 +1205,49 @@ }, "asn1": { "version": "0.2.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", + "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=", "dev": true, "optional": true }, "assert-plus": { "version": "0.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", + "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=", "dev": true, "optional": true }, "asynckit": { "version": "0.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", "dev": true, "optional": true }, "aws-sign2": { "version": "0.6.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", + "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=", "dev": true, "optional": true }, "aws4": { "version": "1.6.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", + "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=", "dev": true, "optional": true }, "balanced-match": { "version": "0.4.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", "dev": true }, "bcrypt-pbkdf": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", + "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", "dev": true, "optional": true, "requires": { @@ -1231,7 +1256,8 @@ }, "block-stream": { "version": "0.0.9", - "bundled": true, + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", "dev": true, "requires": { "inherits": "2.0.3" @@ -1239,7 +1265,8 @@ }, "boom": { "version": "2.10.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", + "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", "dev": true, "requires": { "hoek": "2.16.3" @@ -1247,7 +1274,8 @@ }, "brace-expansion": { "version": "1.1.7", - "bundled": true, + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz", + "integrity": "sha1-Pv/DxQ4ABTH7cg6v+A8K6O8jz1k=", "dev": true, "requires": { "balanced-match": "0.4.2", @@ -1256,29 +1284,34 @@ }, "buffer-shims": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", + "integrity": "sha1-mXjOMXOIxkmth5MCjDR37wRKi1E=", "dev": true }, "caseless": { "version": "0.12.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true, "optional": true }, "co": { "version": "4.6.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", "dev": true, "optional": true }, "code-point-at": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true }, "combined-stream": { "version": "1.0.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", + "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=", "dev": true, "requires": { "delayed-stream": "1.0.0" @@ -1286,31 +1319,35 @@ }, "concat-map": { "version": "0.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "dev": true }, "core-util-is": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true }, "cryptiles": { "version": "2.0.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", + "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", "dev": true, - "optional": true, "requires": { "boom": "2.10.1" } }, "dashdash": { "version": "1.14.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, "optional": true, "requires": { @@ -1319,7 +1356,8 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true, "optional": true } @@ -1327,7 +1365,8 @@ }, "debug": { "version": "2.6.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", + "integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=", "dev": true, "optional": true, "requires": { @@ -1336,24 +1375,35 @@ }, "deep-extend": { "version": "0.4.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz", + "integrity": "sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=", "dev": true, "optional": true }, "delayed-stream": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", "dev": true }, "delegates": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.2.tgz", + "integrity": "sha1-ca1dIEvxempsqPRQxhRUBm70YeE=", "dev": true, "optional": true }, "ecc-jsbn": { "version": "0.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", + "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", "dev": true, "optional": true, "requires": { @@ -1362,24 +1412,28 @@ }, "extend": { "version": "3.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", + "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=", "dev": true, "optional": true }, "extsprintf": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", + "integrity": "sha1-4QgOBljjALBilJkMxw4VAiNf1VA=", "dev": true }, "forever-agent": { "version": "0.6.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "dev": true, "optional": true }, "form-data": { "version": "2.1.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", + "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", "dev": true, "optional": true, "requires": { @@ -1390,12 +1444,14 @@ }, "fs.realpath": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, "fstream": { "version": "1.0.11", - "bundled": true, + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", + "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", "dev": true, "requires": { "graceful-fs": "4.1.11", @@ -1406,7 +1462,8 @@ }, "fstream-ignore": { "version": "1.0.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.5.tgz", + "integrity": "sha1-nDHa40dnAY/h0kmyTa2mfQktoQU=", "dev": true, "optional": true, "requires": { @@ -1417,7 +1474,8 @@ }, "gauge": { "version": "2.7.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "dev": true, "optional": true, "requires": { @@ -1433,7 +1491,8 @@ }, "getpass": { "version": "0.1.7", - "bundled": true, + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "dev": true, "optional": true, "requires": { @@ -1442,7 +1501,8 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true, "optional": true } @@ -1450,7 +1510,8 @@ }, "glob": { "version": "7.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "dev": true, "requires": { "fs.realpath": "1.0.0", @@ -1463,18 +1524,21 @@ }, "graceful-fs": { "version": "4.1.11", - "bundled": true, + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", "dev": true }, "har-schema": { "version": "1.0.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz", + "integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4=", "dev": true, "optional": true }, "har-validator": { "version": "4.2.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz", + "integrity": "sha1-M0gdDxu/9gDdID11gSpqX7oALio=", "dev": true, "optional": true, "requires": { @@ -1484,15 +1548,16 @@ }, "has-unicode": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "dev": true, "optional": true }, "hawk": { "version": "3.1.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", + "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", "dev": true, - "optional": true, "requires": { "boom": "2.10.1", "cryptiles": "2.0.5", @@ -1502,12 +1567,14 @@ }, "hoek": { "version": "2.16.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", + "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=", "dev": true }, "http-signature": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", + "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", "dev": true, "optional": true, "requires": { @@ -1518,7 +1585,8 @@ }, "inflight": { "version": "1.0.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "requires": { "once": "1.4.0", @@ -1527,18 +1595,21 @@ }, "inherits": { "version": "2.0.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", "dev": true }, "ini": { "version": "1.3.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz", + "integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4=", "dev": true, "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, "requires": { "number-is-nan": "1.0.1" @@ -1546,24 +1617,28 @@ }, "is-typedarray": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true, "optional": true }, "isarray": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true }, "isstream": { "version": "0.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true, "optional": true }, "jodid25519": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz", + "integrity": "sha1-BtSRIlUJNBlHfUJWM2BuDpB4KWc=", "dev": true, "optional": true, "requires": { @@ -1572,19 +1647,22 @@ }, "jsbn": { "version": "0.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", "dev": true, "optional": true }, "json-schema": { "version": "0.2.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", "dev": true, "optional": true }, "json-stable-stringify": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", "dev": true, "optional": true, "requires": { @@ -1593,19 +1671,22 @@ }, "json-stringify-safe": { "version": "5.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", "dev": true, "optional": true }, "jsonify": { "version": "0.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", "dev": true, "optional": true }, "jsprim": { "version": "1.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.0.tgz", + "integrity": "sha1-o7h+QCmNjDgFUtjMdiigu5WiKRg=", "dev": true, "optional": true, "requires": { @@ -1617,7 +1698,8 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true, "optional": true } @@ -1625,12 +1707,14 @@ }, "mime-db": { "version": "1.27.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.27.0.tgz", + "integrity": "sha1-gg9XIpa70g7CXtVeW13oaeVDbrE=", "dev": true }, "mime-types": { "version": "2.1.15", - "bundled": true, + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.15.tgz", + "integrity": "sha1-pOv1BkCUVpI3uM9wBGd20J/JKu0=", "dev": true, "requires": { "mime-db": "1.27.0" @@ -1638,7 +1722,8 @@ }, "minimatch": { "version": "3.0.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { "brace-expansion": "1.1.7" @@ -1646,12 +1731,14 @@ }, "minimist": { "version": "0.0.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "dev": true }, "mkdirp": { "version": "0.5.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "dev": true, "requires": { "minimist": "0.0.8" @@ -1659,16 +1746,20 @@ }, "ms": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true, "optional": true }, "node-pre-gyp": { - "version": "0.6.36", - "bundled": true, + "version": "0.6.39", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.6.39.tgz", + "integrity": "sha512-OsJV74qxnvz/AMGgcfZoDaeDXKD3oY3QVIbBmwszTFkRisTSXbMQyn4UWzUMOtA5SVhrBZOTp0wcoSBgfMfMmQ==", "dev": true, "optional": true, "requires": { + "detect-libc": "1.0.2", + "hawk": "3.1.3", "mkdirp": "0.5.1", "nopt": "4.0.1", "npmlog": "4.1.0", @@ -1682,7 +1773,8 @@ }, "nopt": { "version": "4.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "dev": true, "optional": true, "requires": { @@ -1692,7 +1784,8 @@ }, "npmlog": { "version": "4.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.0.tgz", + "integrity": "sha512-ocolIkZYZt8UveuiDS0yAkkIjid1o7lPG8cYm05yNYzBn8ykQtaiPMEGp8fY9tKdDgm8okpdKzkvu1y9hUYugA==", "dev": true, "optional": true, "requires": { @@ -1704,24 +1797,28 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "dev": true }, "oauth-sign": { "version": "0.8.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", + "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=", "dev": true, "optional": true }, "object-assign": { "version": "4.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true, "optional": true }, "once": { "version": "1.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "requires": { "wrappy": "1.0.2" @@ -1729,19 +1826,22 @@ }, "os-homedir": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "dev": true, "optional": true }, "os-tmpdir": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true, "optional": true }, "osenv": { "version": "0.1.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz", + "integrity": "sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ=", "dev": true, "optional": true, "requires": { @@ -1751,35 +1851,41 @@ }, "path-is-absolute": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, "performance-now": { "version": "0.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz", + "integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=", "dev": true, "optional": true }, "process-nextick-args": { "version": "1.0.7", - "bundled": true, + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", "dev": true }, "punycode": { "version": "1.4.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", "dev": true, "optional": true }, "qs": { "version": "6.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz", + "integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=", "dev": true, "optional": true }, "rc": { "version": "1.2.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.1.tgz", + "integrity": "sha1-LgPo5C7kULjLPc5lvhv4l04d/ZU=", "dev": true, "optional": true, "requires": { @@ -1791,7 +1897,8 @@ "dependencies": { "minimist": { "version": "1.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true, "optional": true } @@ -1799,7 +1906,8 @@ }, "readable-stream": { "version": "2.2.9", - "bundled": true, + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.9.tgz", + "integrity": "sha1-z3jsb0ptHrQ9JkiMrJfwQudLf8g=", "dev": true, "requires": { "buffer-shims": "1.0.0", @@ -1813,7 +1921,8 @@ }, "request": { "version": "2.81.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/request/-/request-2.81.0.tgz", + "integrity": "sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA=", "dev": true, "optional": true, "requires": { @@ -1843,7 +1952,8 @@ }, "rimraf": { "version": "2.6.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz", + "integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=", "dev": true, "requires": { "glob": "7.1.2" @@ -1851,39 +1961,44 @@ }, "safe-buffer": { "version": "5.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.0.1.tgz", + "integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c=", "dev": true }, "semver": { "version": "5.3.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", "dev": true, "optional": true }, "set-blocking": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "dev": true, "optional": true }, "signal-exit": { "version": "3.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true, "optional": true }, "sntp": { "version": "1.0.9", - "bundled": true, + "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", + "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", "dev": true, - "optional": true, "requires": { "hoek": "2.16.3" } }, "sshpk": { "version": "1.13.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.0.tgz", + "integrity": "sha1-/yo+T9BEl1Vf7Zezmg/YL6+zozw=", "dev": true, "optional": true, "requires": { @@ -1900,7 +2015,8 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true, "optional": true } @@ -1908,7 +2024,8 @@ }, "string-width": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { "code-point-at": "1.1.0", @@ -1918,7 +2035,8 @@ }, "string_decoder": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.1.tgz", + "integrity": "sha1-YuIA8DmVWmgQ2N8KM//A8BNmLZg=", "dev": true, "requires": { "safe-buffer": "5.0.1" @@ -1926,13 +2044,15 @@ }, "stringstream": { "version": "0.0.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", + "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=", "dev": true, "optional": true }, "strip-ansi": { "version": "3.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { "ansi-regex": "2.1.1" @@ -1940,13 +2060,15 @@ }, "strip-json-comments": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "dev": true, "optional": true }, "tar": { "version": "2.2.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", + "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", "dev": true, "requires": { "block-stream": "0.0.9", @@ -1956,7 +2078,8 @@ }, "tar-pack": { "version": "3.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/tar-pack/-/tar-pack-3.4.0.tgz", + "integrity": "sha1-I74tf2cagzk3bL2wuP4/3r8xeYQ=", "dev": true, "optional": true, "requires": { @@ -1972,7 +2095,8 @@ }, "tough-cookie": { "version": "2.3.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz", + "integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo=", "dev": true, "optional": true, "requires": { @@ -1981,7 +2105,8 @@ }, "tunnel-agent": { "version": "0.6.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "dev": true, "optional": true, "requires": { @@ -1990,30 +2115,35 @@ }, "tweetnacl": { "version": "0.14.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", "dev": true, "optional": true }, "uid-number": { "version": "0.0.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz", + "integrity": "sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=", "dev": true, "optional": true }, "util-deprecate": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, "uuid": { "version": "3.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz", + "integrity": "sha1-ZUS7ot/ajBzxfmKaOjBeK7H+5sE=", "dev": true, "optional": true }, "verror": { "version": "1.3.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz", + "integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw=", "dev": true, "optional": true, "requires": { @@ -2022,7 +2152,8 @@ }, "wide-align": { "version": "1.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", + "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", "dev": true, "optional": true, "requires": { @@ -2031,7 +2162,8 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true } } @@ -2156,7 +2288,7 @@ "integrity": "sha1-uG/zSdgBzrVuHZ59x7vLS33uYAw=", "dev": true, "requires": { - "convert-source-map": "1.5.0", + "convert-source-map": "1.5.1", "graceful-fs": "4.1.11", "strip-bom": "2.0.0", "through2": "2.0.3", @@ -2288,11 +2420,16 @@ } }, "interpret": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.0.4.tgz", - "integrity": "sha1-ggzdWIuGj/sZGoCVBtbJyPISsbA=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", + "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", "dev": true }, + "intersection-observer": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/intersection-observer/-/intersection-observer-0.4.3.tgz", + "integrity": "sha512-sRobbVo/+DVGkbco/UkuREmXSr5ypWeQ7S7tYDhzIIP3NFtAHLkkFYdivFAIgNe4sfDYBFAjxEgUyxiEmA/dgQ==" + }, "is-absolute": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-0.1.7.tgz", @@ -2308,7 +2445,7 @@ "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", "dev": true, "requires": { - "binary-extensions": "1.10.0" + "binary-extensions": "1.11.0" } }, "is-buffer": { @@ -2713,9 +2850,9 @@ } }, "nan": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.7.0.tgz", - "integrity": "sha1-2Vv3IeyHfgjbJ27T/G63j5CDrUY=", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.8.0.tgz", + "integrity": "sha1-7XFfP+neArV6XmJS2QqWZ14fCFo=", "dev": true, "optional": true }, @@ -2835,6 +2972,11 @@ "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" }, + "pepjs": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/pepjs/-/pepjs-0.4.3.tgz", + "integrity": "sha1-FggOlwqud5kTdWwtrviOqnSG30E=" + }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", @@ -3057,7 +3199,7 @@ "dev": true, "requires": { "glob": "7.1.2", - "interpret": "1.0.4", + "interpret": "1.1.0", "rechoir": "0.6.2" } }, @@ -3194,9 +3336,9 @@ } }, "tar-stream": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.4.tgz", - "integrity": "sha1-NlSc8E7RrumyowwBQyUiONr5QBY=", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.5.tgz", + "integrity": "sha512-mQdgLPc/Vjfr3VWqWbfxW8yQNiJCbAZ+Gf6GDu1Cy0bdb33ofyiNGBtAY96jHFhDuivCwgW1H9DgTON+INiXgg==", "requires": { "bl": "1.2.1", "end-of-stream": "1.4.0", @@ -3295,28 +3437,28 @@ "requires": { "babel-code-frame": "6.26.0", "colors": "1.1.2", - "commander": "2.11.0", + "commander": "2.12.2", "diff": "3.4.0", "glob": "7.1.2", "minimatch": "3.0.4", "resolve": "1.5.0", "semver": "5.4.1", "tslib": "1.8.0", - "tsutils": "2.12.1" + "tsutils": "2.13.0" }, "dependencies": { "commander": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", - "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "version": "2.12.2", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.12.2.tgz", + "integrity": "sha512-BFnaq5ZOGcDN7FlrtBT4xxkgIToalIIxwjxLWVJ8bGTpe1LroqMiqQXdA7ygc7CRvaYS+9zfPGFnJqFSayx+AA==", "dev": true } } }, "tsutils": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.12.1.tgz", - "integrity": "sha1-9Nlc4zkciXHkblTEzw7bCiHdWyQ=", + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.13.0.tgz", + "integrity": "sha512-FuWzNJbMsp3gcZMbI3b5DomhW4Ia41vMxjN63nKWI0t7f+I3UmHfRl0TrXJTwI2LUduDG+eR1Mksp3pvtlyCFQ==", "dev": true, "requires": { "tslib": "1.8.0" @@ -3344,18 +3486,18 @@ "dev": true }, "typedoc": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.8.0.tgz", - "integrity": "sha1-1xcrxqKZZPRRt2CcAFvq2t7+I2E=", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.9.0.tgz", + "integrity": "sha512-numP0CtcUK4I1Vssw6E1N/FjyJWpWqhLT4Zb7Gw3i7ca3ElnYh6z41Y/tcUhMsMYn6L8b67E/Fu4XYYKkNaLbA==", "dev": true, "requires": { - "@types/fs-extra": "4.0.3", - "@types/handlebars": "4.0.36", - "@types/highlight.js": "9.1.10", - "@types/lodash": "4.14.80", - "@types/marked": "0.0.28", + "@types/fs-extra": "4.0.0", + "@types/handlebars": "4.0.31", + "@types/highlight.js": "9.1.8", + "@types/lodash": "4.14.74", + "@types/marked": "0.3.0", "@types/minimatch": "2.0.29", - "@types/shelljs": "0.7.5", + "@types/shelljs": "0.7.0", "fs-extra": "4.0.2", "handlebars": "4.0.11", "highlight.js": "9.12.0", @@ -3368,6 +3510,15 @@ "typescript": "2.4.1" }, "dependencies": { + "@types/shelljs": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@types/shelljs/-/shelljs-0.7.0.tgz", + "integrity": "sha1-IpwVfGvB5n1rmQ5sXhjb0v9Yz/A=", + "dev": true, + "requires": { + "@types/node": "7.0.48" + } + }, "typescript": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.4.1.tgz", @@ -3383,9 +3534,9 @@ "dev": true }, "typescript": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.6.1.tgz", - "integrity": "sha1-7znN6ierrAtQAkLWcmq5DgyEZjE=", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.6.2.tgz", + "integrity": "sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=", "dev": true }, "uglify-js": { @@ -3464,7 +3615,7 @@ "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=", "dev": true, "requires": { - "clone": "1.0.2", + "clone": "1.0.3", "clone-stats": "0.0.1", "replace-ext": "0.0.1" } diff --git a/package.json b/package.json index f4c158d..39672cf 100644 --- a/package.json +++ b/package.json @@ -8,17 +8,17 @@ }, "license": "BSD-3-Clause", "dependencies": { - "@dojo/core": "~0.1.0", - "@dojo/has": "~0.1.0", - "@dojo/interfaces": "~0.1.0", - "@dojo/shim": "~0.1.0", + "@dojo/core": "~0.3.0", + "@dojo/has": "~0.1.1", + "@dojo/interfaces": "~0.2.0", + "@dojo/shim": "~0.2.3", "decompress": "~4.2.0", "semver": "~5.4.1", "tslib": "~1.8.0" }, "devDependencies": { - "@dojo/loader": "~0.1.0", - "@theintern/dev": "~0.6.0", + "@dojo/loader": "~0.1.1", + "@theintern/dev": "~0.6.1", "@types/node": "~7.0.23", "@types/semver": "~5.4.0", "@types/shelljs": "~0.7.1", @@ -30,7 +30,7 @@ "build": "npm run clean && concurrently intern-dev-build intern-dev-api", "ci": "intern-dev-build && intern-dev-test", "clean": "intern-dev-clean", - "devpack": "intern-dev-build && cd _build/src && npm pack && mv *.tgz ../../", + "devpack": "intern-dev-build && npm pack ./_build/src", "lint": "intern-dev-lint", "release": "intern-dev-release", "test": "intern-dev-build && intern-dev-test", @@ -51,4 +51,4 @@ "bin": { "digdugEnvironments": "./bin/digdugEnvironments.js" } -} \ No newline at end of file +} diff --git a/src/BrowserStackTunnel.ts b/src/BrowserStackTunnel.ts index 9d666e8..4f78c5d 100644 --- a/src/BrowserStackTunnel.ts +++ b/src/BrowserStackTunnel.ts @@ -7,8 +7,7 @@ import Tunnel, { TunnelProperties, DownloadOptions, ChildExecutor, - NormalizedEnvironment, - StatusEvent + NormalizedEnvironment } from './Tunnel'; import { parse as parseUrl, Url } from 'url'; import { mixin } from '@dojo/core/lang'; @@ -230,7 +229,7 @@ export default class BrowserStackTunnel extends Tunnel { /^Connecting to BrowserStack/.test(line) || /^Connected/.test(line) ) { - this.emit({ + this.emit({ type: 'status', target: this, status: line diff --git a/src/SauceLabsTunnel.ts b/src/SauceLabsTunnel.ts index 10ae929..d9b2157 100644 --- a/src/SauceLabsTunnel.ts +++ b/src/SauceLabsTunnel.ts @@ -2,8 +2,7 @@ import Tunnel, { TunnelProperties, DownloadOptions, ChildExecutor, - NormalizedEnvironment, - StatusEvent + NormalizedEnvironment } from './Tunnel'; import { JobState } from './interfaces'; import { chmodSync, watchFile, unwatchFile } from 'fs'; @@ -429,7 +428,7 @@ export default class SauceLabsTunnel extends Tunnel // Sauce Connect 3 message.indexOf('You may start your tests') === -1 ) { - this.emit({ + this.emit({ type: 'status', target: this, status: message diff --git a/src/SeleniumTunnel.ts b/src/SeleniumTunnel.ts index 9ce4f13..bc94a8c 100644 --- a/src/SeleniumTunnel.ts +++ b/src/SeleniumTunnel.ts @@ -7,7 +7,7 @@ import { format } from 'util'; import { join } from 'path'; import Task from '@dojo/core/async/Task'; import { fileExists, on, writeFile } from './util'; -import { Handle } from '@dojo/interfaces/core'; +import { Handle } from '@dojo/core/interfaces'; import { mixin } from '@dojo/core/lang'; import { satisfies } from 'semver'; diff --git a/src/TestingBotTunnel.ts b/src/TestingBotTunnel.ts index 339325d..d5ffbdd 100644 --- a/src/TestingBotTunnel.ts +++ b/src/TestingBotTunnel.ts @@ -1,8 +1,7 @@ import Tunnel, { TunnelProperties, ChildExecutor, - NormalizedEnvironment, - StatusEvent + NormalizedEnvironment } from './Tunnel'; import { existsSync, watchFile, unlinkSync, unwatchFile } from 'fs'; import UrlSearchParams from '@dojo/core/UrlSearchParams'; @@ -213,7 +212,7 @@ export default class TestingBotTunnel extends Tunnel message.indexOf('>> [') === -1 && message.indexOf('<< [') === -1 ) { - this.emit({ + this.emit({ type: 'status', target: this, status: message diff --git a/src/Tunnel.ts b/src/Tunnel.ts index 0dcdce4..60b7935 100644 --- a/src/Tunnel.ts +++ b/src/Tunnel.ts @@ -1,9 +1,8 @@ -import Evented, { BaseEventedEvents } from '@dojo/core/Evented'; +import Evented from '@dojo/core/Evented'; import { EventObject, - EventTargettedObject, Handle -} from '@dojo/interfaces/core'; +} from '@dojo/core/interfaces'; import { createCompositeHandle, mixin } from '@dojo/core/lang'; import Task, { State } from '@dojo/core/async/Task'; import sendRequest from '@dojo/core/request'; @@ -22,7 +21,7 @@ import decompress = require('decompress'); * securely exposes local services for testing within the service provider’s * network. */ -export default class Tunnel extends Evented implements TunnelProperties, Url { +export default class Tunnel extends Evented implements TunnelProperties, Url { constructor(options?: TunnelOptions) { super(); mixin( @@ -40,9 +39,6 @@ export default class Tunnel extends Evented implements TunnelProperties, Url { ); } - /** Register an event listener */ - on: RegisterListener; - /** * The URL of a service that provides a list of environments supported by * the tunnel. @@ -228,7 +224,7 @@ export default class Tunnel extends Evented implements TunnelProperties, Url { response.download.subscribe({ next: received => { - this.emit({ + this.emit({ type: 'downloadprogress', target: this, url, @@ -439,7 +435,7 @@ export default class Tunnel extends Evented implements TunnelProperties, Url { .then(() => { this._startTask = undefined; this._state = 'running'; - this.emit({ + this.emit({ type: 'status', target: this, status: 'Ready' @@ -448,7 +444,7 @@ export default class Tunnel extends Evented implements TunnelProperties, Url { .catch(error => { this._startTask = undefined; this._state = 'stopped'; - this.emit({ + this.emit({ type: 'status', target: this, status: @@ -508,7 +504,7 @@ export default class Tunnel extends Evented implements TunnelProperties, Url { this._state = 'stopping'; - this.emit({ + this.emit({ type: 'status', target: this, status: 'Stopping' @@ -521,7 +517,7 @@ export default class Tunnel extends Evented implements TunnelProperties, Url { } this._process = this._handle = undefined; this._state = 'stopped'; - this.emit({ + this.emit({ type: 'status', target: this, status: 'Stopped' @@ -629,11 +625,22 @@ export default class Tunnel extends Evented implements TunnelProperties, Url { } } +export interface TunnelEventObject extends EventObject { + readonly target: T; +} + +export interface TunnelEvents { + stdout: IOEvent; + stderr: IOEvent; + status: StatusEvent; + downloadprogress: DownloadProgressEvent; +} + /** * A chunk of raw string data output by the tunnel software to stdout or stderr. */ // tslint:disable-next-line:interface-name -export interface IOEvent extends EventTargettedObject { +export interface IOEvent extends TunnelEventObject { readonly type: 'stdout' | 'stderr'; readonly data: string; } @@ -642,7 +649,7 @@ export interface IOEvent extends EventTargettedObject { * An event containing information about the status of the tunnel setup process * that is suitable for presentation to end-users. */ -export interface StatusEvent extends EventTargettedObject { +export interface StatusEvent extends TunnelEventObject { readonly type: 'status'; readonly status: string; } @@ -651,7 +658,7 @@ export interface StatusEvent extends EventTargettedObject { * An event indicating that part of a tunnel binary has been downloaded from the * server. */ -export interface DownloadProgressEvent extends EventTargettedObject { +export interface DownloadProgressEvent extends TunnelEventObject { /** The event type */ readonly type: 'downloadprogress'; /** The URL being downloaded from */ @@ -723,20 +730,9 @@ export interface TunnelProperties extends DownloadOptions { /** Options used to configure a tunnel */ export type TunnelOptions = Partial; -/** Event registration call signatures */ -export interface RegisterListener extends BaseEventedEvents { - (type: 'stderr' | 'stdout', listener: (event: IOEvent) => void): Handle; - (type: 'status', listener: (event: StatusEvent) => void): Handle; - ( - type: 'downloadprogress', - listener: (event: DownloadProgressEvent) => void - ): Handle; - (type: string, listener: (event: EventObject) => void): Handle; -} - function proxyIOEvent(target: Tunnel, type: 'stdout' | 'stderr') { return function(data: any) { - target.emit({ + target.emit({ type, target, data: String(data) diff --git a/src/util.ts b/src/util.ts index 21ad764..a8ecf0b 100644 --- a/src/util.ts +++ b/src/util.ts @@ -1,5 +1,5 @@ import { createHandle } from '@dojo/core/lang'; -import { Handle } from '@dojo/interfaces/core'; +import { Handle } from '@dojo/core/interfaces'; import { mkdirSync, statSync, writeFile as fsWriteFile } from 'fs'; import { dirname } from 'path'; diff --git a/tests/support/integration.ts b/tests/support/integration.ts index a77a8ab..85e4066 100644 --- a/tests/support/integration.ts +++ b/tests/support/integration.ts @@ -6,7 +6,7 @@ import Test = require('intern/lib/Test'); import Tunnel, { IOEvent, NormalizedEnvironment } from 'src/Tunnel'; import { createCompositeHandle } from '@dojo/core/lang'; -import { Handle } from '@dojo/interfaces/core'; +import { Handle } from '@dojo/core/interfaces'; function writeIOEvent(event: IOEvent) { process.stdout.write(event.data);