We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd23858 commit 094681fCopy full SHA for 094681f
scripts/syncDeps.js
@@ -24,7 +24,7 @@ const getRemoteVersion = async (pkg) => {
24
}
25
let res
26
try {
27
- res = await request(`http://registry.npmjs.org/${pkg}/latest`)
+ res = await request(`http://registry.npmjs.org/${pkg}/latest`, { json: true })
28
} catch (e) {
29
return
30
0 commit comments