package: add "indexof-component" as a dependency