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

@octokit/oauth-methods

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/oauth-methods - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

8

dist-node/index.js

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

const VERSION = "1.2.3";
const VERSION = "1.2.4";

@@ -131,2 +131,3 @@ function ownKeys(object, enumerableOnly) {

const _excluded = ["request"];
function getWebFlowAuthorizationUrl(_ref) {

@@ -136,3 +137,3 @@ let {

} = _ref,
options = _objectWithoutProperties(_ref, ["request"]);
options = _objectWithoutProperties(_ref, _excluded);

@@ -293,2 +294,3 @@ const baseUrl = requestToOAuthBaseUrl(request$1); // @ts-expect-error TypeScript wants `clientType` to be set explicitly ¯\_(ツ)_/¯

const _excluded$1 = ["request", "clientType", "clientId", "clientSecret", "token"];
async function scopeToken(options) {

@@ -302,3 +304,3 @@ const {

} = options,
requestOptions = _objectWithoutProperties(options, ["request", "clientType", "clientId", "clientSecret", "token"]);
requestOptions = _objectWithoutProperties(options, _excluded$1);

@@ -305,0 +307,0 @@ const response = await (request$1 ||

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

export const VERSION = "1.2.3";
export const VERSION = "1.2.4";

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

export declare const VERSION = "1.2.3";
export declare const VERSION = "1.2.4";
{
"name": "@octokit/oauth-methods",
"description": "Set of stateless request methods to create, check, reset, refresh, and delete user access tokens for OAuth and GitHub Apps",
"version": "1.2.3",
"version": "1.2.4",
"license": "MIT",

@@ -37,7 +37,7 @@ "files": [

"fetch-mock": "^9.11.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"jest": "^27.0.0",
"prettier": "2.3.1",
"semantic-release": "^17.4.2",
"semantic-release-plugin-update-version-in-files": "^1.1.0",
"ts-jest": "^26.5.3",
"ts-jest": "^27.0.0-next.12",
"typescript": "^4.2.3"

@@ -44,0 +44,0 @@ },

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