A wrong object key when using transform object keys and unicode escape sequence options at once

This commit is contained in:
Dmitry Zamotkin
2020-01-13 22:22:37 +03:00
parent b5aac6e03b
commit cc8ebba8dd
7 changed files with 50 additions and 250 deletions
+1
View File
@@ -46,6 +46,7 @@ export class EscapeSequenceEncoder implements IEscapeSequenceEncoder {
});
this.stringsCache.set(cacheKey, result);
this.stringsCache.set(`${result}-${String(encodeAllSymbols)}`, result);
return result;
}