Lea Rosema on Nostr: The ugly of npm? Well, you spot one package you need, but it is 8 years ago it was ...
The ugly of npm? Well, you spot one package you need, but it is 8 years ago it was updated. You need a modern version of that package which uses the modern module syntax (aka esm) and not require (aka commonjs). So you build your own modern version of that NPM package, use it once, then let it rot again for 8 years and repeat :D #javascript
Published at
2024-10-23 10:13:20Event JSON
{
"id": "b6f5fa22357427c660bb979aaf4291ba4fc7f72aaff1f84318fefb0224a9329d",
"pubkey": "f08a637f70295418bc754097b336bb0f1c8ff89d6e2d4ad40fcd258b33000e05",
"created_at": 1729678400,
"kind": 1,
"tags": [
[
"t",
"javascript"
],
[
"proxy",
"https://lea.lgbt/users/lea/statuses/113356203681872699",
"activitypub"
]
],
"content": "The ugly of npm? Well, you spot one package you need, but it is 8 years ago it was updated. You need a modern version of that package which uses the modern module syntax (aka esm) and not require (aka commonjs). So you build your own modern version of that NPM package, use it once, then let it rot again for 8 years and repeat :D #javascript",
"sig": "f44358739e8294e1b31b9fc55219d899d1f5e52bf1b2f02cdfc16db3bf263f9392a98afcf9231c889bb0ff6cd4f62d7b76cbd081a4ead81672d6f3c6119410b3"
}