<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">Le mar. 1 janv. 2019 à 19:41, Mattia Rizzolo <<a href="mailto:mattia@debian.org">mattia@debian.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Jan 01, 2019 at 06:48:00PM +0100, Jérémy Lal wrote:<br>
> > No the problem is that I have at least 20 package in my ddpo to fix<br>
> <br>
> Would there be a way for nodejs to know it's running in a test environment<br>
> and not print deprecation warnings there ?<br>
> If so we should tell it to nodejs maintainer :)<br>
<br>
That sounds like an odd thought to me: one would usually *want*<br>
deprecation warnings in testing enviroments, exactly so they can<br>
automatically catch such deprecation before it's too late and need to<br>
rush on them.<br>
<br>
<br>
I don't know this particular error, but if Jeremy claims it's easy to<br>
fix, surely fixing 20odds is doable?<br>
Hiding or ignoring all deprecation warnings sounds not really<br>
future-proof.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yes it ils preferable but it will block transition to testing.</div><div dir="auto"><br></div><div dir="auto">Better between release will be to revert to behavior of node v8 maybe.</div><div dir="auto"><br></div><div dir="auto">Or mass fix by using Buffer = require('safe-buffer').Buffer</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-- <br>
regards,<br>
                        Mattia Rizzolo<br>
<br>
GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.<br>
more about me:  <a href="https://mapreri.org" rel="noreferrer noreferrer" target="_blank">https://mapreri.org</a>                             : :'  :<br>
Launchpad user: <a href="https://launchpad.net/~mapreri" rel="noreferrer noreferrer" target="_blank">https://launchpad.net/~mapreri</a>                  `. `'`<br>
Debian QA page: <a href="https://qa.debian.org/developer.php?login=mattia" rel="noreferrer noreferrer" target="_blank">https://qa.debian.org/developer.php?login=mattia</a>  `-<br>
-- <br>
Pkg-javascript-devel mailing list<br>
<a href="mailto:Pkg-javascript-devel@alioth-lists.debian.net" target="_blank" rel="noreferrer">Pkg-javascript-devel@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel</a></blockquote></div></div></div>