Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"spark-md5": "^3.0.0",
"store2": "^2.14.4",
"string-strip-html": "8.3.0",
"uuid": "^11.1.0",
"uuid": "^14.0.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blocking: uuid v12 removed CommonJS support, making it ESM-only. Jest's default transformIgnorePatterns excludes node_modules, so it cannot parse uuid's export statements — causing SyntaxError: Unexpected token 'export' across the entire frontend test suite (confirmed in CI).

Two options:

  1. Stay on uuid v11 (^11.1.0): v11 retains CommonJS support and is maintained until ~2028 (per the updated deprecation notice now visible in the lockfile). The security advisory GHSA-w5hq-g745-h8pq affects only v3/v5/v6 — this project imports only v4 and is not exposed.
  2. Update Jest config: Add uuid to the transpilation allowlist (e.g., remove it from transformIgnorePatterns in the Jest config) so the test runner can handle ESM. This would require testing carefully as it affects the build toolchain.

"vue": "~2.7.16",
"vue-croppa": "^1.3.8",
"vue-custom-element": "https://github.com/learningequality/vue-custom-element.git#master",
Expand Down
13 changes: 7 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading