News for hackers. Stuff that matters.
Re:The MIT License, Line by Line by IshKebab on Sunday January 31, 2021 @01:33PM (#25981231)
He's saying that if you depend on A and A depends on B and they're both MIT licensed then technically you should include the licenses for A and B on your site, but most people only include A.
Re:The MIT License, Line by Line by Doxin on Monday February 01, 2021 @02:36AM (#25986465)
Surely the MIT license only mentions leaving the notice intact, It doesn't say anything about including the notice on your website.
Re:The MIT License, Line by Line by sbergot on Monday February 01, 2021 @08:42AM (#25988570)
"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."

If you are using some js library with the MIT license in your frontend then you are distributing a copy of the software. You have to include the notice somewhere on your website (typically next to the library)

Re:The MIT License, Line by Line by Doxin on Tuesday February 02, 2021 @03:46AM (#25998645)
People viewing your website don't get a copy of the software, nor do they get a substantial portion. The MIT license (like most licenses) applies to the code, not to what that code produces.
Re:The MIT License, Line by Line by bbarnett on Thursday February 04, 2021 @06:50AM (#26024577)
If people are downloading the source, and executing that code, eg as parent said "frontend", then yes, it's on their computer. It's not server side, such as with PH, or python or backend js.

However, the license doesn't have to appear on the website portion specifically highlighted for human viewing. It merely needs to exist, say, at the top of every javascript file.

Or a link to where the text form of the license is.

Just because it's inconvenient, and just because people are ignoring it, doesn't mean it's being done as it should be...

Re:The MIT License, Line by Line by Doxin on Monday February 08, 2021 @05:28AM (#26062812)
My point is that if you install the code through a dependency of a dependency it should be leaving license notices entirely intact, fulfilling the license.

Of course javascript optimizers and the like might throw a wrench in the works these days, but that's a pretty recent and specific problem.