Le mercredi 29 octobre 2025, 00:48:44 heure normale d’Europe centrale Jérémy Lal a écrit :
> Le mar. 28 oct. 2025 à 23:23, Bastien Roucaries <rouca@debian.org> a écrit :
>
> > Hi,
> >
> > I have improved https://salsa.debian.org/js-team/node-glob
> >
> > But I am not happy with result
> > https://salsa.debian.org/js-team/node-glob/-/pipelines/964670
> >
> > Do you have ideas how to fix ?
>
>
> The glob API has changed a lot - the major version bumps reflect the
> reality.
> - update packages to versions that support glob >= 10
> - sometimes it's not going to be easy and a patch is easier (e.g.
> node-glob-stream ? not even sure, as glob.stream() exists now, but upstream
> node-glob-stream rejects this and made their own version of it).
>
> Example:
> const glob = promisify(require('glob'))
> becomes
> const { glob } = require('glob')
> because the API switched to Promises, so promisify makes no sense now.
> Which is good in general, but bad for a smooth transition of glob.
I need a @types/glob stub in order to ease transition
a @types/ modules that redirect to glob that include glob/index.d.ts
I do something like this for another package and it will help at least two package to compiles
Did you remember where I have done the stub @types ?
I don't, and am not sure I understand.
Searching for @types/glob gives this list of packages:
If not could you add the stub @types.
Agreed with your analysis, it will be hard without arch:all transition
rouca