Put all ingredients with 1/2 cup water in a medium saucepan. Simmer over low heat, stirring often, until most of the cranberries have popped, 10 to 15 minutes. Add sugar and salt to taste.
Make ahead: Up to 1 week, chilled.
*Dried Blenheim apricots can be ordered from brfarms.com. Crush juniper and allspice berries with the bottom of a thick water glass or a small saucepan.