Skip to content

Commit 7bbb1f2

Browse files
committed
chore(deps): drop file-type override (incompatible with @jimp/core)
The file-type 21.x patched version is ESM-only and triggers ERR_PACKAGE_PATH_NOT_EXPORTED when the old CJS @jimp/core does `require('file-type')`, breaking the webpack-pwa-manifest plugin used in webpack.ssg.mjs and failing the E2E build step. @jimp/core is the only consumer of file-type in the tree and pins it to ^16.5.4, so no overrideable patched version exists. The GHSA-5v7r-6r5c-r473 advisory remains; closing it would require upgrading webpack-pwa-manifest to a version using a maintained image processor.
1 parent e02e29c commit 7bbb1f2

2 files changed

Lines changed: 152 additions & 94 deletions

File tree

package-lock.json

Lines changed: 152 additions & 93 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
"eval": "^0.1.5",
7373
"eslint-plugin-react-hooks": "7.0.1",
7474
"@tootallnate/once": "^3.0.1",
75-
"file-type": "^21.3.1",
7675
"form-data": "^4.0.4",
7776
"minimist": "^1.2.8",
7877
"nth-check": "^2.0.1",

0 commit comments

Comments
 (0)