We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd830d1 + 6b86cd7 commit f93c2c1Copy full SHA for f93c2c1
src/cli/domain/registry.ts
@@ -126,7 +126,7 @@ export default function registry(opts: RegistryOptions = {}): RegistryCli {
126
requestsHeaders = Object.assign(requestsHeaders, {
127
Authorization:
128
'Basic ' +
129
- new Buffer(options.username + ':' + options.password).toString(
+ Buffer.from(options.username + ':' + options.password).toString(
130
'base64'
131
)
132
});
0 commit comments