We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a7f1b2 commit 4fc28deCopy full SHA for 4fc28de
npm-app/release-staging/index.js
@@ -96,10 +96,13 @@ async function getLatestVersion() {
96
`https://registry.npmjs.org/${packageName}/latest`,
97
)
98
99
+ console.log('asdf', { code: res.statusCode })
100
if (res.statusCode !== 200) return null
101
102
const body = await streamToString(res)
103
+ console.log('asdf body', body)
104
const packageData = JSON.parse(body)
105
+ console.log('asdf packageData', JSON.stringify(packageData, null, 2))
106
107
return packageData.version || null
108
} catch (error) {
0 commit comments