resorting to require.resolve to check if the library exists
updating the version