<?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[mssql and ES Modules on jsreportonline]]></title><description><![CDATA[<p>I assume jsreportonline is still limited to CommonJS (<code>require()</code>) and doesn't support ESM (<code>import</code>)?</p>
<p>I've been using <code>mssql@11</code> for the past couple of years without any issues, but it looks like two of its dependencies, <code>tedious</code> and <code>uuid</code>, have moved to ESM-only, which ended up breaking things. I had to downgrade to a much older version of <code>mssql</code> to get things working again.</p>
<p>I came across <a href="https://forum.jsreport.net/topic/3500/import-esm-module-to-sandbox">this thread</a> mentioning that ESM support was potentially planned for June 2026. Is that still on the roadmap, and if so, is there an updated timeline for when it might be available?</p>
]]></description><link>https://forum.jsreport.net/topic/3548/mssql-and-es-modules-on-jsreportonline</link><generator>RSS for Node</generator><lastBuildDate>Fri, 20 Nov 2026 21:08:43 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/3548.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Nov 2026 00:48:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to mssql and ES Modules on jsreportonline on Invalid Date]]></title><description><![CDATA[<p>I assume jsreportonline is still limited to CommonJS (<code>require()</code>) and doesn't support ESM (<code>import</code>)?</p>
<p>I've been using <code>mssql@11</code> for the past couple of years without any issues, but it looks like two of its dependencies, <code>tedious</code> and <code>uuid</code>, have moved to ESM-only, which ended up breaking things. I had to downgrade to a much older version of <code>mssql</code> to get things working again.</p>
<p>I came across <a href="https://forum.jsreport.net/topic/3500/import-esm-module-to-sandbox">this thread</a> mentioning that ESM support was potentially planned for June 2026. Is that still on the roadmap, and if so, is there an updated timeline for when it might be available?</p>
]]></description><link>https://forum.jsreport.net/post/14977</link><guid isPermaLink="true">https://forum.jsreport.net/post/14977</guid><dc:creator><![CDATA[chriscrowley]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to mssql and ES Modules on jsreportonline on Invalid Date]]></title><description><![CDATA[<p>Yes, we have noticed the same issue with mssql last week, and you have found the same solution as us.<br />
The other workaround was to publish to npm a mssql fork with downgraded dependencies.</p>
<p>The jsreport support for the ESM modules in scripts/helpers depends on the nodejs support in the VM module.<br />
There are some updates in nodejs we want to check just as our next current task. Likely next week.<br />
We will update here <a href="https://github.com/jsreport/jsreport/issues/937" rel="nofollow">https://github.com/jsreport/jsreport/issues/937</a></p>
<p>We understand this is becoming critical as more packages are limiting CommonJS support.</p>
]]></description><link>https://forum.jsreport.net/post/14979</link><guid isPermaLink="true">https://forum.jsreport.net/post/14979</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>