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

@octokit/app

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/app - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

dist-node/index.js

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

max: 15000,
// Cache for 1 minute less than GitHub expiry
// Cache for 59 minutes (1 minute less than GitHub expiry)
maxAge: 1000 * 60 * 59

@@ -19,0 +19,0 @@ });

@@ -7,5 +7,5 @@ // https://github.com/isaacs/node-lru-cache#readme

max: 15000,
// Cache for 1 minute less than GitHub expiry
// Cache for 59 minutes (1 minute less than GitHub expiry)
maxAge: 1000 * 60 * 59
});
}

@@ -10,3 +10,3 @@ import { request } from '@octokit/request';

max: 15000,
// Cache for 1 minute less than GitHub expiry
// Cache for 59 minutes (1 minute less than GitHub expiry)
maxAge: 1000 * 60 * 59

@@ -13,0 +13,0 @@ });

{
"name": "@octokit/app",
"description": "GitHub Apps toolset for Node.js",
"version": "3.0.1",
"version": "3.0.2",
"license": "MIT",

@@ -10,7 +10,2 @@ "files": [

],
"source": "dist-src/index.js",
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js",
"unpkg": "dist-web/index.bundled.js",
"pika": true,

@@ -30,3 +25,3 @@ "sideEffects": false,

"dependencies": {
"@octokit/request": "^4.1.0",
"@octokit/request": "^5.0.0",
"jsonwebtoken": "^8.3.0",

@@ -36,3 +31,3 @@ "lru-cache": "^5.1.1"

"devDependencies": {
"@pika/pack": "^0.3.7",
"@pika/pack": "^0.4.0",
"@pika/plugin-build-node": "^0.4.0",

@@ -60,3 +55,8 @@ "@pika/plugin-build-web": "^0.4.0",

"access": "public"
}
},
"source": "dist-src/index.js",
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js",
"unpkg": "dist-web/index.bundled.js"
}

@@ -101,3 +101,3 @@ # app.js

Installation tokens expire after an hour. By default, `@octokit/app` is caching up to 15000 tokens simultaneously using [`lru-cache`](https://github.com/isaacs/node-lru-cache). You can pass your own cache implementation by passing `options.cache.{get,set}` to the constructor.
Installation tokens expire after an hour. By default, each `App` instance is caching up to 15000 tokens simultaneously using [`lru-cache`](https://github.com/isaacs/node-lru-cache). You can pass your own cache implementation by passing `options.cache.{get,set}` to the constructor.

@@ -104,0 +104,0 @@ ```js

Sorry, the diff of this file is too big to display

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