The House passed the same measure earlier in the day, averting a partial government shutdown at midnight Friday.

The stopgap extends current federal funding through Jan. 19 and also provides temporary extensions of the Children’s Health Insurance Program (which has languished politically since it expired in October), a veterans health-care program and a warrantless surveillance program set to expire on Jan. 1.