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

allow-methods

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

allow-methods - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

2

lib/allow-methods.d.ts
export = allowMethods;
declare function allowMethods(methods?: string[] | undefined, message?: string | undefined): import('express').Handler;
declare function allowMethods(methods?: string[] | undefined, message?: string | undefined): import("express").Handler;
declare namespace allowMethods {

@@ -4,0 +4,0 @@ export { exports as default };

{
"name": "allow-methods",
"version": "6.2.0",
"version": "6.2.1",
"description": "Express/connect middleware to handle 405 errors",

@@ -34,14 +34,14 @@ "keywords": [

"test:integration": "cd test/integration && node --test",
"prepare": "husky"
"prepare": "husky || true"
},
"devDependencies": {
"@commitlint/cli": "^18.4.2",
"@commitlint/config-conventional": "^18.4.2",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@rowanmanning/biome-config": "^1.2.0",
"@types/express": "^4.17.13",
"express4": "npm:express@^4.17.3",
"express5": "npm:express@^5.0.0-beta.1",
"@types/express": "^4.17.21",
"express4": "npm:express@^4.19.2",
"express5": "npm:express@^5.0.0-beta.3",
"husky": "^9.0.7",
"nyc": "^15.1.0",
"typescript": "^5.0.2"
"nyc": "^17.0.0",
"typescript": "^5.5.2"
},

@@ -48,0 +48,0 @@ "main": "lib/allow-methods.js",

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