@imferno/node 3.0.2-feat-app5-aces.ea688de → 3.0.2-feat-supplemental-packages.7348edc

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
@@ -151,6 +151,7 @@ console.log(getVersion()); // e.g. "2.0.0"
151
151
  | `aggregateRepeats` | `boolean` | Collapse repeated identical findings into one issue with `additional_instances` |
152
152
  | `skipDiskChecks` | `boolean` | Skip every disk read: asset existence, size and hash checks and MXF checks (path / URI functions only; in-memory input never touches disk) |
153
153
  | `skipHashes` | `boolean` | Skip hashing the assets; existence and size are still checked (path / URI functions only). Hashes are verified by default, like the CLI |
154
+ | `with` | `Array<string \| Record<string, string>>` | Packages this one depends on (the original of a supplemental package): package directories or file maps. Track files its CPLs use are looked up there too |
154
155
  | `credentials` | `S3Credentials \| null` | Explicit S3 credentials (URI functions only) |
155
156
 
156
157
  An option the function does not accept, or a value of the wrong type, throws.
package/codes.d.ts CHANGED
@@ -445,6 +445,7 @@ export declare const codes: {
445
445
  readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
446
446
  readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
447
447
  readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
448
+ readonly SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated";
448
449
  readonly EditionAssumed: "IMFERNO/EditionAssumed";
449
450
  readonly EditionConflict: "IMFERNO/EditionConflict";
450
451
  readonly EditionPinned: "IMFERNO/EditionPinned";
package/codes.js CHANGED
@@ -445,6 +445,7 @@ const codes = {
445
445
  ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
446
446
  SequenceListUnreadable: "IMFERNO/SequenceListUnreadable",
447
447
  TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated",
448
+ SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated",
448
449
  EditionAssumed: "IMFERNO/EditionAssumed",
449
450
  EditionConflict: "IMFERNO/EditionConflict",
450
451
  EditionPinned: "IMFERNO/EditionPinned",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/node",
3
- "version": "3.0.2-feat-app5-aces.ea688de",
3
+ "version": "3.0.2-feat-supplemental-packages.7348edc",
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-feat-app5-aces.ea688de",
49
- "@imferno/node-darwin-x64": "3.0.2-feat-app5-aces.ea688de",
50
- "@imferno/node-linux-x64-gnu": "3.0.2-feat-app5-aces.ea688de",
51
- "@imferno/node-linux-arm64-gnu": "3.0.2-feat-app5-aces.ea688de",
52
- "@imferno/node-win32-x64-msvc": "3.0.2-feat-app5-aces.ea688de",
53
- "@imferno/node-win32-arm64-msvc": "3.0.2-feat-app5-aces.ea688de"
48
+ "@imferno/node-darwin-arm64": "3.0.2-feat-supplemental-packages.7348edc",
49
+ "@imferno/node-darwin-x64": "3.0.2-feat-supplemental-packages.7348edc",
50
+ "@imferno/node-linux-x64-gnu": "3.0.2-feat-supplemental-packages.7348edc",
51
+ "@imferno/node-linux-arm64-gnu": "3.0.2-feat-supplemental-packages.7348edc",
52
+ "@imferno/node-win32-x64-msvc": "3.0.2-feat-supplemental-packages.7348edc",
53
+ "@imferno/node-win32-arm64-msvc": "3.0.2-feat-supplemental-packages.7348edc"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
package/types.d.ts CHANGED
@@ -1655,4 +1655,12 @@ export interface ValidateOptions {
1655
1655
  rules?: RulesConfig;
1656
1656
  /** Collapse repeated identical findings into one issue with `additional_instances`. Default: `false`. */
1657
1657
  aggregateRepeats?: boolean;
1658
+ /**
1659
+ * Packages this one depends on, such as the original package of a
1660
+ * supplemental package: each a package directory (Node only) or its XML
1661
+ * files, as `validate` takes them. CPL track files are looked up there
1662
+ * too and checked against this package; findings about those packages
1663
+ * themselves are not reported. Default: none.
1664
+ */
1665
+ with?: Array<string | Record<string, string>>;
1658
1666
  }