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

@octokit/plugin-retry

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/plugin-retry - npm Package Compare versions

Comparing version 6.0.1 to 7.0.0

dist-bundle/index.js

4

dist-src/index.js
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 @@

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