mapbox-gl-draw icon indicating copy to clipboard operation
mapbox-gl-draw copied to clipboard

Replace hat module to another implementation.

Open nozzy123nozzy opened this issue 2 years ago • 1 comments

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.

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) 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.

nozzy123nozzy avatar Jan 05 '23 18:01 nozzy123nozzy

Good point. Hat is only used for random ids to assign to drawn features so this should be easy to replace.

mourner avatar Jan 05 '23 20:01 mourner