[Pkg-javascript-commits] [Git][js-team/node-rimraf][master] Port to glob8

Bastien Roucariès (@rouca) gitlab at salsa.debian.org
Sun Nov 2 16:55:49 GMT 2025



Bastien Roucariès pushed to branch master at Debian JavaScript Maintainers / node-rimraf


Commits:
435e9452 by Bastien Roucariès at 2025-11-02T17:55:14+01:00
Port to glob8

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/0003-Port-to-glob-8.patch
- debian/patches/2001_rename_nodejs.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+node-rimraf (3.0.2-4) unstable; urgency=medium
+
+  * Team upload
+  * Port to glob at 8
+
+ -- Bastien Roucariès <rouca at debian.org>  Sun, 02 Nov 2025 17:54:27 +0100
+
 node-rimraf (3.0.2-3) unstable; urgency=medium
 
   * Team upload


=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.deb
 Uploaders: Jérémy Lal <kapouer at melix.org>
 Build-Depends: debhelper-compat (= 13)
  , dh-sequence-nodejs
- , node-glob <!nocheck>
+ , node-glob (>= 8.0.0~) <!nocheck>
  , node-mkdirp <!nocheck>
  , node-tap <!nocheck>
 Standards-Version: 4.7.2
@@ -17,7 +17,7 @@ Testsuite: autopkgtest-pkg-nodejs
 Package: node-rimraf
 Architecture: all
 Depends: ${misc:Depends}
- , node-glob
+ , node-glob (>= 8.0.0~)
  , nodejs:any
 Recommends: node-graceful-fs
 Provides: ${nodejs:Provides}


=====================================
debian/patches/0003-Port-to-glob-8.patch
=====================================
@@ -0,0 +1,36 @@
+From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca at debian.org>
+Date: Sun, 2 Nov 2025 17:53:30 +0100
+Subject: Port to glob at 8
+
+forwarded: not-needed
+---
+ package.json | 2 +-
+ rimraf.js    | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/package.json b/package.json
+index 1bf8d5e..da84d70 100644
+--- a/package.json
++++ b/package.json
+@@ -14,7 +14,7 @@
+   },
+   "bin": "./bin.js",
+   "dependencies": {
+-    "glob": "^7.1.3"
++    "glob": ">=8.0.0"
+   },
+   "files": [
+     "LICENSE",
+diff --git a/rimraf.js b/rimraf.js
+index 34da417..b39676d 100644
+--- a/rimraf.js
++++ b/rimraf.js
+@@ -110,7 +110,7 @@ const rimraf = (p, options, cb) => {
+     if (!er)
+       return afterGlob(null, [p])
+ 
+-    glob(p, options.glob, afterGlob)
++    glob(p, options.glob).then(files => afterGlob(null, files)).catch(err => afterGlob(err, null));
+   })
+ 
+ }


=====================================
debian/patches/2001_rename_nodejs.patch
=====================================
@@ -1,9 +1,16 @@
-Description: Fix path to nodejs binary on Debian systems
-Author: Jérémy Lal <kapouer at melix.org>
+From: =?utf-8?b?SsOpcsOpbXkgTGFs?= <kapouer at melix.org>
+Date: Sun, 2 Nov 2025 17:51:07 +0100
+Subject: Fix path to nodejs binary on Debian systems
+
 Forwarded: not-needed
 Reviewed-By: Xavier Guimard <yadd at debian.org>
 Last-Update: 2020-03-09
+---
+ bin.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
+diff --git a/bin.js b/bin.js
+index 023814c..6cc29bf 100755
 --- a/bin.js
 +++ b/bin.js
 @@ -1,4 +1,4 @@


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 2001_rename_nodejs.patch
 0002-Remove-glob-test-that-may-fail-with-newer-version.patch
+0003-Port-to-glob-8.patch



View it on GitLab: https://salsa.debian.org/js-team/node-rimraf/-/commit/435e945284a1774365fb1503c4b06e08f1748e60

-- 
View it on GitLab: https://salsa.debian.org/js-team/node-rimraf/-/commit/435e945284a1774365fb1503c4b06e08f1748e60
You're receiving this email because of your account on salsa.debian.org.


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


More information about the Pkg-javascript-commits mailing list