Skip to content
Merged
1 change: 1 addition & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ _Released 10/20/2025 (PENDING)_
**Dependency Updates:**

- Upgraded `better-sqlite3` from `11.10.0` to `12.4.1`. Addressed in [#32755](https://github.com/cypress-io/cypress/pull/32755).
- Upgraded `recast` from `0.20.4` to `0.23.11`. Addressed in [#32742](https://github.com/cypress-io/cypress/pull/32742).

## 15.5.0

Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"fs-extra": "^9.1.0",
"lodash": "^4.17.21",
"prettier": "^2.8.8",
"recast": "0.20.4",
"recast": "0.23.11",
"return-deep-diff": "0.4.0",
"underscore.string": "^3.3.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/data-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"randexp": "0.5.3",
"randomstring": "1.3.0",
"react-docgen": "6.0.4",
"recast": "0.20.4",
"recast": "0.23.11",
"resolve": "^1.22.10",
"semver": "^7.7.1",
"send": "0.19.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/rewriter/lib/js-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
namedTypes as n,
builders as b,
} from 'ast-types'
import type { ExpressionKind } from 'ast-types/gen/kinds'
import type { ExpressionKind } from 'ast-types/lib/gen/kinds'
Copy link
Member

Choose a reason for hiding this comment

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

This location moved in the ast-types update


// use `globalThis` instead of `window`, `self`... to lower chances of scope conflict
// users can technically override even this, but it would be very rude
Expand Down
4 changes: 2 additions & 2 deletions packages/rewriter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"tslint": "tslint --config ../ts/tslint.json --project ."
},
"dependencies": {
"ast-types": "0.13.3",
"ast-types": "^0.16.1",
"bluebird": "3.7.2",
"debug": "^4.3.4",
"lodash": "^4.17.19",
"parse5-html-rewriting-stream": "5.1.1",
"recast": "0.20.4"
"recast": "0.23.11"
Copy link

Choose a reason for hiding this comment

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

Bug: Package Dependency Conflict Causes Compatibility Issues

The rewriter package has an ast-types version conflict. It explicitly depends on 0.13.3, but the updated [email protected] requires ^0.16.1. This mismatch may cause runtime compatibility issues or unexpected behavior due to API changes between these ast-types versions.

Fix in Cursor Fix in Web

Copy link
Member

Choose a reason for hiding this comment

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

Updated to 0.16.1

},
"devDependencies": {
"@cypress/request-promise": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"pluralize": "8.0.0",
"pretty-bytes": "^5.6.0",
"randomstring": "1.3.0",
"recast": "0.20.4",
"recast": "0.23.11",
"resolve": "^1.22.10",
"resolve-package-path": "4.0.3",
"sanitize-filename": "1.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/socket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"browser": "lib/browser.ts",
"scripts": {
"build-prod": "tsc || echo 'built, with type errors' && rm lib/browser.js",
"build-prod": "tsc || echo 'built, with type errors'",
Copy link
Member

Choose a reason for hiding this comment

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

This was blowing up for me on build - I think this has since been removed anyways??

Copy link
Contributor

Choose a reason for hiding this comment

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

once the socket changes make its way in it shouldn't matter any longer

"check-ts": "tsc --noEmit && yarn -s tslint",
"clean": "rimraf --glob 'lib/*.js'",
"clean-deps": "rimraf node_modules",
Expand Down
33 changes: 23 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11122,17 +11122,24 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.3.tgz#50da3f28d17bdbc7969a3a2d83a0e4a72ae755a7"
integrity sha512-XTZ7xGML849LkQP86sWdQzfhwbt3YwIO6MqbX9mUNYY98VKaaVZP7YNNm70IpwecbkkxmfC5IYAzOQ/2p29zRA==

[email protected], ast-types@^0.14.2:
ast-types@^0.13.4:
version "0.13.4"
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.4.tgz#ee0d77b343263965ecc3fb62da16e7222b2b6782"
integrity sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==
dependencies:
tslib "^2.0.1"

ast-types@^0.14.2:
version "0.14.2"
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.14.2.tgz#600b882df8583e3cd4f2df5fa20fa83759d4bdfd"
integrity sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==
dependencies:
tslib "^2.0.1"

ast-types@^0.13.4:
version "0.13.4"
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.4.tgz#ee0d77b343263965ecc3fb62da16e7222b2b6782"
integrity sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==
ast-types@^0.16.1:
version "0.16.1"
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.16.1.tgz#7a9da1617c9081bc121faafe91711b4c8bb81da2"
integrity sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==
dependencies:
tslib "^2.0.1"

Expand Down Expand Up @@ -27990,14 +27997,15 @@ readdirp@~3.6.0:
dependencies:
picomatch "^2.2.1"

recast@0.20.4:
version "0.20.4"
resolved "https://registry.yarnpkg.com/recast/-/recast-0.20.4.tgz#db55983eac70c46b3fff96c8e467d65ffb4a7abc"
integrity sha512-6qLIBGGRcwjrTZGIiBpJVC/NeuXpogXNyRQpqU1zWPUigCphvApoCs9KIwDYh1eDuJ6dAFlQoi/QUyE5KQ6RBQ==
recast@0.23.11:
version "0.23.11"
resolved "https://registry.yarnpkg.com/recast/-/recast-0.23.11.tgz#8885570bb28cf773ba1dc600da7f502f7883f73f"
integrity sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==
dependencies:
ast-types "0.14.2"
ast-types "^0.16.1"
esprima "~4.0.0"
source-map "~0.6.1"
tiny-invariant "^1.3.3"
tslib "^2.0.1"

rechoir@^0.6.2:
Expand Down Expand Up @@ -31341,6 +31349,11 @@ timm@^1.6.1:
resolved "https://registry.yarnpkg.com/timm/-/timm-1.7.1.tgz#96bab60c7d45b5a10a8a4d0f0117c6b7e5aff76f"
integrity sha512-IjZc9KIotudix8bMaBW6QvMuq64BrJWFs1+4V0lXwWGQZwH+LnX87doAYhem4caOEusRP9/g6jVDQmZ8XOk1nw==

tiny-invariant@^1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.3.3.tgz#46680b7a873a0d5d10005995eb90a70d74d60127"
integrity sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==

tiny-lr@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/tiny-lr/-/tiny-lr-1.1.1.tgz#9fa547412f238fedb068ee295af8b682c98b2aab"
Expand Down
Loading