diff --git a/README.md b/README.md index 4902b89b0d..a056018d5d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Browser Test Stats - -|Firefox|Chromium|WebKit|all| -|---|---|---|---| -|511/650|698/705|325/653|309/650| + +|Firefox|Chromium|WebKit|all| +|---|---|---|---| +|511/649|698/705|325/652|309/649| # Contributing diff --git a/docs/api.md b/docs/api.md index 29f75fd06f..74116ee4db 100644 --- a/docs/api.md +++ b/docs/api.md @@ -322,7 +322,6 @@ * [target.page()](#targetpage) * [target.type()](#targettype) * [target.url()](#targeturl) - * [target.worker()](#targetworker) - [class: CDPSession](#class-cdpsession) * [cdpSession.detach()](#cdpsessiondetach) * [cdpSession.send(method[, params])](#cdpsessionsendmethod-params) @@ -3959,11 +3958,6 @@ Identifies what kind of target this is. Can be `"page"`, [`"background_page"`](h #### target.url() - returns: <[string]> -#### target.worker() -- returns: <[Promise]> - -If the target is not of type `"service_worker"` or `"shared_worker"`, returns `null`. - ### class: CDPSession * extends: [EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) diff --git a/package.json b/package.json index 0c79c1b725..09619fda5b 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "doc": "node utils/doclint/cli.js", "coverage": "cross-env COVERAGE=true npm run unit", "tsc": "tsc -p .", - "build": "npm run tsc", + "build": "tsc -p .", "watch": "tsc -w -p .", "apply-next-version": "node utils/apply_next_version.js", "bundle": "npx browserify -r ./index.js:playwright -o utils/browser/playwright-web.js", diff --git a/tsconfig.json b/tsconfig.json index 53f6098bb5..83023e9f8c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,6 @@ "outDir": "./lib" }, "compileOnSave": true, - "include": ["src"], + "include": ["src/**/*.ts"], "exclude": ["node_modules"] }