[Pkg-javascript-commits] [Git][js-team/node-mutate-fs][master] 7 commits: Declare compliance with policy 4.7.4

Yadd (@yadd) gitlab at salsa.debian.org
Mon Jun 22 14:20:59 BST 2026



Yadd pushed to branch master at Debian JavaScript Maintainers / node-mutate-fs


Commits:
573ae186 by Xavier Guimard at 2026-06-22T00:46:45+02:00
Declare compliance with policy 4.7.4

- - - - -
0eb2f920 by Xavier Guimard at 2026-06-22T00:46:45+02:00
Drop "Rules-Requires-Root: no"

- - - - -
f0d7b896 by Xavier Guimard at 2026-06-22T00:46:45+02:00
Drop "Priority: optional"

- - - - -
1ac6be2f by Xavier Guimard at 2026-06-22T00:46:51+02:00
debian/watch version 5

- - - - -
8530475e by Xavier Guimard at 2026-06-22T00:46:51+02:00
Optimize debian/watch

Gbp-Dch: ignore

- - - - -
bcda3f4a by Xavier Guimard at 2026-06-22T10:32:13+02:00
Adapt to tap 21

* Link tap into node_modules (debian/nodejs/extlinks)
* Disable coverage in the test run
* Port removed tap assertions (is/isa/isNot/isDeeply)

- - - - -
c78c0ecb by Xavier Guimard at 2026-06-22T10:38:13+02:00
releasing package node-mutate-fs version 2.1.1-3

- - - - -


7 changed files:

- debian/changelog
- debian/control
- + debian/nodejs/extlinks
- + debian/patches/series
- + debian/patches/tap21-asserts.patch
- debian/tests/pkg-js/test
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+node-mutate-fs (2.1.1-3) unstable; urgency=medium
+
+  * Team upload
+  * Declare compliance with policy 4.7.4
+  * Drop "Rules-Requires-Root: no"
+  * Drop "Priority: optional"
+  * debian/watch version 5
+  * Adapt to tap 21
+
+ -- Xavier Guimard <yadd at debian.org>  Mon, 22 Jun 2026 10:38:13 +0200
+
 node-mutate-fs (2.1.1-2) unstable; urgency=medium
 
   * Team upload


=====================================
debian/control
=====================================
@@ -1,17 +1,15 @@
 Source: node-mutate-fs
 Section: javascript
-Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Akhil Varkey <akhilvarkey at disroot.org>
 Build-Depends: debhelper-compat (= 13)
  , dh-sequence-nodejs
  , node-tap
-Standards-Version: 4.6.0
+Standards-Version: 4.7.4
 Vcs-Browser: https://salsa.debian.org/js-team/node-mutate-fs
 Vcs-Git: https://salsa.debian.org/js-team/node-mutate-fs.git
 Homepage: https://github.com/isaacs/mutate-fs
 Testsuite: autopkgtest-pkg-nodejs
-Rules-Requires-Root: no
 
 Package: node-mutate-fs
 Architecture: all


=====================================
debian/nodejs/extlinks
=====================================
@@ -0,0 +1 @@
+tap


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+tap21-asserts.patch


