Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(extract): adds more granularity to dependency types (#884)
## Description - adds detection of more fine grained dependency types. See the updated documentation in this PR for a complete list. ## Motivation and Context ... so it's possible to distinguish whether imports were done with require, triple slash directive (and if yes: with which _type_ of triple slash directive), import, type-import, import-equals, dynamic import, ...). Some of these were already possible with dedicated attributes like `dynamic` or `moduleSystems` but some weren't yet. For either case it'll make writing rules simpler as there's one spot where you can check them against. ## How Has This Been Tested? - [x] green ci - [x] updated automated non-regression tests ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Documentation only change - [ ] Refactor (non-breaking change which fixes an issue without changing functionality) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change)
- Loading branch information
Showing
90 changed files
with
806 additions
and
493 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
Large diffs are not rendered by default.
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
Oops, something went wrong.