@browserless.io/browserless 2.16.0 → 2.17.0-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -1
- package/bin/browserless.js +6 -4
- package/bin/scaffold/src/hello-world.http.ts +1 -1
- package/build/browserless.js +1 -1
- package/build/config.d.ts +6 -0
- package/build/config.js +6 -0
- package/build/routes/chrome/http/content.post.body.json +38 -8
- package/build/routes/chrome/http/pdf.post.body.json +38 -8
- package/build/routes/chrome/http/scrape.post.body.json +38 -8
- package/build/routes/chrome/http/screenshot.post.body.json +38 -8
- package/build/routes/chromium/http/content.post.body.json +38 -8
- package/build/routes/chromium/http/pdf.post.body.json +38 -8
- package/build/routes/chromium/http/scrape.post.body.json +38 -8
- package/build/routes/chromium/http/screenshot.post.body.json +38 -8
- package/build/server.js +1 -1
- package/extensions/ublock/_locales/be/messages.json +1 -1
- package/extensions/ublock/_locales/br_FR/messages.json +2 -2
- package/extensions/ublock/_locales/bs/messages.json +5 -5
- package/extensions/ublock/_locales/eu/messages.json +1 -1
- package/extensions/ublock/_locales/it/messages.json +21 -21
- package/extensions/ublock/_locales/kn/messages.json +13 -13
- package/extensions/ublock/_locales/lt/messages.json +1 -1
- package/extensions/ublock/_locales/ms/messages.json +9 -9
- package/extensions/ublock/_locales/nb/messages.json +2 -2
- package/extensions/ublock/_locales/no/messages.json +2 -2
- package/extensions/ublock/_locales/sv/messages.json +2 -2
- package/extensions/ublock/_locales/tr/messages.json +4 -4
- package/extensions/ublock/_locales/zh_TW/messages.json +17 -17
- package/extensions/ublock/assets/assets.json +4 -3
- package/extensions/ublock/assets/resources/scriptlets.js +208 -57
- package/extensions/ublock/assets/thirdparties/easylist/easylist.txt +3584 -4032
- package/extensions/ublock/assets/thirdparties/easylist/easyprivacy.txt +3732 -1683
- package/extensions/ublock/assets/thirdparties/pgl.yoyo.org/as/serverlist +27 -205
- package/extensions/ublock/assets/thirdparties/publicsuffix.org/list/effective_tld_names.dat +465 -434
- package/extensions/ublock/assets/thirdparties/urlhaus-filter/urlhaus-filter-online.txt +3232 -1382
- package/extensions/ublock/assets/ublock/badware.min.txt +867 -408
- package/extensions/ublock/assets/ublock/filters.min.txt +1382 -937
- package/extensions/ublock/assets/ublock/privacy.min.txt +43 -56
- package/extensions/ublock/assets/ublock/quick-fixes.min.txt +127 -71
- package/extensions/ublock/assets/ublock/unbreak.min.txt +145 -27
- package/extensions/ublock/js/contentscript-extra.js +25 -0
- package/extensions/ublock/js/contentscript.js +3 -1
- package/extensions/ublock/js/cosmetic-filtering.js +8 -7
- package/extensions/ublock/js/dom.js +8 -4
- package/extensions/ublock/js/epicker-ui.js +1 -1
- package/extensions/ublock/js/s14e-serializer.js +2 -1
- package/extensions/ublock/js/static-filtering-parser.js +255 -254
- package/extensions/ublock/js/storage.js +7 -6
- package/extensions/ublock/js/traffic.js +33 -34
- package/extensions/ublock/manifest.json +1 -1
- package/extensions/ublock/popup-fenix.html +1 -1
- package/package.json +15 -15
- package/src/browserless.ts +1 -1
- package/src/config.ts +9 -0
- package/src/server.ts +1 -1
- package/static/debugger/index.html +1 -1
- package/static/debugger/router.js +1 -0
- package/static/debugger/tracker.js +1 -1
- package/static/docs/swagger.json +40 -10
- package/static/docs/swagger.min.json +39 -9
- package/static/function/client.js +4120 -16782
- package/static/function/index.html +4120 -16782
- package/static/debugger/router.bundle.js +0 -2
- package/static/debugger/router.bundle.js.map +0 -1
- package/static/debugger/router.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
# [Latest](https://github.com/browserless/chrome/compare/v2.16.
|
|
1
|
+
# [Latest](https://github.com/browserless/chrome/compare/v2.16.1...main)
|
|
2
2
|
- Dependency updates.
|
|
3
3
|
|
|
4
|
+
# [Latest](https://github.com/browserless/chrome/compare/v2.16.0...v2.16.1)
|
|
5
|
+
- Dependency updates.
|
|
6
|
+
- Fixes numerous SDK issues when creating and building new projects.
|
|
7
|
+
|
|
4
8
|
# [v2.16.0](https://github.com/browserless/chrome/compare/v2.15.0...v2.16.0)
|
|
5
9
|
- Dependency updates.
|
|
6
10
|
- Better extension handling and merging when passing in custom extensions.
|
package/bin/browserless.js
CHANGED
|
@@ -11,15 +11,17 @@ import {
|
|
|
11
11
|
prompt,
|
|
12
12
|
} from '@browserless.io/browserless';
|
|
13
13
|
import { readFile, writeFile } from 'fs/promises';
|
|
14
|
-
import buildOpenAPI from '../scripts/build-open-api.js';
|
|
15
|
-
import buildSchemas from '../scripts/build-schemas.js';
|
|
16
14
|
|
|
17
15
|
import debug from 'debug';
|
|
18
|
-
import { dedent } from '../build/utils.js';
|
|
19
16
|
import { fileURLToPath } from 'url';
|
|
20
17
|
import fs from 'fs/promises';
|
|
21
18
|
import path from 'path';
|
|
22
19
|
|
|
20
|
+
import { buildDockerImage } from '../build/sdk-utils.js';
|
|
21
|
+
import buildOpenAPI from '../scripts/build-open-api.js';
|
|
22
|
+
import buildSchemas from '../scripts/build-schemas.js';
|
|
23
|
+
import { dedent } from '../build/utils.js';
|
|
24
|
+
|
|
23
25
|
if (typeof process.env.DEBUG === 'undefined') {
|
|
24
26
|
debug.enable('browserless*');
|
|
25
27
|
}
|
|
@@ -277,7 +279,7 @@ const buildDocker = async () => {
|
|
|
277
279
|
|
|
278
280
|
log(`Generating Dockerfile at "${finalDockerPath}"`);
|
|
279
281
|
|
|
280
|
-
await fs.writeFile(
|
|
282
|
+
await fs.writeFile(finalDockerPath, dockerContents);
|
|
281
283
|
|
|
282
284
|
const from =
|
|
283
285
|
argSwitches.from ||
|
|
@@ -23,7 +23,7 @@ export default class HelloWorldHTTPRoute extends HTTPRoute {
|
|
|
23
23
|
path = '/hello';
|
|
24
24
|
tags = [APITags.management];
|
|
25
25
|
async handler(req: Request, res: Response, logger: Logger): Promise<void> {
|
|
26
|
-
logger.
|
|
26
|
+
logger.debug(`${req.method} /hello was called!`);
|
|
27
27
|
const response: ResponseSchema = 'Hello World!';
|
|
28
28
|
return writeResponse(res, 200, response, contentTypes.text);
|
|
29
29
|
}
|
package/build/browserless.js
CHANGED
|
@@ -135,7 +135,7 @@ export class Browserless extends EventEmitter {
|
|
|
135
135
|
const [[internalHttpRouteFiles, internalWsRouteFiles], installedBrowsers] = await Promise.all([getRouteFiles(this.config), availableBrowsers]);
|
|
136
136
|
const hasDebugger = await this.config.hasDebugger();
|
|
137
137
|
const debuggerURL = hasDebugger &&
|
|
138
|
-
makeExternalURL(this.config.getExternalAddress(), `/debugger/?token
|
|
138
|
+
makeExternalURL(this.config.getExternalAddress(), `/debugger/?token=xxx`);
|
|
139
139
|
const docsLink = makeExternalURL(this.config.getExternalAddress(), '/docs');
|
|
140
140
|
this.logger.info(printLogo(docsLink, debuggerURL));
|
|
141
141
|
this.logger.info(`Running as user "${userInfo().username}"`);
|
package/build/config.d.ts
CHANGED
|
@@ -24,6 +24,9 @@ export declare class Config extends EventEmitter {
|
|
|
24
24
|
protected allowCors: boolean;
|
|
25
25
|
protected corsMethods: string;
|
|
26
26
|
protected corsOrigin: string;
|
|
27
|
+
protected corsHeaders: string;
|
|
28
|
+
protected corsCredentials: string;
|
|
29
|
+
protected corsExposeHeaders: string;
|
|
27
30
|
protected corsMaxAge: number;
|
|
28
31
|
protected maxCpu: number;
|
|
29
32
|
protected maxMemory: number;
|
|
@@ -162,8 +165,11 @@ export declare class Config extends EventEmitter {
|
|
|
162
165
|
* and `CORS_MAX_AGE`
|
|
163
166
|
*/
|
|
164
167
|
getCORSHeaders(): {
|
|
168
|
+
'Access-Control-Allow-Credentials': string;
|
|
169
|
+
'Access-Control-Allow-Headers': string;
|
|
165
170
|
'Access-Control-Allow-Methods': string;
|
|
166
171
|
'Access-Control-Allow-Origin': string;
|
|
172
|
+
'Access-Control-Expose-Headers': string;
|
|
167
173
|
'Access-Control-Max-Age': number;
|
|
168
174
|
};
|
|
169
175
|
/**
|
package/build/config.js
CHANGED
|
@@ -132,6 +132,9 @@ export class Config extends EventEmitter {
|
|
|
132
132
|
allowCors = !!parseEnvVars(false, 'CORS', 'ENABLE_CORS');
|
|
133
133
|
corsMethods = process.env.CORS_ALLOW_METHODS ?? 'OPTIONS, POST, GET';
|
|
134
134
|
corsOrigin = process.env.CORS_ALLOW_ORIGIN ?? '*';
|
|
135
|
+
corsHeaders = process.env.CORS_ALLOW_HEADERS ?? '*';
|
|
136
|
+
corsCredentials = process.env.CORS_ALLOW_CREDENTIALS ?? 'true';
|
|
137
|
+
corsExposeHeaders = process.env.CORS_EXPOSE_HEADERS ?? '*';
|
|
135
138
|
corsMaxAge = +(process.env.CORS_MAX_AGE ?? '2592000');
|
|
136
139
|
maxCpu = +(process.env.MAX_CPU_PERCENT ?? '99');
|
|
137
140
|
maxMemory = +(process.env.MAX_MEMORY_PERCENT ?? '99');
|
|
@@ -443,8 +446,11 @@ export class Config extends EventEmitter {
|
|
|
443
446
|
*/
|
|
444
447
|
getCORSHeaders() {
|
|
445
448
|
return {
|
|
449
|
+
'Access-Control-Allow-Credentials': this.corsCredentials,
|
|
450
|
+
'Access-Control-Allow-Headers': this.corsHeaders,
|
|
446
451
|
'Access-Control-Allow-Methods': this.corsMethods,
|
|
447
452
|
'Access-Control-Allow-Origin': this.corsOrigin,
|
|
453
|
+
'Access-Control-Expose-Headers': this.corsExposeHeaders,
|
|
448
454
|
'Access-Control-Max-Age': this.corsMaxAge,
|
|
449
455
|
};
|
|
450
456
|
}
|
|
@@ -356,6 +356,10 @@
|
|
|
356
356
|
"type": "string"
|
|
357
357
|
}
|
|
358
358
|
]
|
|
359
|
+
},
|
|
360
|
+
"signal": {
|
|
361
|
+
"description": "A signal object that allows you to cancel the call.",
|
|
362
|
+
"$ref": "#/definitions/AbortSignal"
|
|
359
363
|
}
|
|
360
364
|
},
|
|
361
365
|
"additionalProperties": false
|
|
@@ -369,6 +373,32 @@
|
|
|
369
373
|
],
|
|
370
374
|
"type": "string"
|
|
371
375
|
},
|
|
376
|
+
"AbortSignal": {
|
|
377
|
+
"type": "object",
|
|
378
|
+
"properties": {
|
|
379
|
+
"aborted": {
|
|
380
|
+
"type": "boolean"
|
|
381
|
+
},
|
|
382
|
+
"onabort": {
|
|
383
|
+
"anyOf": [
|
|
384
|
+
{
|
|
385
|
+
"type": "object",
|
|
386
|
+
"additionalProperties": false
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"type": "null"
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
"reason": {}
|
|
394
|
+
},
|
|
395
|
+
"additionalProperties": false,
|
|
396
|
+
"required": [
|
|
397
|
+
"aborted",
|
|
398
|
+
"onabort",
|
|
399
|
+
"reason"
|
|
400
|
+
]
|
|
401
|
+
},
|
|
372
402
|
"Partial<ResponseForRequest>": {
|
|
373
403
|
"type": "object",
|
|
374
404
|
"properties": {
|
|
@@ -408,14 +438,14 @@
|
|
|
408
438
|
"length": {
|
|
409
439
|
"type": "number"
|
|
410
440
|
},
|
|
411
|
-
"__@toStringTag@
|
|
441
|
+
"__@toStringTag@11909": {
|
|
412
442
|
"type": "string",
|
|
413
443
|
"const": "Uint8Array"
|
|
414
444
|
}
|
|
415
445
|
},
|
|
416
446
|
"required": [
|
|
417
447
|
"BYTES_PER_ELEMENT",
|
|
418
|
-
"__@toStringTag@
|
|
448
|
+
"__@toStringTag@11909",
|
|
419
449
|
"buffer",
|
|
420
450
|
"byteLength",
|
|
421
451
|
"byteOffset",
|
|
@@ -450,13 +480,13 @@
|
|
|
450
480
|
"byteLength": {
|
|
451
481
|
"type": "number"
|
|
452
482
|
},
|
|
453
|
-
"__@toStringTag@
|
|
483
|
+
"__@toStringTag@11909": {
|
|
454
484
|
"type": "string"
|
|
455
485
|
}
|
|
456
486
|
},
|
|
457
487
|
"additionalProperties": false,
|
|
458
488
|
"required": [
|
|
459
|
-
"__@toStringTag@
|
|
489
|
+
"__@toStringTag@11909",
|
|
460
490
|
"byteLength"
|
|
461
491
|
]
|
|
462
492
|
},
|
|
@@ -466,18 +496,18 @@
|
|
|
466
496
|
"byteLength": {
|
|
467
497
|
"type": "number"
|
|
468
498
|
},
|
|
469
|
-
"__@species@
|
|
499
|
+
"__@species@11948": {
|
|
470
500
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
471
501
|
},
|
|
472
|
-
"__@toStringTag@
|
|
502
|
+
"__@toStringTag@11909": {
|
|
473
503
|
"type": "string",
|
|
474
504
|
"const": "SharedArrayBuffer"
|
|
475
505
|
}
|
|
476
506
|
},
|
|
477
507
|
"additionalProperties": false,
|
|
478
508
|
"required": [
|
|
479
|
-
"__@species@
|
|
480
|
-
"__@toStringTag@
|
|
509
|
+
"__@species@11948",
|
|
510
|
+
"__@toStringTag@11909",
|
|
481
511
|
"byteLength"
|
|
482
512
|
]
|
|
483
513
|
},
|
|
@@ -358,6 +358,10 @@
|
|
|
358
358
|
"type": "string"
|
|
359
359
|
}
|
|
360
360
|
]
|
|
361
|
+
},
|
|
362
|
+
"signal": {
|
|
363
|
+
"description": "A signal object that allows you to cancel the call.",
|
|
364
|
+
"$ref": "#/definitions/AbortSignal"
|
|
361
365
|
}
|
|
362
366
|
},
|
|
363
367
|
"additionalProperties": false
|
|
@@ -371,6 +375,32 @@
|
|
|
371
375
|
],
|
|
372
376
|
"type": "string"
|
|
373
377
|
},
|
|
378
|
+
"AbortSignal": {
|
|
379
|
+
"type": "object",
|
|
380
|
+
"properties": {
|
|
381
|
+
"aborted": {
|
|
382
|
+
"type": "boolean"
|
|
383
|
+
},
|
|
384
|
+
"onabort": {
|
|
385
|
+
"anyOf": [
|
|
386
|
+
{
|
|
387
|
+
"type": "object",
|
|
388
|
+
"additionalProperties": false
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"type": "null"
|
|
392
|
+
}
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
"reason": {}
|
|
396
|
+
},
|
|
397
|
+
"additionalProperties": false,
|
|
398
|
+
"required": [
|
|
399
|
+
"aborted",
|
|
400
|
+
"onabort",
|
|
401
|
+
"reason"
|
|
402
|
+
]
|
|
403
|
+
},
|
|
374
404
|
"PDFOptions": {
|
|
375
405
|
"description": "Valid options to configure PDF generation via {@link Page.pdf}.",
|
|
376
406
|
"type": "object",
|
|
@@ -553,14 +583,14 @@
|
|
|
553
583
|
"length": {
|
|
554
584
|
"type": "number"
|
|
555
585
|
},
|
|
556
|
-
"__@toStringTag@
|
|
586
|
+
"__@toStringTag@82852": {
|
|
557
587
|
"type": "string",
|
|
558
588
|
"const": "Uint8Array"
|
|
559
589
|
}
|
|
560
590
|
},
|
|
561
591
|
"required": [
|
|
562
592
|
"BYTES_PER_ELEMENT",
|
|
563
|
-
"__@toStringTag@
|
|
593
|
+
"__@toStringTag@82852",
|
|
564
594
|
"buffer",
|
|
565
595
|
"byteLength",
|
|
566
596
|
"byteOffset",
|
|
@@ -595,13 +625,13 @@
|
|
|
595
625
|
"byteLength": {
|
|
596
626
|
"type": "number"
|
|
597
627
|
},
|
|
598
|
-
"__@toStringTag@
|
|
628
|
+
"__@toStringTag@82852": {
|
|
599
629
|
"type": "string"
|
|
600
630
|
}
|
|
601
631
|
},
|
|
602
632
|
"additionalProperties": false,
|
|
603
633
|
"required": [
|
|
604
|
-
"__@toStringTag@
|
|
634
|
+
"__@toStringTag@82852",
|
|
605
635
|
"byteLength"
|
|
606
636
|
]
|
|
607
637
|
},
|
|
@@ -611,18 +641,18 @@
|
|
|
611
641
|
"byteLength": {
|
|
612
642
|
"type": "number"
|
|
613
643
|
},
|
|
614
|
-
"__@species@
|
|
644
|
+
"__@species@82891": {
|
|
615
645
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
616
646
|
},
|
|
617
|
-
"__@toStringTag@
|
|
647
|
+
"__@toStringTag@82852": {
|
|
618
648
|
"type": "string",
|
|
619
649
|
"const": "SharedArrayBuffer"
|
|
620
650
|
}
|
|
621
651
|
},
|
|
622
652
|
"additionalProperties": false,
|
|
623
653
|
"required": [
|
|
624
|
-
"__@species@
|
|
625
|
-
"__@toStringTag@
|
|
654
|
+
"__@species@82891",
|
|
655
|
+
"__@toStringTag@82852",
|
|
626
656
|
"byteLength"
|
|
627
657
|
]
|
|
628
658
|
},
|
|
@@ -403,6 +403,10 @@
|
|
|
403
403
|
"type": "string"
|
|
404
404
|
}
|
|
405
405
|
]
|
|
406
|
+
},
|
|
407
|
+
"signal": {
|
|
408
|
+
"description": "A signal object that allows you to cancel the call.",
|
|
409
|
+
"$ref": "#/definitions/AbortSignal"
|
|
406
410
|
}
|
|
407
411
|
},
|
|
408
412
|
"additionalProperties": false
|
|
@@ -416,6 +420,32 @@
|
|
|
416
420
|
],
|
|
417
421
|
"type": "string"
|
|
418
422
|
},
|
|
423
|
+
"AbortSignal": {
|
|
424
|
+
"type": "object",
|
|
425
|
+
"properties": {
|
|
426
|
+
"aborted": {
|
|
427
|
+
"type": "boolean"
|
|
428
|
+
},
|
|
429
|
+
"onabort": {
|
|
430
|
+
"anyOf": [
|
|
431
|
+
{
|
|
432
|
+
"type": "object",
|
|
433
|
+
"additionalProperties": false
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"type": "null"
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
"reason": {}
|
|
441
|
+
},
|
|
442
|
+
"additionalProperties": false,
|
|
443
|
+
"required": [
|
|
444
|
+
"aborted",
|
|
445
|
+
"onabort",
|
|
446
|
+
"reason"
|
|
447
|
+
]
|
|
448
|
+
},
|
|
419
449
|
"Partial<ResponseForRequest>": {
|
|
420
450
|
"type": "object",
|
|
421
451
|
"properties": {
|
|
@@ -455,14 +485,14 @@
|
|
|
455
485
|
"length": {
|
|
456
486
|
"type": "number"
|
|
457
487
|
},
|
|
458
|
-
"__@toStringTag@
|
|
488
|
+
"__@toStringTag@118478": {
|
|
459
489
|
"type": "string",
|
|
460
490
|
"const": "Uint8Array"
|
|
461
491
|
}
|
|
462
492
|
},
|
|
463
493
|
"required": [
|
|
464
494
|
"BYTES_PER_ELEMENT",
|
|
465
|
-
"__@toStringTag@
|
|
495
|
+
"__@toStringTag@118478",
|
|
466
496
|
"buffer",
|
|
467
497
|
"byteLength",
|
|
468
498
|
"byteOffset",
|
|
@@ -497,13 +527,13 @@
|
|
|
497
527
|
"byteLength": {
|
|
498
528
|
"type": "number"
|
|
499
529
|
},
|
|
500
|
-
"__@toStringTag@
|
|
530
|
+
"__@toStringTag@118478": {
|
|
501
531
|
"type": "string"
|
|
502
532
|
}
|
|
503
533
|
},
|
|
504
534
|
"additionalProperties": false,
|
|
505
535
|
"required": [
|
|
506
|
-
"__@toStringTag@
|
|
536
|
+
"__@toStringTag@118478",
|
|
507
537
|
"byteLength"
|
|
508
538
|
]
|
|
509
539
|
},
|
|
@@ -513,18 +543,18 @@
|
|
|
513
543
|
"byteLength": {
|
|
514
544
|
"type": "number"
|
|
515
545
|
},
|
|
516
|
-
"__@species@
|
|
546
|
+
"__@species@118517": {
|
|
517
547
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
518
548
|
},
|
|
519
|
-
"__@toStringTag@
|
|
549
|
+
"__@toStringTag@118478": {
|
|
520
550
|
"type": "string",
|
|
521
551
|
"const": "SharedArrayBuffer"
|
|
522
552
|
}
|
|
523
553
|
},
|
|
524
554
|
"additionalProperties": false,
|
|
525
555
|
"required": [
|
|
526
|
-
"__@species@
|
|
527
|
-
"__@toStringTag@
|
|
556
|
+
"__@species@118517",
|
|
557
|
+
"__@toStringTag@118478",
|
|
528
558
|
"byteLength"
|
|
529
559
|
]
|
|
530
560
|
},
|
|
@@ -364,6 +364,10 @@
|
|
|
364
364
|
"type": "string"
|
|
365
365
|
}
|
|
366
366
|
]
|
|
367
|
+
},
|
|
368
|
+
"signal": {
|
|
369
|
+
"description": "A signal object that allows you to cancel the call.",
|
|
370
|
+
"$ref": "#/definitions/AbortSignal"
|
|
367
371
|
}
|
|
368
372
|
},
|
|
369
373
|
"additionalProperties": false
|
|
@@ -377,6 +381,32 @@
|
|
|
377
381
|
],
|
|
378
382
|
"type": "string"
|
|
379
383
|
},
|
|
384
|
+
"AbortSignal": {
|
|
385
|
+
"type": "object",
|
|
386
|
+
"properties": {
|
|
387
|
+
"aborted": {
|
|
388
|
+
"type": "boolean"
|
|
389
|
+
},
|
|
390
|
+
"onabort": {
|
|
391
|
+
"anyOf": [
|
|
392
|
+
{
|
|
393
|
+
"type": "object",
|
|
394
|
+
"additionalProperties": false
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"type": "null"
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"reason": {}
|
|
402
|
+
},
|
|
403
|
+
"additionalProperties": false,
|
|
404
|
+
"required": [
|
|
405
|
+
"aborted",
|
|
406
|
+
"onabort",
|
|
407
|
+
"reason"
|
|
408
|
+
]
|
|
409
|
+
},
|
|
380
410
|
"ScreenshotOptions": {
|
|
381
411
|
"type": "object",
|
|
382
412
|
"properties": {
|
|
@@ -498,14 +528,14 @@
|
|
|
498
528
|
"length": {
|
|
499
529
|
"type": "number"
|
|
500
530
|
},
|
|
501
|
-
"__@toStringTag@
|
|
531
|
+
"__@toStringTag@130556": {
|
|
502
532
|
"type": "string",
|
|
503
533
|
"const": "Uint8Array"
|
|
504
534
|
}
|
|
505
535
|
},
|
|
506
536
|
"required": [
|
|
507
537
|
"BYTES_PER_ELEMENT",
|
|
508
|
-
"__@toStringTag@
|
|
538
|
+
"__@toStringTag@130556",
|
|
509
539
|
"buffer",
|
|
510
540
|
"byteLength",
|
|
511
541
|
"byteOffset",
|
|
@@ -540,13 +570,13 @@
|
|
|
540
570
|
"byteLength": {
|
|
541
571
|
"type": "number"
|
|
542
572
|
},
|
|
543
|
-
"__@toStringTag@
|
|
573
|
+
"__@toStringTag@130556": {
|
|
544
574
|
"type": "string"
|
|
545
575
|
}
|
|
546
576
|
},
|
|
547
577
|
"additionalProperties": false,
|
|
548
578
|
"required": [
|
|
549
|
-
"__@toStringTag@
|
|
579
|
+
"__@toStringTag@130556",
|
|
550
580
|
"byteLength"
|
|
551
581
|
]
|
|
552
582
|
},
|
|
@@ -556,18 +586,18 @@
|
|
|
556
586
|
"byteLength": {
|
|
557
587
|
"type": "number"
|
|
558
588
|
},
|
|
559
|
-
"__@species@
|
|
589
|
+
"__@species@130595": {
|
|
560
590
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
561
591
|
},
|
|
562
|
-
"__@toStringTag@
|
|
592
|
+
"__@toStringTag@130556": {
|
|
563
593
|
"type": "string",
|
|
564
594
|
"const": "SharedArrayBuffer"
|
|
565
595
|
}
|
|
566
596
|
},
|
|
567
597
|
"additionalProperties": false,
|
|
568
598
|
"required": [
|
|
569
|
-
"__@species@
|
|
570
|
-
"__@toStringTag@
|
|
599
|
+
"__@species@130595",
|
|
600
|
+
"__@toStringTag@130556",
|
|
571
601
|
"byteLength"
|
|
572
602
|
]
|
|
573
603
|
},
|
|
@@ -356,6 +356,10 @@
|
|
|
356
356
|
"type": "string"
|
|
357
357
|
}
|
|
358
358
|
]
|
|
359
|
+
},
|
|
360
|
+
"signal": {
|
|
361
|
+
"description": "A signal object that allows you to cancel the call.",
|
|
362
|
+
"$ref": "#/definitions/AbortSignal"
|
|
359
363
|
}
|
|
360
364
|
},
|
|
361
365
|
"additionalProperties": false
|
|
@@ -369,6 +373,32 @@
|
|
|
369
373
|
],
|
|
370
374
|
"type": "string"
|
|
371
375
|
},
|
|
376
|
+
"AbortSignal": {
|
|
377
|
+
"type": "object",
|
|
378
|
+
"properties": {
|
|
379
|
+
"aborted": {
|
|
380
|
+
"type": "boolean"
|
|
381
|
+
},
|
|
382
|
+
"onabort": {
|
|
383
|
+
"anyOf": [
|
|
384
|
+
{
|
|
385
|
+
"type": "object",
|
|
386
|
+
"additionalProperties": false
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"type": "null"
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
"reason": {}
|
|
394
|
+
},
|
|
395
|
+
"additionalProperties": false,
|
|
396
|
+
"required": [
|
|
397
|
+
"aborted",
|
|
398
|
+
"onabort",
|
|
399
|
+
"reason"
|
|
400
|
+
]
|
|
401
|
+
},
|
|
372
402
|
"Partial<ResponseForRequest>": {
|
|
373
403
|
"type": "object",
|
|
374
404
|
"properties": {
|
|
@@ -408,14 +438,14 @@
|
|
|
408
438
|
"length": {
|
|
409
439
|
"type": "number"
|
|
410
440
|
},
|
|
411
|
-
"__@toStringTag@
|
|
441
|
+
"__@toStringTag@142544": {
|
|
412
442
|
"type": "string",
|
|
413
443
|
"const": "Uint8Array"
|
|
414
444
|
}
|
|
415
445
|
},
|
|
416
446
|
"required": [
|
|
417
447
|
"BYTES_PER_ELEMENT",
|
|
418
|
-
"__@toStringTag@
|
|
448
|
+
"__@toStringTag@142544",
|
|
419
449
|
"buffer",
|
|
420
450
|
"byteLength",
|
|
421
451
|
"byteOffset",
|
|
@@ -450,13 +480,13 @@
|
|
|
450
480
|
"byteLength": {
|
|
451
481
|
"type": "number"
|
|
452
482
|
},
|
|
453
|
-
"__@toStringTag@
|
|
483
|
+
"__@toStringTag@142544": {
|
|
454
484
|
"type": "string"
|
|
455
485
|
}
|
|
456
486
|
},
|
|
457
487
|
"additionalProperties": false,
|
|
458
488
|
"required": [
|
|
459
|
-
"__@toStringTag@
|
|
489
|
+
"__@toStringTag@142544",
|
|
460
490
|
"byteLength"
|
|
461
491
|
]
|
|
462
492
|
},
|
|
@@ -466,18 +496,18 @@
|
|
|
466
496
|
"byteLength": {
|
|
467
497
|
"type": "number"
|
|
468
498
|
},
|
|
469
|
-
"__@species@
|
|
499
|
+
"__@species@142583": {
|
|
470
500
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
471
501
|
},
|
|
472
|
-
"__@toStringTag@
|
|
502
|
+
"__@toStringTag@142544": {
|
|
473
503
|
"type": "string",
|
|
474
504
|
"const": "SharedArrayBuffer"
|
|
475
505
|
}
|
|
476
506
|
},
|
|
477
507
|
"additionalProperties": false,
|
|
478
508
|
"required": [
|
|
479
|
-
"__@species@
|
|
480
|
-
"__@toStringTag@
|
|
509
|
+
"__@species@142583",
|
|
510
|
+
"__@toStringTag@142544",
|
|
481
511
|
"byteLength"
|
|
482
512
|
]
|
|
483
513
|
},
|