@gitbeaker/requester-utils
Advanced tools
Comparing version 39.28.0--canary.3497.1119579763.0 to 39.28.0
@@ -104,2 +104,18 @@ import { RateLimit } from 'async-sema'; | ||
export { type BaseRequestOptionsWithAccessToken, type BaseRequestOptionsWithJobToken, type BaseRequestOptionsWithOAuthToken, BaseResource, type BaseResourceOptions, type Constructable, type DefaultRequestOptions, type FormattedResponse, type GitlabToken, type OptionsHandlerFn, type RateLimitOptions, type RateLimiters, type RequestHandlerFn, type RequestOptions, type RequesterType, type ResourceOptions, type ResponseBodyTypes, type RootResourceOptions, createRateLimiters, createRequesterFn, defaultOptionsHandler, formatQuery, getMatchingRateLimiter, presetResourceArguments }; | ||
declare class GitbeakerRequestError extends Error { | ||
constructor(message: string, options?: { | ||
cause: { | ||
description: string; | ||
request: Request; | ||
response: Response; | ||
}; | ||
}); | ||
} | ||
declare class GitbeakerTimeoutError extends Error { | ||
constructor(message: string); | ||
} | ||
declare class GitbeakerRetryError extends Error { | ||
constructor(message: string); | ||
} | ||
export { type BaseRequestOptionsWithAccessToken, type BaseRequestOptionsWithJobToken, type BaseRequestOptionsWithOAuthToken, BaseResource, type BaseResourceOptions, type Constructable, type DefaultRequestOptions, type FormattedResponse, GitbeakerRequestError, GitbeakerRetryError, GitbeakerTimeoutError, type GitlabToken, type OptionsHandlerFn, type RateLimitOptions, type RateLimiters, type RequestHandlerFn, type RequestOptions, type RequesterType, type ResourceOptions, type ResponseBodyTypes, type RootResourceOptions, createRateLimiters, createRequesterFn, defaultOptionsHandler, formatQuery, getMatchingRateLimiter, presetResourceArguments }; |
@@ -200,3 +200,26 @@ 'use strict'; | ||
// src/GitbeakerError.ts | ||
var GitbeakerRequestError = class extends Error { | ||
constructor(message, options) { | ||
super(message, options); | ||
this.name = "GitbeakerRequestError"; | ||
} | ||
}; | ||
var GitbeakerTimeoutError = class extends Error { | ||
constructor(message) { | ||
super(message); | ||
this.name = "GitbeakerTimeoutError"; | ||
} | ||
}; | ||
var GitbeakerRetryError = class extends Error { | ||
constructor(message) { | ||
super(message); | ||
this.name = "GitbeakerTimeoutError"; | ||
} | ||
}; | ||
exports.BaseResource = BaseResource; | ||
exports.GitbeakerRequestError = GitbeakerRequestError; | ||
exports.GitbeakerRetryError = GitbeakerRetryError; | ||
exports.GitbeakerTimeoutError = GitbeakerTimeoutError; | ||
exports.createRateLimiters = createRateLimiters; | ||
@@ -203,0 +226,0 @@ exports.createRequesterFn = createRequesterFn; |
{ | ||
"name": "@gitbeaker/requester-utils", | ||
"version": "39.28.0--canary.3497.1119579763.0", | ||
"version": "39.28.0", | ||
"description": "Utility functions for requester implementatons used in @gitbeaker", | ||
@@ -64,3 +64,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "f7cf52513e515b78cdca08945898e56f161b8489" | ||
"gitHead": "e15097c508ee0b5bc2f599ed818fa1e08e2645d3" | ||
} |
@@ -26,19 +26,2 @@ <div align="center"> | ||
<br> | ||
<br> | ||
<br> | ||
<a href="https://axolo.co/gitlab-slack-integration/?ref=gitbeaker"> | ||
<div> | ||
<img src="https://apichaos.s3.eu-west-3.amazonaws.com/logo_axolo.png" width="210" alt="Axolo Logo"/> | ||
<br> | ||
<br> | ||
</div> | ||
<b>Review merge requests in Slack to merge code faster</b> | ||
<div> | ||
<sub>Improve your code review process by creating an ephemeral channel per merge request.</sub> | ||
<br> | ||
</div> | ||
</a> | ||
<br> | ||
<hr> | ||
@@ -53,5 +36,2 @@ </div> | ||
</a> | ||
<a href="https://img.shields.io/librariesio/release/npm/@gitbeaker/requester-utils"> | ||
<img src="https://img.shields.io/librariesio/release/npm/@gitbeaker/requester-utils" alt="Dependency Status" /> | ||
</a> | ||
<a href="https://github.com/intuit/auto"> | ||
@@ -67,4 +47,4 @@ <img src="https://img.shields.io/badge/release-auto.svg?colorA=888888&colorB=9B065A&label=auto" alt="Auto"> | ||
</a> | ||
<a href="https://packagephobia.now.sh/result?p=@gitbeaker/requester-utils"> | ||
<img src="https://packagephobia.now.sh/badge?p=@gitbeaker/requester-utils" alt="Install Size: Core"> | ||
<a href="https://packagephobia.com/result?p=@gitbeaker/requester-utils"> | ||
<img src="https://packagephobia.com/badge?p=@gitbeaker/requester-utils" alt="Install Size: Requester Utils"> | ||
</a> | ||
@@ -71,0 +51,0 @@ </p> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
58134
550
0
231