Skip to content

Missing metadata for bundled third-party libraries #346

@frenzymadness

Description

@frenzymadness

Some of the bundled libraries don't have metadata files with them, which makes it impossible to get a license or version info from them. I redistribute this package in Fedora Linux, and it's important for me to declare all the licenses used (for the main package and all the bundled ones) as well as the versions of the bundled libs (for the vulnerability scanners).

For example create-react-class is a single minified .js file without any info about it, while I see that the upstream repo contains package.json file. react directory contains more files, but package.json is not there for some reason.

Jupyterlab, for example, provides a single JSON file with metadata for all bundled libraries in static/third-party-licenses.json and I guess it's generated during the build.

See: https://github.com/jupyterlab/jupyterlab/blob/73cca87d4ece9a167b08aad6fd32c8fa28177c93/builder/src/webpack-plugins.ts#L220-L234

Would it make sense to have something like it here as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions