'- [X] I verified that the issue exists in Next.js canary release'
)
if(!h||c){
if(!w||h){
awaitnotifyOnIssue(
t,
'Please verify your issue reproduces with `next@canary`. The canary version of Next.js ships daily and includes all features and fixes that have not been released to the stable version yet. Think of canary as a public beta. Some issues may already be fixed in the canary version, so please verify that your issue reproduces by running `npm install next@canary`. If the issue does not reproduce with the canary version, then it has already been fixed and this issue can be closed.'
)
returna.info(
`Commented on issue, because it was ${
c?'manually labeled':'not verified against canary'
h?'manually labeled':'not verified against canary'
}`
)
}
constg=n
const_=m
.match(/### Link to reproduction\n\n(?<url>.*)\n/)
?.groups?.url.trim()
if(!g||!(awaitfetch(g)).ok){
if(!_||!(awaitfetch(_)).ok){
awaitnotifyOnIssue(
s,
'The link to the reproduction appears to be incorrect/unreachable. Please add a link to the reproduction of the issue. This is a required field. If your project is private, you can invite @balazsorban44 to the repository so the Next.js team can investigate further.'
)
returna.info(
`Commented on issue, because the reproduction url (${g}) was not reachable`
`Commented on issue, because the reproduction url (${_}) was not reachable`
)
}
constw=[
constT=[
'Operating System:',
'Binaries:',
'Relevant packages:',
].every((e)=>n.includes(e))
if(!w){
].every((e)=>m.includes(e))
if(!T){
returna.info(
'Could not detect `next info` output, skipping as version detection might be unreliable'
a.info(`Last Next.js version, based on GitHub releases: ${b}`)
if(b.includes('canary')&&E!==b){
awaitnotifyOnIssue(
t,
`The reported Next.js version did not match the latest \`next@canary\` version (${T}). The canary version of Next.js ships daily and includes all features and fixes that have not been released to the stable version yet. Think of canary as a public beta. Some issues may already be fixed in the canary version, so please verify that your issue reproduces by running \`npm install next@canary\`. If the issue does not reproduce with the canary version, then it has already been fixed and this issue can be closed.`
`The reported Next.js version did not match the latest \`next@canary\` version (${b}). The canary version of Next.js ships daily and includes all features and fixes that have not been released to the stable version yet. Think of canary as a public beta. Some issues may already be fixed in the canary version, so please verify that your issue reproduces by running \`npm install next@canary\`. If the issue does not reproduce with the canary version, then it has already been fixed and this issue can be closed.`
)
returna.info(
`Commented on issue, because it was not verified against canary`