diff -Nru node-klaw-3.0.0/debian/changelog node-klaw-3.0.0/debian/changelog --- node-klaw-3.0.0/debian/changelog 2020-01-22 16:49:38.000000000 +0000 +++ node-klaw-3.0.0/debian/changelog 2020-10-24 17:54:24.000000000 +0000 @@ -1,3 +1,19 @@ +node-klaw (3.0.0-4) unstable; urgency=medium + + * Team upload + * Back to unstable after successful tests + + -- Xavier Guimard Sat, 24 Oct 2020 19:54:24 +0200 + +node-klaw (3.0.0-3) experimental; urgency=medium + + * Team upload + * Bump debhelper compatibility level to 13 + * Use dh-sequence-nodejs + * Add fix for node-mkdirp ≥ 1 + + -- Xavier Guimard Fri, 23 Oct 2020 14:56:37 +0200 + node-klaw (3.0.0-2) unstable; urgency=medium * Team upload diff -Nru node-klaw-3.0.0/debian/control node-klaw-3.0.0/debian/control --- node-klaw-3.0.0/debian/control 2020-01-22 16:47:03.000000000 +0000 +++ node-klaw-3.0.0/debian/control 2020-10-23 12:58:32.000000000 +0000 @@ -4,12 +4,12 @@ Maintainer: Debian Javascript Maintainers Uploaders: Julien Puydt Build-Depends: - debhelper-compat (= 12) + debhelper-compat (= 13) , node-graceful-fs (>= 4.1.9) - , node-mkdirp + , node-mkdirp (>= 1) , node-rimraf , node-tape - , pkg-js-tools (>= 0.9.20~) + , dh-sequence-nodejs Standards-Version: 4.5.0 Testsuite: autopkgtest-pkg-nodejs Homepage: https://github.com/jprichardson/node-klaw#readme @@ -19,7 +19,8 @@ Package: node-klaw Architecture: all -Depends: ${misc:Depends}, nodejs, node-graceful-fs (>= 4.1.9) +Depends: ${misc:Depends} + , node-graceful-fs (>= 4.1.9) Description: File system walker for Node.js Returns a Readable stream that iterates through every file and directory starting with the given directory as root. diff -Nru node-klaw-3.0.0/debian/patches/fix-for-mkdirp-1.diff node-klaw-3.0.0/debian/patches/fix-for-mkdirp-1.diff --- node-klaw-3.0.0/debian/patches/fix-for-mkdirp-1.diff 1970-01-01 00:00:00.000000000 +0000 +++ node-klaw-3.0.0/debian/patches/fix-for-mkdirp-1.diff 2020-10-23 12:55:53.000000000 +0000 @@ -0,0 +1,28 @@ +Description: fix for mkdirp 1 +Author: Xavier Guimard +Forwarded: https://github.com/jprichardson/node-klaw/issues/40 +Last-Update: 2020-10-23 + +--- a/tests/_test.js ++++ b/tests/_test.js +@@ -10,17 +10,16 @@ + var testDir = path.join(os.tmpdir(), 'klaw-tests') + rimraf(testDir, function (err) { + if (err) return t.end(err) +- mkdirp(testDir, function (err) { +- if (err) return t.end(err) +- ++ mkdirp(testDir).then(() => { + var oldEnd = t.end + t.end = function () { + rimraf(testDir, function (err) { + err ? oldEnd.apply(t, [err]) : oldEnd.apply(t, arguments) + }) + } +- + testFn(t, testDir) ++ }).catch((err) => { ++ return t.end(err) + }) + }) + }) diff -Nru node-klaw-3.0.0/debian/patches/series node-klaw-3.0.0/debian/patches/series --- node-klaw-3.0.0/debian/patches/series 2020-01-22 16:45:30.000000000 +0000 +++ node-klaw-3.0.0/debian/patches/series 2020-10-23 12:53:32.000000000 +0000 @@ -1 +1,2 @@ fix-test-for-node-12.patch +fix-for-mkdirp-1.diff diff -Nru node-klaw-3.0.0/debian/rules node-klaw-3.0.0/debian/rules --- node-klaw-3.0.0/debian/rules 2020-01-22 16:38:58.000000000 +0000 +++ node-klaw-3.0.0/debian/rules 2020-10-23 12:49:42.000000000 +0000 @@ -1,4 +1,4 @@ #!/usr/bin/make -f %: - dh $@ --with nodejs + dh $@ diff -Nru node-klaw-3.0.0/debian/salsa-ci.yml node-klaw-3.0.0/debian/salsa-ci.yml --- node-klaw-3.0.0/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ node-klaw-3.0.0/debian/salsa-ci.yml 2020-10-23 12:49:45.000000000 +0000 @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml