Socket
Socket
Sign inDemoInstall

@octokit/auth-action

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/auth-action - npm Package Compare versions

Comparing version 4.0.1 to 5.0.0-beta.1

28

package.json

@@ -6,4 +6,5 @@ {

},
"version": "4.0.1",
"version": "5.0.0-beta.1",
"description": "GitHub API token authentication for GitHub Actions",
"type": "module",
"repository": "github:octokit/auth-action.js",

@@ -20,14 +21,14 @@ "keywords": [

"dependencies": {
"@octokit/auth-token": "^4.0.0",
"@octokit/types": "^12.0.0"
"@octokit/auth-token": "^5.0.0",
"@octokit/types": "^12.6.0"
},
"devDependencies": {
"@octokit/request": "^8.0.2",
"@octokit/tsconfig": "^2.0.0",
"@octokit/request": "^9.0.1",
"@octokit/tsconfig": "^3.0.0",
"@types/jest": "^29.0.0",
"esbuild": "^0.19.0",
"esbuild": "^0.20.0",
"fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1",
"glob": "^10.2.5",
"jest": "^29.0.0",
"prettier": "3.0.3",
"prettier": "3.2.5",
"ts-jest": "^29.0.0",

@@ -40,10 +41,13 @@ "typescript": "^5.0.0"

"files": [
"dist-*/**",
"bin/**"
"dist-*/**"
],
"main": "dist-node/index.js",
"module": "dist-web/index.js",
"main": "dist-src/index.js",
"types": "dist-types/index.d.ts",
"source": "dist-src/index.js",
"exports": {
".": {
"types": "./dist-types/index.d.ts",
"import": "./dist-src/index.js"
}
},
"sideEffects": false
}

@@ -29,4 +29,3 @@ # auth-action.js

```js
const { createActionAuth } = require("@octokit/auth-action");
// or: import { createActionAuth } from "@octokit/auth-action";
import { createActionAuth } from "@octokit/auth-action";

@@ -90,3 +89,3 @@ const auth = createActionAuth();

The `auth()` method has no options. It returns a promise which resolves with the the authentication object.
The `auth()` method has no options. It returns a promise which resolves with the authentication object.

@@ -93,0 +92,0 @@ ## Authentication object

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