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 2cde37d + f93c2c1 commit a3f3751Copy full SHA for a3f3751
src/cli/domain/registry.ts
@@ -98,7 +98,7 @@ export default function registry(opts: RegistryOptions = {}): RegistryCli {
98
requestsHeaders = Object.assign(requestsHeaders, {
99
Authorization:
100
'Basic ' +
101
- new Buffer(options.username + ':' + options.password).toString(
+ Buffer.from(options.username + ':' + options.password).toString(
102
'base64'
103
)
104
});
0 commit comments