you can now configure itemstacks to ignore nbt tag equality, to shine light from items that could be
enchanted or damaged. example: {anyNbtMatch:true,lightLevel:14s,nameId:\"minecraft:flint_and_steel\"}
the important part is adding anyNbtMatch:true to the tag list
Could you consider backporting functionality added in 1.19.4 commit 74b2c68 to 1.19.2?