From a6be9a545eb4562d68ccc601f22ea7db8ac5e4cc Mon Sep 17 00:00:00 2001 From: isaacs Date: Tue, 15 Jul 2014 12:25:29 -0700 Subject: [PATCH] Add 'to be deprecated' comment to default _auth support --- lib/get-credentials-by-uri.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/get-credentials-by-uri.js b/lib/get-credentials-by-uri.js index 474f615..6fb8f31 100644 --- a/lib/get-credentials-by-uri.js +++ b/lib/get-credentials-by-uri.js @@ -19,6 +19,8 @@ function getCredentialsByURI (uri) { // Handle the old-style _auth= style for the default // registry, if set. + // + // XXX(isaacs): Remove when npm 1.4 is no longer relevant var authDef = this.get("_auth") var userDef = this.get("username") var passDef = this.get("_password")