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

mime-types

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mime-types - npm Package Compare versions

Comparing version 2.1.28 to 2.1.29

9

HISTORY.md

@@ -0,1 +1,10 @@

2.1.29 / 2021-02-17
===================
* deps: mime-db@1.46.0
- Add extension `.amr` to `audio/amr`
- Add extension `.m4s` to `video/iso.segment`
- Add extension `.opus` to `audio/ogg`
- Add new upstream MIME types
2.1.28 / 2021-01-01

@@ -2,0 +11,0 @@ ===================

14

package.json
{
"name": "mime-types",
"description": "The ultimate javascript content-type utility.",
"version": "2.1.28",
"version": "2.1.29",
"contributors": [

@@ -17,13 +17,13 @@ "Douglas Christopher Wilson <doug@somethingdoug.com>",

"dependencies": {
"mime-db": "1.45.0"
"mime-db": "1.46.0"
},
"devDependencies": {
"eslint": "7.17.0",
"eslint": "7.20.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-markdown": "1.0.2",
"eslint-plugin-markdown": "2.0.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-standard": "4.1.0",
"mocha": "8.2.1",
"mocha": "8.3.0",
"nyc": "15.1.0"

@@ -40,3 +40,3 @@ },

"scripts": {
"lint": "eslint --plugin markdown --ext js,md .",
"lint": "eslint .",
"test": "mocha --reporter spec test/test.js",

@@ -43,0 +43,0 @@ "test-ci": "nyc --reporter=lcov --reporter=text npm test",

@@ -39,4 +39,2 @@ # mime-types

<!-- eslint-disable no-unused-vars -->
```js

@@ -52,4 +50,2 @@ var mime = require('mime-types')

<!-- eslint-disable no-undef -->
```js

@@ -73,4 +69,2 @@ mime.lookup('json') // 'application/json'

<!-- eslint-disable no-undef -->
```js

@@ -90,4 +84,2 @@ mime.contentType('markdown') // 'text/x-markdown; charset=utf-8'

<!-- eslint-disable no-undef -->
```js

@@ -101,4 +93,2 @@ mime.extension('application/octet-stream') // 'bin'

<!-- eslint-disable no-undef -->
```js

@@ -105,0 +95,0 @@ mime.charset('text/markdown') // 'UTF-8'

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