Comparing version 1.0.0 to 1.0.1
1.0.1 / 2014-06-02 | ||
================== | ||
* fix index.js to work with harmony transform | ||
1.0.0 / 2014-05-08 | ||
@@ -3,0 +8,0 @@ ================== |
60
index.js
@@ -5,2 +5,3 @@ | ||
if (http.METHODS) { | ||
module.exports = http.METHODS.map(function(method){ | ||
@@ -10,31 +11,32 @@ return method.toLowerCase(); | ||
return; | ||
} else { | ||
module.exports = [ | ||
'get', | ||
'post', | ||
'put', | ||
'head', | ||
'delete', | ||
'options', | ||
'trace', | ||
'copy', | ||
'lock', | ||
'mkcol', | ||
'move', | ||
'purge', | ||
'propfind', | ||
'proppatch', | ||
'unlock', | ||
'report', | ||
'mkactivity', | ||
'checkout', | ||
'merge', | ||
'm-search', | ||
'notify', | ||
'subscribe', | ||
'unsubscribe', | ||
'patch', | ||
'search' | ||
]; | ||
} | ||
module.exports = [ | ||
'get', | ||
'post', | ||
'put', | ||
'head', | ||
'delete', | ||
'options', | ||
'trace', | ||
'copy', | ||
'lock', | ||
'mkcol', | ||
'move', | ||
'purge', | ||
'propfind', | ||
'proppatch', | ||
'unlock', | ||
'report', | ||
'mkactivity', | ||
'checkout', | ||
'merge', | ||
'm-search', | ||
'notify', | ||
'subscribe', | ||
'unsubscribe', | ||
'patch', | ||
'search' | ||
]; |
{ | ||
"name": "methods", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "HTTP methods that node supports", | ||
@@ -5,0 +5,0 @@ "main": "index.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
3235