You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 10, 2018. It is now read-only.
The dependencies tab should refer to the GitHub repository as defined in fec-style's package.json file.
Actual behavior
The accessible-mega-menu dependency in fec-style refers to my package on npmjs.org (https://www.npmjs.com/package/accessible-mega-menu), but in reality the package.json file points to a completely unrelated project.
npmjs.org appears to always assume that a dependency is on the NPM registry.
Steps to reproduce the problem
Create a new Node module;
In the package.json file, set some random dependency that is not on npmjs.org and link to a GitHub repository;
Publish the package to npmjs.org.
Navigate to the "Dependencies" tab of your newly-created Node module;
Click on the random dependency.
You should see a 404 page pop up and you can create a completely unrelated module with the same name. If you do create a package with the same name as the random dependency, npmjs.org will assume that this is in fact the dependency of the original package we published and not the GitHub repository. Please note, that during the installation process you still install everything according to the package.json file, this is simply an issue in the way that npmjs.org links to the dependency.
Link to the page
https://www.npmjs.com/package/fec-style
Logged in or logged out?
Both work
Expected behavior
The dependencies tab should refer to the GitHub repository as defined in
fec-style's package.json file.Actual behavior
The
accessible-mega-menudependency infec-stylerefers to my package on npmjs.org (https://www.npmjs.com/package/accessible-mega-menu), but in reality the package.json file points to a completely unrelated project.npmjs.org appears to always assume that a dependency is on the NPM registry.
Steps to reproduce the problem
You should see a 404 page pop up and you can create a completely unrelated module with the same name. If you do create a package with the same name as the random dependency, npmjs.org will assume that this is in fact the dependency of the original package we published and not the GitHub repository. Please note, that during the installation process you still install everything according to the package.json file, this is simply an issue in the way that npmjs.org links to the dependency.
Browser with version
Firefox Developer Edition 62.0b2 (64-bit)