NPM deps: Correctly compute `:provides` if file ends in `index.js`

Description

None

Environment

None

Assignee

David Nolen

Reporter

António Monteiro

Labels

Approval

Accepted

Patch

Code

Fix versions

Affects versions

Priority

Minor
Configure