Bug#1004244: [Pkg-javascript-devel] Bug#1004244: eslint: Please update at least to version ≥ 7

2022-05-02 Thread Jonas Smedegaard
Mainly waiting for eslint-plugin-jsdoc getting packaged for Debian.  See 
https://salsa.debian.org/js-team/eslint/-/blob/debian/latest/debian/TODO 
For more details.

Quoting Jérémy Lal (2022-05-02 10:06:06)
> - v8-compile-cache, one of the missing deps, is in NEW.

That sounds good, as it will provide a runtime speed boost, but it is 
already patched away (patch 2001 in current packaging) so not blocking 
upgrade to eslint v7.


> - @humanwhocodes/config-array should be bundled, it's barely useful 
>   outside eslint
> - @eslint/eslintrc should be bundled: "It is ESLint-specific and not 
>   intended for use in other programs."

I will consider embedding: Have updated debian/TODO.

> - node-cross-spawn is useless and can be patched away by nodejs spawn

Already patched away (patch 2005 in current packaging) so not blocking 
upgrade to eslint v7.


> - node-json-stable-stringify-without-jsonify can be patched to use 
>   node-json-stable-stringify, i guess

Already patched away (patch 2008 in current packaging) so not blocking 
upgrade to eslint v7.

Main blocker is none of those mentioned above, however, but packaging 
eslint-plugin-jsdoc that I consider too big for embedding and am 
(slowly) preparing an independent package of.  Added that detail also as 
initial paragraph of this post, for use as status message for the 
bugreport.

Thanks for your investigations,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1004244: eslint: Please update at least to version ≥ 7

2022-05-02 Thread Jérémy Lal
Source: eslint
Followup-For: Bug #1004244

About eslint 8 dependencies:
- v8-compile-cache, one of the missing deps, is in NEW.
- @humanwhocodes/config-array should be bundled, it's barely useful outside 
eslint
- @eslint/eslintrc should be bundled: "It is ESLint-specific and not intended 
for use in other programs."
- node-cross-spawn is useless and can be patched away by nodejs spawn
- node-json-stable-stringify-without-jsonify can be patched to use 
node-json-stable-stringify, i guess

So it looks good !

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled