Menu

Our production tree has 341 packages under 16 licence texts, and the 1.3 MB of JavaScript we serve carries one copyright line
📰

Our production tree has 341 packages under 16 licence texts, and the 1.3 MB of JavaScript we serve carries one copyright line

DEV Community: nextjs·Daniel Pertu·2 days ago
#8E51qPMW
#devtonextjs#devto#dev#licence#packages
Long article (1171 words) — no AI summary yet.
Reading 0:00
15s threshold

Nobody asked me to do this. A page on our site is about music licences for pub quizzes, and I realised I had never looked at the other kind: the licences of the software we build on. So I looked, in two places: the dependency tree on disk, and the JavaScript we actually send to visitors.

I am not a lawyer and this is not legal advice. It is a census, and the interesting part is the gap between the two halves.

What the tree says

pnpm licenses list --prod --json

Enter fullscreen mode

Exit fullscreen mode

On our storefront (33 direct production dependencies) that returns 341 packages, grouped by the licence each one declares:

Licence Packages

MIT 275

Apache-2.0 21

ISC 15

BSD-2-Clause 7

BlueOak-1.0.0 6

BSD-3-Clause 4

FSL-1.1-MIT 2

Unlicense 2

MPL-2.0 2

LGPL-3.0-or-later 1

Six more licence texts, one package each 6

That is 16 distinct licence strings for 341 packages, and 81 per cent of the tree is plain MIT.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.