Skip to content

npmjs package version not aligned with GitHub repository sources and tags #4394

Closed

Description

@vtintillier

To reproduce:

N/A

Current behavior:

Expected behavior:

  • If there is a 4.5.1 version on npmjs, there is also a 4.5.1 release in GitHub
  • If there is a 4.5.1 version on npmjs, there is also a commit where the version is changed to 4.5.1 in GitHub
  • If there is a 4.5.1 version on npmjs, there is also a 4.5.0 release first

We have no way of checking if it is safe to upgrade from 4.4.2 to 4.5.1 for now. Was it published from local changes on someone local machine?

Environment information:

N/A

Activity

  1. dosubot commented on Dec 15, 2025

    @dosubot

    Hi @vtintillier! I'm Dosu and I’m helping the less.js team.

    There is a confirmed misalignment between the npmjs 4.5.1 package and the Less.js GitHub repository. The latest official release in the repository is 4.4.2, with no evidence of a 4.5.0 or 4.5.1 release or tag. While the codebase briefly had a 4.5.1 version (as seen in recent PRs), it was replaced by a 5.0.0-alpha.1 version without any official release or changelog entry for 4.5.0 or 4.5.1. The automated publishing workflow was recently introduced, but there’s no indication that it completed the tagging and release process for 4.5.1, which means the npm package may have been published from a local or uncommitted state rather than a traceable, tagged commit in GitHub (source, source, source, source).

    No documentation, changelog, or existing issues address this version misalignment, and there are no reports of security or stability concerns for 4.5.1. However, since the published npm version does not correspond to a tagged release or documented changes in the repository, upgrading from 4.4.2 to 4.5.1 cannot be considered safe or authentic until the repository and release process are aligned.

    To reply, just mention @dosu.


    Docs are dead. Just use Dosu.

    Leave Feedback Ask Dosu about less.js Share Dosu with your team

  2. lpukatch commented on Dec 15, 2025

    @lpukatch

    Seems to be a side effect of the workflow from 6e81606 failing

  3. DLLluoluo commented on Dec 17, 2025

    @DLLluoluo

    Another important issue is that [email protected] failed to run in node.js version 14.

    The old project we are maintaining uses version 14 of Node.js, which works fine in versions prior to [email protected] but fails in [email protected]. This is a serious problem. All third-party libraries that depend on [email protected] will fail to run in node.js version 14.

    For more details, please visit #4395

    Image
  4. vtintillier commented on Jan 5, 2026

    @vtintillier
    Author

    Hello @matthew-dean and @puckowski
    Could you please clarify if 4.5.1 is ok to use or if it is some kind of alpha level release?
    Would be nice to at least acknowledge the issue by maybe creating a GitHub release manually?
    Thanks

  5. puckowski commented on Jan 6, 2026

    @puckowski
    Contributor

    I did not review the latest auto-deploy changes, but as far as I can see:

    4.5.0 was meant to be deployed with new auto deploy changes but ran into issues.
    4.5.1 was the first successful deploy using the new auto deploy changes.

    I've run some basic checks on the npm version 4.5.1 and that Less version seems to be working as expected so far, but I need more time to review the npm release and the latest auto-deploy code/configuration.

    I've manually put together the last few GitHub releases. I hope I can find some time this weekend to put together a GitHub release for 4.5.1. Maybe GitHub releases will also be auto-deployed in the future.

  6. puckowski commented on Jan 6, 2026

    @puckowski
    Contributor

    I'll try to assess Node 14 support sometime this week.

  7. puckowski commented on Jan 11, 2026

    @puckowski
    Contributor

    I put together GitHub release v4.5.1 manually, similar to recent other GitHub releases (https://github.com/less/less.js/releases/tag/v4.5.1). In the future GitHub releases may be auto-deployed.

    CI only tests Node LTS - 3 so Node 14 issues with 4.5.1 may go unresolved unless the team specifically decides to broaden Node LTS support. But I need more time to investigate.

  8. carlosamaciel commented on Mar 4, 2026

    @carlosamaciel

    Hello,

    We have incorporated the latest version in our product, but found this discrepancy and were hoping to verify if:

    1. There was an actionable item such as to rectify the version number in a future release or patch.
    2. A confirmation that this release is stable enough to be used in production environments.

    Thanks!

  9. vtintillier commented on Mar 16, 2026

    @vtintillier
    Author

    Hello @puckowski

    we have the same issue again, this time with version 4.6.4, can we reopen this issue? Or do you want a new one?

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions