-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
chore: Merge supported and backport properties #177
Conversation
@@ -3441,7 +3441,7 @@ new RuleTester({ languageOptions: { sourceType: "module" } }).run( | |||
data: { | |||
name: "module.builtinModules", | |||
supported: | |||
"9.3.0 (backported: ^6.13.0, ^8.10.0)", | |||
"9.3.0 (backported: ^8.10.0, ^6.13.0)", |
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.
This will now always be sorted highest -> lowest for everything!
@@ -16,604 +16,604 @@ const trackMap = { | |||
globals: { | |||
// Core js builtins | |||
AggregateError: { | |||
[READ]: { supported: "15.0.0" }, | |||
[READ]: { supported: ["15.0.0"] }, |
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.
There is only one supported version in this entire file, dispite that I converted them all to a range!
doesNotReject: { [READ]: { supported: "10.0.0" } }, | ||
notDeepStrictEqual: { [READ]: { supported: "4.0.0" } }, | ||
rejects: { [READ]: { supported: "10.0.0" } }, | ||
[READ]: { supported: ["9.9.0", "8.13.0"] }, |
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.
This is just a little simpler to generate :)
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.
LGTM, hopefully it will help us to automate this information.
Here I am aiming to improve the generating of the
node:
module definitions. I have done this by normalising the properties toexperimental
,supported
,deprecated
.