mime
Advanced tools
Comparing version 2.4.2 to 2.4.3
@@ -5,2 +5,6 @@ # Change Log | ||
## [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) | ||
@@ -7,0 +11,0 @@ |
@@ -44,3 +44,3 @@ { | ||
}, | ||
"version": "2.4.2" | ||
"version": "2.4.3" | ||
} |
@@ -50,3 +50,3 @@ #!/usr/bin/env node | ||
function writeTypesFile(types, path) { | ||
fs.writeFileSync(path, JSON.stringify(types)); | ||
fs.writeFileSync(path, 'module.exports = ' + JSON.stringify(types) + ';'); | ||
} | ||
@@ -71,3 +71,3 @@ | ||
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')); |
74508