@octokit/rest
Advanced tools
Comparing version 15.2.5 to 15.2.6
@@ -52,2 +52,7 @@ 'use strict' | ||
if (response.status === 304) { | ||
requestOptions.url = response.headers.location | ||
throw new HttpError('Not modified', response.status, headers) | ||
} | ||
if (response.status >= 400) { | ||
@@ -54,0 +59,0 @@ return response.text() |
{ | ||
"name": "@octokit/rest", | ||
"version": "15.2.5", | ||
"version": "15.2.6", | ||
"publishConfig": { | ||
@@ -52,3 +52,3 @@ "access": "public" | ||
"apidoc": "^0.17.6", | ||
"bundlesize": "^0.16.0", | ||
"bundlesize": "^0.17.0", | ||
"chai": "^4.1.2", | ||
@@ -70,3 +70,3 @@ "compression-webpack-plugin": "^1.1.6", | ||
"semantic-release": "^15.0.0", | ||
"sinon": "^4.2.2", | ||
"sinon": "^5.0.0", | ||
"sinon-chai": "^3.0.0", | ||
@@ -73,0 +73,0 @@ "standard": "^11.0.0", |
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
564610
14757