strapi-plugin-comments 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{index-DV3FvCxv.js → index-B19IlxIY.js} +36 -36
- package/dist/_chunks/{index-5LPolIUr.js → index-B9qwk6Sf.js} +1 -1
- package/dist/_chunks/{index-BHaPiDDi.js → index-BLBuBesY.js} +1 -1
- package/dist/_chunks/{index-rxGUTZN1.mjs → index-Bos1nB7H.mjs} +5716 -5680
- package/dist/_chunks/{index-D1CAoT0G.mjs → index-BvWdv1a2.mjs} +1 -1
- package/dist/_chunks/{index-CaQhYHpU.js → index-CD-Ke6qY.js} +1 -1
- package/dist/_chunks/{index-DCg7dWuW.mjs → index-CrjZ1-we.mjs} +2 -2
- package/dist/_chunks/{index-Bu69cWq9.mjs → index-xIUKJDL-.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/hooks/useSanitizedHTML.d.ts +1 -0
- package/dist/server/index.js +16 -16
- package/dist/server/index.mjs +375 -328
- package/dist/server/src/index.d.ts +3 -0
- package/dist/server/src/services/admin/admin.service.d.ts +1 -0
- package/dist/server/src/services/client.service.d.ts +1 -0
- package/dist/server/src/services/common.service.d.ts +1 -0
- package/dist/server/src/services/index.d.ts +3 -0
- package/package.json +2 -4
- package/dist/assets/configuration.png +0 -0
- package/dist/assets/logo.png +0 -0
- package/dist/assets/marketplace.png +0 -0
- package/dist/assets/preview.png +0 -0
|
@@ -16093,6 +16093,7 @@ declare const _default: {
|
|
|
16093
16093
|
}[T_5], deepLimit?: number): Promise<boolean>;
|
|
16094
16094
|
checkBadWords(content: string): Promise<string>;
|
|
16095
16095
|
perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
|
|
16096
|
+
sanitizeCommentContent(content: string): string;
|
|
16096
16097
|
registerLifecycleHook(): void;
|
|
16097
16098
|
runLifecycleHook(): Promise<void>;
|
|
16098
16099
|
};
|
|
@@ -26064,6 +26065,7 @@ declare const _default: {
|
|
|
26064
26065
|
}[T_5], deepLimit?: number): Promise<boolean>;
|
|
26065
26066
|
checkBadWords(content: string): Promise<string>;
|
|
26066
26067
|
perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
|
|
26068
|
+
sanitizeCommentContent(content: string): string;
|
|
26067
26069
|
registerLifecycleHook(): void;
|
|
26068
26070
|
runLifecycleHook(): Promise<void>;
|
|
26069
26071
|
};
|
|
@@ -35024,6 +35026,7 @@ declare const _default: {
|
|
|
35024
35026
|
}[T_5], deepLimit?: number): Promise<boolean>;
|
|
35025
35027
|
checkBadWords(content: string): Promise<string>;
|
|
35026
35028
|
perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
|
|
35029
|
+
sanitizeCommentContent(content: string): string;
|
|
35027
35030
|
registerLifecycleHook(): void;
|
|
35028
35031
|
runLifecycleHook(): Promise<void>;
|
|
35029
35032
|
};
|
|
@@ -8243,6 +8243,7 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
8243
8243
|
}[T_2], deepLimit?: number): Promise<boolean>;
|
|
8244
8244
|
checkBadWords(content: string): Promise<string>;
|
|
8245
8245
|
perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
|
|
8246
|
+
sanitizeCommentContent(content: string): string;
|
|
8246
8247
|
registerLifecycleHook(): void;
|
|
8247
8248
|
runLifecycleHook(): Promise<void>;
|
|
8248
8249
|
};
|
|
@@ -8247,6 +8247,7 @@ export declare const clientService: ({ strapi }: StrapiContext) => {
|
|
|
8247
8247
|
}[T_2], deepLimit?: number): Promise<boolean>;
|
|
8248
8248
|
checkBadWords(content: string): Promise<string>;
|
|
8249
8249
|
perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
|
|
8250
|
+
sanitizeCommentContent(content: string): string;
|
|
8250
8251
|
registerLifecycleHook(): void;
|
|
8251
8252
|
runLifecycleHook(): Promise<void>;
|
|
8252
8253
|
};
|
|
@@ -836,6 +836,7 @@ declare const commonService: ({ strapi }: StrapiContext) => {
|
|
|
836
836
|
}[T_2], deepLimit?: number): Promise<boolean>;
|
|
837
837
|
checkBadWords(content: string): Promise<string>;
|
|
838
838
|
perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
|
|
839
|
+
sanitizeCommentContent(content: string): string;
|
|
839
840
|
registerLifecycleHook(): void;
|
|
840
841
|
runLifecycleHook(): Promise<void>;
|
|
841
842
|
};
|
|
@@ -8242,6 +8242,7 @@ declare const pluginServices: {
|
|
|
8242
8242
|
}[T_2], deepLimit?: number): Promise<boolean>;
|
|
8243
8243
|
checkBadWords(content: string): Promise<string>;
|
|
8244
8244
|
perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
|
|
8245
|
+
sanitizeCommentContent(content: string): string;
|
|
8245
8246
|
registerLifecycleHook(): void;
|
|
8246
8247
|
runLifecycleHook(): Promise<void>;
|
|
8247
8248
|
};
|
|
@@ -18213,6 +18214,7 @@ declare const pluginServices: {
|
|
|
18213
18214
|
}[T_2], deepLimit?: number): Promise<boolean>;
|
|
18214
18215
|
checkBadWords(content: string): Promise<string>;
|
|
18215
18216
|
perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
|
|
18217
|
+
sanitizeCommentContent(content: string): string;
|
|
18216
18218
|
registerLifecycleHook(): void;
|
|
18217
18219
|
runLifecycleHook(): Promise<void>;
|
|
18218
18220
|
};
|
|
@@ -27173,6 +27175,7 @@ declare const pluginServices: {
|
|
|
27173
27175
|
}[T_2], deepLimit?: number): Promise<boolean>;
|
|
27174
27176
|
checkBadWords(content: string): Promise<string>;
|
|
27175
27177
|
perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
|
|
27178
|
+
sanitizeCommentContent(content: string): string;
|
|
27176
27179
|
registerLifecycleHook(): void;
|
|
27177
27180
|
runLifecycleHook(): Promise<void>;
|
|
27178
27181
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "strapi-plugin-comments",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Strapi - Comments plugin",
|
|
5
5
|
"strapi": {
|
|
6
6
|
"name": "comments",
|
|
@@ -55,9 +55,6 @@
|
|
|
55
55
|
"codemirror5": "npm:codemirror@^5.65.11",
|
|
56
56
|
"match-sorter": "^6.3.4",
|
|
57
57
|
"no-profanity": "^1.5.1",
|
|
58
|
-
"react": "^18.3.1",
|
|
59
|
-
"react-dom": "^18.3.1",
|
|
60
|
-
"react-router-dom": "^6.22.3",
|
|
61
58
|
"sanitize-html": "^2.13.1",
|
|
62
59
|
"styled-components": "6.1.8",
|
|
63
60
|
"zod": "^3.23.8",
|
|
@@ -84,6 +81,7 @@
|
|
|
84
81
|
"jest-styled-components": "^7.1.1",
|
|
85
82
|
"react": "^18.3.1",
|
|
86
83
|
"react-dom": "^18.3.1",
|
|
84
|
+
"react-router-dom": "^6.22.3",
|
|
87
85
|
"ts-jest": "^29.1.4",
|
|
88
86
|
"ts-node": "^10.9.1",
|
|
89
87
|
"typescript": "^5.6.2"
|
|
Binary file
|
package/dist/assets/logo.png
DELETED
|
Binary file
|
|
Binary file
|
package/dist/assets/preview.png
DELETED
|
Binary file
|