-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: restrict addon name to valid programming variable name
Previously, any non-empty string could be used as the addon name. To enable the non injection-based addon registration mechanism in the future, the addon name is now restricted to a valid programming variable name. The regular expression is `^[A-Za-z_][A-Za-z0-9_]*$`. BREAKING CHANGE: The addon name must comply with the regular expression mentioned above.
- Loading branch information
Showing
2 changed files
with
7 additions
and
30 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