A New Jersey Senate committee on Thursday unanimously endorsed legislation that would vest women who are pregnant or who have recently given birth with the protection of the state’s Law Against Discrimination.

The bill, S-2995, sponsored by Sen. Loretta Weinberg, D-Bergen, requires employers to make reasonable accommodations, including extended leave, for pregnancy-related conditions and needs when requested by the woman on the advice of her doctor.