This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
[doctor] Specify schemer version to eliminate 'NOT SUPPORTED' warning #4687
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.
Why
After this latest publish of Doctor, pretty much everyone started seeing this warning:
![image](https://user-images.githubusercontent.com/8053974/232825788-58cf1d14-c4b4-4784-89bc-a0c21b88b29b.png)
It comes from
ajv
by way ofschemer
My guess is that this is due to some machine-specific difference in what version of schemer was used on publish, because the dependency wasn't specified in package.json. I'm guessing a bit because I can't tell from changelogs what versions of
ajv
would or would not cause this warning, and it's murky to me when I crawl through the NPX install folders exactly what version ofschemer
/ajv
is being used, other than that it is old/ wrong. But what I do know is that there's no warning in my local dev environment, where it's clearly using the latestschemer
withajv@8.x.x
.How
Added
schemer
with latest version to package.json.Test Plan
Ran doctor locally, no warning!