-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
412 changed files
with
5,321 additions
and
2,632 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
2 changes: 1 addition & 1 deletion
2
.github/ISSUE_TEMPLATE/04-enhancement-new-base-rule-extension.yaml
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
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,25 @@ | ||
name: Accessibility-alt-text-bot | ||
on: | ||
issues: | ||
types: [opened, edited] | ||
pull_request: | ||
types: [opened, edited] | ||
issue_comment: | ||
types: [created, edited] | ||
discussion: | ||
types: [created, edited] | ||
discussion_comment: | ||
types: [created, edited] | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
discussions: write | ||
|
||
jobs: | ||
accessibility_alt_text_bot: | ||
name: Check alt text is set on images | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get action 'github/accessibility-alt-text-bot' | ||
uses: github/accessibility-alt-text-bot@v1.4.0 |
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
46 changes: 46 additions & 0 deletions
46
.yarn/patches/@microsoft-api-extractor-npm-7.38.0-955f1e0725.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
diff --git a/lib/analyzer/ExportAnalyzer.js b/lib/analyzer/ExportAnalyzer.js | ||
index 51f31b4f2f253d82adc9594faa58d8dc031957e0..1fddac54b08665f5a5a717fef740613ae921cb7a 100644 | ||
--- a/lib/analyzer/ExportAnalyzer.js | ||
+++ b/lib/analyzer/ExportAnalyzer.js | ||
@@ -193,7 +193,7 @@ class ExportAnalyzer { | ||
const mode = specifier && ts.isStringLiteralLike(specifier) | ||
? TypeScriptInternals_1.TypeScriptInternals.getModeForUsageLocation(importOrExportDeclaration.getSourceFile(), specifier) | ||
: undefined; | ||
- const resolvedModule = TypeScriptInternals_1.TypeScriptInternals.getResolvedModule(importOrExportDeclaration.getSourceFile(), moduleSpecifier, mode); | ||
+ const resolvedModule = TypeScriptInternals_1.TypeScriptInternals.getResolvedModule(this._program, importOrExportDeclaration.getSourceFile(), moduleSpecifier, mode); | ||
if (resolvedModule === undefined) { | ||
// The TS compiler API `getResolvedModule` cannot resolve ambient modules. Thus, to match API Extractor's | ||
// previous behavior, simply treat all ambient modules as external. This bug is tracked by | ||
@@ -666,7 +666,7 @@ class ExportAnalyzer { | ||
ts.isStringLiteralLike(importOrExportDeclaration.moduleSpecifier) | ||
? TypeScriptInternals_1.TypeScriptInternals.getModeForUsageLocation(importOrExportDeclaration.getSourceFile(), importOrExportDeclaration.moduleSpecifier) | ||
: undefined; | ||
- const resolvedModule = TypeScriptInternals_1.TypeScriptInternals.getResolvedModule(importOrExportDeclaration.getSourceFile(), moduleSpecifier, mode); | ||
+ const resolvedModule = TypeScriptInternals_1.TypeScriptInternals.getResolvedModule(this._program, importOrExportDeclaration.getSourceFile(), moduleSpecifier, mode); | ||
if (resolvedModule === undefined) { | ||
// Encountered in https://github.com/microsoft/rushstack/issues/1914. | ||
// | ||
diff --git a/lib/analyzer/TypeScriptInternals.js b/lib/analyzer/TypeScriptInternals.js | ||
index ff13db7709ccf502fe202337869d4024431636c9..217c36b0303c3bf9871edabcd48fbf6e09f18561 100644 | ||
--- a/lib/analyzer/TypeScriptInternals.js | ||
+++ b/lib/analyzer/TypeScriptInternals.js | ||
@@ -84,10 +84,16 @@ class TypeScriptInternals { | ||
* Retrieves the (cached) module resolution information for a module name that was exported from a SourceFile. | ||
* The compiler populates this cache as part of analyzing the source file. | ||
*/ | ||
- static getResolvedModule(sourceFile, moduleNameText, mode) { | ||
+ static getResolvedModule(program, sourceFile, moduleNameText, mode) { | ||
// Compiler internal: | ||
- // https://github.com/microsoft/TypeScript/blob/v4.7.2/src/compiler/utilities.ts#L161 | ||
- return ts.getResolvedModule(sourceFile, moduleNameText, mode); | ||
+ // https://github.com/microsoft/TypeScript/blob/v5.3-beta/src/compiler/types.ts#L4678 | ||
+ const result = program.getResolvedModule( | ||
+ sourceFile, | ||
+ moduleNameText, | ||
+ mode | ||
+ ); | ||
+ return result?.resolvedModule; | ||
+ | ||
} | ||
/** | ||
* Gets the mode required for module resolution required with the addition of Node16/nodenext |
12 changes: 0 additions & 12 deletions
12
.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.