Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mime-db

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mime-db - npm Package Compare versions

Comparing version 0.0.0 to 1.0.0

index.js

28

package.json
{
"name": "mime-db",
"description": "Media Type Database",
"version": "0.0.0",
"version": "1.0.0",
"author": {

@@ -14,12 +14,24 @@ "name": "Jonathan Ong",

"devDependencies": {
"stream-to-array": "2",
"co": "3",
"cogent": "1",
"csv-parse": "0",
"cogent": "1",
"gnode": "0.0.8",
"istanbul": "0.3.0",
"mocha": "1",
"co": "3"
"stream-to-array": "2"
},
"engine": {
"node": ">= 0.6.0"
},
"files": [
"LICENSE",
"db.json",
"index.js"
],
"scripts": {
"update": "node --harmony-generators scripts/extensions; node --harmony-generators scripts/types; node scripts/build",
"update": "gnode scripts/extensions && gnode scripts/types && node scripts/build",
"clean": "rm src/*",
"test": "mocha --reporter spec"
"test": "mocha --reporter spec --bail --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
},

@@ -34,5 +46,3 @@ "keywords": [

"charsets"
],
"main": "db.json",
"files": ["db.json"]
]
}

@@ -1,9 +0,8 @@

# mime-db
[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]
[![Gittip][gittip-image]][gittip-url]
[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Node.js Version][node-image]][node-url]
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]

@@ -43,2 +42,6 @@ This is a database of all mime types.

- `.source` - where the mime type is defined.
If not set, it's probably a custom media type.
- `apache` - [Apache common media types](http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types)
- `iana` - [IANA-defined media types](http://www.iana.org/assignments/media-types/media-types.xhtml)
- `.extensions[]` - known extensions associated with this mime type.

@@ -60,19 +63,12 @@ - `.compressible` - whether a file of this type is can be gzipped.

To edit the database, only make PRs against files in the `lib/` folder.
To update the build, run `npm run update` with node `v0.11.13+` (sorry).
To update the build, run `npm run update`.
[npm-image]: https://img.shields.io/npm/v/mime-db.svg?style=flat-square
[npm-version-image]: https://img.shields.io/npm/v/mime-db.svg?style=flat
[npm-downloads-image]: https://img.shields.io/npm/dm/mime-db.svg?style=flat
[npm-url]: https://npmjs.org/package/mime-db
[github-tag]: http://img.shields.io/github/tag/jshttp/mime-db.svg?style=flat-square
[github-url]: https://github.com/jshttp/mime-db/tags
[travis-image]: https://img.shields.io/travis/jshttp/mime-db.svg?style=flat-square
[travis-image]: https://img.shields.io/travis/jshttp/mime-db.svg?style=flat
[travis-url]: https://travis-ci.org/jshttp/mime-db
[coveralls-image]: https://img.shields.io/coveralls/jshttp/mime-db.svg?style=flat-square
[coveralls-image]: https://img.shields.io/coveralls/jshttp/mime-db.svg?style=flat
[coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master
[david-image]: http://img.shields.io/david/jshttp/mime-db.svg?style=flat-square
[david-url]: https://david-dm.org/jshttp/mime-db
[license-image]: http://img.shields.io/npm/l/mime-db.svg?style=flat-square
[license-url]: LICENSE.md
[downloads-image]: http://img.shields.io/npm/dm/mime-db.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/mime-db
[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square
[gittip-url]: https://www.gittip.com/jonathanong/
[node-image]: http://img.shields.io/badge/node.js->=_0.6-brightgreen.svg?style=flat
[node-url]: http://nodejs.org/download/

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc