The purpose of the Espionage Act was to prohibit interference with military operations, to ban support of U.S. enemies during wartime or to promote insubordination in the military.
Anti-Federalists argued that the Constitution gave too much power to the federal government. While taking too much power away from state and local governments.