-
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.
Replace invalid import attributes assertion
When creating a module script, there is no guarantee yet that the module's dependencies only have valid import attribute keys. Instead of asserting that only `type` is used, this commit introduces proper validation throwing a SyntaxError.
- Loading branch information
1 parent
0593c91
commit dda740d
Showing
1 changed file
with
22 additions
and
0 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