breaking change from 2.1.0 to 2.2.0
Boxie5 opened this issue · comments
there is a breaking change between 2.1.0 and 2.2.0 in the way of importing this package
For 2.1.0, we need do it this way:
import * as resolvepath from 'resolve-pathname'
and for 2.2.0:
import resolvepath from 'resolve-pathname'
and if we had add this as a dependencies without accurately specify the version like yarn add resolve-pathname@2.1.0
, then the next time we do yarn
or npm install
, it will install version 2.2.0, which makes our code not working anymore.