Comparing version 2.8.0 to 2.8.1
@@ -208,2 +208,7 @@ 'use strict'; | ||
got[el] = function (url, opts, cb) { | ||
if (typeof opts === 'function') { | ||
cb = opts; | ||
opts = undefined; | ||
} | ||
return got(url, objectAssign({}, opts, {method: el.toUpperCase()}), cb); | ||
@@ -210,0 +215,0 @@ }; |
{ | ||
"name": "got", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"description": "Simplified HTTP/HTTPS requests", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
11418
4
179