Debian Patches

Status for node-mkdirp/3.0.1+~cs5.2.1-2

Patch Description Author Forwarded Bugs Origin Last update
0001-mkdir-then-is-a-thin-wrapper.patch mkdir-then is a thin wrapper
mkdirp-then is the default behavior (return promise) since 1.0.0 of mkdirp
Bastien Roucariès <rouca@debian.org> not-needed 2024-08-14
0002-Patch-to-remove-env-for-bin.patch Patch to remove env for bin Bastien Roucariès <rouca@debian.org> not-needed 2024-08-14
0003-Use-modern-mkdirp-for-fs-mkdirp-stream.patch Use modern mkdirp for fs-mkdirp-stream Bastien Roucariès <rouca@debian.org> no 2024-08-15
0004-Port-to-rimraf-4.patch Port to rimraf@4 Bastien Roucariès <rouca@debian.org> not-needed 2025-12-21
0005-Restore-CJS-wrapper-for-back-compat.patch Restore CJS wrapper that makes require('mkdirp') callable Upstream mkdirp 2.x shipped a src/index-cjs.ts wrapper that did
`module.exports = Object.assign(mkdirp, { default: mkdirp, mkdirp })`,
so old consumers (mkdirp 1.x style) could still do
`var mkdirp = require('mkdirp'); mkdirp(path).then(...)`.
.
Upstream removed that wrapper in 3.x, breaking many reverse
dependencies in Debian (node-cpr, node-tar, node-tap, eslint, npm,
...) which still rely on the callable-default API.
.
This patch reinstates the wrapper, the corresponding tsconfig-esm
exclusion and the package.json entry points, exactly like 2.x.
Xavier Guimard <yadd@debian.org> not-needed 2026-04-29

All known versions for source package 'node-mkdirp'

Links