=====================================
debian/patches/tap21-asserts.patch
=====================================
@@ -0,0 +1,152 @@
+Description: port removed t.tearDown() to t.teardown() for tap 21
+Author: Xavier Guimard <yadd at debian.org>
+Forwarded: not-needed
+Last-Update: 2026-06-22
+--- a/test/basic.js
++++ b/test/basic.js
+@@ -4,16 +4,16 @@
+ const mutateFS = require('../')
+ 
+ t.test('zenoRead', t => {
+-  t.tearDown(mutateFS.zenoRead())
++  t.teardown(mutateFS.zenoRead())
+   const fd = fs.openSync(__filename, 'r')
+   const size = fs.fstatSync(fd).size
+   const buf = Buffer.alloc(size)
+   fs.read(fd, buf, 0, size, 0, (er, bytesRead) => {
+     if (er)
+       throw er
+-    t.notEqual(bytesRead, size)
++    t.not(bytesRead, size)
+     bytesRead = fs.readSync(fd, buf, 0, size, 0)
+-    t.notEqual(bytesRead, size)
++    t.not(bytesRead, size)
+     fs.closeSync(fd)
+ 
+     // don't try to split 1 byte though
+@@ -29,14 +29,14 @@
+ })
+ 
+ t.test('zenoRead, defaults', t => {
+-  t.tearDown(mutateFS.zenoRead())
++  t.teardown(mutateFS.zenoRead())
+   const fd = fs.openSync(__filename, 'r')
+   const size = fs.fstatSync(fd).size
+   const buf = Buffer.alloc(size)
+   fs.read(fd, buf, 0, size, null, (er, bytesRead) => {
+-    t.notEqual(bytesRead, size)
++    t.not(bytesRead, size)
+     bytesRead = fs.readSync(fd, buf, 0, size, null)
+-    t.notEqual(bytesRead, size)
++    t.not(bytesRead, size)
+     fs.closeSync(fd)
+ 
+     // don't try to split 1 byte though
+@@ -52,7 +52,7 @@
+ })
+ 
+ t.test('pass', t => {
+-  t.tearDown(mutateFS.pass('stat', 'hello'))
++  t.teardown(mutateFS.pass('stat', 'hello'))
+   t.equal(fs.statSync('nope'), 'hello')
+   t.throws(_ => fs.lstatSync('nope'))
+   fs.stat('nope', (er, data) => {
+@@ -62,7 +62,7 @@
+ })
+ 
+ t.test('fail', t => {
+-  t.tearDown(mutateFS.fail('open', new Error('not open')))
++  t.teardown(mutateFS.fail('open', new Error('not open')))
+   t.throws(_ => fs.openSync(__filename, 'r'), {
+     message: 'not open',
+     callstack: /Error: trace/
+@@ -77,7 +77,7 @@
+ t.test('mutate in place', t => {
+   t.plan(2)
+   t.test('failure', t => {
+-    t.tearDown(mutateFS.mutate('readlink', (er, linkpath) => {
++    t.teardown(mutateFS.mutate('readlink', (er, linkpath) => {
+       t.match(er, { message: /EINVAL: invalid argument, readlink/ })
+       er.testMutate = true
+     }))
+@@ -91,7 +91,7 @@
+   })
+ 
+   t.test('success', t => {
+-    t.tearDown(mutateFS.mutate('stat', (er, stat) => {
++    t.teardown(mutateFS.mutate('stat', (er, stat) => {
+       if (stat)
+         stat.testMutate = true
+     }))
+@@ -108,7 +108,7 @@
+ t.test('mutate return', t => {
+   t.plan(4)
+   t.test('failure', t => {
+-    t.tearDown(mutateFS.mutate('readlink', (er, linkpath) => {
++    t.teardown(mutateFS.mutate('readlink', (er, linkpath) => {
+       t.match(er, { message: /EINVAL: invalid argument, readlink/ })
+       er.testMutate = true
+       return [er, linkpath]
+@@ -123,7 +123,7 @@
+   })
+ 
+   t.test('success', t => {
+-    t.tearDown(mutateFS.mutate('stat', (er, stat) => {
++    t.teardown(mutateFS.mutate('stat', (er, stat) => {
+       if (stat)
+         stat.testMutate = true
+       return [er, stat]
+@@ -138,7 +138,7 @@
+   })
+ 
+   t.test('success -> failure', t => {
+-    t.tearDown(mutateFS.mutate('stat', (er, stat) => {
++    t.teardown(mutateFS.mutate('stat', (er, stat) => {
+       er = new Error('asdf')
+       return [er]
+     }))
+@@ -150,7 +150,7 @@
+   })
+ 
+   t.test('failure -> success', t => {
+-    t.tearDown(mutateFS.mutate('readlink', (er, linkpath) => {
++    t.teardown(mutateFS.mutate('readlink', (er, linkpath) => {
+       t.match(er, { message: /EINVAL: invalid argument, readlink/ })
+       return [null, 'linktarget']
+     }))
+@@ -166,7 +166,7 @@
+ })
+ 
+ t.test('statfail', t => {
+-  t.tearDown(mutateFS.statFail(new Error('oof')))
++  t.teardown(mutateFS.statFail(new Error('oof')))
+ 
+   t.throws(_ => fs.lstatSync(__filename), new Error('oof'))
+   fs.fstat(fs.openSync(__filename, 'r'), er => {
+@@ -176,7 +176,7 @@
+ })
+ 
+ t.test('stat mutate', t => {
+-  t.tearDown(mutateFS.statMutate(_ => [null, 'this is fine']))
++  t.teardown(mutateFS.statMutate(_ => [null, 'this is fine']))
+ 
+   t.equal(fs.lstatSync(__filename), 'this is fine')
+   fs.fstat(99999, (er, data) => {
+@@ -198,7 +198,7 @@
+   t.plan(types.length + 1)
+   t.throws(_ => mutateFS.statType('wtf'), new Error('invalid type: wtf'))
+   types.forEach(type => t.test(type, t => {
+-    t.tearDown(mutateFS.statType(type))
++    t.teardown(mutateFS.statType(type))
+     t.throws(_ => fs.statSync('does not exist'))
+     t.ok(fs.statSync(__filename)['is' + type]())
+     const fd = fs.openSync(__filename, 'r')
+@@ -220,7 +220,7 @@
+   const stat = fs.statSync(__filename)
+   const resetStat = mutateFS.pass('stat', stat)
+   const resetDelay = mutateFS.delay('stat', 100)
+-  t.tearDown(_ => (resetStat(), resetDelay()))
++  t.teardown(_ => (resetStat(), resetDelay()))
+ 
+   const before = Date.now()
+   t.equal(fs.statSync('whatever'), stat)


=====================================
debian/tests/pkg-js/test
=====================================
@@ -1 +1 @@
-tap test/*.js --100
+tap --disable-coverage test/*.js


=====================================
debian/watch
=====================================
@@ -1,5 +1,5 @@
-version=4
-opts=\
-dversionmangle=auto,\
-filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-mutate-fs-$1/ \
- https://github.com/isaacs/mutate-fs/tags .*/archive/.*/v?([\d\.]+).tar.gz
+Version: 5
+
+Template: Github
+Owner: isaacs
+Project: mutate-fs



View it on GitLab: https://salsa.debian.org/js-team/node-mutate-fs/-/compare/afe53f7c724d7953867964d868acb262d980229a...c78c0ecb91bbd70a1d18fbe7f0e76968b30dd497

-- 
View it on GitLab: https://salsa.debian.org/js-team/node-mutate-fs/-/compare/afe53f7c724d7953867964d868acb262d980229a...c78c0ecb91bbd70a1d18fbe7f0e76968b30dd497
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-commits/attachments/20260622/01e04275/attachment-0001.htm>


More information about the Pkg-javascript-commits mailing list