unsplash-js
Advanced tools
Comparing version 4.2.0 to 4.3.0
{ | ||
"name": "unsplash-js", | ||
"version": "4.2.0", | ||
"version": "4.3.0", | ||
"description": "A Universal JavaScript wrapper for the Unsplash API", | ||
@@ -5,0 +5,0 @@ "main": "lib/unsplash.js", |
@@ -79,3 +79,3 @@ /* @flow */ | ||
export function toJson(res: Object): Object { | ||
return res.json(); | ||
return typeof res.json === "function" ? res.json() : res; | ||
} |
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
1
52548
39
1014