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