strapi-plugin-comments 3.2.5 → 3.2.6

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.
@@ -2,4 +2,4 @@
2
2
  & > * {
3
3
  width: 100%;
4
4
  }
5
- `;const h="strapi-plugin-comments",b="3.2.5",q={name:"comments",displayName:"Comments"},P=576,$=({width:e=24,height:t=24})=>o.jsx("svg",{viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg",height:`${t}px`,children:o.jsx("g",{style:{transform:`scale(${e/P})`},fill:"currentColor",children:o.jsx("path",{d:"M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z"})})}),f=o.jsx($,{}),j=()=>f,r={render:e=>`plugin::comments.${e}`,comments:{read:"comments-read",moderate:"comments-moderate"},reports:{read:"reports-read",review:"reports-review"},settings:{read:"settings-read",change:"settings-change"}},c={access:[{action:r.render(r.comments.read),subject:null},{action:r.render(r.reports.read),subject:null},{action:r.render(r.settings.read),subject:null}],moderate:[{action:r.render(r.comments.moderate),subject:null}],reports:[{action:r.render(r.reports.read),subject:null}],reportsReview:[{action:r.render(r.reports.review),subject:null}],settings:[{action:r.render(r.settings.read),subject:null}],settingsChange:[{action:r.render(r.settings.change),subject:null}]},s=h.replace(/^strapi-plugin-/i,""),m={en:()=>Promise.resolve().then(()=>require("./en-CTX-vxI-.js")),fr:()=>Promise.resolve().then(()=>require("./fr-CJZ1I0cO.js")),"pt-BR":()=>Promise.resolve().then(()=>require("./pt-BR-DV48_kX8.js")),tr:()=>Promise.resolve().then(()=>require("./tr-BMe1cFKp.js")),ru:()=>Promise.resolve().then(()=>require("./ru-BK78F2Vt.js")),"zh-Hans":()=>Promise.resolve().then(()=>require("./zh-Hans-xMRxrXVG.js")),pl:()=>Promise.resolve().then(()=>require("./pl-clljrMvo.js"))},{name:d,displayName:g}=q,w={register(e){e.registerPlugin({id:d,name:d,injectionZones:{reports:{tableHeaderSource:[],tableRowSource:[]},reviews:{tableHeaderSource:[],tableRowSource:[]},pages:{aiEvaluations:[]},sideNav:{aiEvaluations:[],mobileAiEvaluations:[]}}}),e.addMenuLink({to:`/plugins/${s}`,badgeContent:1,icon:j,intlLabel:{id:`${s}.plugin.name`,defaultMessage:g},Component:()=>Promise.resolve().then(()=>require("./index-Cfy8GjIN.js")),permissions:c.access}),e.createSettingSection({id:s,intlLabel:{id:`${s}.plugin.section`,defaultMessage:`${g} plugin`}},[{intlLabel:{id:`${s}.plugin.section.item`,defaultMessage:"Configuration"},id:"comments",to:`/settings/${s}`,Component:()=>Promise.resolve().then(()=>require("./index-DXgb05uJ.js")),permissions:c.settings}])},registerTrads:async function({locales:e=[]}){return Promise.all(e.map(async t=>t in m?m[t]().then(({default:n})=>({data:u(a(n),s),locale:t})):{data:u(a({}),s),locale:t}))}};exports.index=w;exports.pluginId=s;exports.pluginPermissions=c;exports.version=b;
5
+ `;const h="strapi-plugin-comments",b="3.2.6",q={name:"comments",displayName:"Comments"},P=576,$=({width:e=24,height:t=24})=>o.jsx("svg",{viewBox:`0 0 ${e} ${t}`,xmlns:"http://www.w3.org/2000/svg",height:`${t}px`,children:o.jsx("g",{style:{transform:`scale(${e/P})`},fill:"currentColor",children:o.jsx("path",{d:"M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z"})})}),f=o.jsx($,{}),j=()=>f,r={render:e=>`plugin::comments.${e}`,comments:{read:"comments-read",moderate:"comments-moderate"},reports:{read:"reports-read",review:"reports-review"},settings:{read:"settings-read",change:"settings-change"}},c={access:[{action:r.render(r.comments.read),subject:null},{action:r.render(r.reports.read),subject:null},{action:r.render(r.settings.read),subject:null}],moderate:[{action:r.render(r.comments.moderate),subject:null}],reports:[{action:r.render(r.reports.read),subject:null}],reportsReview:[{action:r.render(r.reports.review),subject:null}],settings:[{action:r.render(r.settings.read),subject:null}],settingsChange:[{action:r.render(r.settings.change),subject:null}]},s=h.replace(/^strapi-plugin-/i,""),m={en:()=>Promise.resolve().then(()=>require("./en-CTX-vxI-.js")),fr:()=>Promise.resolve().then(()=>require("./fr-CJZ1I0cO.js")),"pt-BR":()=>Promise.resolve().then(()=>require("./pt-BR-DV48_kX8.js")),tr:()=>Promise.resolve().then(()=>require("./tr-BMe1cFKp.js")),ru:()=>Promise.resolve().then(()=>require("./ru-BK78F2Vt.js")),"zh-Hans":()=>Promise.resolve().then(()=>require("./zh-Hans-xMRxrXVG.js")),pl:()=>Promise.resolve().then(()=>require("./pl-clljrMvo.js"))},{name:d,displayName:g}=q,w={register(e){e.registerPlugin({id:d,name:d,injectionZones:{reports:{tableHeaderSource:[],tableRowSource:[]},reviews:{tableHeaderSource:[],tableRowSource:[]},pages:{aiEvaluations:[]},sideNav:{aiEvaluations:[],mobileAiEvaluations:[]}}}),e.addMenuLink({to:`/plugins/${s}`,badgeContent:1,icon:j,intlLabel:{id:`${s}.plugin.name`,defaultMessage:g},Component:()=>Promise.resolve().then(()=>require("./index-C_4LXdQ6.js")),permissions:c.access}),e.createSettingSection({id:s,intlLabel:{id:`${s}.plugin.section`,defaultMessage:`${g} plugin`}},[{intlLabel:{id:`${s}.plugin.section.item`,defaultMessage:"Configuration"},id:"comments",to:`/settings/${s}`,Component:()=>Promise.resolve().then(()=>require("./index-Bp-bmc3E.js")),permissions:c.settings}])},registerTrads:async function({locales:e=[]}){return Promise.all(e.map(async t=>t in m?m[t]().then(({default:n})=>({data:u(a(n),s),locale:t})):{data:u(a({}),s),locale:t}))}};exports.index=w;exports.pluginId=s;exports.pluginPermissions=c;exports.version=b;
@@ -1 +1 @@
1
- "use strict";const e=require("../_chunks/index-hBG5i5nT.js");require("react");require("@strapi/design-system");require("@strapi/icons");module.exports=e.index;
1
+ "use strict";const e=require("../_chunks/index-zjD2IIJE.js");require("react");require("@strapi/design-system");require("@strapi/icons");module.exports=e.index;
@@ -1,4 +1,4 @@
1
- import { i as p } from "../_chunks/index-D8SWUMcR.mjs";
1
+ import { i as p } from "../_chunks/index-CdDH4b25.mjs";
2
2
  import "react";
3
3
  import "@strapi/design-system";
4
4
  import "@strapi/icons";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-comments",
3
- "version": "3.2.5",
3
+ "version": "3.2.6",
4
4
  "description": "Strapi - Comments plugin",
5
5
  "keywords": [
6
6
  "strapi",
@@ -137,6 +137,14 @@
137
137
  },
138
138
  "resolutions": {
139
139
  "minimatch": "^3.0.0",
140
- "@types/minimatch": "^3.0.0"
140
+ "@types/minimatch": "^3.0.0",
141
+ "follow-redirects": "1.16.2",
142
+ "dompurify": "3.4.17",
143
+ "body-parser": "1.20.9",
144
+ "markdown-it": "14.3.3",
145
+ "undici": "6.29.1",
146
+ "qs": "6.16.1",
147
+ "nodemailer": "10.1.4",
148
+ "zod": "4.6.7"
141
149
  }
142
150
  }