Socket
Socket
Sign inDemoInstall

@octokit/auth-oauth-device

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/auth-oauth-device - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

dist-node/index.js

@@ -252,3 +252,3 @@ 'use strict';

const VERSION = "3.0.0";
const VERSION = "3.0.1";

@@ -255,0 +255,0 @@ function createOAuthDeviceAuth(options) {

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

export const VERSION = "3.0.0";
export const VERSION = "3.0.1";

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

export declare const VERSION = "3.0.0";
export declare const VERSION = "3.0.1";

@@ -147,3 +147,3 @@ import { getUserAgent } from 'universal-user-agent';

const VERSION = "3.0.0";
const VERSION = "3.0.1";

@@ -150,0 +150,0 @@ function createOAuthDeviceAuth(options) {

{
"name": "@octokit/auth-oauth-device",
"description": "GitHub OAuth Device authentication strategy for JavaScript",
"version": "3.0.0",
"version": "3.0.1",
"license": "MIT",

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

@@ -90,7 +90,7 @@ # auth-oauth-device.js

// {
// type: 'token',
// tokenType: 'oauth',
// clientType: 'oauth-app',
// clientId: '1234567890abcdef1234',
// token: '...', /* the created oauth token */
// type: "token",
// tokenType: "oauth",
// clientType: "oauth-app",
// clientId: "1234567890abcdef1234",
// token: "...", /* the created oauth token */
// scopes: [] /* depend on request scopes by OAuth app */

@@ -128,16 +128,16 @@ // }

// {
// type: 'token',
// tokenType: 'oauth',
// clientType: 'github-app',
// clientId: 'lv1.1234567890abcdef',
// token: '...', /* the created oauth token */
// type: "token",
// tokenType: "oauth",
// clientType: "github-app",
// clientId: "lv1.1234567890abcdef",
// token: "...", /* the created oauth token */
// }
// or if expiring user tokens are enabled
// {
// type: 'token',
// tokenType: 'oauth',
// clientType: 'github-app',
// clientId: 'lv1.1234567890abcdef',
// token: '...', /* the created oauth token */
// refreshToken: "r1.c1b4a2e77838347a7e420ce178f2e7c6912e169246c34e1ccbf66c46812d16d5b1a9dc86a149873c",
// type: "token",
// tokenType: "oauth",
// clientType: "github-app",
// clientId: "lv1.1234567890abcdef",
// token: "...", /* the created oauth token */
// refreshToken: "...",
// expiresAt: "2022-01-01T08:00:0.000Z",

@@ -144,0 +144,0 @@ // refreshTokenExpiresAt: "2021-07-01T00:00:0.000Z",

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