[Pkg-javascript-commits] [Git][js-team/node-marked][master] FIx plugin
Bastien Roucariès (@rouca)
gitlab at salsa.debian.org
Fri Jun 12 16:11:57 BST 2026
Bastien Roucariès pushed to branch master at Debian JavaScript Maintainers / node-marked
Commits:
6b4e3805 by Bastien Roucariès at 2026-06-12T17:11:45+02:00
FIx plugin
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/0007-Build-marked-extension-for-marked.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,8 +1,12 @@
-node-marked (4.3.0+ds1+~cs10.2.23-1) UNRELEASED; urgency=medium
+node-marked (4.3.0+ds1+~cs10.2.23-1) unstable; urgency=medium
+ [ Xavier Guimard ]
* Don't mix group and checksum into debian/watch and repack
- -- Xavier Guimard <yadd at debian.org> Fri, 12 Jun 2026 14:53:07 +0200
+ [ Bastien Roucariès ]
+ * Fix plugin FTBFS for jupyterlab
+
+ -- Bastien Roucariès <rouca at debian.org> Fri, 12 Jun 2026 17:11:36 +0200
node-marked (4.3.0+ds1+~4.0.8+~3.1.2+~cs3.1.13-1) unstable; urgency=medium
=====================================
debian/patches/0007-Build-marked-extension-for-marked.patch
=====================================
@@ -0,0 +1,36 @@
+From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca at debian.org>
+Date: Fri, 12 Jun 2026 17:06:33 +0200
+Subject: Build marked extension for marked
+
+better compatibility
+
+forwarded: not-needed
+---
+ marked-gfm-heading-id/src/index.d.ts | 4 +++-
+ marked-mangle/src/index.d.ts | 2 +-
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/marked-gfm-heading-id/src/index.d.ts b/marked-gfm-heading-id/src/index.d.ts
+index 4ea422a..3f50527 100644
+--- a/marked-gfm-heading-id/src/index.d.ts
++++ b/marked-gfm-heading-id/src/index.d.ts
+@@ -1,4 +1,6 @@
+-import type {MarkedExtension, marked} from 'marked';
++import type {marked} from 'marked';
++
++type MarkedExtension = Parameters<typeof marked.use>[0];
+
+ /** Options for configuring marked-gfm-heading-id extension */
+ interface GfmHeadingIdOptions {
+diff --git a/marked-mangle/src/index.d.ts b/marked-mangle/src/index.d.ts
+index c8b9916..a813740 100644
+--- a/marked-mangle/src/index.d.ts
++++ b/marked-mangle/src/index.d.ts
+@@ -1,6 +1,6 @@
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars
+ import type { marked } from 'marked';
+-import type { MarkedExtension } from 'marked';
++type MarkedExtension = Parameters<typeof marked.use>[0];
+
+ /**
+ * Mangle email address
=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ slow_tests.patch
0004-Fix-build-of-github-slugger.patch
0005-Do-not-rollup-cjs.patch
0006-do-not-rollup-everything.patch
+0007-Build-marked-extension-for-marked.patch
View it on GitLab: https://salsa.debian.org/js-team/node-marked/-/commit/6b4e380513ee5fd17b76165a8cf513ea4fdc2c9b
--
View it on GitLab: https://salsa.debian.org/js-team/node-marked/-/commit/6b4e380513ee5fd17b76165a8cf513ea4fdc2c9b
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/20260612/13859e4c/attachment-0001.htm>
More information about the Pkg-javascript-commits
mailing list