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

@octokit/auth-app

Package Overview
Dependencies
Maintainers
2
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 3.3.0 to 3.4.0

14

dist-node/index.js

@@ -459,5 +459,17 @@ 'use strict';

const VERSION = "3.3.0";
const VERSION = "3.4.0";
const createAppAuth = function createAppAuth(options) {
if (!options.appId) {
throw new Error("[@octokit/auth-app] appId option is required");
}
if (!options.privateKey) {
throw new Error("[@octokit/auth-app] privateKey option is required");
}
if ("installationId" in options && !options.installationId) {
throw new Error("[@octokit/auth-app] installationId is set to a falsy value");
}
const log = Object.assign({

@@ -464,0 +476,0 @@ warn: console.warn.bind(console)

@@ -10,2 +10,11 @@ import { getUserAgent } from "universal-user-agent";

export const createAppAuth = function createAppAuth(options) {
if (!options.appId) {
throw new Error("[@octokit/auth-app] appId option is required");
}
if (!options.privateKey) {
throw new Error("[@octokit/auth-app] privateKey option is required");
}
if ("installationId" in options && !options.installationId) {
throw new Error("[@octokit/auth-app] installationId is set to a falsy value");
}
const log = Object.assign({

@@ -12,0 +21,0 @@ warn: console.warn.bind(console),

2

dist-src/version.js

@@ -1,1 +0,1 @@

export const VERSION = "3.3.0";
export const VERSION = "3.4.0";

@@ -1,1 +0,1 @@

export declare const VERSION = "3.3.0";
export declare const VERSION = "3.4.0";

@@ -329,5 +329,14 @@ import { getUserAgent } from 'universal-user-agent';

const VERSION = "3.3.0";
const VERSION = "3.4.0";
const createAppAuth = function createAppAuth(options) {
if (!options.appId) {
throw new Error("[@octokit/auth-app] appId option is required");
}
if (!options.privateKey) {
throw new Error("[@octokit/auth-app] privateKey option is required");
}
if ("installationId" in options && !options.installationId) {
throw new Error("[@octokit/auth-app] installationId is set to a falsy value");
}
const log = Object.assign({

@@ -334,0 +343,0 @@ warn: console.warn.bind(console),

{
"name": "@octokit/auth-app",
"description": "GitHub App authentication for JavaScript",
"version": "3.3.0",
"version": "3.4.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "files": [

@@ -559,6 +559,6 @@ # auth-app.js

<th>
<code>array of string</code>
<code>array of numbers</code>
</th>
<td>
The `id`s of the repositories that the installation token can access.
The <code>id</code> of the repositories that the installation token can access. Also known as a <code>databaseID</code> when querying the repository object in GitHub's GraphQL API.
</td>

@@ -779,3 +779,2 @@ </tr>

console.log("Enter code: %s", verification.user_code);
await prompt("press enter when you are ready to continue")

@@ -782,0 +781,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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