allow-methods
Advanced tools
Comparing version 6.2.0 to 6.2.1
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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7204