Skip to content

Bump WebdriverIO and related packages #3233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Bump WebdriverIO and related packages #3233

wants to merge 12 commits into from

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Mar 14, 2025

No description provided.

dependabot bot and others added 6 commits March 14, 2025 09:45
…updates

Bumps the npm_and_yarn group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `4.5.9` | `5.4.12` |
| [nanoid](https://github.com/ai/nanoid) | `3.3.8` | `3.3.9` |
| [esbuild](https://github.com/evanw/esbuild) | `0.18.20` | `0.25.0` |
| [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) | `7.23.2` | `7.26.10` |
| [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) | `7.22.5` | `7.26.10` |
| [axios](https://github.com/axios/axios) | `1.7.7` | `1.8.3` |

Bumps the npm_and_yarn group with 3 updates in the /packages/snaps-controllers directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite), [nanoid](https://github.com/ai/nanoid) and [esbuild](https://github.com/evanw/esbuild).
Bumps the npm_and_yarn group with 3 updates in the /packages/snaps-execution-environments directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite), [nanoid](https://github.com/ai/nanoid) and [esbuild](https://github.com/evanw/esbuild).
Bumps the npm_and_yarn group with 2 updates in the /packages/snaps-utils directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) and [esbuild](https://github.com/evanw/esbuild).


Updates `vite` from 4.5.9 to 5.4.12
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.12/packages/vite)

Updates `nanoid` from 3.3.8 to 3.3.9
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.8...3.3.9)

Updates `esbuild` from 0.18.20 to 0.25.0
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](evanw/esbuild@v0.18.20...v0.25.0)

Updates `@babel/helpers` from 7.23.2 to 7.26.10
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers)

Updates `@babel/runtime` from 7.22.5 to 7.26.10
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime)

Updates `axios` from 1.7.7 to 1.8.3
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.7...v1.8.3)

Updates `vite` from 4.5.9 to 6.2.1
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.12/packages/vite)

Updates `nanoid` from 3.3.9 to 5.1.3
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.8...3.3.9)

Updates `esbuild` from 0.18.20 to 0.25.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](evanw/esbuild@v0.18.20...v0.25.0)

Updates `vite` from 4.5.9 to 6.2.1
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.12/packages/vite)

Updates `nanoid` from 3.3.9 to 5.1.3
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.8...3.3.9)

Updates `esbuild` from 0.18.20 to 0.25.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](evanw/esbuild@v0.18.20...v0.25.0)

Updates `vite` from 4.5.9 to 6.2.1
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.12/packages/vite)

Updates `esbuild` from 0.18.20 to 0.25.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](evanw/esbuild@v0.18.20...v0.25.0)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: nanoid
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: esbuild
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: "@babel/helpers"
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: "@babel/runtime"
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: axios
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: nanoid
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: esbuild
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: nanoid
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: esbuild
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: esbuild
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link

socket-security bot commented Mar 14, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@wdio/browser-runner@8.43.09.12.0 Transitive: environment, eval, filesystem, network, shell, unsafe +234 483 MB wdio-user
npm/@wdio/cli@8.43.09.12.0 Transitive: eval, filesystem, network, shell +125 17 MB wdio-user
npm/@wdio/globals@8.43.09.12.0 None 0 13.3 kB wdio-user
npm/@wdio/mocha-framework@8.41.09.11.0 Transitive: environment, eval, filesystem, network, shell +63 12.8 MB wdio-user
npm/@wdio/spec-reporter@8.43.09.11.0 Transitive: environment +14 3.3 MB wdio-user
npm/@wdio/static-server-service@8.41.09.10.1 Transitive: environment, eval +13 2.59 MB wdio-user
npm/agent-base@7.1.17.1.3 None 0 31.5 kB tootallnate
npm/bare-events@2.5.4 None 0 22.7 kB kasperisager, mafintosh
npm/bare-fs@4.0.1 None 0 826 kB kasperisager
npm/bare-os@3.6.0 None 0 785 kB kasperisager, mafintosh
npm/bare-path@3.0.0 None 0 35.4 kB kasperisager
npm/bare-stream@2.6.5 None +1 82.3 kB kasperisager, yassernasc
npm/expect-webdriverio@4.15.45.1.0 None +32 5.59 MB wdio-user
npm/https-proxy-agent@7.0.47.0.6 Transitive: environment +1 78 kB tootallnate
npm/istanbul-lib-coverage@3.2.03.2.2 None 0 34.4 kB oss-bot
npm/istanbul-lib-report@3.0.03.0.1 None 0 37.6 kB oss-bot
npm/istanbul-reports@3.1.53.1.7 None 0 294 kB oss-bot
npm/make-dir@3.1.04.0.0 None 0 9.91 kB sindresorhus
npm/pac-proxy-agent@7.0.17.2.0 None 0 33.6 kB tootallnate
npm/proxy-agent@6.4.06.5.0 None 0 24.7 kB tootallnate
npm/socks-proxy-agent@8.0.38.0.5 None 0 25.5 kB tootallnate
npm/socks@2.8.02.8.4 None 0 156 kB joshglazebrook
npm/text-decoder@1.2.3 None 0 17.6 kB kasperisager
npm/tinyglobby@0.2.100.2.12 None 0 0 B
npm/tsx@4.19.14.19.3 None 0 426 kB hirokiosame
npm/webdriverio@9.12.0 environment, eval Transitive: filesystem, network, shell +112 38.1 MB wdio-user

