Skip to content

Commit 9c81599

Browse files
committed
1 parent b59097f commit 9c81599

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

node_modules/exponential-backoff/LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright [yyyy] [name of copyright owner]
190+
Copyright 2019 Coveo Solutions Inc.
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.
@@ -199,4 +199,4 @@
199199
distributed under the License is distributed on an "AS IS" BASIS,
200200
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201201
See the License for the specific language governing permissions and
202-
limitations under the License.
202+
limitations under the License.

node_modules/exponential-backoff/dist/backoff.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
3838
Object.defineProperty(exports, "__esModule", { value: true });
3939
var options_1 = require("./options");
4040
var delay_factory_1 = require("./delay/delay.factory");
41+
/**
42+
* Executes a function with exponential backoff.
43+
* @param request the function to be executed
44+
* @param options options to customize the backoff behavior
45+
* @returns Promise that resolves to the result of the `request` function
46+
*/
4147
function backOff(request, options) {
4248
if (options === void 0) { options = {}; }
4349
return __awaiter(this, void 0, void 0, function () {

node_modules/exponential-backoff/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "exponential-backoff",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"description": "A utility that allows retrying a function with an exponential delay between attempts.",
55
"files": [
6-
"dist/"
6+
"dist/",
7+
"src/"
78
],
89
"main": "dist/backoff.js",
910
"types": "dist/backoff.d.ts",
@@ -35,7 +36,7 @@
3536
},
3637
"repository": {
3738
"type": "git",
38-
"url": "git+https://github.com/coveo/exponential-backoff.git"
39+
"url": "git+https://github.com/coveooss/exponential-backoff.git"
3940
},
4041
"keywords": [
4142
"exponential",
@@ -45,9 +46,9 @@
4546
"author": "Sami Sayegh",
4647
"license": "Apache-2.0",
4748
"bugs": {
48-
"url": "https://github.com/coveo/exponential-backoff/issues"
49+
"url": "https://github.com/coveooss/exponential-backoff/issues"
4950
},
50-
"homepage": "https://github.com/coveo/exponential-backoff#readme",
51+
"homepage": "https://github.com/coveooss/exponential-backoff#readme",
5152
"devDependencies": {
5253
"@types/jest": "^24.0.18",
5354
"@types/node": "^10.14.21",

package-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6406,9 +6406,9 @@
64066406
}
64076407
},
64086408
"node_modules/exponential-backoff": {
6409-
"version": "3.1.1",
6410-
"resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz",
6411-
"integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==",
6409+
"version": "3.1.2",
6410+
"resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.2.tgz",
6411+
"integrity": "sha512-8QxYTVXUkuy7fIIoitQkPwGonB8F3Zj8eEO8Sqg9Zv/bkI7RJAzowee4gr81Hak/dUTpA2Z7VfQgoijjPNlUZA==",
64126412
"inBundle": true,
64136413
"license": "Apache-2.0"
64146414
},

0 commit comments

Comments
 (0)