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 1f84ba7 + f93c2c1 commit 7231bb4Copy full SHA for 7231bb4
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