resolve resolvedDependency deprecation issue