hodlbod on Nostr: both npm and npx link resulted in multiple instances of certain libraries being in my ...
both npm and npx link resulted in multiple instances of certain libraries being in my bundle because of diamond dependencies 🤮
Published at
2025-04-26 19:46:53Event JSON
{
"id": "995d3d458cb969f1569721f3dee583ef3688176f94d95ef082a23816e2b954cd",
"pubkey": "97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322",
"created_at": 1745696813,
"kind": 1,
"tags": [
[
"p",
"7cc328a08ddb2afdf9f9be77beff4c83489ff979721827d628a542f32a247c0e",
"wss://lockbox.fiatjaf.com/",
"cloud fodder and 121 others"
],
[
"e",
"b7bbab8569adc931eddba537b2616d1ffcd25f08223dfa7a0f84befc47dd87d4",
"wss://hbr.coracle.social/inbox",
"root"
],
[
"e",
"39b404a50fb7e6229ba6108bf8c6d349dea5aabc22690b1dc6393d7ed9b7a3c2",
"wss://primus.nostr1.com/",
"reply",
"7cc328a08ddb2afdf9f9be77beff4c83489ff979721827d628a542f32a247c0e"
],
[
"client",
"Coracle",
"31990:97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322:1685968093690"
]
],
"content": "both npm and npx link resulted in multiple instances of certain libraries being in my bundle because of diamond dependencies 🤮",
"sig": "e832bbf5721a7650d750ebf5e983805c44ed70b2385f48e10d2db2fc670db62818d50ee0f788233da8fa4b7638ea140c9415fb00f7e2e2f43a5f766c81c5e3ef"
}