{"version":"2.1.275","anchor":"marketplace-add-gains-an-opt-in-strict-name-collision-refusa","canonical_anchor":"marketplace-add-gains-an-opt-in-strict-name-collision-refusa","heading":"Marketplace add gains an opt-in strict name-collision refusal","tier":"use","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275\/e\/marketplace-add-gains-an-opt-in-strict-name-collision-refusa","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275","markdown":"### Marketplace add gains an opt-in strict name-collision refusal\n\nMarketplace add gets an opt-in refuseNameCollision option to stop silent overwrites\n\n**What**\n\nThe logic behind adding a marketplace now accepts an options object with a `refuseNameCollision` setting. When it's turned on, trying to add a marketplace whose name already exists but points to a different source now throws an error instead of silently overwriting the existing entry.\n\n**Why**\n\nThis prevents accidentally replacing an existing marketplace's source under the same name when the stricter option is used.\n\n- Area: Plugins\n- Names: `refuseNameCollision`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5"}