Node updated. Some todos.

This commit is contained in:
Norm Rasmussen
2024-09-23 20:52:09 -04:00
parent 8bfaca8375
commit f25622067f
2041 changed files with 124145 additions and 110445 deletions

View File

@ -1,36 +1,30 @@
{
"name": "chromium-bidi",
"version": "0.5.8",
"version": "0.6.5",
"description": "An implementation of the WebDriver BiDi protocol for Chromium implemented as a JavaScript layer translating between BiDi and CDP, running inside a Chrome tab.",
"scripts": {
"bidi-types": "node tools/generate-bidi-types.mjs",
"build": "wireit",
"clean": "rimraf lib .eslintcache .wireit",
"e2e-headful": "wireit",
"e2e-headless": "wireit",
"e2e": "npm run e2e-headless --",
"clean": "node tools/clean.mjs",
"e2e:headful": "HEADLESS=false npm run e2e --",
"e2e:headless": "npm run e2e:new-headless --",
"e2e:new-headless": "HEADLESS=new npm run e2e --",
"e2e:old-headless": "HEADLESS=old npm run e2e --",
"e2e": "wireit",
"flake8": "flake8 examples/ tests/",
"format": "npm run pre-commit --",
"format:eslint": "eslint --ext js --ext mjs --ext ts --fix .",
"format:eslint": "eslint --fix .",
"format:prettier": "prettier --write .",
"pre-commit": "pre-commit run --hook-stage manual --all-files",
"prepare": "wireit",
"rollup": "wireit",
"server": "npm run server-headless --",
"server-headful": "wireit",
"server-headless": "wireit",
"server": "wireit",
"test": "wireit",
"tsc": "wireit",
"unit": "wireit",
"wpt": "wireit",
"wpt-all": "wireit",
"wpt:all": "wireit",
"yapf": "yapf -i --parallel --recursive --exclude=wpt examples/ tests/"
},
"nyc": {
"exclude": [
"**/*.spec.ts"
]
},
"wireit": {
"build": {
"dependencies": [
@ -38,24 +32,15 @@
"tsc"
]
},
"e2e-headful": {
"command": "pipenv run python -m pytest --ignore=tests/input",
"dependencies": [
"server-headful"
],
"e2e": {
"command": "tools/run-e2e.mjs",
"files": [
"tools/run-e2e.mjs ",
"pytest.ini",
"tests/**/*.py"
]
},
"e2e-headless": {
"command": "pipenv run python -m pytest",
"dependencies": [
"server-headless"
],
"files": [
"pytest.ini",
"tests/**/*.py"
"dependencies": [
"build"
]
},
"prepare": {
@ -76,25 +61,14 @@
"lib/iife/mapperTab.js"
]
},
"server-headful": {
"command": "npm run server-headless -- --headless=false",
"service": {
"readyWhen": {
"lineMatches": "BiDi server is listening on port \\d+"
}
},
"dependencies": [
"rollup"
]
},
"server-headless": {
"command": "tools/run-bidi-server.mjs --headless=true",
"server": {
"command": "tools/run-bidi-server.mjs",
"files": [
"tools/run-bidi-server.mjs"
],
"service": {
"readyWhen": {
"lineMatches": "BiDi server is listening on port \\d+"
"lineMatches": "(BiDi server|ChromeDriver) was started successfully\\."
}
},
"dependencies": [
@ -137,7 +111,7 @@
"rollup"
]
},
"wpt-all": {
"wpt:all": {
"command": "tools/run-wpt-all.mjs",
"files": [
"tools/run-wpt.mjs",
@ -168,57 +142,58 @@
},
"devDependencies": {
"@actions/core": "1.10.1",
"@puppeteer/browsers": "1.9.1",
"@rollup/plugin-commonjs": "25.0.7",
"@eslint/compat": "1.1.1",
"@eslint/eslintrc": "3.1.0",
"@eslint/js": "9.9.1",
"@puppeteer/browsers": "2.3.1",
"@rollup/plugin-alias": "5.1.0",
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@rollup/wasm-node": "4.9.6",
"@types/argparse": "2.0.14",
"@types/chai": "4.3.11",
"@rollup/wasm-node": "4.21.0",
"@types/chai": "4.3.17",
"@types/chai-as-promised": "7.1.8",
"@types/debug": "4.1.12",
"@types/mocha": "10.0.6",
"@types/node": "20.11.6",
"@types/mocha": "10.0.7",
"@types/node": "20.16.1",
"@types/sinon": "17.0.3",
"@types/websocket": "1.0.10",
"@types/ws": "8.5.10",
"@types/yargs": "17.0.32",
"@typescript-eslint/eslint-plugin": "6.19.1",
"@typescript-eslint/parser": "6.19.1",
"argparse": "2.0.1",
"chai": "4.4.1",
"chai-as-promised": "7.1.1",
"debug": "4.3.4",
"devtools-protocol": "0.0.1245094",
"eslint": "8.56.0",
"@types/ws": "8.5.12",
"@types/yargs": "17.0.33",
"@typescript-eslint/eslint-plugin": "8.2.0",
"@typescript-eslint/parser": "8.2.0",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"debug": "4.3.6",
"devtools-protocol": "0.0.1347815",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-mocha": "10.2.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-promise": "6.1.1",
"gts": "5.2.0",
"mocha": "10.2.0",
"nyc": "15.1.0",
"eslint-plugin-mocha": "10.5.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-promise": "7.1.0",
"globals": "15.9.0",
"gts": "5.3.1",
"mocha": "10.7.3",
"pkg-dir": "8.0.0",
"prettier": "3.2.4",
"rimraf": "5.0.5",
"rollup": "4.9.6",
"selenium-webdriver": "4.17.0",
"sinon": "17.0.1",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"rollup": "4.21.0",
"rollup-plugin-license": "3.5.2",
"selenium-webdriver": "4.23.0",
"sinon": "18.0.0",
"source-map-support": "0.5.21",
"terser": "5.27.0",
"tslib": "2.6.2",
"typescript": "5.3.3",
"webdriverio": "8.29.1",
"websocket": "1.0.34",
"wireit": "0.14.3",
"ws": "8.16.0",
"yargs": "17.7.2",
"zod": "3.22.4"
"tslib": "2.7.0",
"typescript": "5.5.4",
"webdriverio": "9.0.7",
"websocket": "1.0.35",
"wireit": "0.14.8",
"ws": "8.18.0",
"yargs": "17.7.2"
},
"dependencies": {
"mitt": "3.0.1",
"urlpattern-polyfill": "10.0.0"
"urlpattern-polyfill": "10.0.0",
"zod": "3.23.8"
}
}