-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
1 parent
bee39d5
commit a635863
Showing
6 changed files
with
48 additions
and
4 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
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
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,15 @@ | ||
diff --git a/node_modules/eslint/lib/rules/indent.js b/node_modules/eslint/lib/rules/indent.js | ||
index cda0203..66714b4 100644 | ||
--- a/node_modules/eslint/lib/rules/indent.js | ||
+++ b/node_modules/eslint/lib/rules/indent.js | ||
@@ -12,7 +12,9 @@ | ||
// Requirements | ||
//------------------------------------------------------------------------------ | ||
|
||
-const { OrderedMap } = require("js-sdsl"); | ||
+// make this a deep import so that rollup doesn't attempt to bundle the downleveled ESM build | ||
+// https://github.com/js-sdsl/js-sdsl/issues/158 | ||
+const { default: OrderedMap } = require("js-sdsl/dist/cjs/container/TreeContainer/OrderedMap"); | ||
|
||
const astUtils = require("./utils/ast-utils"); | ||
|
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