Skip to content

Migrate pdc dashboard to v5#1399

Open
AliKdhim87 wants to merge 43 commits intodevelopment-strapi-v5from
migrate-pdc-dashboard-to-v5
Open

Migrate pdc dashboard to v5#1399
AliKdhim87 wants to merge 43 commits intodevelopment-strapi-v5from
migrate-pdc-dashboard-to-v5

Conversation

@AliKdhim87
Copy link
Collaborator

No description provided.

this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
this plugin was a proof of concept

this plugin supports only Strapi v4, and since we are migrating to Strapi v5, we need to remove it.
@vercel
Copy link

vercel bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cms-frameless-io Error Error Mar 23, 2026 0:54am
tiptap Ready Ready Preview, Comment Mar 23, 2026 0:54am

Request Review

@AliKdhim87 AliKdhim87 force-pushed the migrate-pdc-dashboard-to-v5 branch from 3d48665 to be8d0b6 Compare March 23, 2026 11:40
@AliKdhim87 AliKdhim87 force-pushed the migrate-pdc-dashboard-to-v5 branch from e70d73e to 7d42a56 Compare March 23, 2026 12:16
@AliKdhim87 AliKdhim87 force-pushed the migrate-pdc-dashboard-to-v5 branch from 7d42a56 to f755b33 Compare March 23, 2026 12:21
@AliKdhim87 AliKdhim87 force-pushed the migrate-pdc-dashboard-to-v5 branch from f755b33 to d4ff492 Compare March 23, 2026 12:25
@AliKdhim87 AliKdhim87 force-pushed the migrate-pdc-dashboard-to-v5 branch from d4ff492 to facb9e2 Compare March 23, 2026 12:27
…owser/test environments

In Node.js environments there is no global `window`, so DOMPurify requires
a jsdom instance to function. However, unconditionally calling `new JSDOM()`
pulls in jsdom's pure-ESM dependency chain (@exodus/bytes via
html-encoding-sniffer), which breaks Jest's CommonJS runtime with
"require() of ES Module not supported".

The fix checks for a global `window` before instantiating jsdom. In Jest
(testEnvironment: 'jsdom') and browser environments, DOMPurify uses the
existing global window. In Node.js, it falls back to creating a jsdom
instance as before.
…is unavailable

Unconditionally calling `new JSDOM()` pulled in a pure-ESM dependency chain
that broke Jest after migrating to pnpm and Node.js 24. Falls back to jsdom
only in Node.js environments where no global window exists.

Also removes redundant lodash memoize as getPurify() is called once at module load time.
…rc in production CSP

remove INLINE from kcmSurvey.style-src to avoid 'unsafe-inline' in generated CSP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant