Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2025-05-27 12:34:30 +00:00
parent 3934d2b758
commit 655a969b7c
221 changed files with 2272 additions and 1525 deletions

View file

@ -28,10 +28,8 @@ function urlBuilderAuthorize(base, options) {
};
let url = base;
Object.keys(map).filter((k) => options[k] !== null).filter((k) => {
if (k !== "scopes")
return true;
if (options.clientType === "github-app")
return false;
if (k !== "scopes") return true;
if (options.clientType === "github-app") return false;
return !Array.isArray(options[k]) || options[k].length > 0;
}).map((key) => [map[key], `${options[key]}`]).forEach(([key, value], index) => {
url += index === 0 ? `?` : "&";

View file

@ -5,7 +5,7 @@
"provenance": true
},
"type": "module",
"version": "7.1.1",
"version": "8.0.0",
"description": "Universal library to retrieve GitHub’s identity URL for the OAuth web flow",
"repository": "github:octokit/oauth-authorization-url.js",
"files": [
@ -19,17 +19,16 @@
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT",
"devDependencies": {
"@octokit/tsconfig": "^3.0.0",
"@types/jest": "^29.0.0",
"esbuild": "^0.20.0",
"glob": "^10.2.6",
"jest": "^29.0.0",
"prettier": "3.2.5",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
"@octokit/tsconfig": "^4.0.0",
"@vitest/coverage-v8": "^3.0.0",
"esbuild": "^0.25.0",
"glob": "^11.0.0",
"prettier": "3.5.3",
"typescript": "^5.0.0",
"vitest": "^3.0.0"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"types": "./dist-types/index.d.ts",
"exports": {