Skip to content

Commit

Permalink
chore: upgrade recast
Browse files Browse the repository at this point in the history
This updates recast (patch version) to pull in a recent update which
trims down the dependency tree/footprint.
  • Loading branch information
43081j committed Mar 2, 2024
1 parent 68f1b28 commit 3f766bf
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 35 deletions.
2 changes: 1 addition & 1 deletion code/lib/codemod/package.json
Expand Up @@ -67,7 +67,7 @@
"jscodeshift": "^0.15.1",
"lodash": "^4.17.21",
"prettier": "^3.1.1",
"recast": "^0.23.1",
"recast": "^0.23.5",
"tiny-invariant": "^1.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion code/lib/csf-tools/package.json
Expand Up @@ -49,7 +49,7 @@
"@storybook/csf": "^0.1.2",
"@storybook/types": "workspace:*",
"fs-extra": "^11.1.0",
"recast": "^0.23.1",
"recast": "^0.23.5",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
Expand Down
24 changes: 22 additions & 2 deletions code/yarn.lock
Expand Up @@ -5671,7 +5671,7 @@ __metadata:
mdast-util-mdx-jsx: "npm:^3.0.0"
mdast-util-mdxjs-esm: "npm:^2.0.1"
prettier: "npm:^3.1.1"
recast: "npm:^0.23.1"
recast: "npm:^0.23.5"
remark: "npm:^15.0.1"
remark-mdx: "npm:^3.0.0"
tiny-invariant: "npm:^1.3.1"
Expand Down Expand Up @@ -5872,7 +5872,7 @@ __metadata:
"@types/js-yaml": "npm:^4.0.5"
fs-extra: "npm:^11.1.0"
js-yaml: "npm:^4.1.0"
recast: "npm:^0.23.1"
recast: "npm:^0.23.5"
ts-dedent: "npm:^2.0.0"
typescript: "npm:^5.3.2"
languageName: unknown
Expand Down Expand Up @@ -24989,6 +24989,19 @@ __metadata:
languageName: node
linkType: hard

"recast@npm:^0.23.5":
version: 0.23.5
resolution: "recast@npm:0.23.5"
dependencies:
ast-types: "npm:^0.16.1"
esprima: "npm:~4.0.0"
source-map: "npm:~0.6.1"
tiny-invariant: "npm:^1.3.3"
tslib: "npm:^2.0.1"
checksum: 21dc93910d12c71da77072afc3d5d4cdf97783776842efa6fd2cd7c2798d3622ace5d2f05ca5133141ef93de8a0512cbe191fe835f325bd1722f186fe449d11a
languageName: node
linkType: hard

"redent@npm:^3.0.0":
version: 3.0.0
resolution: "redent@npm:3.0.0"
Expand Down Expand Up @@ -28020,6 +28033,13 @@ __metadata:
languageName: node
linkType: hard

"tiny-invariant@npm:^1.3.3":
version: 1.3.3
resolution: "tiny-invariant@npm:1.3.3"
checksum: 65af4a07324b591a059b35269cd696aba21bef2107f29b9f5894d83cc143159a204b299553435b03874ebb5b94d019afa8b8eff241c8a4cfee95872c2e1c1c4a
languageName: node
linkType: hard

"tiny-warning@npm:^1.0.2":
version: 1.0.3
resolution: "tiny-warning@npm:1.0.3"
Expand Down
2 changes: 1 addition & 1 deletion scripts/package.json
Expand Up @@ -160,7 +160,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"read-pkg-up": "^7.0.1",
"recast": "^0.23.1",
"recast": "^0.23.5",
"remark": "^14.0.3",
"remark-cli": "^12.0.0",
"remark-lint": "^9.1.2",
Expand Down
44 changes: 14 additions & 30 deletions scripts/yarn.lock
Expand Up @@ -2800,7 +2800,7 @@ __metadata:
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
read-pkg-up: "npm:^7.0.1"
recast: "npm:^0.23.1"
recast: "npm:^0.23.5"
remark: "npm:^14.0.3"
remark-cli: "npm:^12.0.0"
remark-lint: "npm:^9.1.2"
Expand Down Expand Up @@ -4490,19 +4490,6 @@ __metadata:
languageName: node
linkType: hard

"assert@npm:^2.0.0":
version: 2.1.0
resolution: "assert@npm:2.1.0"
dependencies:
call-bind: "npm:^1.0.2"
is-nan: "npm:^1.3.2"
object-is: "npm:^1.1.5"
object.assign: "npm:^4.1.4"
util: "npm:^0.12.5"
checksum: 7271a5da883c256a1fa690677bf1dd9d6aa882139f2bed1cd15da4f9e7459683e1da8e32a203d6cc6767e5e0f730c77a9532a87b896b4b0af0dd535f668775f0
languageName: node
linkType: hard

"assertion-error@npm:^1.1.0":
version: 1.1.0
resolution: "assertion-error@npm:1.1.0"
Expand Down Expand Up @@ -8943,16 +8930,6 @@ __metadata:
languageName: node
linkType: hard

"is-nan@npm:^1.3.2":
version: 1.3.2
resolution: "is-nan@npm:1.3.2"
dependencies:
call-bind: "npm:^1.0.0"
define-properties: "npm:^1.1.3"
checksum: 8bfb286f85763f9c2e28ea32e9127702fe980ffd15fa5d63ade3be7786559e6e21355d3625dd364c769c033c5aedf0a2ed3d4025d336abf1b9241e3d9eddc5b0
languageName: node
linkType: hard

"is-natural-number@npm:^4.0.1":
version: 4.0.1
resolution: "is-natural-number@npm:4.0.1"
Expand Down Expand Up @@ -12752,16 +12729,16 @@ __metadata:
languageName: node
linkType: hard

"recast@npm:^0.23.1":
version: 0.23.4
resolution: "recast@npm:0.23.4"
"recast@npm:^0.23.5":
version: 0.23.5
resolution: "recast@npm:0.23.5"
dependencies:
assert: "npm:^2.0.0"
ast-types: "npm:^0.16.1"
esprima: "npm:~4.0.0"
source-map: "npm:~0.6.1"
tiny-invariant: "npm:^1.3.3"
tslib: "npm:^2.0.1"
checksum: d719633be8029e28f23b8191d4a525c5dbdac721792ab3cb5e9dfcf1694fb93f3c147b186916195a9c7fa0711f1e4990ba457cdcee02faed3899d4a80da1bd1f
checksum: 21dc93910d12c71da77072afc3d5d4cdf97783776842efa6fd2cd7c2798d3622ace5d2f05ca5133141ef93de8a0512cbe191fe835f325bd1722f186fe449d11a
languageName: node
linkType: hard

Expand Down Expand Up @@ -14583,6 +14560,13 @@ __metadata:
languageName: node
linkType: hard

"tiny-invariant@npm:^1.3.3":
version: 1.3.3
resolution: "tiny-invariant@npm:1.3.3"
checksum: 65af4a07324b591a059b35269cd696aba21bef2107f29b9f5894d83cc143159a204b299553435b03874ebb5b94d019afa8b8eff241c8a4cfee95872c2e1c1c4a
languageName: node
linkType: hard

"tinybench@npm:^2.5.1":
version: 2.5.1
resolution: "tinybench@npm:2.5.1"
Expand Down Expand Up @@ -15437,7 +15421,7 @@ __metadata:
languageName: node
linkType: hard

"util@npm:^0.12.4, util@npm:^0.12.5":
"util@npm:^0.12.4":
version: 0.12.5
resolution: "util@npm:0.12.5"
dependencies:
Expand Down

0 comments on commit 3f766bf

Please sign in to comment.