Socket
Socket
Sign inDemoInstall

method-override

Package Overview
Dependencies
Maintainers
6
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

method-override - npm Package Compare versions

Comparing version 2.3.10 to 3.0.0

11

HISTORY.md

@@ -0,1 +1,12 @@

3.0.0 / 2018-07-11
==================
* Drop support for Node.js below 0.10
* deps: debug@3.1.0
- Add `DEBUG_HIDE_DATE` environment variable
- Change timer to per-namespace instead of global
- Change non-TTY date format
- Remove `DEBUG_FD` environment variable support
- Support 256 namespace colors
2.3.10 / 2017-09-27

@@ -2,0 +13,0 @@ ===================

22

package.json
{
"name": "method-override",
"description": "Override HTTP verbs",
"version": "2.3.10",
"version": "3.0.0",
"contributors": [

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

"dependencies": {
"debug": "2.6.9",
"debug": "3.1.0",
"methods": "~1.1.2",

@@ -19,12 +19,12 @@ "parseurl": "~1.3.2",

"devDependencies": {
"eslint": "3.19.0",
"eslint-config-standard": "10.2.1",
"eslint-plugin-import": "2.2.0",
"eslint": "4.19.1",
"eslint-config-standard": "11.0.0",
"eslint-plugin-import": "2.13.0",
"eslint-plugin-markdown": "1.0.0-beta.6",
"eslint-plugin-node": "4.2.2",
"eslint-plugin-promise": "3.5.0",
"eslint-plugin-standard": "3.0.1",
"eslint-plugin-node": "6.0.1",
"eslint-plugin-promise": "3.8.0",
"eslint-plugin-standard": "3.1.0",
"istanbul": "0.4.5",
"mocha": "2.5.3",
"supertest": "1.1.0"
"mocha": "3.5.3",
"supertest": "1.2.0"
},

@@ -37,3 +37,3 @@ "files": [

"engines": {
"node": ">= 0.8.0"
"node": ">= 0.10"
},

@@ -40,0 +40,0 @@ "scripts": {

@@ -7,3 +7,2 @@ # method-override

[![Test Coverage][coveralls-image]][coveralls-url]
[![Gratipay][gratipay-image]][gratipay-url]

@@ -131,5 +130,5 @@ Lets you use HTTP verbs such as PUT or DELETE in places where the client doesn't support it.

// override with different headers; last one takes precedence
app.use(methodOverride('X-HTTP-Method')) // Microsoft
app.use(methodOverride('X-HTTP-Method')) // Microsoft
app.use(methodOverride('X-HTTP-Method-Override')) // Google/GData
app.use(methodOverride('X-Method-Override')) // IBM
app.use(methodOverride('X-Method-Override')) // IBM
```

@@ -184,3 +183,1 @@

[downloads-url]: https://npmjs.org/package/method-override
[gratipay-image]: https://img.shields.io/gratipay/dougwilson.svg
[gratipay-url]: https://www.gratipay.com/dougwilson/
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