Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: broofa/mime
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.4.6
Choose a base ref
...
head repository: broofa/mime
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.4.7
Choose a head ref
  • 3 commits
  • 7 files changed
  • 2 contributors

Commits on Jun 2, 2020

  1. Fix typo in code example for quick start (#238)

    * Fix typo in code example for quick start
    
    * Fix typo in code example for quick start
    flleeppyy authored Jun 2, 2020
    Copy the full SHA
    6f5eb3e View commit details

Commits on Dec 16, 2020

  1. fix: update to latest mime-db

    broofa committed Dec 16, 2020
    Copy the full SHA
    43b09ef View commit details
  2. chore(release): 2.4.7

    broofa committed Dec 16, 2020
    Copy the full SHA
    f5a0ea5 View commit details
Showing with 1,363 additions and 1,231 deletions.
  1. +7 −0 CHANGELOG.md
  2. +4 −4 README.md
  3. +1,342 −1,217 package-lock.json
  4. +6 −6 package.json
  5. +2 −2 src/README_js.md
  6. +1 −1 types/other.js
  7. +1 −1 types/standard.js
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [2.4.7](https://github.com/broofa/mime/compare/v2.4.6...v2.4.7) (2020-12-16)


### Bug Fixes

* update to latest mime-db ([43b09ef](https://github.com/broofa/mime/commit/43b09eff0233eacc449af2b1f99a19ba9e104a44))

### [2.4.6](https://github.com/broofa/mime/compare/v2.4.5...v2.4.6) (2020-05-27)


8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

A comprehensive, compact MIME type module.

[![Build Status](https://travis-ci.org/broofa/node-mime.svg?branch=master)](https://travis-ci.org/broofa/node-mime)
[![Build Status](https://travis-ci.org/broofa/mime.svg?branch=master)](https://travis-ci.org/broofa/mime)

## Version 2 Notes

@@ -15,7 +15,7 @@ Version 2 is a breaking change from 1.x as the semver implies. Specifically:
* `extension()` renamed to `getExtension()`
* `charset()` and `load()` methods have been removed

If you prefer the legacy version of this module please `npm install mime@^1`. Version 1 docs may be found [here](https://github.com/broofa/node-mime/tree/v1.4.0).
If you prefer the legacy version of this module please `npm install mime@^1`. Version 1 docs may be found [here](https://github.com/broofa/mime/tree/v1.4.0).

## Install

@@ -34,14 +34,14 @@ E.g. For the full version:
<script src="https://wzrd.in/standalone/mime@latest"></script>
<script>
mime.getType(...); // etc.
<script>
</script>

Or, for the `mime/lite` version:

<script src="https://wzrd.in/standalone/mime%2flite@latest"></script>
<script>
mimelite.getType(...); // (Note `mimelite` here)
<script>
</script>

## Quick Start

2,559 changes: 1,342 additions & 1,217 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -16,14 +16,14 @@
"dependencies": {},
"devDependencies": {
"benchmark": "*",
"chalk": "*",
"eslint": "*",
"mime-db": "1.44.0",
"chalk": "4.1.0",
"eslint": "7.15.0",
"mime-db": "1.45.0",
"mime-score": "1.2.0",
"mime-types": "2.1.27",
"mocha": "7.1.2",
"mocha": "8.2.1",
"runmd": "*",
"standard-version": "7.1.0"
"standard-version": "9.0.0"
},
"files": [
"index.js",
@@ -48,5 +48,5 @@
"url": "https://github.com/broofa/mime",
"type": "git"
},
"version": "2.4.6"
"version": "2.4.7"
}
4 changes: 2 additions & 2 deletions src/README_js.md
Original file line number Diff line number Diff line change
@@ -34,14 +34,14 @@ E.g. For the full version:
<script src="https://wzrd.in/standalone/mime@latest"></script>
<script>
mime.getType(...); // etc.
<script>
</script>

Or, for the `mime/lite` version:

<script src="https://wzrd.in/standalone/mime%2flite@latest"></script>
<script>
mimelite.getType(...); // (Note `mimelite` here)
<script>
</script>

## Quick Start

2 changes: 1 addition & 1 deletion types/other.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion types/standard.js

Large diffs are not rendered by default.