@octokit/auth-oauth-app
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -66,3 +66,3 @@ 'use strict'; | ||
const VERSION = '1.0.0'; | ||
const VERSION = '1.0.1'; | ||
@@ -69,0 +69,0 @@ function createOAuthAppAuth(options) { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '1.0.0'; | ||
export const VERSION = '1.0.1'; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "1.0.0"; | ||
export declare const VERSION = "1.0.1"; |
@@ -8,12 +8,2 @@ var browser = getUserAgentBrowser; | ||
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; | ||
function createCommonjsModule(fn, module) { | ||
return module = { exports: {} }, fn(module, module.exports), module.exports; | ||
} | ||
var umd = createCommonjsModule(function (module, exports) { | ||
(function (global, factory) { | ||
module.exports = factory(); | ||
}(commonjsGlobal, (function () { | ||
var isMergeableObject = function isMergeableObject(value) { | ||
@@ -68,10 +58,22 @@ return isNonNullObject(value) | ||
function getEnumerableOwnPropertySymbols(target) { | ||
return Object.getOwnPropertySymbols | ||
? Object.getOwnPropertySymbols(target).filter(function(symbol) { | ||
return target.propertyIsEnumerable(symbol) | ||
}) | ||
: [] | ||
} | ||
function getKeys(target) { | ||
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target)) | ||
} | ||
function mergeObject(target, source, options) { | ||
var destination = {}; | ||
if (options.isMergeableObject(target)) { | ||
Object.keys(target).forEach(function(key) { | ||
getKeys(target).forEach(function(key) { | ||
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options); | ||
}); | ||
} | ||
Object.keys(source).forEach(function(key) { | ||
getKeys(source).forEach(function(key) { | ||
if (!options.isMergeableObject(source[key]) || !target[key]) { | ||
@@ -116,7 +118,4 @@ destination[key] = cloneUnlessOtherwiseSpecified(source[key], options); | ||
return deepmerge_1; | ||
var cjs = deepmerge_1; | ||
}))); | ||
}); | ||
/*! | ||
@@ -167,2 +166,8 @@ * isobject <https://github.com/jonschlinkert/isobject> | ||
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; | ||
function createCommonjsModule(fn, module) { | ||
return module = { exports: {} }, fn(module, module.exports), module.exports; | ||
} | ||
var urlTemplate = createCommonjsModule(function (module, exports) { | ||
@@ -427,3 +432,3 @@ (function (root, factory) { | ||
options.headers = lowercaseKeys(options.headers); | ||
const mergedOptions = umd.all([defaults, options].filter(Boolean), { | ||
const mergedOptions = cjs.all([defaults, options].filter(Boolean), { | ||
isMergeableObject: isPlainObject | ||
@@ -569,3 +574,3 @@ }); // mediaType.previews arrays are merged, instead of overwritten | ||
const VERSION = "5.1.5"; | ||
const VERSION = "1.0.1"; | ||
@@ -798,3 +803,3 @@ const userAgent = "octokit-endpoint.js/".concat(VERSION, " ").concat(browser()); | ||
const VERSION$1 = "4.1.0"; | ||
const VERSION$1 = "1.0.1"; | ||
@@ -906,3 +911,5 @@ function getBufferResponse(response) { | ||
return endpointOptions.request.hook(endpointOptions, options => fetchWrapper(endpoint.parse(options))); | ||
return endpointOptions.request.hook(options => { | ||
return fetchWrapper(endpoint.parse(options)); | ||
}, endpointOptions); | ||
}; | ||
@@ -1021,3 +1028,3 @@ | ||
const VERSION$2 = '1.0.0'; | ||
const VERSION$2 = '1.0.1'; | ||
@@ -1024,0 +1031,0 @@ function createOAuthAppAuth(options) { |
@@ -103,3 +103,3 @@ import getUserAgent from 'universal-user-agent'; | ||
const VERSION = '1.0.0'; | ||
const VERSION = '1.0.1'; | ||
@@ -106,0 +106,0 @@ function createOAuthAppAuth(options) { |
{ | ||
"name": "@octokit/auth-oauth-app", | ||
"description": "OAuth App authentication for JavaScript", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -10,7 +10,2 @@ "files": [ | ||
], | ||
"source": "dist-src/index.js", | ||
"types": "dist-types/index.d.ts", | ||
"main": "dist-node/index.js", | ||
"module": "dist-web/index.js", | ||
"unpkg": "dist-web/index.bundled.js", | ||
"pika": true, | ||
@@ -30,7 +25,7 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@octokit/request": "^4.1.0", | ||
"@octokit/request": "^5.0.0", | ||
"universal-user-agent": "^2.1.0" | ||
}, | ||
"devDependencies": { | ||
"@pika/pack": "^0.3.7", | ||
"@pika/pack": "^0.4.0", | ||
"@pika/plugin-build-node": "^0.4.0", | ||
@@ -50,3 +45,8 @@ "@pika/plugin-build-web": "^0.4.0", | ||
"access": "public" | ||
} | ||
}, | ||
"source": "dist-src/index.js", | ||
"types": "dist-types/index.d.ts", | ||
"main": "dist-node/index.js", | ||
"module": "dist-web/index.js", | ||
"unpkg": "dist-web/index.bundled.js" | ||
} |
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
52500
1206
+ Added@octokit/endpoint@6.0.12(transitive)
+ Added@octokit/openapi-types@12.11.0(transitive)
+ Added@octokit/request@5.6.3(transitive)
+ Added@octokit/request-error@2.1.0(transitive)
+ Added@octokit/types@6.41.0(transitive)
+ Addedis-plain-object@5.0.0(transitive)
+ Addeduniversal-user-agent@6.0.1(transitive)
- Removed@octokit/endpoint@5.5.3(transitive)
- Removed@octokit/request@4.1.1(transitive)
- Removed@octokit/request-error@1.2.1(transitive)
- Removed@octokit/types@2.16.2(transitive)
- Removed@types/node@22.9.0(transitive)
- Removedis-plain-object@3.0.1(transitive)
- Removedundici-types@6.19.8(transitive)
- Removeduniversal-user-agent@5.0.0(transitive)
Updated@octokit/request@^5.0.0