If you make it from scratch at home, I would say you could give it 3-5 days in the fridge; but much longer in the freezer of course. Fresh pasta freezes really well.
Most of our pasta gets pasteurized, so steamed at close to 100%C for a very short time. This gives it another few days shelf life in the fridge. Additionally, our pasta, meals & pizza are packed in ‘MAP’ – which basically means that we remove as much oxygen as possible from the packaging to slow down the breakdown process. So this gives our product another few days.