webdriverio/infra/compiler
Christian Bromann 37b4536580
fix(security): address multiple security vulnerabilities across codebase (#14570)
* fix(security): address multiple security vulnerabilities across codebase

* further improvements

* fix unit tests

* Potential fix for code scanning alert no. 65: Incomplete multi-character sanitization

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Potential fix for code scanning alert no. 69: Incomplete multi-character sanitization

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* properly escape regexp

* minor formatting

* improvements

* Potential fix for code scanning alert no. 72: Bad HTML filtering regexp

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Potential fix for code scanning alert no. 76: Incomplete multi-character sanitization

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* more stable comment removal implementation

* fix tests

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-07-16 11:18:01 -07:00
..
src fix(security): address multiple security vulnerabilities across codebase (#14570) 2025-07-16 11:18:01 -07:00
package.json chore(deps): bump the minor-deps-updates-main group with 7 updates (#14173) 2025-02-10 12:16:30 +00:00
README.md breaking(build): migrate to Esbuild for bundling (#13338) 2024-08-08 23:47:30 -07:00

WebdriverIO Build Tool

This sub-package is being used to build WebdriverIO. It uses Esbuild to bundle the packages.

Usage

In order to use this package run:

pnpm -r --filter=@wdio/build run build

Options

You can pass in the following options to customize the build command.

-p / --project

With this argument you can specify which sub package in <root>/packages will be build. It accepts either the NPM package name or the directory name. If you omit this parameter the tool will try to build all packages. You can pass in one or multiple packages, e.g.

$ pnpm -r --filter=@wdio/build run build -p webdriverio -p @wdio/logger -p wdio-globals

--watch

If you pass in this flag, the build task will run within a "watch" context and will continue to run and rebuild individual changes when changes are being made, e.g.

# watch changes in logger package
$ pnpm -r --filter=@wdio/build run build -p @wdio/logger --watch