JessicaSachs / JessicaSachs/easybars

Nested interpolation allows for circular references. Consider adding better logging or marking to prevent infinite loop

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
3
PR merge metrics
No merged PRs in 30d

Description

```
describe('Interpolating string with circular reference causes infinite loop', function (expect) {
const str = '{{val}}';
const data = { val: 'My cool {{val}}' };
Easybars(str, data); // max callstack exceeded
expect(true).toBe(true);
});
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.