-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Further Enhancements to the Module System #1428
Closed
Closed
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
16ba5ad
Update configuration files
leeyi45 c1a51dd
Add async module loading code and tests
leeyi45 f8e3311
Add general utils
leeyi45 40b1eb3
Add helper types
leeyi45 d639512
Move preprocessor to modules folder
leeyi45 6d81ad4
Relocate ast creator to new utils folder
leeyi45 8acfd79
Add AST utils and relocate walkers
leeyi45 b00153e
Clean version of async-imports3
leeyi45 a1f47f4
Ran format
leeyi45 ef8d903
Update error tests
leeyi45 150e94e
Ran format
leeyi45 509be3b
Update snapshot
leeyi45 d565099
Remove unnecessary code
leeyi45 92d7b48
Clean up ec-evaluator implementation for imports
leeyi45 d493ffa
Fix accumulate working in the wrong direction
leeyi45 3ba38ef
Ran format
leeyi45 813cceb
Update list test to take initial argument into account
leeyi45 2a2ac1f
Add missing tests
leeyi45 ba1cc1b
Ran format
leeyi45 532a944
Ran format
leeyi45 fbbb690
Add tests for length()
leeyi45 24ec58b
Merge commit '8618e26e47595bdeb609857d7d3265cde09beb37' into async-im…
leeyi45 43481bb
Ensure that moduleLoaderAsync properly handles fetch type errors
leeyi45 9ed1e54
Fix broken error handling
leeyi45 0380f5e
Add test to ensure that TypeErrors thrown by fetch are caught
leeyi45 d67af01
Fix fetch not timing out when modules server is unreachable
leeyi45 bc6a53f
Ran format
leeyi45 fb49b56
fix(deps): update all non-major dependencies
renovate[bot] bd4b132
Merge from master
leeyi45 1e05b13
Update @types/node
leeyi45 d1e5800
Ran format
leeyi45 937bae9
Update stepper
leeyi45 d330c39
Move module mocking to individual tests
leeyi45 d06a2ca
Refactor ast utils
leeyi45 f66472d
Fix broken path
leeyi45 157cd3b
Add no rexport declaration rule
leeyi45 545f558
fix(deps): update all non-major dependencies
renovate[bot] fd901b9
Add no reexport declaration rule
leeyi45 8553c76
Ensure reexport rule is not enforced for FullJS
leeyi45 f4fc2e2
Update code to use type guards
leeyi45 2b7eb11
Ran format
leeyi45 cdbac82
Revert node types change temporarily
leeyi45 a3d9c4d
Merge commit '545f558853f44e377aca8822074ea1730f42921e' into async-im…
leeyi45 59dbf48
Ran format
leeyi45 dfb5882
Update stepper and tests for async
leeyi45 0dc35cc
Add tests for ArrayMap
leeyi45 5f8f68e
Fix broken tests
leeyi45 f264219
Update code to use ArrayMap
leeyi45 b05f072
Update node types
leeyi45 a8f3951
Update node types
leeyi45 657ab8c
Remove global mocks entirely
leeyi45 9913230
Fix tests not working with wrap-ansi
leeyi45 288af5d
Ran format
leeyi45 703da37
Merge branch 'master' into async-imports-clean
martin-henz 1d75fa2
Merge branch 'master' into async-imports-clean
martin-henz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"presets": ["es2015", "stage-2"] | ||
"presets": ["@babel/preset-env"] | ||
} |
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ node_modules | |
dist/ | ||
.idea/ | ||
coverage/ | ||
yarn-error.log | ||
|
||
# emacs backup files | ||
*~ | ||
|
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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump
@types/node
(dev dep) to20.4.4
to solve CI error?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my system, updating
@types/node
produces this error when runningyarn test
: