-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ | |
"@babel/plugin-transform-export-namespace-from": "^7.24.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.24.8", | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "2.27.7", | ||
"@changesets/cli": "^2.27.8", | ||
"@edge-runtime/vm": "^4.0.0", | ||
"@effect/build-utils": "^0.7.7", | ||
"@effect/docgen": "^0.4.4", | ||
|
@@ -95,7 +95,7 @@ | |
}, | ||
"patchedDependencies": { | ||
"@changesets/[email protected]": "patches/@[email protected]", | ||
"@changesets/[email protected].3": "patches/@[email protected].3.patch", | ||
"@changesets/[email protected].4": "patches/@[email protected].4.patch", | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
}, | ||
"devDependencies": { | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "2.27.7", | ||
"@changesets/cli": "^2.27.8", | ||
"@effect/cli": "latest", | ||
"@effect/eslint-plugin": "^0.2.0", | ||
"@effect/language-service": "^0.1.0", | ||
|
@@ -61,7 +61,7 @@ | |
}, | ||
"patchedDependencies": { | ||
"@changesets/[email protected]": "patches/@[email protected]", | ||
"@changesets/[email protected].3": "patches/@[email protected].3.patch" | ||
"@changesets/[email protected].4": "patches/@[email protected].4.patch" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/lib/index.js b/lib/index.js | ||
index 2182884e21874ebb37261e2375eec08ad956fc9a..ef5630199121c2830756e00c7cc48cf1078c8207 100644 | ||
--- a/lib/index.js | ||
+++ b/lib/index.js | ||
@@ -78,7 +78,7 @@ const isInAssignmentContext = path => { | ||
|
||
parentPath = _ref.parentPath; | ||
|
||
- if (parentPath.isVariableDeclaration() || parentPath.isAssignmentExpression()) { | ||
+ if (parentPath.isVariableDeclaration() || parentPath.isAssignmentExpression() || parentPath.isClassDeclaration()) { | ||
return true; | ||
} | ||
} while (parentPath !== statement); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ | |
"@babel/plugin-transform-export-namespace-from": "^7.24.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.24.8", | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "2.27.7", | ||
"@changesets/cli": "^2.27.8", | ||
"@edge-runtime/vm": "^4.0.0", | ||
"@effect/build-utils": "^0.7.7", | ||
"@effect/eslint-plugin": "^0.2.0", | ||
|
@@ -75,7 +75,7 @@ | |
}, | ||
"patchedDependencies": { | ||
"@changesets/[email protected]": "patches/@[email protected]", | ||
"@changesets/[email protected].3": "patches/@[email protected].3.patch", | ||
"@changesets/[email protected].4": "patches/@[email protected].4.patch", | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters