-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency 'rework' has no license #191
Comments
@dotcs the root I would argue that this is the only package.json which is relevant. Regardless since we are discussing V4 then you need to keep in mind that V4 is currently only available as alpha through distag There is an intention to completely remove |
Thanks for your answer. I found your package during a scan with license-ls. You might be a false positive in this case since the dependency is only a peer dependency. But it seems such tools, which typically large companies use to scan their code bases, do not use the file that you intend them to use. Steps to reproduce: cd /some/folder/to/test
npm init -y
npm install --save resolve-url-loader
npx license-ls --format=json > deps.json and $ cat deps.json | grep -C 5 rework
"homepage": "https://github.com/sindresorhus/has-flag#readme",
"dependencyLevel": "production"
},
{
"id": 33,
"name": "rework",
"version": "1.0.1",
"license": "unknown (?)",
"repository": "git://github.com/reworkcss/rework.git",
"author": "TJ Holowaychuk",
"homepage": "https://github.com/reworkcss/rework#readme",
"dependencyLevel": "production"
},
{
"id": 34,
"name": "convert-source-map", Which basically means that $ npm ls rework
[email protected] /tmp/foo
└─┬ [email protected]
└── [email protected] So to avoid any automated rejection scenarios I think it would be worth considering to optimize for this automated scanning approach. |
@dotcs thanks for "steps to reproduce" 🙇 So running this with
This doesn't seem to show any licence problems. So hopefully with the release of V4 this should be cleaned up by default. 🤞 |
Released Since If you cannot adopt the beta in your project, or |
I've noticed that the dependency 'rework', which is a direct dependency of this project, does not have a license. An issue that asks the maintainer to add a license has been created here. Unfortunately as long as the package does not have an OSS license added, it's also a problem to add
resolve-url-loader
to a project.Are maintainers aware of the risk and are there any plans to mitigate this problem? How hard would it be to switch to another properly licensed package or rewrite the logic to replace the module in question?
Thanks for taking the time to think about this issue.
The text was updated successfully, but these errors were encountered: