Debian Patches
Status for node-glob/10.3.6+~cs0.4.15-9
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0006-fixup-fixup.patch | glob has weird assumptions about paths, fix them | Jérémy Lal <kapouer@melix.org> | not-needed | 2025-08-28 | ||
| 0004-Sort-test-case.patch | Sort test case order of files depend of filesystem |
Bastien Roucariès <rouca@debian.org> | not-needed | 2025-10-29 | ||
| 0005-Drop-flaky-test.patch | Drop flaky test | Bastien Roucariès <rouca@debian.org> | not-needed | 2025-12-01 | ||
| 0007-Use-named-mkdirp-import-for-mkdirp-3.x.patch | Use named mkdirp import for compatibility with mkdirp 3.x types mkdirp 3.x removed `export default mkdirp` from dist/mjs/index.d.ts. With moduleResolution=node + module=commonjs, TypeScript reads the root `types` field which still points to dist/mjs/index.d.ts. Without a default export there, `import mkdirp from 'mkdirp'` is treated as a namespace import and ts-node fails the test compilation with TS2349 (not callable). The runtime CJS wrapper still exposes a callable, but type-checking fails. The named export `mkdirp` is present in both 2.x and 3.x type definitions. |
Xavier Guimard <yadd@debian.org> | not-needed | 2026-01-05 | ||
| 0008-Mock-node-fs-aliases-for-path-scurry-2.x.patch | Mock node:fs and node:fs/promises aliases for path-scurry 2.x path-scurry 2.0.x switched from `require('fs')` and `require('fs/promises')` to `require('node:fs')` and `require('node:fs/promises')` for its `actualFS` reference and its async promises module. Without intercepting those aliases, `tap.mock` only mocks the bare 'fs' and 'fs/promises' module names, so path-scurry's `defaultFS.promises` falls back to the real `node:fs/promises`, and async glob calls (e.g. literal pattern '/x' that goes through lstat) miss the in-memory file. Add the aliases so the mock covers both forms. |
Xavier Guimard <yadd@debian.org> | not-needed | 2026-05-01 |
All known versions for source package 'node-glob'
- 13.0.6+~cs0.4.15-1 (experimental)
- 10.3.6+~cs0.4.15-9 (sid)
- 10.3.6+~cs0.4.15-8 (forky)
- 8.1.0+~cs8.5.15-1 (trixie)
- 8.0.3+~cs8.4.15-1 (bookworm)
