Recent take of science is that co-sleeping is actually safer (reduces SIDS) if taking a couple of precautions.
Parent under drugs/medications (including smoking) is mainly what drove the death statistics in cosleeping.
Don't have links to studies but is what is teached in official parental education courses in spain atm.