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.1.1 to 3.1.2

42

dist-node/index.js

@@ -9,17 +9,2 @@ 'use strict';

function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
function ownKeys(object, enumerableOnly) {

@@ -30,5 +15,9 @@ var keys = Object.keys(object);

var symbols = Object.getOwnPropertySymbols(object);
if (enumerableOnly) symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});
if (enumerableOnly) {
symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});
}
keys.push.apply(keys, symbols);

@@ -60,2 +49,17 @@ }

function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
function _objectWithoutPropertiesLoose(source, excluded) {

@@ -202,3 +206,3 @@ if (source == null) return {};

const VERSION = "3.1.1";
const VERSION = "3.1.2";

@@ -205,0 +209,0 @@ function createOAuthDeviceAuth(options) {

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

export const VERSION = "3.1.1";
export const VERSION = "3.1.2";

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

export declare const VERSION = "3.1.1";
export declare const VERSION = "3.1.2";

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

const VERSION = "3.1.1";
const VERSION = "3.1.2";

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

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

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

@@ -70,2 +70,3 @@ # auth-oauth-device.js

clientId: "1234567890abcdef1234",
scopes: ["public_repo"],
onVerification(verification) {

@@ -196,3 +197,3 @@ // verification example

await prompt("press enter when you are ready to continue")
await prompt("press enter when you are ready to continue");
},

@@ -199,0 +200,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