@octokit/core
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -47,4 +47,5 @@ 'use strict'; | ||
const VERSION = "3.4.0"; | ||
const VERSION = "3.5.0"; | ||
const _excluded = ["authStrategy"]; | ||
class Octokit { | ||
@@ -111,3 +112,3 @@ constructor(options = {}) { | ||
} = options, | ||
otherOptions = _objectWithoutProperties(options, ["authStrategy"]); | ||
otherOptions = _objectWithoutProperties(options, _excluded); | ||
@@ -114,0 +115,0 @@ const auth = authStrategy(Object.assign({ |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "3.4.0"; | ||
export const VERSION = "3.5.0"; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "3.4.0"; | ||
export declare const VERSION = "3.5.0"; |
@@ -7,3 +7,3 @@ import { getUserAgent } from 'universal-user-agent'; | ||
const VERSION = "3.4.0"; | ||
const VERSION = "3.5.0"; | ||
@@ -10,0 +10,0 @@ class Octokit { |
{ | ||
"name": "@octokit/core", | ||
"description": "Extendable client for GitHub's REST & GraphQL APIs", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "files": [ | ||
"@octokit/graphql": "^4.5.8", | ||
"@octokit/request": "^5.4.12", | ||
"@octokit/request": "^5.6.0", | ||
"@octokit/request-error": "^2.0.5", | ||
@@ -43,9 +43,9 @@ "@octokit/types": "^6.0.3", | ||
"http-proxy-agent": "^4.0.1", | ||
"jest": "^26.1.0", | ||
"jest": "^27.0.0", | ||
"lolex": "^6.0.0", | ||
"prettier": "^2.0.4", | ||
"prettier": "2.3.1", | ||
"proxy": "^1.0.1", | ||
"semantic-release": "^17.0.0", | ||
"semantic-release-plugin-update-version-in-files": "^1.0.0", | ||
"ts-jest": "^26.1.3", | ||
"ts-jest": "^27.0.0", | ||
"typescript": "^4.0.2" | ||
@@ -52,0 +52,0 @@ }, |
@@ -363,3 +363,3 @@ # core.js | ||
if (error.status === 304) { | ||
return findInCache(error.headers.etag); | ||
return findInCache(error.response.headers.etag); | ||
} | ||
@@ -366,0 +366,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
51954
472
Updated@octokit/request@^5.6.0