Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get: function () {
return Object.keys(getUri.protocols);
}
});
get: function () { return Object.keys(getUri.protocols); }
});
new Promise((resolve, reject) => {
getUri(uri, (err, stream) => {
if (err) {
reject(err)
} else {
resolve(stream)
}
})
})