this is not equivalent. ``~2.2.1`` means ``>=2.2.1, <2.3-dev``