Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore(editor): remove @types/dompurify dependency (#9490)

Saul-Mironebae0cc349d38
diff --git a/blocksuite/affine/block-surface-ref/package.json b/blocksuite/affine/block-surface-ref/package.json
index ac61d59bae..30e5c0bc06 100644
--- a/blocksuite/affine/block-surface-ref/package.json
+++ b/blocksuite/affine/block-surface-ref/package.json
@@ -31,7 +31,6 @@
"zod": "^3.23.8"
},
"devDependencies": {
- "@types/dompurify": "^3.0.5",
"@types/lodash.chunk": "^4.2.9"
},
"exports": {
diff --git a/blocksuite/affine/block-surface/package.json b/blocksuite/affine/block-surface/package.json
index 1902d48349..cbdf09130e 100644
--- a/blocksuite/affine/block-surface/package.json
+++ b/blocksuite/affine/block-surface/package.json
@@ -30,7 +30,6 @@
"zod": "^3.23.8"
},
"devDependencies": {
- "@types/dompurify": "^3.0.5",
"@types/lodash.chunk": "^4.2.9"
},
"exports": {
diff --git a/blocksuite/blocks/package.json b/blocksuite/blocks/package.json
index 364424d937..c96ee78989 100644
--- a/blocksuite/blocks/package.json
+++ b/blocksuite/blocks/package.json
@@ -96,7 +96,6 @@
"schemas.js"
],
"devDependencies": {
- "@types/dompurify": "^3.0.5",
"@types/katex": "^0.16.7",
"@types/lodash.isequal": "^4.5.8"
}
diff --git a/yarn.lock b/yarn.lock
index 189b845c3e..d9a36aaf62 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3605,7 +3605,6 @@ __metadata:
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.3"
- "@types/dompurify": "npm:^3.0.5"
"@types/lodash.chunk": "npm:^4.2.9"
fractional-indexing: "npm:^3.2.0"
lit: "npm:^3.2.0"
@@ -3629,7 +3628,6 @@ __metadata:
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.3"
- "@types/dompurify": "npm:^3.0.5"
"@types/lodash.chunk": "npm:^4.2.9"
fractional-indexing: "npm:^3.2.0"
lit: "npm:^3.2.0"
@@ -3862,7 +3860,6 @@ __metadata:
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.1.3"
- "@types/dompurify": "npm:^3.0.5"
"@types/hast": "npm:^3.0.4"
"@types/katex": "npm:^0.16.7"
"@types/lodash.isequal": "npm:^4.5.8"
@@ -14228,15 +14225,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/dompurify@npm:^3.0.5":
- version: 3.0.5
- resolution: "@types/dompurify@npm:3.0.5"
- dependencies:
- "@types/trusted-types": "npm:*"
- checksum: 10/e544b3ce53c41215cabff3d89256ff707c7ee8e0c9a1b5034b22014725d288b16e6942cdcdeeb4221c578c3421a6a4721aa0676431f55d7abd18c07368855c5e
- languageName: node
- linkType: hard
-
"@types/eslint-scope@npm:^3.7.7":
version: 3.7.7
resolution: "@types/eslint-scope@npm:3.7.7"
@@ -14994,7 +14982,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/trusted-types@npm:*, @types/trusted-types@npm:^2.0.2, @types/trusted-types@npm:^2.0.7":
+"@types/trusted-types@npm:^2.0.2, @types/trusted-types@npm:^2.0.7":
version: 2.0.7
resolution: "@types/trusted-types@npm:2.0.7"
checksum: 10/8e4202766a65877efcf5d5a41b7dd458480b36195e580a3b1085ad21e948bc417d55d6f8af1fd2a7ad008015d4117d5fdfe432731157da3c68678487174e4ba3