@company-semantics/contracts 39.1.0 → 39.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "39.1.0",
3
+ "version": "39.2.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -143,12 +143,14 @@
143
143
  },
144
144
  "pnpm": {
145
145
  "overrides": {
146
- "picomatch": ">=4.0.4"
146
+ "picomatch": ">=4.0.4",
147
+ "brace-expansion@<5.0.8": ">=5.0.8"
147
148
  }
148
149
  },
149
150
  "lint-staged": {
150
151
  "*.ts": "bash -c 'tsc -b --noEmit'",
151
152
  "*.md": "markdownlint-cli2",
152
153
  "package.json": "node -e \"JSON.parse(require('fs').readFileSync('package.json'))\""
153
- }
154
+ },
155
+ "securityRequirementsVersion": "8320e7a5612c6877c2959c127ffa78e693b9d1e95805340a5e4af11a01c4a669"
154
156
  }
@@ -238,6 +238,21 @@ export interface ContractsConsumerBaseline {
238
238
  packageJsonPath: string;
239
239
  }
240
240
 
241
+ /**
242
+ * Security-overrides-sync guard baseline configuration.
243
+ * CI injects checkOverridesSync based on this config.
244
+ *
245
+ * Verifies the repo never RESOLVES a package below the ci security-version
246
+ * policy (company-semantics-ci/dependency-policy/security-requirements.ts). The
247
+ * requirement set is central in ci — a repo declares only where its manifest is.
248
+ *
249
+ * @see ADR-CI-122 (policy + resolver + guard) and ADR-CTRL-273 (sync driver)
250
+ */
251
+ export interface SecurityOverridesBaseline {
252
+ /** Path to package.json relative to repo root */
253
+ packageJsonPath: string;
254
+ }
255
+
241
256
  /**
242
257
  * Structural guard baselines.
243
258
  * Product repos provide DATA only; CI orchestrator owns guard implementations.
@@ -264,6 +279,13 @@ export interface StructuralBaselines {
264
279
  * Enforces: consumers never advance ahead of npm.
265
280
  */
266
281
  contractsConsumer?: ContractsConsumerBaseline;
282
+
283
+ /**
284
+ * Security-overrides-sync check configuration.
285
+ * CI injects checkOverridesSync based on this config.
286
+ * Enforces: no package resolves below the ci security-version policy.
287
+ */
288
+ securityOverrides?: SecurityOverridesBaseline;
267
289
  }
268
290
 
269
291
  /**