@imferno/node 3.0.2-fix-edition-resolution.8bb65e0 → 3.0.2-fix-fuzz-parse-xml-crash.4c4c24c

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/README.md CHANGED
@@ -121,7 +121,9 @@ console.log(getVersion()); // e.g. "2.0.0"
121
121
 
122
122
  | Option | Type | Description |
123
123
  |--------|------|-------------|
124
- | `coreSpec` | `"auto" \| "v2013" \| "v2016" \| "v2020"` | Core constraints spec version |
124
+ | `coreSpec` | `"auto" \| "v2013" \| "v2016" \| "v2020"` | Core constraints (ST 2067-2) edition; a pin also pins the editions it cites (ST 2067-3, ST 2067-201, ST 377-1/-4) |
125
+ | `cplSpec` | `"auto" \| "v2013" \| "v2016" \| "v2020"` | Composition Playlist (ST 2067-3) edition; wins over the one `coreSpec` implies |
126
+ | `iabSpec` | `"auto" \| "v2019" \| "v2021" \| "v2026"` | IAB plug-in (ST 2067-201) edition; wins over the one `coreSpec` implies |
125
127
  | `app2eSpec` | `"auto" \| "none" \| "v2014" \| "v2016" \| "v2020" \| "v2023" \| "v2026"` | Application spec version |
126
128
  | `rules` | `Record<string, "off" \| "info" \| "warn" \| "error" \| "critical">` | ESLint-style per-rule severity overrides |
127
129
  | `aggregateRepeats` | `boolean` | Collapse repeated identical findings into one issue with `additional_instances` |
package/codes.d.ts CHANGED
@@ -235,6 +235,8 @@ export declare const codes: {
235
235
  readonly IMFERNO: {
236
236
  readonly EditionAssumed: "IMFERNO/EditionAssumed";
237
237
  readonly EditionConflict: "IMFERNO/EditionConflict";
238
+ readonly EditionPinned: "IMFERNO/EditionPinned";
239
+ readonly PinNotApplied: "IMFERNO/PinNotApplied";
238
240
  readonly DeliveryNotChecked: "IMFERNO/DeliveryNotChecked";
239
241
  readonly OpenFailed: "IMFERNO/OpenFailed";
240
242
  readonly PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed";
package/codes.js CHANGED
@@ -235,6 +235,8 @@ const codes = {
235
235
  IMFERNO: {
236
236
  EditionAssumed: "IMFERNO/EditionAssumed",
237
237
  EditionConflict: "IMFERNO/EditionConflict",
238
+ EditionPinned: "IMFERNO/EditionPinned",
239
+ PinNotApplied: "IMFERNO/PinNotApplied",
238
240
  DeliveryNotChecked: "IMFERNO/DeliveryNotChecked",
239
241
  OpenFailed: "IMFERNO/OpenFailed",
240
242
  PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/node",
3
- "version": "3.0.2-fix-edition-resolution.8bb65e0",
3
+ "version": "3.0.2-fix-fuzz-parse-xml-crash.4c4c24c",
4
4
  "description": "Native Node.js bindings for the imferno SMPTE ST 2067 IMF validator",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -45,12 +45,12 @@
45
45
  "test": "vitest run"
46
46
  },
47
47
  "optionalDependencies": {
48
- "@imferno/node-darwin-arm64": "3.0.2-fix-edition-resolution.8bb65e0",
49
- "@imferno/node-darwin-x64": "3.0.2-fix-edition-resolution.8bb65e0",
50
- "@imferno/node-linux-x64-gnu": "3.0.2-fix-edition-resolution.8bb65e0",
51
- "@imferno/node-linux-arm64-gnu": "3.0.2-fix-edition-resolution.8bb65e0",
52
- "@imferno/node-win32-x64-msvc": "3.0.2-fix-edition-resolution.8bb65e0",
53
- "@imferno/node-win32-arm64-msvc": "3.0.2-fix-edition-resolution.8bb65e0"
48
+ "@imferno/node-darwin-arm64": "3.0.2-fix-fuzz-parse-xml-crash.4c4c24c",
49
+ "@imferno/node-darwin-x64": "3.0.2-fix-fuzz-parse-xml-crash.4c4c24c",
50
+ "@imferno/node-linux-x64-gnu": "3.0.2-fix-fuzz-parse-xml-crash.4c4c24c",
51
+ "@imferno/node-linux-arm64-gnu": "3.0.2-fix-fuzz-parse-xml-crash.4c4c24c",
52
+ "@imferno/node-win32-x64-msvc": "3.0.2-fix-fuzz-parse-xml-crash.4c4c24c",
53
+ "@imferno/node-win32-arm64-msvc": "3.0.2-fix-fuzz-parse-xml-crash.4c4c24c"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
package/types.d.ts CHANGED
@@ -1457,19 +1457,26 @@ export interface RuleValidationWarning {
1457
1457
  reason: RuleValidationReason;
1458
1458
  }
1459
1459
 
1460
- /** Core constraints (ST 2067-2) edition to validate against. `"auto"` detects it from the CPL. */
1460
+ /**
1461
+ * Core constraints (ST 2067-2) edition to validate against. `"auto"` detects
1462
+ * it from the package and CPLs. A pinned edition also pins the editions it
1463
+ * cites (ST 2067-3, ST 2067-201 for IAB, ST 377-1/377-4 for MXF), over the
1464
+ * documents' namespaces, unless `cplSpec` / `iabSpec` pin those separately.
1465
+ */
1461
1466
  export type CoreSpec = "auto" | "v2013" | "v2016" | "v2020";
1462
1467
 
1463
1468
  /**
1464
- * Composition Playlist (ST 2067-3) edition to validate against. ST 2067-3:2016
1465
- * and :2020 share one namespace; `"auto"` applies the newest unless the CPL
1466
- * uses something only one edition defines, and reports the choice.
1469
+ * Composition Playlist (ST 2067-3) edition to validate against; wins over the
1470
+ * edition `coreSpec` implies. ST 2067-3:2016 and :2020 share one namespace;
1471
+ * `"auto"` applies the newest unless the CPL uses something only one edition
1472
+ * defines, and reports the choice.
1467
1473
  */
1468
1474
  export type CplSpec = "auto" | "v2013" | "v2016" | "v2020";
1469
1475
 
1470
1476
  /**
1471
- * IAB plug-in (ST 2067-201) edition to validate against. Every edition shares
1472
- * one namespace; `"auto"` applies the newest and reports the choice.
1477
+ * IAB plug-in (ST 2067-201) edition to validate against; wins over the edition
1478
+ * `coreSpec` implies. Every edition shares one namespace; `"auto"` applies
1479
+ * the newest and reports the choice.
1473
1480
  */
1474
1481
  export type IabSpec = "auto" | "v2019" | "v2021" | "v2026";
1475
1482