Skip to content

Commit

Permalink
Merge branch 'main' into v4
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed Sep 13, 2023
2 parents 37db7be + b5eaa95 commit 9ee3f7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Expand Up @@ -20,9 +20,7 @@ All notable changes to this project will be documented in this file. See [standa

### Bug Fixes

* drop CJS support, switch to TS ([cf20ba0](https://github.com/broofa/mime/commit/cf20ba0db586a256307f875c585b112b96db9c9a))
* exit from CLI with non-zero exit code when no result ([591eb30](https://github.com/broofa/mime/commit/591eb30c2d5aefcbac9cda8ad1fca17f7ed23fff))
* update outdated deps, rebuild ([ef6ebd0](https://github.com/broofa/mime/commit/ef6ebd0c8e0c412f21389d8fee642cfceca2b975))
* skypack.dev for direct browser import, fixes [#263](https://github.com/broofa/mime/issues/263) ([41db4c0](https://github.com/broofa/mime/commit/41db4c042ccf50ea7baf3d2160ea37dcca37998d))


### update
Expand Down
9 changes: 0 additions & 9 deletions README.md
Expand Up @@ -123,15 +123,6 @@ Content-Type headers) are ignored.
mime.getExtension('text/plain'); // ⇨ 'txt'
mime.getExtension('application/json'); // ⇨ 'json'
mime.getExtension('text/html; charset=utf8'); // ⇨ 'html'
### mime.getAllExtensions(type)

> **Note**
> New in `mime@4`

Get all extensions for the given mime type.

```javascript --run default
mime.getAllExtensions('image/jpeg'); // ⇨ [ 'jpeg', 'jpg', 'jpe' ]
```

### mime.define(typeMap[, force = false])
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -38,7 +38,7 @@
"mime-score": "2.0.3",
"mime-types": "2.1.35",
"prettier": "3.0.3",
"runmd": "1.3.9",:
"runmd": "1.3.9",
"standard-version": "9.5.0",
"typescript": "5.2.2"
},
Expand Down

0 comments on commit 9ee3f7b

Please sign in to comment.