We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c811fbf commit 0942198Copy full SHA for 0942198
lua/mason/health.lua
@@ -228,9 +228,10 @@ local function check_languages()
228
version_check = function(version)
229
-- Parses output such as "8.1.2" into major, minor, patch components
230
local _, _, major = version:find "(%d+)%.(%d+)%.(%d+)"
231
- -- Based off of general observations of feature parity
232
- if tonumber(major) < 6 then
233
- return "npm version must be >= 6"
+ -- Based off of general observations of feature parity.
+ -- In npm v7, peerDependencies are now automatically installed.
+ if tonumber(major) < 7 then
234
+ return "npm version must be >= 7"
235
end
236
end,
237
},
0 commit comments