🚮 Removed packages: npm/@esbuild/openbsd-arm64@0.23.1, npm/chalk@5.3.0, npm/diff@5.0.0, npm/jackspeak@2.3.6, npm/lru-cache@10.1.0, npm/magic-string@0.30.3, npm/path-scurry@1.10.1, npm/queue-tick@1.0.1

View full report↗︎

Copy link

socket-security bot commented Mar 14, 2025

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
New author npm/parse5-htmlparser2-tree-adapter@7.1.0 🚫
Unstable ownership npm/parse5-htmlparser2-tree-adapter@7.1.0 🚫
Network access npm/edgedriver@6.1.1 🚫
Network access npm/edgedriver@6.1.1 🚫
Shell access npm/tinyexec@0.3.2 🚫
Network access npm/webdriver@9.11.0 🚫
New author npm/istanbul-lib-report@3.0.1 🚫
Network access npm/proxy-agent@6.5.0 🚫
Network access npm/proxy-agent@6.5.0 🚫
Network access npm/pac-proxy-agent@7.2.0 🚫
Network access npm/pac-proxy-agent@7.2.0 🚫

View full report↗︎

Next steps

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is unstable ownership?

A new collaborator has begun publishing package versions. Package stability and security risk may be elevated.

Try to reduce the number of authors you depend on to reduce the risk to malicious actors gaining access to your supply chain. Packages should remove inactive collaborators with publishing rights from packages on npm.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/parse5-htmlparser2-tree-adapter@7.1.0
  • @SocketSecurity ignore npm/edgedriver@6.1.1
  • @SocketSecurity ignore npm/tinyexec@0.3.2
  • @SocketSecurity ignore npm/webdriver@9.11.0
  • @SocketSecurity ignore npm/istanbul-lib-report@3.0.1
  • @SocketSecurity ignore npm/proxy-agent@6.5.0
  • @SocketSecurity ignore npm/pac-proxy-agent@7.2.0

@@ -1049,7 +1049,7 @@ describe('BaseSnapExecutor', () => {
});
});

it('notifies execution service of out of band errors via unhandledrejection', async () => {
it.skip('notifies execution service of out of band errors via unhandledrejection', async () => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDIO seems to catch this error and fail the test. Need to investigate if we can work around this somehow.

@@ -40,7 +40,7 @@ async function getResponse(
});
}

describe('WebWorkerSnapExecutor', () => {
describe.skip('WebWorkerSnapExecutor', () => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disabled this because it's very flaky, and we don't use the WebWorkerSnapExecutor anywhere.

@@ -56,7 +56,7 @@ async function getResponse(
});
}

describe('WebWorkerPool', () => {
describe.skip('WebWorkerPool', () => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disabled this because it's very flaky, and we don't use the WebWorkerPool anywhere.

Base automatically changed from dependabot/npm_and_yarn/npm_and_yarn-17706dc6c7 to main March 25, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants