The following command will cause npmbox to clutch its chest and fall to the ground gasping:
npmbox "@types/chai@3.4.34"
I had the same reaction when I discovered that NPM modules are allowed to include a forward slash in their name 😱
I patched my local install by changing line 343 from this:
if (!target) setTarget(npa(source).name);
to this:
if (!target) setTarget(npa(source).escapedName);
I did not think it through beyond "works for me".
Happy to open a PR for that if you like.
The following command will cause npmbox to clutch its chest and fall to the ground gasping:
npmbox "@types/chai@3.4.34"
I had the same reaction when I discovered that NPM modules are allowed to include a forward slash in their name 😱
I patched my local install by changing line 343 from this:
if (!target) setTarget(npa(source).name);
to this:if (!target) setTarget(npa(source).escapedName);
I did not think it through beyond "works for me". Happy to open a PR for that if you like.