Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/request/lib/auth.js')
-rw-r--r--node_modules/request/lib/auth.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/request/lib/auth.js b/node_modules/request/lib/auth.js
index f5edf32c3..02f203869 100644
--- a/node_modules/request/lib/auth.js
+++ b/node_modules/request/lib/auth.js
@@ -62,7 +62,7 @@ Auth.prototype.digest = function (method, path, authHeader) {
var challenge = {}
var re = /([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi
- for (;;) {
+ while (true) {
var match = re.exec(authHeader)
if (!match) {
break