mapbox / mapbox/mapbox-gl-draw
Replace hat module to another implementation.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
Hi,
The mapbox-gl-draw depends on hat 0.0.3. The hat module is licensed MIT/X11 shown in [www.npmjs.com/package/hat.](https://www.npmjs.com/package/hat)
MIT/X11 license must comply with the following statement,
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
However, at this moment,
1. The upstream of hat [(github.com/substack/node-hat)](https://github.com/substack/node-hat) is gone.
2. The installed module of the hat by npm doesn't include any copyright notice or permission notice.
Then currently, no one can comply with the license of the hat module anymore. Therefore, the mapbox-gl-draw shouldn't depend on the hat module or replace another implementation with the appropriate license.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the hat dependency in the package metadata and searching the codebase for its usages. Check the existing test setup before changing the dependency, and consider the work complete when hat is no longer required, its behavior remains covered by tests, and the replacement has an appropriate license.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100