The Senate companion legislation to “Daniel’s Law,” a measure to prevent the home addresses of judges and other public officials from being posted on the internet, unanimously passed the Senate Judiciary Committee on Thursday, just days after a federal judge in the state was threatened by a man who bought such information online.

The committee on Thursday took up S-2925 and S-2797, both offering disclosure protections for certain personal information of judges and other public officials, and combined them into one bill—called a Senate committee substitute—to match most of the provisions in A-1649.