Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setValue(value) {
if (typeof value === "string") {
value = Buffer.from(value.split(",").pop(), this.encoding);
}
return Attribute.prototype.setValue.call(this, value);
}