-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: AsyncWriter
-
None
-
2
-
Iteration Reno
-
Not Needed
When mongosh starts it looks for browserlist in the open workspace. To reproduce you can open a node js project folder/workspace and edit the package.json and add something like:
"browserslist": [ "Node 14.18" ],
Or add a .browserslistrc file with similar. Then start mongosh. Although it may make sense to show an error when the browserlist is invalid if we're integrating with the code in the current folder, it does mean that this check may fail if the browserslist version in mongosh isn't up to date enough to have the version specified in the browserslist. I think we probably want to fix that.
This was brought up through the VSCode extension, when we run playgrounds.
Reported on github: https://github.com/mongodb-js/vscode/issues/375
- is depended on by
-
VSCODE-315 Extension picks up browserslist node s version from workspace
- Closed
- is duplicated by
-
MONGOSH-1102 Browserlist warning while running mongosh
- Closed