Comparing version 0.0.4-alpha-3 to 0.0.4-alpha-4
{ | ||
"name": "wd-bidi", | ||
"version": "0.0.4-alpha-3", | ||
"version": "0.0.4-alpha-4", | ||
"description": "", | ||
"main": "build/index.js", | ||
"main": "./build/cjs/index.js", | ||
"module": "./build/esm/index.js", | ||
"types": "./build/types/index.d.ts", | ||
"scripts": { | ||
"lint": "eslint . --ext .ts", | ||
"build": "tsc" | ||
"clean": "rimraf ./build", | ||
"build:es": "tsc", | ||
"build:cjs": "tsc -p tsconfig.cjs.json", | ||
"build": "npm run build:es && npm run build:cjs", | ||
"lint": "eslint .", | ||
"docs": "typedoc" | ||
}, | ||
@@ -25,10 +31,15 @@ "repository": { | ||
"devDependencies": { | ||
"@types/node": "^18.11.18", | ||
"@types/ws": "^8.5.4", | ||
"@typescript-eslint/eslint-plugin": "^5.48.0", | ||
"@typescript-eslint/parser": "^5.48.0", | ||
"eslint": "^8.31.0", | ||
"typescript": "^4.9.4", | ||
"ws": "^8.11.0" | ||
"@eslint/js": "^9.6.0", | ||
"@types/node": "^20.12.9", | ||
"@types/ws": "^8.5.10", | ||
"@typescript-eslint/eslint-plugin": "^7.8.0", | ||
"@typescript-eslint/parser": "^7.8.0", | ||
"eslint": "^8.57.0", | ||
"globals": "^15.8.0", | ||
"rimraf": "^5.0.8", | ||
"typedoc": "^0.26.3", | ||
"typescript": "^5.4.5", | ||
"typescript-eslint": "^7.15.0", | ||
"ws": "^8.17.0" | ||
} | ||
} |
# wd-bidi | ||
package for implementing [webdriver BIDI](https://w3c.github.io/webdriver-bidi/). | ||
The alpha-1 has basic class to create, subscribe and listen to events. Currently, the development of this package is ongoing and the next release will include a simple API for subscribing to and listening to multiple events. This will make it easier for developers to interact with the WebDriver BIDI protocol and handle multiple events within their applications. | ||
The alpha-4 has basic class to create, subscribe and listen to events. Currently, the development of this package is ongoing and the next release will | ||
include a simple API for subscribing to and listening to multiple events. | ||
This will make it easier for developers to interact with the WebDriver BIDI | ||
protocol and handle multiple events within their applications. | ||
### [API docs](./docs/index.html) | ||
# Usage | ||
@@ -54,4 +59,3 @@ ```shell | ||
___NOTE___: THIS IS NOT AN OFFICIAL PACKAGE from Webdriver BIDI community! | ||
{ | ||
"compilerOptions": { | ||
/* Language and Environment */ | ||
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ | ||
"lib": ["es6"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ | ||
/* Modules */ | ||
"module": "commonjs", /* Specify what module code is generated. */ | ||
"rootDir": ".", /* Specify the root folder within your source files. */ | ||
"resolveJsonModule": true, /* Enable importing .json files. */ | ||
/* JavaScript Support */ | ||
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ | ||
"outDir": "build", /* Specify an output folder for all emitted files. */ | ||
/* Interop Constraints */ | ||
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ | ||
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ | ||
/* Type Checking */ | ||
"strict": true, /* Enable all strict type-checking options. */ | ||
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ | ||
/* Completeness */ | ||
"skipLibCheck": true, /* Skip type checking all .d.ts files. */ | ||
"declaration": true | ||
} | ||
} | ||
"target": "es2016", | ||
"lib": ["es6"], | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"rootDir": "src", | ||
"allowJs": true, | ||
"outDir": "./build/esm", | ||
"declaration": true, | ||
"declarationDir": "./build/types", | ||
"allowSyntheticDefaultImports": true, | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"noImplicitThis": false, | ||
"noUnusedParameters": false, | ||
"skipLibCheck": true | ||
}, | ||
"include": [ | ||
"src/**/*.ts" | ||
], | ||
"exclude": ["node_modules"] | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
319581
49
3061
61
12
3