This repository has been archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
feat: expose the api version in the results #1460
Merged
Merged
Conversation
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
⏱ Benchmark resultsComparing with 418a420 largeDepsEsbuild: 2.9s⬇️ 4.54% decrease vs. 418a420
Legend
largeDepsNft: 9.4s⬇️ 1.34% decrease vs. 418a420
Legend
largeDepsZisi: 18.1s⬇️ 3.15% decrease vs. 418a420
Legend
|
danez
commented
Jun 12, 2023
|
||
Which exact runtime this function should be using. (e.g. `nodejs18.x`). This value is detected based on the input | ||
`nodeVersion`. | ||
|
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.
These are the only two actual changes in this file, the rest is formatting from prettier.
runtimeVersion
was introduced in #1367, but never documented
danez
commented
Jun 12, 2023
schedule: inSourceConfig?.schedule ?? config.schedule, | ||
generator: config.generator, |
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.
sorting + runtimeAPIVersion
added :)
Skn0tt
approved these changes
Jun 13, 2023
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.
Looks good, especially the broad test coverage! Left a small comment.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Expose the property
runtimeAPIVersion
in the result of zip* and list* methodsThis property has multiple meanings:
undefined
: we do not know, because we did not check/parse the file or there was a parsing error2
: we detected version 21
: not detected version 2undefined
: something went wrong, parsing error etc.2
: we detected version 21
: not detected version 2The diff is best viewed with whitespace diffing off :D