@octokit/oauth-app
Advanced tools
Comparing version 5.0.0-beta.7 to 5.0.0-beta.8
@@ -45,3 +45,3 @@ "use strict"; | ||
// pkg/dist-src/version.js | ||
var VERSION = "5.0.0-beta.7"; | ||
var VERSION = "5.0.0-beta.8"; | ||
@@ -406,3 +406,2 @@ // pkg/dist-src/add-event-handler.js | ||
// pkg/dist-src/middleware/handle-request.js | ||
var import_fromentries = __toESM(require("fromentries")); | ||
async function handleRequest(app, { pathPrefix = "/api/github/oauth" }, request) { | ||
@@ -456,3 +455,3 @@ if (request.method === "OPTIONS") { | ||
const { searchParams } = new URL(request.url, "http://localhost"); | ||
const query = (0, import_fromentries.default)(searchParams); | ||
const query = Object.fromEntries(searchParams); | ||
const headers = request.headers; | ||
@@ -459,0 +458,0 @@ try { |
import { OAuthApp } from "../index"; | ||
import { unknownRouteResponse } from "./unknown-route-response"; | ||
import fromEntries from "fromentries"; | ||
async function handleRequest(app, { pathPrefix = "/api/github/oauth" }, request) { | ||
@@ -52,3 +51,3 @@ if (request.method === "OPTIONS") { | ||
const { searchParams } = new URL(request.url, "http://localhost"); | ||
const query = fromEntries(searchParams); | ||
const query = Object.fromEntries(searchParams); | ||
const headers = request.headers; | ||
@@ -55,0 +54,0 @@ try { |
@@ -1,4 +0,4 @@ | ||
const VERSION = "5.0.0-beta.7"; | ||
const VERSION = "5.0.0-beta.8"; | ||
export { | ||
VERSION | ||
}; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "5.0.0-beta.7"; | ||
export declare const VERSION = "5.0.0-beta.8"; |
{ | ||
"name": "@octokit/oauth-app", | ||
"version": "5.0.0-beta.7", | ||
"version": "5.0.0-beta.8", | ||
"description": "GitHub OAuth toolset for Node.js", | ||
@@ -22,3 +22,2 @@ "repository": "github:octokit/oauth-app.js", | ||
"@types/aws-lambda": "^8.10.83", | ||
"fromentries": "^1.3.1", | ||
"universal-user-agent": "^6.0.0" | ||
@@ -30,3 +29,2 @@ }, | ||
"@types/node": "^18.0.0", | ||
"@types/node-fetch": "^2.5.4", | ||
"esbuild": "^0.18.0", | ||
@@ -38,3 +36,2 @@ "express": "^4.17.1", | ||
"nock": "^13.0.0", | ||
"node-fetch": "^2.6.0", | ||
"prettier": "2.8.8", | ||
@@ -41,0 +38,0 @@ "semantic-release-plugin-update-version-in-files": "^1.0.0", |
Sorry, the diff of this file is not supported yet
8
13
145334
1947
- Removedfromentries@^1.3.1
- Removedfromentries@1.3.2(transitive)