Source: modernizr Severity: normal Tags: patch Dear Maintainer,
It seems I cannot create merge requests on salsa, so I send the patch by email as bugreport. This is especially usefull for the class ".hidden" This is also breaking the packages that currently use modernizr without prefix See: https://github.com/Modernizr/Modernizr/issues/1703 Regards -- System Information: Debian Release: 12.9 APT prefers stable-updates APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991, 'stable'), (990, 'proposed-updates'), (390, 'oldstable-security'), (390, 'oldstable'), (389, 'oldstable-updates'), (380, 'oldoldstable'), (379, 'oldoldstable-updates'), (370, 'oldoldstable'), (95, 'testing'), (94, 'unstable'), (93, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-31-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr:en_US Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
>From f110cb779d47b52259fc638be9461c1a5a33e395 Mon Sep 17 00:00:00 2001 From: Fab Stz <fabstz...@yahoo.fr> Date: Wed, 12 Feb 2025 09:40:20 +0100 Subject: [PATCH] add patch to define classPrefix to 'mzr-' This is especially usefull for the class ".hidden" This is also breaking the packages that currently use modernizr without prefix See: https://github.com/Modernizr/Modernizr/issues/1703 --- debian/patches/series | 1 + debian/patches/set_classPrefix.patch | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 debian/patches/set_classPrefix.patch diff --git a/debian/patches/series b/debian/patches/series index 63f9dc4..3ce6154 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ use_local_file_npm.patch +set_classPrefix.patch diff --git a/debian/patches/set_classPrefix.patch b/debian/patches/set_classPrefix.patch new file mode 100644 index 0000000..6c0bfe6 --- /dev/null +++ b/debian/patches/set_classPrefix.patch @@ -0,0 +1,16 @@ +Description: set classPrefix + This is especially usefull for the class ".hidden" + This is also breaking the packages that currently use modernizr without prefix + See: https://github.com/Modernizr/Modernizr/issues/1703 +Author: Fab Stz <fabstz...@yahoo.fr> +Last-Update: 2025-02-12 + +--- a/lib/config-all.json ++++ b/lib/config-all.json +@@ -1,5 +1,5 @@ + { +- "classPrefix": "", ++ "classPrefix": "mzr-", + "enableClasses": true, + "enableJSClass": true, + "scriptGlobalName": "window", -- 2.39.5
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel