Hahaha! Your reply is almost the same as I can expect. However, it is reasonable. The security issue can not be just ignored due to code check tool. I can try to use "overrides" of NPM to upgrade vm2 directly. Maybe we could upgrade to Jsreport V3 as well later.
Thank you! Have a nice day! @jan_blaha
If you’re looking to do this programmatically within jsreport, the script approach mentioned earlier is definitely the way to go for automation.
However, if you just need a quick way to split a specific file manually without messing with the code right now, I’ve used https://thetoolapp.com/utilities/split-files/ before. It’s pretty straightforward for splitting things page-by-page.