Skip to content

Commit 6439042

Browse files
dependency: update dependency recast to v0.23.11 (#32742)
* fix(deps): update dependency recast to v0.23.11 * fix(deps): update dependency recast to v0.23.11 * chore: fix ast-types * remove the browser.js removal? * Add changelog entry * move changelog entry --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <[email protected]> Co-authored-by: Jennifer Shehane <[email protected]>
1 parent 52a5527 commit 6439042

File tree

7 files changed

+30
-16
lines changed

7 files changed

+30
-16
lines changed

cli/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ _Released 10/20/2025 (PENDING)_
2323
**Dependency Updates:**
2424

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

2728
## 15.5.0
2829

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"fs-extra": "^9.1.0",
3535
"lodash": "^4.17.21",
3636
"prettier": "^2.8.8",
37-
"recast": "0.20.4",
37+
"recast": "0.23.11",
3838
"return-deep-diff": "0.4.0",
3939
"underscore.string": "^3.3.6"
4040
},

packages/data-context/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"randexp": "0.5.3",
7272
"randomstring": "1.3.0",
7373
"react-docgen": "6.0.4",
74-
"recast": "0.20.4",
74+
"recast": "0.23.11",
7575
"resolve": "^1.22.10",
7676
"semver": "^7.7.1",
7777
"send": "0.19.0",

packages/rewriter/lib/js-rules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
namedTypes as n,
44
builders as b,
55
} from 'ast-types'
6-
import type { ExpressionKind } from 'ast-types/gen/kinds'
6+
import type { ExpressionKind } from 'ast-types/lib/gen/kinds'
77

88
// use `globalThis` instead of `window`, `self`... to lower chances of scope conflict
99
// users can technically override even this, but it would be very rude

packages/rewriter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"tslint": "tslint --config ../ts/tslint.json --project ."
1616
},
1717
"dependencies": {
18-
"ast-types": "0.13.3",
18+
"ast-types": "^0.16.1",
1919
"bluebird": "3.7.2",
2020
"debug": "^4.3.4",
2121
"lodash": "^4.17.19",
2222
"parse5-html-rewriting-stream": "5.1.1",
23-
"recast": "0.20.4"
23+
"recast": "0.23.11"
2424
},
2525
"devDependencies": {
2626
"@cypress/request-promise": "^5.0.0",

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"pluralize": "8.0.0",
113113
"pretty-bytes": "^5.6.0",
114114
"randomstring": "1.3.0",
115-
"recast": "0.20.4",
115+
"recast": "0.23.11",
116116
"resolve": "^1.22.10",
117117
"resolve-package-path": "4.0.3",
118118
"sanitize-filename": "1.6.3",

yarn.lock

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11147,17 +11147,24 @@ [email protected]:
1114711147
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.3.tgz#50da3f28d17bdbc7969a3a2d83a0e4a72ae755a7"
1114811148
integrity sha512-XTZ7xGML849LkQP86sWdQzfhwbt3YwIO6MqbX9mUNYY98VKaaVZP7YNNm70IpwecbkkxmfC5IYAzOQ/2p29zRA==
1114911149

11150-
[email protected], ast-types@^0.14.2:
11150+
ast-types@^0.13.4:
11151+
version "0.13.4"
11152+
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.4.tgz#ee0d77b343263965ecc3fb62da16e7222b2b6782"
11153+
integrity sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==
11154+
dependencies:
11155+
tslib "^2.0.1"
11156+
11157+
ast-types@^0.14.2:
1115111158
version "0.14.2"
1115211159
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.14.2.tgz#600b882df8583e3cd4f2df5fa20fa83759d4bdfd"
1115311160
integrity sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==
1115411161
dependencies:
1115511162
tslib "^2.0.1"
1115611163

11157-
ast-types@^0.13.4:
11158-
version "0.13.4"
11159-
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.4.tgz#ee0d77b343263965ecc3fb62da16e7222b2b6782"
11160-
integrity sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==
11164+
ast-types@^0.16.1:
11165+
version "0.16.1"
11166+
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.16.1.tgz#7a9da1617c9081bc121faafe91711b4c8bb81da2"
11167+
integrity sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==
1116111168
dependencies:
1116211169
tslib "^2.0.1"
1116311170

@@ -28013,14 +28020,15 @@ readdirp@~3.6.0:
2801328020
dependencies:
2801428021
picomatch "^2.2.1"
2801528022

28016-
recast@0.20.4:
28017-
version "0.20.4"
28018-
resolved "https://registry.yarnpkg.com/recast/-/recast-0.20.4.tgz#db55983eac70c46b3fff96c8e467d65ffb4a7abc"
28019-
integrity sha512-6qLIBGGRcwjrTZGIiBpJVC/NeuXpogXNyRQpqU1zWPUigCphvApoCs9KIwDYh1eDuJ6dAFlQoi/QUyE5KQ6RBQ==
28023+
recast@0.23.11:
28024+
version "0.23.11"
28025+
resolved "https://registry.yarnpkg.com/recast/-/recast-0.23.11.tgz#8885570bb28cf773ba1dc600da7f502f7883f73f"
28026+
integrity sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==
2802028027
dependencies:
28021-
ast-types "0.14.2"
28028+
ast-types "^0.16.1"
2802228029
esprima "~4.0.0"
2802328030
source-map "~0.6.1"
28031+
tiny-invariant "^1.3.3"
2802428032
tslib "^2.0.1"
2802528033

2802628034
rechoir@^0.6.2:
@@ -31364,6 +31372,11 @@ timm@^1.6.1:
3136431372
resolved "https://registry.yarnpkg.com/timm/-/timm-1.7.1.tgz#96bab60c7d45b5a10a8a4d0f0117c6b7e5aff76f"
3136531373
integrity sha512-IjZc9KIotudix8bMaBW6QvMuq64BrJWFs1+4V0lXwWGQZwH+LnX87doAYhem4caOEusRP9/g6jVDQmZ8XOk1nw==
3136631374

31375+
tiny-invariant@^1.3.3:
31376+
version "1.3.3"
31377+
resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.3.3.tgz#46680b7a873a0d5d10005995eb90a70d74d60127"
31378+
integrity sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==
31379+
3136731380
tiny-lr@^1.1.1:
3136831381
version "1.1.1"
3136931382
resolved "https://registry.yarnpkg.com/tiny-lr/-/tiny-lr-1.1.1.tgz#9fa547412f238fedb068ee295af8b682c98b2aab"

0 commit comments

Comments
 (0)