question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Browserify depends on unlicensed code

See original GitHub issue

The browserify package depends on various other packages which do not have valid licenses. This makes it hard to install browserify as in doing so you’d be making possibly illegal copies of the dependencies. Some declare that they follow the MIT license in package.json, but as they do not include a copyright notice in the NPM package it would be against the license to make a copy (such as running npm install -g browserify).

I think in most of the cases, the linked issues and pull requests can be resolved to create new releases of the dependencies so I’ve filled this bug to track in browserify. However in the case of jsonify it seems that it may not be so clear and perhaps the best course of action would be to find an alternative solution.

I’ve listed all of the dependencies that I spotted which do not have a valid license and opened issues or PRs on the respective packages:

  • jsonify@0.0.0 (Public Domain) - missing full license text
  • browserify-cipher@1.0.0 (MIT) - missing full license text
  • browserify-des@1.0.0 (MIT) - missing full license text
  • buffer-from@1.0.0 (MIT) - missing copyright notice, missing full license text
  • create-ecdh@4.0.0 (MIT) - missing full license text
  • create-hash@1.1.3 (MIT) - missing copyright notice, missing full license text
    • License added to repo in but the NPM package does not yet contain a license file and therefore NPM release is not compliant with the license as it is a copy which does not contain the copyright notice.
  • create-hmac@1.1.6 (MIT) - missing copyright notice, missing full license text
    • License added to repo in but the NPM package does not yet contain a license file and therefore NPM release is not compliant with the license as it is a copy which does not contain the copyright notice.
  • diffie-hellman@5.0.2 (MIT) - missing full license text
  • indexof@0.0.1 (UNKNOWN) - missing copyright notice
  • minimalistic-assert@1.0.0 (ISC) - missing copyright notice, missing full license text
  • parse-asn1@5.1.0 (ISC) - missing copyright notice, missing full license text
  • path-parse@1.0.5 (MIT) - missing full license text
  • public-encrypt@4.0.0 (MIT) - missing copyright notice, missing full license text
  • component-indexof@0.0.3 (UNKNOWN) - missing license type, copyright notice
    • Open Issue at https://github.com/component/indexof/issues/6
    • The current NPM package does not yet contain a license file and therefore NPM release is not compliant with the license as it is a copy which does not contain the copyright notice. The repository does indeed contain the license but is unreleased.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
calvinmetcalfcommented, Apr 11, 2018

ok done on my end (as far as I know)

1reaction
goto-bus-stopcommented, Sep 25, 2018

path-parse@1.0.6 includes a license file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

browserify | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
How do I use Browserify with external dependencies?
Assuming that you've got a module named mymodule.js that depends on ... (previously) defined in the shim file and run the custom code....
Read more >
Browserify
Browserify lets you require('modules') in the browser by bundling up all of your dependencies. Install Documentation · Source Code
Read more >
Cross platform JavaScript with Browserify - Sharing Code ...
Then you process your code with browserify which will turn your modules and all their transitive dependencies into a single blob of code...
Read more >
Untangle Your JavaScript with Browserify | Lincoln Loop
Instead of writing tightly integrated code that depends on everything being in the global scope, we should strive to create decoupled, discrete ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found