Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@octokit/auth-app

Package Overview
Dependencies
Maintainers
4
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/auth-app - npm Package Compare versions

Comparing version 4.0.9 to 4.0.10

8

dist-node/index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc