@bpmn-io/feel-editor 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -408,7 +408,7 @@ function language(options) {
408
408
  */
409
409
  function createContext(variables, builtins) {
410
410
  return variables.slice().reverse().reduce((context, builtin) => {
411
- context[builtin.name] = new Function();
411
+ context[builtin.name] = () => {};
412
412
 
413
413
  return context;
414
414
  }, {});
package/dist/index.js CHANGED
@@ -410,7 +410,7 @@ function language(options) {
410
410
  */
411
411
  function createContext(variables, builtins) {
412
412
  return variables.slice().reverse().reduce((context, builtin) => {
413
- context[builtin.name] = new Function();
413
+ context[builtin.name] = () => {};
414
414
 
415
415
  return context;
416
416
  }, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/feel-editor",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Editor for FEEL expressions.",
5
5
  "files": [
6
6
  "dist"