Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function dupe(type, value) {
if (type === "blob") {
if (type.length >= 100) return value;
return new Binary(value);
}
return decoders[type](encoders[type](value));
}