It probably wouldn't hurt to transplant right now but you can probably get away with waiting another a week or so if you really have to for some reason. In the next roughly 2 months that it's going to take for your plant to completely ripen it'll also become roughly twice as tall and it'll need twice as much root space = you need a new pot that's twice the size of the one it's in now and you should be set until you harvest.