<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello Yadd,</div><div><br></div><div>I've dropped the chalk component.</div><div><br></div><div>However, I noticed that when I ran node -p require('chalk') in the package folder without the chalk component I got this chalk object</div><div><br></div><div>[Function: chalk] createChalk { level: 2 }<br></div><div><br></div><div>And when I ran node -p require('chalk') in the package folder with the chalk component I got this chalk object</div><div><br></div><div>[Function (anonymous)] Chalk {</div><div>    constructor: [Function (anonymous)],</div><div>    Instance: [class ChalkClass],</div><div>    supportsColor: { level: 2, hasBasic: true, has256: true, has16m: false },</div><div>    stderr: [Function (anonymous)] Chalk {</div><div>        constructor: [Function(anonymous)],</div><div>        Instance: [class ChalkClass],</div><div>        supportsColor: { level: 2, hasBasic: true, has256: true, has16m: false }</div><div>    }</div><div>}</div><div><br></div><div>Both requires don't return the same chalk object.</div><div><br></div><div>And there are files in the package that use properties from the chalk object returned with the chalk component. An example is in src/instances.ts</div><div><br></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, sans-serif"><span class="gmail-pl-k" style="box-sizing:border-box;white-space:pre">const</span><span style="white-space:pre"> </span><span class="gmail-pl-s1" style="box-sizing:border-box;white-space:pre">colors</span><span style="white-space:pre"> </span><span class="gmail-pl-c1" style="box-sizing:border-box;white-space:pre">=</span><span style="white-space:pre"> </span><span class="gmail-pl-k" style="box-sizing:border-box;white-space:pre">new</span><span style="white-space:pre"> </span><span class="gmail-pl-s1" style="box-sizing:border-box;white-space:pre">chalk</span><span class="gmail-pl-kos" style="box-sizing:border-box;white-space:pre">.</span><span class="gmail-pl-c1" style="box-sizing:border-box;white-space:pre">Instance</span><span class="gmail-pl-kos" style="box-sizing:border-box;white-space:pre">(</span><span class="gmail-pl-kos" style="box-sizing:border-box;white-space:pre">{</span><span style="white-space:pre"> level </span><span class="gmail-pl-kos" style="box-sizing:border-box;white-space:pre">}</span><span class="gmail-pl-kos" style="box-sizing:border-box;white-space:pre">)</span><span class="gmail-pl-kos" style="box-sizing:border-box;white-space:pre">;</span></font></span><br></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, sans-serif"><span class="gmail-pl-kos" style="box-sizing:border-box;white-space:pre"><br></span></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, sans-serif"><span class="gmail-pl-kos" style="box-sizing:border-box;white-space:pre">Instance is only a property </span></font></span>in the chalk object when we use the chalk component. It will be unavailable if we choose to exclude the chalk component.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 18 Nov 2022 at 08:39, Yadd <<a href="mailto:yadd@debian.org">yadd@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/11/2022 20:47, Israel Galadima wrote:<br>
> Hello Debian JavaScript Team,<br>
> <br>
> I'm writing this email to request for sponsorship for a new package I <br>
> have worked on.<br>
> Here are the details of the package:<br>
> <br>
> Package Name: node-ts-loader<br>
> Package Version: 9.4.1<br>
> Debian Version: 9.4.1+~cs4.1.0<br>
> Package Repo: <a href="https://salsa.debian.org/izzygala/node-ts-loader" rel="noreferrer" target="_blank">https://salsa.debian.org/izzygala/node-ts-loader</a> <br>
> <<a href="https://salsa.debian.org/izzygala/node-ts-loader" rel="noreferrer" target="_blank">https://salsa.debian.org/izzygala/node-ts-loader</a>><br>
> <br>
> I have built this package successfully using sbuild and it passes all <br>
> lintian tests except for a privacy-breach-generic warning caused by an <br>
> external link in an example html file installed through dh_installexamples.<br>
> <br>
> I have disabled tests for the package for the following reasons:<br>
> - It runs a comparison test against pre-built files generated on a <br>
> platform other than Debian. The generated files I am getting on Debian <br>
> look similar to but are not the same as the pre-built files. Thus, these <br>
> comparison tests fail<br>
> - It runs an execution test using packages unavailable in Debian e.g. karma<br>
> <br>
> Notwithstanding, I hope this package can get sponsored. It is a <br>
> dependency of the yarn-apt plugin created during the last Outreachy <br>
> round. Thank you for your time.<br>
<br>
Hi,<br>
<br>
please drop chalk component: typescript definitions in <br>
debian/build_modules are enough here<br>
</blockquote></div></div></div></div></div></div></div></div></div>