stagehand/package.json
Sean McGuire bf9d44989c
[chore]: bump ws dep (#2169)
# why
- bumps `ws` & a few other deps to versions with various security
patches
# what changed
- bumps direct `ws` dep from `^8.18.0` to `^8.21.0`
- bumps turbo from `^2.8.10` to `^2.9.15`
- adds monorepo-wide overrides for `qs` & `ws` which are transitive deps
brought in by mintlify & braintrust
- overrides were required here since a direct bump of braintrust &
mintlify did not resolve to upgraded `qs` & `ws` versions


<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Upgrade `ws` to patched versions across the repo and add overrides for
transitive `ws` and `qs` to address security fixes. Also bump `turbo` to
the latest minor.

- **Dependencies**
  - `packages/cli` and `packages/core`: `ws` ^8.18.0 -> ^8.21.0
- Root overrides: `ws` ^8.20.1, `qs` ^6.15.2 (to override transitive
deps from `mintlify` and `braintrust`)
  - `turbo` ^2.8.10 -> ^2.9.15

<sup>Written for commit e8f6ff1f863aac475f754f7d80e83db0eea4ad09.
Summary will update on new commits. <a
href="https://cubic.dev/pr/browserbase/stagehand/pull/2169?utm_source=github">Review
in cubic</a></sup>

<!-- End of auto-generated description by cubic. -->
2026-05-27 11:50:35 -07:00

91 lines
3.3 KiB
JSON

{
"name": "stagehand-workspace",
"version": "0.0.0",
"private": true,
"description": "Stagehand monorepo workspace",
"type": "module",
"scripts": {
"build": "turbo run build",
"build:full": "turbo run build",
"build:cjs": "turbo run build:cjs",
"build:cli": "turbo run build:cli",
"build:esm": "turbo run build:esm",
"build:sea": "turbo run build:sea:esm",
"build:sea:esm": "turbo run build:sea:esm",
"build:sea:cjs": "turbo run build:sea:cjs",
"lint": "turbo run lint",
"format": "prettier --write .",
"prettier": "prettier --write .",
"eslint": "eslint .",
"test": "turbo run test:core test:e2e test:server test:evals test:cli",
"test:core": "turbo run test:core --",
"test:core:local": "STAGEHAND_BROWSER_TARGET=local pnpm run test:core --",
"test:core:bb": "STAGEHAND_BROWSER_TARGET=browserbase pnpm run test:core --",
"test:e2e": "turbo run test:e2e --",
"test:e2e:local": "STAGEHAND_BROWSER_TARGET=local pnpm run test:e2e --",
"test:e2e:bb": "STAGEHAND_BROWSER_TARGET=browserbase pnpm run test:e2e --",
"test:server": "turbo run test:server --",
"test:server:sea": "STAGEHAND_SERVER_TARGET=sea pnpm run test:server --",
"test:server:local": "STAGEHAND_SERVER_TARGET=local pnpm run test:server --",
"test:server:remote": "STAGEHAND_SERVER_TARGET=remote pnpm run test:server --",
"test:evals": "turbo run test:evals --",
"test:evals:local": "STAGEHAND_BROWSER_TARGET=local pnpm run test:evals --",
"test:evals:bb": "STAGEHAND_BROWSER_TARGET=browserbase pnpm run test:evals --",
"coverage:merge": "pnpm -w exec tsx packages/core/scripts/coverage.ts merge",
"docs": "turbo run docs",
"dev": "turbo run dev",
"example": "pnpm --filter @browserbasehq/stagehand run example --",
"cache:clear": "turbo run build --force",
"prepare": "node packages/core/scripts/prepare.js && husky",
"release": "turbo run build && changeset publish",
"release-canary": "turbo run build && changeset version --snapshot && changeset publish --tag alpha"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.31.0",
"@eslint/js": "^10.0.1",
"c8": "^11.0.0",
"dotenv": "^17.3.1",
"esbuild": "0.27.2",
"eslint": "^10.3.0",
"eslint-plugin-security": "^3.0.1",
"globals": "^15.13.0",
"husky": "^9.1.7",
"junit-to-ctrf": "^0.0.14",
"lint-staged": "^16.4.0",
"prettier": "^3.2.5",
"source-map": "^0.7.4",
"tsx": "^4.19.4",
"turbo": "^2.9.15",
"typescript": "5.8.3",
"typescript-eslint": "^8.56.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/browserbase/stagehand.git"
},
"bugs": {
"url": "https://github.com/browserbase/stagehand/issues"
},
"homepage": "https://stagehand.dev",
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"pnpm": {
"overrides": {
"axios": "^1.15.2",
"follow-redirects": "^1.16.0",
"jws": "^4.0.1",
"lodash": "^4.18.0",
"minimatch": "^3.1.4",
"uuid": "^11.1.1",
"ws": "^8.20.1",
"qs": "^6.15.2"
}
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
}