@octokit/auth-oauth-app
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -66,3 +66,3 @@ 'use strict'; | ||
const VERSION = '1.0.1'; | ||
const VERSION = '1.0.2'; | ||
@@ -69,0 +69,0 @@ function createOAuthAppAuth(options) { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '1.0.1'; | ||
export const VERSION = '1.0.2'; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "1.0.1"; | ||
export declare const VERSION = "1.0.2"; |
@@ -360,2 +360,9 @@ var browser = getUserAgentBrowser; | ||
var browser$1 = getUserAgentBrowser$1; | ||
function getUserAgentBrowser$1 () { | ||
/* global navigator */ | ||
return navigator.userAgent | ||
} | ||
function _slicedToArray(arr, i) { | ||
@@ -570,5 +577,5 @@ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); | ||
const VERSION = "1.0.1"; | ||
const VERSION = "1.0.2"; | ||
const userAgent = "octokit-endpoint.js/".concat(VERSION, " ").concat(browser()); | ||
const userAgent = "octokit-endpoint.js/".concat(VERSION, " ").concat(browser$1()); | ||
const DEFAULTS = { | ||
@@ -589,2 +596,9 @@ method: "GET", | ||
var browser$2 = getUserAgentBrowser$2; | ||
function getUserAgentBrowser$2 () { | ||
/* global navigator */ | ||
return navigator.userAgent | ||
} | ||
/*! | ||
@@ -635,3 +649,3 @@ * isobject <https://github.com/jonschlinkert/isobject> | ||
var browser$1 = createCommonjsModule(function (module, exports) { | ||
var browser$3 = createCommonjsModule(function (module, exports) { | ||
@@ -660,5 +674,5 @@ // ref: https://github.com/tc39/proposal-global | ||
}); | ||
var browser_1 = browser$1.Headers; | ||
var browser_2 = browser$1.Request; | ||
var browser_3 = browser$1.Response; | ||
var browser_1 = browser$3.Headers; | ||
var browser_2 = browser$3.Request; | ||
var browser_3 = browser$3.Response; | ||
@@ -802,3 +816,3 @@ class Deprecation extends Error { | ||
const VERSION$1 = "1.0.1"; | ||
const VERSION$1 = "1.0.2"; | ||
@@ -817,3 +831,3 @@ function getBufferResponse(response) { | ||
let url; | ||
const fetch = requestOptions.request && requestOptions.request.fetch || browser$1; | ||
const fetch = requestOptions.request && requestOptions.request.fetch || browser$3; | ||
return fetch(requestOptions.url, Object.assign({ | ||
@@ -924,3 +938,3 @@ method: requestOptions.method, | ||
headers: { | ||
"user-agent": "octokit-request.js/".concat(VERSION$1, " ").concat(browser()) | ||
"user-agent": "octokit-request.js/".concat(VERSION$1, " ").concat(browser$2()) | ||
} | ||
@@ -1028,3 +1042,3 @@ }); | ||
const VERSION$2 = '1.0.1'; | ||
const VERSION$2 = '1.0.2'; | ||
@@ -1031,0 +1045,0 @@ function createOAuthAppAuth(options) { |
@@ -103,3 +103,3 @@ import getUserAgent from 'universal-user-agent'; | ||
const VERSION = '1.0.1'; | ||
const VERSION = '1.0.2'; | ||
@@ -106,0 +106,0 @@ function createOAuthAppAuth(options) { |
{ | ||
"name": "@octokit/auth-oauth-app", | ||
"description": "OAuth App authentication for JavaScript", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
@@ -25,3 +25,3 @@ "files": [ | ||
"@octokit/request": "^5.0.0", | ||
"universal-user-agent": "^2.1.0" | ||
"universal-user-agent": "^3.0.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
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
52770
1216
+ Addeduniversal-user-agent@3.0.0(transitive)
- Removeduniversal-user-agent@2.1.0(transitive)
Updateduniversal-user-agent@^3.0.0