File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ An API for MIME type information.
15
15
16
16
> [ !Note]
17
17
> ` mime@4 ` is now ` latest ` . If you're upgrading from ` mime@3 ` , note the following:
18
- > * ` mime@4 ` is API-compatible with ` mime@3 ` , with one exception: ` mime.define() ` cannot be called on the default ` mime ` object.
18
+ > * ` mime@4 ` is API-compatible with ` mime@3 ` , with ~~ one~~ two exceptions:
19
+ > * Direct imports of ` mime ` properties [ no longer supported] ( https://github.com/broofa/mime/issues/295 )
20
+ > * ` mime.define() ` cannot be called on the default ` mime ` object
19
21
> * ESM module support is required. [ ESM Module FAQ] ( https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c ) .
20
22
> * Requires an [ ES2020] ( https://caniuse.com/?search=es2020 ) or newer runtime
21
23
> * Built-in Typescript types (` @types/mime ` no longer needed)
You can’t perform that action at this time.
0 commit comments