Skip to content

Commit 5df69b4

Browse files
committed
1 parent 80c3273 commit 5df69b4

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

node_modules/exponential-backoff/LICENSE

+2-2
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

+6
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

+6-5
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

+3-3
Original file line numberDiff line numberDiff line change
@@ -8163,9 +8163,9 @@
81638163
"license": "ISC"
81648164
},
81658165
"node_modules/exponential-backoff": {
8166-
"version": "3.1.1",
8167-
"resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz",
8168-
"integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==",
8166+
"version": "3.1.2",
8167+
"resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.2.tgz",
8168+
"integrity": "sha512-8QxYTVXUkuy7fIIoitQkPwGonB8F3Zj8eEO8Sqg9Zv/bkI7RJAzowee4gr81Hak/dUTpA2Z7VfQgoijjPNlUZA==",
81698169
"inBundle": true,
81708170
"license": "Apache-2.0"
81718171
},

0 commit comments

Comments
 (0)