The New Jersey Legislature unanimously passed a bill Thursday that would temporarily allow public bodies to publish public notices in news outlets in a digital-only format.