Sign In

compare-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compare-cli - npm Package Compare versions

Comparing version
0.4.0
to
0.4.1
+13
-0
CHANGELOG.md

@@ -15,2 +15,15 @@ # Changelog

## 0.4.1 — 2026-05-31
### Fixed
- **`--catalog json` mislabeled `--strict` semantics.** The agent-facing
discovery catalog described `--strict` as upgrading "cosmetic/typographic
drift to substantive", but `--strict` only upgrades *typographic* drift;
cosmetic drift requires the separate `--strict-cosmetic`. The catalog help
string now reads "Upgrade typographic drift to substantive (exit 2)." to
match `HELP_TEXT`, `computeExitClass`, and `COMPARE_SCHEMA.md` §7.1. Since
the catalog is the machine-readable contract agents read, this corrects a
contract-level inaccuracy. (`--strict-cosmetic`'s catalog entry was already
correct.)
## 0.4.0 — 2026-05-23

@@ -17,0 +30,0 @@

+2
-2

@@ -16,3 +16,3 @@ #!/usr/bin/env node

export const VERSION = "0.4.0";
export const VERSION = "0.4.1";

@@ -1304,3 +1304,3 @@ // Stable exit codes. Documented in AGENTS.md and never re-numbered without a

{ name: "--check", type: "boolean", help: "Exit-code-only gate (implies --silent)." },
{ name: "--strict", type: "boolean", help: "Upgrade cosmetic/typographic drift to substantive (exit 2)." },
{ name: "--strict", type: "boolean", help: "Upgrade typographic drift to substantive (exit 2)." },
{ name: "--strict-cosmetic", type: "boolean", help: "Upgrade cosmetic-only drift to substantive (exit 2)." },

@@ -1307,0 +1307,0 @@ { name: "--from-negotiation", arg: "FILE", help: "Read the agreed base text from nda-review-cli's negotiation.json." },

MIT License
Copyright (c) 2026 DrBaher
Copyright (c) 2026 Baher Al Hakim

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "compare-cli",
"version": "0.4.0",
"version": "0.4.1",
"description": "Clause-aware drift detection between two contract versions. Pre-signature gate for legal teams and agent pipelines. Part of the contract-ops suite.",

@@ -5,0 +5,0 @@ "type": "module",