Socket
Socket
Sign inDemoInstall

@octokit/auth-token

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/auth-token - npm Package Compare versions

Comparing version 2.4.4 to 2.4.5

5

dist-types/types.d.ts
import * as OctokitTypes from "@octokit/types";
export declare type AnyResponse = OctokitTypes.OctokitResponse<any>;
export declare type StrategyInterface = OctokitTypes.StrategyInterface<[Token], [], Authentication>;
export declare type StrategyInterface = OctokitTypes.StrategyInterface<[
Token
], [
], Authentication>;
export declare type EndpointDefaults = OctokitTypes.EndpointDefaults;

@@ -5,0 +8,0 @@ export declare type EndpointOptions = OctokitTypes.EndpointOptions;

10

package.json
{
"name": "@octokit/auth-token",
"description": "GitHub API token authentication for browsers and Node.js",
"version": "2.4.4",
"version": "2.4.5",
"license": "MIT",

@@ -24,3 +24,3 @@ "files": [

"dependencies": {
"@octokit/types": "^6.0.0"
"@octokit/types": "^6.0.3"
},

@@ -37,6 +37,6 @@ "devDependencies": {

"fetch-mock": "^9.0.0",
"jest": "^25.1.0",
"jest": "^26.0.0",
"semantic-release": "^17.0.0",
"ts-jest": "^25.1.0",
"typescript": "^3.7.2"
"ts-jest": "^26.0.0",
"typescript": "^4.0.0"
},

@@ -43,0 +43,0 @@ "publishConfig": {

@@ -235,3 +235,3 @@ # auth-token.js

const response = await request("GET /repos/:owner/:repo", {
const response = await request("GET /repos/{owner}/{repo}", {
owner: 'octocat',

@@ -238,0 +238,0 @@ repo: 'hello-world'

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