Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ lib/ node_modules/ npm/ lib/ config/ |
|
var assert = require('assert') var toNerfDart = require('./nerf-dart.js') module.exports = clearCredentialsByURI function clearCredentialsByURI (uri) { assert(uri && typeof uri === 'string', 'registry URL is required') var nerfed = toNerfDart(uri) this.del(nerfed + ':_authToken', 'user') this.del(nerfed + ':_password', 'user') this.del(nerfed + ':username', 'user') this.del(nerfed + ':email', 'user') }