@octokit/plugin-retry
Advanced tools
Comparing version 6.0.1 to 7.0.0
import { Octokit } from "@octokit/core"; | ||
import { errorRequest } from "./error-request"; | ||
import { wrapRequest } from "./wrap-request"; | ||
import { errorRequest } from "./error-request.js"; | ||
import { wrapRequest } from "./wrap-request.js"; | ||
const VERSION = "0.0.0-development"; | ||
@@ -5,0 +5,0 @@ function retry(octokit, octokitOptions) { |
@@ -1,4 +0,4 @@ | ||
const VERSION = "6.0.1"; | ||
const VERSION = "7.0.0"; | ||
export { | ||
VERSION | ||
}; |
import Bottleneck from "bottleneck/light"; | ||
import { RequestError } from "@octokit/request-error"; | ||
import { errorRequest } from "./error-request"; | ||
import { errorRequest } from "./error-request.js"; | ||
async function wrapRequest(state, octokit, request, options) { | ||
@@ -5,0 +5,0 @@ const limiter = new Bottleneck(); |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "6.0.1"; | ||
export declare const VERSION = "7.0.0"; |
{ | ||
"name": "@octokit/plugin-retry", | ||
"version": "6.0.1", | ||
"version": "7.0.0", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"type": "module", | ||
"description": "Automatic retry plugin for octokit", | ||
@@ -17,15 +18,15 @@ "repository": "github:octokit/plugin-retry.js", | ||
"peerDependencies": { | ||
"@octokit/core": ">=5" | ||
"@octokit/core": ">=6" | ||
}, | ||
"devDependencies": { | ||
"@octokit/core": "^5.0.0", | ||
"@octokit/tsconfig": "^2.0.0", | ||
"@octokit/core": "^6.0.0", | ||
"@octokit/tsconfig": "^3.0.0", | ||
"@types/fetch-mock": "^7.3.1", | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "^18.0.0", | ||
"esbuild": "^0.19.0", | ||
"fetch-mock": "^9.0.0", | ||
"@types/node": "^20.0.0", | ||
"esbuild": "^0.20.0", | ||
"fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1", | ||
"glob": "^10.2.6", | ||
"jest": "^29.0.0", | ||
"prettier": "3.0.3", | ||
"prettier": "3.2.5", | ||
"semantic-release-plugin-update-version-in-files": "^1.0.0", | ||
@@ -42,7 +43,9 @@ "ts-jest": "^29.0.0", | ||
], | ||
"main": "dist-node/index.js", | ||
"browser": "dist-web/index.js", | ||
"types": "dist-types/index.d.ts", | ||
"module": "dist-src/index.js", | ||
"exports": { | ||
".": { | ||
"types": "./dist-types/index.d.ts", | ||
"import": "./dist-bundle/index.js" | ||
} | ||
}, | ||
"sideEffects": false | ||
} |
@@ -33,4 +33,4 @@ # plugin-retry.js | ||
```js | ||
const { Octokit } = require("@octokit/core"); | ||
const { retry } = require("@octokit/plugin-retry"); | ||
import { Octokit } from "@octokit/core"; | ||
import { retry } from "@octokit/plugin-retry"; | ||
``` | ||
@@ -37,0 +37,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Yes
15075
13
179
1