<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Incorrect published date handling breaks min-release-age for npm feeds]]></title><description><![CDATA[<p dir="auto">Due to a recent vulnerability reported in Axios (<a href="https://github.com/axios/axios/issues/10604" rel="nofollow">https://github.com/axios/axios/issues/10604</a><br />
), I configured the npm setting:</p>
<p dir="auto">min-release-age=3</p>
<p dir="auto">When using ProGet as the npm registry, I encountered an issue where packages that were actually published several days ago are treated as if they were published just moments ago.</p>
<p dir="auto">Steps to reproduce:</p>
<p dir="auto">Configure npm with:</p>
<p dir="auto">min-release-age=3<br />
Use ProGet as the npm registry with connector to public npm registry with cache package enabled.</p>
<p dir="auto">Attempt to install a package that was published more than 3 days ago, e.g.:</p>
<p dir="auto">npm install --save vite-plugin-svgr@5.2.0</p>
<p dir="auto">Observed behavior:</p>
<p dir="auto">The installation fails with:</p>
<p dir="auto">npm ERR! code ETARGET<br />
npm ERR! notarget No matching version found for vite-plugin-svgr@5.2.0 with a date before &lt;date/time according to min-release-age&gt;.</p>
<p dir="auto">Running:</p>
<p dir="auto">npm view vite-plugin-svgr</p>
<p dir="auto">shows that ProGet reports:</p>
<p dir="auto">published XX minutes ago</p>
<p dir="auto">Additionally, in the ProGet UI, the published date matches the cache date, which appears to be incorrect.</p>
<p dir="auto">Actual package information:<br />
The package vite-plugin-svgr@5.2.0 was published to the public npm registry approximately 7 days ago.</p>
<p dir="auto">Problem:</p>
<p dir="auto">ProGet seems to overwrite or ignore the original published timestamp from the upstream npm registry and instead uses the cache/import timestamp.</p>
<p dir="auto">This behavior breaks compatibility with npm’s min-release-age security feature, making it ineffective when ProGet is used as a proxy.</p>
<p dir="auto">Expected behavior:</p>
<p dir="auto">ProGet should preserve the original published date from the upstream npm registry.<br />
The cache/import date must not replace or be treated as the package publish date.</p>
<p dir="auto">Impact:</p>
<p dir="auto">This issue makes it impossible to reliably enforce security policies such as min-release-age, which are critical for mitigating risks from newly published (and potentially malicious) packages.</p>
]]></description><link>https://forums.inedo.com/topic/5719/incorrect-published-date-handling-breaks-min-release-age-for-npm-feeds</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 03:47:40 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5719.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Apr 2026 10:14:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Incorrect published date handling breaks min-release-age for npm feeds on Thu, 09 Apr 2026 10:14:08 GMT]]></title><description><![CDATA[<p dir="auto">Due to a recent vulnerability reported in Axios (<a href="https://github.com/axios/axios/issues/10604" rel="nofollow">https://github.com/axios/axios/issues/10604</a><br />
), I configured the npm setting:</p>
<p dir="auto">min-release-age=3</p>
<p dir="auto">When using ProGet as the npm registry, I encountered an issue where packages that were actually published several days ago are treated as if they were published just moments ago.</p>
<p dir="auto">Steps to reproduce:</p>
<p dir="auto">Configure npm with:</p>
<p dir="auto">min-release-age=3<br />
Use ProGet as the npm registry with connector to public npm registry with cache package enabled.</p>
<p dir="auto">Attempt to install a package that was published more than 3 days ago, e.g.:</p>
<p dir="auto">npm install --save vite-plugin-svgr@5.2.0</p>
<p dir="auto">Observed behavior:</p>
<p dir="auto">The installation fails with:</p>
<p dir="auto">npm ERR! code ETARGET<br />
npm ERR! notarget No matching version found for vite-plugin-svgr@5.2.0 with a date before &lt;date/time according to min-release-age&gt;.</p>
<p dir="auto">Running:</p>
<p dir="auto">npm view vite-plugin-svgr</p>
<p dir="auto">shows that ProGet reports:</p>
<p dir="auto">published XX minutes ago</p>
<p dir="auto">Additionally, in the ProGet UI, the published date matches the cache date, which appears to be incorrect.</p>
<p dir="auto">Actual package information:<br />
The package vite-plugin-svgr@5.2.0 was published to the public npm registry approximately 7 days ago.</p>
<p dir="auto">Problem:</p>
<p dir="auto">ProGet seems to overwrite or ignore the original published timestamp from the upstream npm registry and instead uses the cache/import timestamp.</p>
<p dir="auto">This behavior breaks compatibility with npm’s min-release-age security feature, making it ineffective when ProGet is used as a proxy.</p>
<p dir="auto">Expected behavior:</p>
<p dir="auto">ProGet should preserve the original published date from the upstream npm registry.<br />
The cache/import date must not replace or be treated as the package publish date.</p>
<p dir="auto">Impact:</p>
<p dir="auto">This issue makes it impossible to reliably enforce security policies such as min-release-age, which are critical for mitigating risks from newly published (and potentially malicious) packages.</p>
]]></description><link>https://forums.inedo.com/post/19533</link><guid isPermaLink="true">https://forums.inedo.com/post/19533</guid><dc:creator><![CDATA[aleksander.szczepanek_3253]]></dc:creator><pubDate>Thu, 09 Apr 2026 10:14:08 GMT</pubDate></item><item><title><![CDATA[Reply to Incorrect published date handling breaks min-release-age for npm feeds on Thu, 09 Apr 2026 12:53:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.inedo.com/uid/3896">@aleksander-szczepanek_3253</a> ,</p>
<p dir="auto">If you navigate to Admin &gt; Advanced Settings and check "Use Connector Publish Date", then this will behave as you expect. Note that you will need to delete already-cached packages.</p>
<p dir="auto">This will be default behavior in ProGet 2026+</p>
<p dir="auto">Cheers,<br />
Alana</p>
]]></description><link>https://forums.inedo.com/post/19535</link><guid isPermaLink="true">https://forums.inedo.com/post/19535</guid><dc:creator><![CDATA[atripp]]></dc:creator><pubDate>Thu, 09 Apr 2026 12:53:06 GMT</pubDate></item></channel></rss>