Skip to content

Commit

Permalink
Update dependency mime to v4 (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jul 25, 2024
1 parent e435c79 commit dd7af51
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
17 changes: 10 additions & 7 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@testing-library/dom": "9.3.0",
"@testing-library/jest-dom": "6.0.1",
"@types/jest": "29.5.12",
"@types/mime": "3.0.1",
"@types/node": "16.18.34",
"@types/polka": "0.5.4",
"@typescript-eslint/eslint-plugin": "6.4.1",
Expand All @@ -51,6 +50,7 @@
"kolorist": "1.8.0",
"liquidjs": "10.7.1",
"magic-string": "0.30.3",
"mime": "4.0.4",
"polka": "0.5.2",
"preact": "10.15.1",
"prettier": "3.0.2",
Expand Down Expand Up @@ -79,7 +79,6 @@
"cjs-module-lexer": "^1.3.1",
"es-module-lexer": "^1.5.4",
"esbuild": "^0.19.2",
"mime": "^3.0.0",
"postcss": "^8.4.28",
"puppeteer": "^21.1.0",
"rollup": "^3.28.1",
Expand Down
1 change: 0 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const external = [
'@rollup/plugin-commonjs',
'esbuild',
/postcss/,
/mime/,
'@axe-core/puppeteer',
];

Expand Down
1 change: 1 addition & 0 deletions src/module-server/middleware/static.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createReadStream, promises as fs } from 'node:fs';
import { posix, resolve } from 'node:path';

// eslint-disable-next-line @cloudfour/n/file-extension-in-import
import mime from 'mime/lite';
import type polka from 'polka';

Expand Down

0 comments on commit dd7af51

Please sign in to comment.