When shopping for dried, packaged pasta, Bastianich says to pay attention to the color and texture of the noodles, which indicates how long the pasta has been sitting on the shelf. Dryer-looking, cracked pasta may hint that a package has been sitting on the shelf for anywhere from a few months to up to a year or two.