Incomplete question. However, I inferred you are referring to the Alien and Sedition Acts of 1798 based on the differing opinions about the two bills.
Explanation:
Remember, it was President John Adams's administration that push support for the bill primarily because of the fear of a war with France. But consider, the bills allowed the U.S government at the time to
However, since the First Amendment of the constitution was drafted to guaranteed freedom of speech and freedom of the press it seems the Alien and Sedition Acts illegally overrode those provisions.