Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package node-superagent [ Reason ] node-superagent fails to rebuild because it checks if node-caniuse-lite is the latest available version (#991656). [ Impact ] FTBFS [ Tests ] Test passed (both build & autopkgtest) [ Risks ] No risk. Patch only avoid checking for last node-caniuse-lite/node-caniuse-db [ Checklist ] [X] all changes are documented in the d/changelog [X] I reviewed all changes and I approve them [X] attach debdiff against the package in testing Cheers, Yadd unblock node-superagent/6.1.0-4
diff --git a/debian/changelog b/debian/changelog index c548473..9195095 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +node-superagent (6.1.0-4) unstable; urgency=medium + + [ Yadd ] + * Fix GitHub tags regex + * Uploaders: replace Leo Iannacone by myself, thanks for your work! + + [ Pirate Praveen ] + * Drop browsers option in .lib.babelrc file (Closes: #991656) + + -- Yadd <y...@debian.org> Thu, 29 Jul 2021 22:01:16 +0200 + node-superagent (6.1.0-3) unstable; urgency=medium * Team upload diff --git a/debian/control b/debian/control index 032f1c5..9f6ccd3 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: javascript Testsuite: autopkgtest-pkg-nodejs Priority: optional Maintainer: Debian Javascript Maintainers <pkg-javascript-de...@lists.alioth.debian.org> -Uploaders: Leo Iannacone <l...@ubuntu.com> +Uploaders: Yadd <y...@debian.org> Build-Depends: debhelper-compat (= 13) , dh-sequence-nodejs , node-babel7 diff --git a/debian/copyright b/debian/copyright index ac0162e..b6cf45a 100644 --- a/debian/copyright +++ b/debian/copyright @@ -22,7 +22,7 @@ License: Expat Files: debian/* Copyright: 2014 Leo Iannacone <l...@ubuntu.com> - 2019, Xavier Guimard <y...@debian.org> + 2019, Yadd <y...@debian.org> License: Expat Files: debian/tests/test_modules/append-field/* diff --git a/debian/patches/remove-browsers-option-in-babelrc.patch b/debian/patches/remove-browsers-option-in-babelrc.patch new file mode 100644 index 0000000..abed9ee --- /dev/null +++ b/debian/patches/remove-browsers-option-in-babelrc.patch @@ -0,0 +1,23 @@ +Description: Drop targets option to force .browserslistrc file +Author: Pirate Praveen <prav...@debian.org> +Bug-Debian: https://bugs.debian.org/991656 +Forwarded: not-needed +Reviewed-By: Yadd <y...@debian.org> +Last-update: 2021-07-29 + +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991656 + +--- a/.lib.babelrc ++++ b/.lib.babelrc +@@ -1,11 +1,3 @@ + { +- "presets": [ +- ["@babel/env", { +- "targets": { +- "node": "6.4.0", +- "browsers": [ "> 1%", "last 2 versions", "ie 9" ] +- } +- }] +- ], + "sourceMaps": "inline" + } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..afa1432 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +remove-browsers-option-in-babelrc.patch diff --git a/debian/watch b/debian/watch index 24bcf2b..07e16a3 100644 --- a/debian/watch +++ b/debian/watch @@ -2,7 +2,7 @@ version=4 opts=\ dversionmangle=auto,\ filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-superagent-$1.tar.gz/ \ - https://github.com/visionmedia/superagent/tags .*/archive/v?([\d\.]+).tar.gz + https://github.com/visionmedia/superagent/tags .*/archive/.*/v?([\d\.]+).tar.gz # It is not recommended use npmregistry. Please investigate more. # Take a look at https://wiki.debian.org/debian/watch/