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.0.0 to 1.1.0

2

dist-node/index.js

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

const VERSION = "1.0.0";
const VERSION = "1.1.0";

@@ -15,0 +15,0 @@ function _defineProperty(obj, key, value) {

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

export const VERSION = "1.0.0";
export const VERSION = "1.1.0";

@@ -12,1 +12,2 @@ export { VERSION } from "./version";

export { deleteAuthorization } from "./delete-authorization";
export { OAuthAppAuthentication, GitHubAppAuthentication, GitHubAppAuthenticationWithExpiration, } from "./types";

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

export declare const VERSION = "1.0.0";
export declare const VERSION = "1.1.0";
{
"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.0.0",
"version": "1.1.0",
"license": "MIT",

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

@@ -47,2 +47,4 @@ # oauth-methods.js

Some of the methods will work, but others do not have CORS headers enabled and will fail (`exchangeWebFlowCode()`, `createDeviceCode()`, `exchangeDeviceCode()`, `refreshToken()`). Also the Client Secret should not be exposed to clients as it can be used for a [Person-in-the-middle attack](https://en.wikipedia.org/wiki/Person-in-the-middle_attack).
</td></tr>

@@ -1563,2 +1565,12 @@ <tr><th>

## Types
```ts
import {
OAuthAppAuthentication,
GitHubAppAuthentication,
GitHubAppAuthenticationWithExpiration,
} from "@octokit/oauth-methods";
```
## Contributing

@@ -1565,0 +1577,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