@octokit/app
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138004
4395
+ Added@octokit/endpoint@6.0.12(transitive)
+ Added@octokit/openapi-types@12.11.0(transitive)
+ Added@octokit/request@5.6.3(transitive)
+ Added@octokit/request-error@2.1.0(transitive)
+ Added@octokit/types@6.41.0(transitive)
+ Addedis-plain-object@5.0.0(transitive)
+ Addeduniversal-user-agent@6.0.1(transitive)
- Removed@octokit/endpoint@5.5.3(transitive)
- Removed@octokit/request@4.1.1(transitive)
- Removed@octokit/request-error@1.2.1(transitive)
- Removed@octokit/types@2.16.2(transitive)
- Removed@types/node@22.7.9(transitive)
- Removedcross-spawn@6.0.5(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedexeca@1.0.0(transitive)
- Removedget-stream@4.1.0(transitive)
- Removedis-plain-object@3.0.1(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedmacos-release@2.5.1(transitive)
- Removednice-try@1.0.5(transitive)
- Removednpm-run-path@2.0.2(transitive)
- Removedos-name@3.1.0(transitive)
- Removedp-finally@1.0.0(transitive)
- Removedpath-key@2.0.1(transitive)
- Removedpump@3.0.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstrip-eof@1.0.0(transitive)
- Removedundici-types@6.19.8(transitive)
- Removeduniversal-user-agent@2.1.05.0.0(transitive)
- Removedwhich@1.3.1(transitive)
- Removedwindows-release@3.3.3(transitive)
Updated@octokit/request@^5.0.0