browserify / browserify/wzrd.in
package.js with dot js at end global object wrong naming
- Dominant language
- JavaScript
- Stars
- 637
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
While, for example for `highlight.js` it should be `highlightJs = {actual: Functions}` it is `highlight = {js: {actual: Functions}}`, which can cause problems when `highlight` package is also requested.
Appendind `Js` is fine since
> New packages must not have uppercase letters in the name.
https://docs.npmjs.com/files/package.json#name
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting package.js and the code that derives the global object name from a package name. Reproduce the highlight.js case and a request involving another highlight package, then verify that the generated name uses highlightJs rather than nesting js under highlight.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100