File: typescript-5.0-compatibility.patch

package info (click to toggle)
node-cheerio 1.0.0~rc~12%2B~cs2.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,892 kB
  • sloc: makefile: 7; xml: 1
file content (22 lines) | stat: -rw-r--r-- 704 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: typescript 5.0 compatibility
 https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#--verbatimmodulesyntax
 this patch will stop working from typescript 5.5
Author: Ananthu C V <weepingclown@debian.org>
Forwarded: not-needed
Last-Update: 2025-08-25
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -28,3 +28,4 @@
     "moduleResolution": "node",
-    "resolveJsonModule": true
+    "resolveJsonModule": true,
+    "ignoreDeprecations": "5.0"
   },
--- a/cheerio-select/tsconfig.json
+++ b/cheerio-select/tsconfig.json
@@ -29,3 +29,4 @@
         "moduleResolution": "node",
-        "resolveJsonModule": true
+        "resolveJsonModule": true,
+	"ignoreDeprecations": "5.0"
     },