-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
10 changed files
with
11,249 additions
and
11,154 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'synckit': patch | ||
--- | ||
|
||
fix: known Windows issues |
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 |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
--- | ||
|
||
feat: use workerPath as URL for Windows | ||
|
||
related mdx-js/eslint-mdx#389 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
coverage | ||
lib | ||
CHANGELOG.md | ||
!/.*.js | ||
!/.*.cjs |
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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"extends": "@1stg", | ||
"rules": { | ||
"unicorn/require-post-message-target-origin": 0 | ||
} | ||
"extends": "@1stg" | ||
} |
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 @@ | ||
* text=auto eol=lf |
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,21 @@ | ||
diff --git a/node_modules/eslint-mdx/lib/worker.js b/node_modules/eslint-mdx/lib/worker.js | ||
index 7dd21a5..adaabcc 100644 | ||
--- a/node_modules/eslint-mdx/lib/worker.js | ||
+++ b/node_modules/eslint-mdx/lib/worker.js | ||
@@ -8,6 +8,7 @@ const path_1 = tslib_1.__importDefault(require("path")); | ||
const cosmiconfig_1 = require("cosmiconfig"); | ||
const synckit_1 = require("synckit"); | ||
const helpers_1 = require("./helpers"); | ||
+const { pathToFileURL } = require("url"); | ||
let acorn; | ||
let tokTypes; | ||
let jsxTokTypes; | ||
@@ -129,7 +130,7 @@ exports.getRemarkProcessor = getRemarkProcessor; | ||
})(acorn.Parser).acornJsx.tokTypes; | ||
} | ||
if (!TokenTranslator) { | ||
- TokenTranslator = (yield (0, helpers_1.loadEsmModule)(path_1.default.resolve(require.resolve('espree/package.json'), '../lib/token-translator.js'))).default; | ||
+ TokenTranslator = (yield (0, helpers_1.loadEsmModule)(pathToFileURL(path_1.default.resolve(require.resolve('espree/package.json'), '../lib/token-translator.js')))).default; | ||
} | ||
const tokenTranslator = new TokenTranslator(Object.assign(Object.assign({}, tokTypes), jsxTokTypes), fileOptions.value); | ||
const root = processor.parse(fileOptions); |
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
Oops, something went wrong.