<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 7 déc. 2023 à 12:45, Yadd <<a href="mailto:yadd@debian.org">yadd@debian.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: eslint<br>
Version: 6.4.0~dfsg+~6.1.9-7<br>
Severity: important<br>
Tags: ftbfs upstream<br>
<br>
Hi,<br>
<br>
eslint depends on node-ajv 6 and is incompatible with node-ajv 8<br>
(available in exeprimental branch). All is in lib/shared/ajv.js:<br>
<br>
- eslint requires 'ajv/lib/refs/json-schema-draft-04.json' which is no<br>
more available<br>
- eslint tries to set `ajv._opts.defaultMeta` which is<br>
`ajv.opts.defaultMeta` in node-ajv 8.<br>
<br>
Changing "ajv/lib/refs/json-schema-draft-04.json" to<br>
"ajv/lib/refs/json-schema-draft-06.json" doesn't work. I tried this<br>
patch which looks to work but 27 tests fail (not the good error string).<br>
It uses default ajv schemas.<br>
<br>
Help needed here ;-)</blockquote><div><br></div><div>I suppose you tried</div><div><a href="https://github.com/eslint/eslint/pull/13911/commits">https://github.com/eslint/eslint/pull/13911/commits</a></div><div>?</div><div> </div></div></div>