diff --git a/debian/nodejs/extcopies b/debian/nodejs/extcopies
new file mode 100644
index 0000000000000000000000000000000000000000..1273182fc1fddc0ccede38f8acdf1b1dbbdd95ac
--- /dev/null
+++ b/debian/nodejs/extcopies
@@ -0,0 +1 @@
+mdn-data
diff --git a/debian/patches/mdn-data.patch b/debian/patches/mdn-data.patch
new file mode 100644
index 0000000000000000000000000000000000000000..4a96b09c5c677cf1cf6ad4c8c7b46205301ca974
--- /dev/null
+++ b/debian/patches/mdn-data.patch
@@ -0,0 +1,55 @@
+Description: revert mdn-data changes
+Bug-Debian: https://bugs.debian.org/1005620
+Forwarded: https://github.com/csstree/csstree/issues/180
+Last-Update: 2022-02-16
+
+--- a/node_modules/mdn-data/css/at-rules.json	2022-02-16 17:08:07.551767079 +0100
++++ b/node_modules/mdn-data/css/at-rules.json	2022-02-16 17:08:56.796088895 +0100
+@@ -273,9 +273,8 @@
+     "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"
+   },
+   "@import": {
+-    "syntax": "@import [ <string> | <url> ]\n        [ layer | layer(<layer-name>) ]?\n        [ supports( [ <supports-condition> | <declaration> ] ) ]?\n        <media-query-list>? ;",
++    "syntax": "@import [ <string> | <url> ] [ <media-query-list> ]?;",
+     "groups": [
+-      "CSS Conditional Rules",
+       "Media Queries"
+     ],
+     "status": "standard",
+@@ -293,18 +292,6 @@
+     "status": "standard",
+     "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@keyframes"
+   },
+-  "@layer": {
+-    "syntax": "@layer [ <layer-name># | <layer-name>?  {\n  <stylesheet>\n} ]",
+-    "interfaces": [
+-      "CSSLayerBlockRule",
+-      "CSSLayerStatementRule"
+-    ],
+-    "groups": [
+-      "CSS Cascading and Inheritance"
+-    ],
+-    "status": "standard",
+-    "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@layer"
+-  },
+   "@media": {
+     "syntax": "@media <media-query-list> {\n  <group-rule-body>\n}",
+     "interfaces": [
+@@ -418,17 +405,6 @@
+     "status": "experimental",
+     "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property"
+   },
+-  "@scroll-timeline": {
+-    "syntax": "@scroll-timeline <timeline-name> { <declaration-list> }",
+-    "interfaces": [
+-      "ScrollTimeline"
+-    ],
+-    "groups": [
+-      "CSS Animations"
+-    ],
+-    "status": "standard",
+-    "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@scroll-timeline"
+-  },
+   "@supports": {
+     "syntax": "@supports <supports-condition> {\n  <group-rule-body>\n}",
+     "interfaces": [
diff --git a/debian/rules b/debian/rules
index 28991b16375d05a1b497b9b89c54271bfaca6c1b..898ca3c145558c7a920833e4eb1d9bdd5b4fe0ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,5 +4,6 @@
 	dh $@
 
 override_dh_auto_build:
+	patch -p1 <debian/patches/mdn-data.patch
 	node scripts/bundle
 	node scripts/esm-to-cjs.cjs
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
index 5671d8ed48b24876f34af3f8354b04bdff3d90a7..c09cbfc34bfeebb1647beb01d763ee763a3b2e42 100644
--- a/debian/source/lintian-overrides
+++ b/debian/source/lintian-overrides
@@ -1,3 +1,5 @@
+# Used during build
+patch-file-present-but-not-mentioned-in-series mdn-data.patch
 # False positives
 very-long-line-length-in-source-file CHANGELOG.md line *
 very-long-line-length-in-source-file data/patch.json line *