// src/actions/deplint/peerRangeOptions.ts
function resolvePeerRangeBoundOption(options) {
  return options.bound === "major" || options.bound === "minor" ? options.bound : void 0;
}
function resolvePeerRangeFormOption(options) {
  if (options.form === "broad" || options.form === "shorthand") return options.form;
  return options.bound === void 0 ? "shorthand" : "broad";
}
function isBroadPeerRange(range) {
  return /(?:^|\s)>=\s*\d/.test(range) && /(?:^|\s)<\s*\d/.test(range);
}
export {
  isBroadPeerRange,
  resolvePeerRangeBoundOption,
  resolvePeerRangeFormOption
};
//# sourceMappingURL=peerRangeOptions.mjs.map
