Skip to content

Commit

Permalink
fix: mime package to non-esm version
Browse files Browse the repository at this point in the history
  • Loading branch information
brunozoric committed Dec 4, 2024
1 parent bf43676 commit d5ad628
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 18 deletions.
2 changes: 1 addition & 1 deletion packages/api-file-manager-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@webiny/utils": "0.0.0",
"@webiny/validation": "0.0.0",
"form-data": "^4.0.0",
"mime": "^4.0.4",
"mime": "^3.0.0",
"node-fetch": "2.6.7",
"object-hash": "^3.0.0",
"p-map": "4.0.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/api-file-manager-s3/src/utils/mimeTypes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// @ts-expect-error
import vendorTypes from "mime/types/other";
// @ts-expect-error
import standardTypes from "mime/types/standard";

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/app-file-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"graphql": "^15.7.2",
"graphql-tag": "^2.12.6",
"lodash": "^4.17.21",
"mime": "^4.0.4",
"mime": "^3.0.0",
"minimatch": "^5.1.6",
"mobx": "^6.9.0",
"mobx-react-lite": "^3.4.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-plugin-deploy-pulumi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"localtunnel": "2.0.2",
"lodash": "^4.17.21",
"log-update": "^4.0.0",
"mime": "^4.0.4",
"mime": "^3.0.0",
"minimatch": "^5.1.6",
"mqtt": "^5.10.3",
"ncp": "2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/pulumi-aws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@webiny/project-utils": "0.0.0",
"chalk": "^4.1.0",
"lodash": "^4.17.21",
"mime": "^4.0.4",
"mime": "^3.0.0",
"rimraf": "^6.0.1",
"ttypescript": "^1.5.12",
"typescript": "4.9.5"
Expand Down
19 changes: 5 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12257,7 +12257,7 @@ __metadata:
"@webiny/utils": 0.0.0
"@webiny/validation": 0.0.0
form-data: ^4.0.0
mime: ^4.0.4
mime: ^3.0.0
node-fetch: 2.6.7
object-hash: ^3.0.0
p-map: 4.0.0
Expand Down Expand Up @@ -13846,7 +13846,7 @@ __metadata:
graphql: ^15.7.2
graphql-tag: ^2.12.6
lodash: ^4.17.21
mime: ^4.0.4
mime: ^3.0.0
minimatch: ^5.1.6
mobx: ^6.9.0
mobx-react-lite: ^3.4.3
Expand Down Expand Up @@ -14771,7 +14771,7 @@ __metadata:
localtunnel: 2.0.2
lodash: ^4.17.21
log-update: ^4.0.0
mime: ^4.0.4
mime: ^3.0.0
minimatch: ^5.1.6
mqtt: ^5.10.3
ncp: 2.0.0
Expand Down Expand Up @@ -15716,7 +15716,7 @@ __metadata:
chalk: ^4.1.0
form-data: ^4.0.0
lodash: ^4.17.21
mime: ^4.0.4
mime: ^3.0.0
node-fetch: 2.6.7
rimraf: ^6.0.1
ttypescript: ^1.5.12
Expand Down Expand Up @@ -28904,7 +28904,7 @@ __metadata:
languageName: node
linkType: hard

"mime@npm:3.0.0":
"mime@npm:3.0.0, mime@npm:^3.0.0":
version: 3.0.0
resolution: "mime@npm:3.0.0"
bin:
Expand All @@ -28913,15 +28913,6 @@ __metadata:
languageName: node
linkType: hard

"mime@npm:^4.0.4":
version: 4.0.4
resolution: "mime@npm:4.0.4"
bin:
mime: bin/cli.js
checksum: 729904cd8b3913062017970ffa25c4303356f80dad33d472b47244e3baa35ab748ce005fb9a66ae854266fa73396ef219287bf6db311c8376ea3d9cfc5dda107
languageName: node
linkType: hard

"mimic-fn@npm:^1.0.0":
version: 1.2.0
resolution: "mimic-fn@npm:1.2.0"
Expand Down

0 comments on commit d5ad628

Please sign in to comment.