Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# @antv/expr

Have you ever wanted to use some dynamic JS capabilities when using the ssr chart library but were afraid of data security?

Now we have solved this problem for you. We have designed a simple and easy-to-understand template syntax to help you achieve dynamic rendering of charts.
Have you ever wanted to make your SSR charts more dynamic but worried about security risks?

We've got you covered! Our solution introduces an easy-to-use template syntax that safely serializes functions, allowing you to dynamically render charts without compromising security. 🚀

## ✨ Features

Expand Down Expand Up @@ -154,9 +153,9 @@ function evaluateWithTimeout(expr, context, timeoutMs) {
() => reject(new Error(`Evaluation timed out after ${timeoutMs}ms`)),
timeoutMs,
);
});
});

return Promise.race([evaluationPromise, timeoutPromise]);
return Promise.race([evaluationPromise, timeoutPromise]);
}
```

Expand Down
Loading