I upgraded my Angular App to version 18 and getting this error now: How do I find out where this is comming from? The comment of this function states that it should only be used with JIT compiler: /** * Unsafely call the Function constructor with the given string arguments. * @security This is a security-sensitive function; any use of this function * must go through security review. In particular, it must be assured that it * is only called from the JIT compiler, as use in other code can lead to XSS * vulnerabilities. */ If I understand correctly this function should only be called with the JIT compiler, which should not be used when I build the application with ng build, right? Where does this call come from and how to fix this issue? Continue reading...