Add support for ^1.2.3 and ^0.2.3 versions