@octokit/auth-app
Advanced tools
Comparing version 4.0.9 to 4.0.10
@@ -265,6 +265,6 @@ 'use strict'; | ||
] */ | ||
const regex = `^(?:${regexes.map(r => `(?:${r})`).join("|")})[^/]*$`; | ||
const regex = `^(?:${regexes.map(r => `(?:${r})`).join("|")})$`; | ||
// 'regex' would contain: | ||
/* | ||
^(?:(?:\/orgs\/(?:.+?)\/invitations)|(?:\/repos\/(?:.+?)\/(?:.+?)\/collaborators\/(?:.+?)))[^\/]*$ | ||
^(?:(?:\/orgs\/(?:.+?)\/invitations)|(?:\/repos\/(?:.+?)\/(?:.+?)\/collaborators\/(?:.+?)))$ | ||
It may look scary, but paste it into https://www.debuggex.com/ | ||
@@ -277,3 +277,3 @@ and it will make a lot more sense! | ||
function requiresAppAuth(url) { | ||
return !!url && REGEX.test(url); | ||
return !!url && REGEX.test(url.split("?")[0]); | ||
} | ||
@@ -370,3 +370,3 @@ | ||
const VERSION = "4.0.9"; | ||
const VERSION = "4.0.10"; | ||
@@ -373,0 +373,0 @@ function createAppAuth(options) { |
{ | ||
"name": "@octokit/auth-app", | ||
"description": "GitHub App authentication for JavaScript", | ||
"version": "4.0.9", | ||
"version": "4.0.10", | ||
"license": "MIT", | ||
@@ -47,6 +47,6 @@ "files": [ | ||
"jest": "^29.0.0", | ||
"prettier": "2.8.3", | ||
"prettier": "2.8.8", | ||
"semantic-release-plugin-update-version-in-files": "^1.0.0", | ||
"ts-jest": "^29.0.0", | ||
"typescript": "^4.0.2" | ||
"typescript": "^5.0.0" | ||
}, | ||
@@ -53,0 +53,0 @@ "engines": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
52741
4
408
1