Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Published timestamp resets after pulling remote npm packages

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 18 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      d.kimmich_0782
      last edited by

      I'm using ProGet with caching from the npm registry. When a package is not yet pulled to the ProGet instance, the Published timestamp correlates with the publish date in the npm registry, which is correct:

      af2c773f-084b-4c86-a68d-23eee6e6593f-image.png

      However, after pulling the package, the Published timestamp is reset to the date of the pull operation:

      03e7e70b-d256-4299-87a3-9e3dac4e2fc6-image.png

      I would have expected the Published date to correlate with the publish date in the upstream npm registry. This is a problem for me, because I am using pnpm with the minimumReleaseAge option which requires the Published timestamp to be accurate.

      dean-houstonD 1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer @d.kimmich_0782
        last edited by

        Hi @d-kimmich_0782 ,

        This behavior is by design; the "publish date" in ProGet 2025 and earlier is whenever a package is added to a feed. This means that, even if a package was published to NuGet.org 3 years ago, the "publish date" will be whenever it was first cached.

        However, in ProGet 2025.14 and later, you can change this behavior under "Admin > Advanced Settings > Use Connector Publish Date". This will be the default behavior in ProGet 2026.

        This is being done for a similar set of rules you should investigate, which we call Recently Published & Aged Rules :
        https://docs.inedo.com/docs/proget/sca/policies#recently-published-aged-rules-proget-2026-preview

        -- Dean

        D 1 Reply Last reply Reply Quote 1
        • D Offline
          d.kimmich_0782 @dean-houston
          last edited by

          @dean-houston said in Published timestamp resets after pulling remote npm packages:

          "Admin > Advanced Settings > Use Connector Publish Date"

          Thanks a lot for your fast reply, changing that setting works like a charm. 👍

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation