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.2
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.3
Choose a head ref
  • 3 commits
  • 7 files changed
  • 2 contributors

Commits on May 15, 2019

  1. Copy the full SHA
    f348aba View commit details
  2. Copy the full SHA
    3f33610 View commit details
  3. chore(release): 2.4.3

    broofa committed May 15, 2019
    Copy the full SHA
    2f595e4 View commit details
Showing with 10 additions and 6 deletions.
  1. +4 −0 CHANGELOG.md
  2. +1 −1 package.json
  3. +3 −3 src/build.js
  4. +1 −0 types/other.js
  5. +0 −1 types/other.json
  6. +1 −0 types/standard.js
  7. +0 −1 types/standard.json
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,10 @@

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.3](https://github.com/broofa/node-mime/compare/v2.4.2...v2.4.3) (2019-05-15)



## [2.4.2](https://github.com/broofa/node-mime/compare/v2.4.1...v2.4.2) (2019-04-07)


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -41,5 +41,5 @@
"url": "https://github.com/broofa/node-mime",
"type": "git"
},
"version": "2.4.2"
"version": "2.4.3"
}
6 changes: 3 additions & 3 deletions src/build.js
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ for (var type in db) {
}

function writeTypesFile(types, path) {
fs.writeFileSync(path, JSON.stringify(types));
fs.writeFileSync(path, 'module.exports = ' + JSON.stringify(types) + ';');
}

// Segregate into standard and non-standard types based on facet per
@@ -67,5 +67,5 @@ Object.keys(db).sort().forEach(function(k) {
}
});

writeTypesFile(standard, path.join(__dirname, '../types', 'standard.json'));
writeTypesFile(other, path.join(__dirname, '../types', 'other.json'));
writeTypesFile(standard, path.join(__dirname, '../types', 'standard.js'));
writeTypesFile(other, path.join(__dirname, '../types', 'other.js'));
1 change: 1 addition & 0 deletions types/other.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion types/other.json

This file was deleted.

1 change: 1 addition & 0 deletions types/standard.js
1 change: 0 additions & 1 deletion types/standard.json

This file was deleted.