Skip to content

Commit e5fe5be

Browse files
danieldelcoreDaniel Del Core
and
Daniel Del Core
authored
bumps recast to the latest to resolve jsx double brackets issue (#651)
Co-authored-by: Daniel Del Core <[email protected]>
1 parent 12e5412 commit e5fe5be

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.changeset/new-mayflies-push.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"jscodeshift": minor
3+
---
4+
5+
Bumps recast to resolve a bug where JSX elements are wrapped in two pairs of parenthesis

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"micromatch": "^4.0.7",
4141
"neo-async": "^2.5.0",
4242
"picocolors": "^1.0.1",
43-
"recast": "^0.23.9",
43+
"recast": "^0.23.10",
4444
"tmp": "^0.2.3",
4545
"write-file-atomic": "^5.0.1"
4646
},

yarn.lock

+5-13
Original file line numberDiff line numberDiff line change
@@ -2808,15 +2808,7 @@ merge2@^1.3.0, merge2@^1.4.1:
28082808
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
28092809
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
28102810

2811-
micromatch@^4.0.2:
2812-
version "4.0.8"
2813-
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202"
2814-
integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==
2815-
dependencies:
2816-
braces "^3.0.3"
2817-
picomatch "^2.3.1"
2818-
2819-
micromatch@^4.0.4, micromatch@^4.0.7:
2811+
micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.7:
28202812
version "4.0.8"
28212813
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202"
28222814
integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==
@@ -3129,10 +3121,10 @@ read-yaml-file@^1.1.0:
31293121
pify "^4.0.1"
31303122
strip-bom "^3.0.0"
31313123

3132-
recast@^0.23.9:
3133-
version "0.23.9"
3134-
resolved "https://registry.yarnpkg.com/recast/-/recast-0.23.9.tgz#587c5d3a77c2cfcb0c18ccce6da4361528c2587b"
3135-
integrity sha512-Hx/BGIbwj+Des3+xy5uAtAbdCyqK9y9wbBcDFDYanLS9JnMqf7OeF87HQwUimE87OEc72mr6tkKUKMBBL+hF9Q==
3124+
recast@^0.23.10:
3125+
version "0.23.10"
3126+
resolved "https://packages.atlassian.com/api/npm/npm-remote/recast/-/recast-0.23.10.tgz#8e8721af39e1bddad8d0ae1f3591d4f756a5fdfb"
3127+
integrity sha512-mbCmRMJUKCJ1h41V0cu2C26ULBURwuoZ34C9rChjcDaeJ/4Kv5al3O2HPwTs2m0wQ1vGhMY+tguhzU1aE8md1A==
31363128
dependencies:
31373129
ast-types "^0.16.1"
31383130
esprima "~4.0.0"

0 commit comments

Comments
 (0)