Socket
Socket
Sign inDemoInstall

accepts

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

accepts - npm Package Compare versions

Comparing version 1.3.8 to 2.0.0

7

HISTORY.md

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

2.0.0 / 2024-08-31
==================
* Drop node <18 support
* deps: mime-types@^3.0.0
* deps: negotiator@^1.0.0
1.3.8 / 2022-02-02

@@ -2,0 +9,0 @@ ==================

2

index.js

@@ -232,3 +232,3 @@ /*!

* @param {String} type
* @return {String}
* @return {Boolean}
* @private

@@ -235,0 +235,0 @@ */

{
"name": "accepts",
"description": "Higher-level content negotiation",
"version": "1.3.8",
"version": "2.0.0",
"contributors": [

@@ -12,4 +12,4 @@ "Douglas Christopher Wilson <doug@somethingdoug.com>",

"dependencies": {
"mime-types": "~2.1.34",
"negotiator": "0.6.3"
"mime-types": "^3.0.0",
"negotiator": "^1.0.0"
},

@@ -16,0 +16,0 @@ "devDependencies": {

@@ -77,3 +77,3 @@ # accepts

The `types` array can contain full MIME types or file extensions. Any value
that is not a full MIME types is passed to `require('mime-types').lookup`.
that is not a full MIME type is passed to `require('mime-types').lookup`.

@@ -80,0 +80,0 @@ #### .types()

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