1.2.2 • Published 8 months ago
@formio/protected-eval v1.2.2
Form.io Protected Eval Plugin
This plugin makes formiojs library to use sandboxed eval with custom js-interpreter instead of default eval function.
Usage
import ProtectedEval from '@formio/protected-eval';
import { Formio } from 'formiojs';
Formio.use(ProtectedEval);
Differences with classic eval
Plugin doesn't allow usage of following variables in custom scripts:
instance
self
There is also a performance regression when this library is used. If you have more than 100 calculated values within your form, you will see a noticable performance decrease in the runtime performance of the form.
1.2.3-rc.1
9 months ago
1.2.3-rc.2
8 months ago
2.0.0-dev.8.3e46c78
8 months ago
2.0.0-dev.6.b39ed92
12 months ago
2.0.0-rc.1
1 year ago
2.0.0-dev.6.cfd1219
12 months ago
2.0.0-dev.6.83b0f45
12 months ago
1.2.2
3 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.0
4 years ago
1.0.1
5 years ago
1.0.0
5 years ago