NSW would become the first state in Australia to introduce laws allowing people to sue for serious invasions of privacy, including revenge porn-style social media posts, under recommendations of a parliamentary committee endorsed by all sides of politics.