Socket
Socket
Sign inDemoInstall

@octokit/auth-oauth-device

Package Overview
Dependencies
Maintainers
3
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 4.0.1 to 4.0.2

6

dist-node/index.js

@@ -73,3 +73,5 @@ 'use strict';

// istanbul ignore if
if (!error.response) throw error;
// @ts-ignore
if (!error.response) throw error; // @ts-ignore
const errorType = error.response.data.error;

@@ -116,3 +118,3 @@

const VERSION = "4.0.1";
const VERSION = "4.0.2";

@@ -119,0 +121,0 @@ function createOAuthDeviceAuth(options) {

@@ -65,4 +65,6 @@ import { createDeviceCode, exchangeDeviceCode } from "@octokit/oauth-methods";

// istanbul ignore if
// @ts-ignore
if (!error.response)
throw error;
// @ts-ignore
const errorType = error.response.data.error;

@@ -69,0 +71,0 @@ if (errorType === "authorization_pending") {

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

export const VERSION = "4.0.1";
export const VERSION = "4.0.2";

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

export declare const VERSION = "4.0.1";
export declare const VERSION = "4.0.2";

@@ -68,4 +68,6 @@ import { getUserAgent } from 'universal-user-agent';

// istanbul ignore if
// @ts-ignore
if (!error.response)
throw error;
// @ts-ignore
const errorType = error.response.data.error;

@@ -104,3 +106,3 @@ if (errorType === "authorization_pending") {

const VERSION = "4.0.1";
const VERSION = "4.0.2";

@@ -107,0 +109,0 @@ function createOAuthDeviceAuth(options) {

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

@@ -25,3 +25,2 @@ "files": [

},
"peerDependencies": {},
"devDependencies": {

@@ -36,3 +35,3 @@ "@octokit/tsconfig": "^1.0.2",

"fetch-mock": "^9.11.0",
"jest": "^28.0.0",
"jest": "^28.1.3",
"prettier": "2.7.1",

@@ -39,0 +38,0 @@ "semantic-release": "^19.0.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