Issue when upgrading the bpmnjs with the last version of diagramjs

Hello,
i got the below issue after upgrading the latest to the latest version of diagramjs

image

when debugging, the function below could not read property ‘split’ and i get an undefined error, is there something I am missing?

image

thank you in advance.

Which versions of diagram-js and bpmn-js are you using? Updating to the latest versions should fix the problem.