INNER CODE UNIT · JavaScript

nextRelease

parse-community/Parse-SDK-Flutter · scripts/check-version-support.js:75

    const nextRelease = releases[i + 1];

    const releaseDate = new Date(release.releaseDate);
    const eolDate = nextRelease ? calculateEOL(nextRelease.releaseDate) : null;

    const daysUntilEOL = eolDate ? Math.floor((eolDate - today) / (1000 * 60 * 60 * 24)) : null;

    let status = 'supported';
    let warning = null;

    if (eolDate) {
      if (today >= eolDate) {
        status = 'expired';
        warning = `Support expired on ${formatHumanDate(eolDate)}`;
      } else if (daysUntilEOL <= 30) {
        status = 'expiring-soon';
        warning = `Support expires in ${daysUntilEOL} days`;
      } else if (daysUntilEOL <= 60) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…