When I tried to run an imported postman collection which contains few test scripts in package library, I’m getting an error as pm.require is not a function in Newman.
Any solution to update the package via external javascript file before running postman collection file: