Dependencies update. Added Test for emoji split with splitStrings option

This commit is contained in:
sanex
2020-09-02 09:38:03 +03:00
parent 59b65e6419
commit 340b7283be
9 changed files with 217 additions and 84 deletions
@@ -114,7 +114,7 @@ export class SplitStringTransformer extends AbstractNodeTransformer {
// pass #2: split large chunks on a chunks with length of `splitStringsChunkLength`
const secondPassChunksNode: ESTree.Node = estraverse.replace(firstPassChunksNode, {
// eslint-disable-next-line no-shadow
// eslint-disable-next-line @typescript-eslint/no-shadow
enter: (node: ESTree.Node, parentNode: ESTree.Node | null) => {
if (parentNode && NodeGuards.isLiteralNode(node)) {
return this.transformLiteralNodeByChunkLength(