@imferno/node 3.0.2-feat-opl-validation.1c4b095 → 3.0.2-feat-supplemental-packages.4049547

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
@@ -63,6 +63,7 @@ export declare const codes: {
63
63
  readonly SizeMismatch: "ST2067-2/SizeMismatch";
64
64
  readonly FileNotFound: "ST2067-2/FileNotFound";
65
65
  readonly ChecksumMismatch: "ST2067-2/ChecksumMismatch";
66
+ readonly PackingListsDisagreeOnAsset: "ST2067-2/PackingListsDisagreeOnAsset";
66
67
  readonly UnresolvedUuid: "ST2067-2/UnresolvedUuid";
67
68
  readonly TrackFileNotInPackage: "ST2067-2/TrackFileNotInPackage";
68
69
  readonly DuplicateUuid: "ST2067-2/DuplicateUuid";
@@ -473,6 +474,7 @@ export declare const codes: {
473
474
  readonly OplNotFullyValidated: "IMFERNO/OplNotFullyValidated";
474
475
  readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
475
476
  readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
477
+ readonly SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated";
476
478
  readonly EditionAssumed: "IMFERNO/EditionAssumed";
477
479
  readonly EditionConflict: "IMFERNO/EditionConflict";
478
480
  readonly EditionPinned: "IMFERNO/EditionPinned";
package/codes.js CHANGED
@@ -63,6 +63,7 @@ const codes = {
63
63
  SizeMismatch: "ST2067-2/SizeMismatch",
64
64
  FileNotFound: "ST2067-2/FileNotFound",
65
65
  ChecksumMismatch: "ST2067-2/ChecksumMismatch",
66
+ PackingListsDisagreeOnAsset: "ST2067-2/PackingListsDisagreeOnAsset",
66
67
  UnresolvedUuid: "ST2067-2/UnresolvedUuid",
67
68
  TrackFileNotInPackage: "ST2067-2/TrackFileNotInPackage",
68
69
  DuplicateUuid: "ST2067-2/DuplicateUuid",
@@ -473,6 +474,7 @@ const codes = {
473
474
  OplNotFullyValidated: "IMFERNO/OplNotFullyValidated",
474
475
  SequenceListUnreadable: "IMFERNO/SequenceListUnreadable",
475
476
  TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated",
477
+ SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated",
476
478
  EditionAssumed: "IMFERNO/EditionAssumed",
477
479
  EditionConflict: "IMFERNO/EditionConflict",
478
480
  EditionPinned: "IMFERNO/EditionPinned",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/node",
3
- "version": "3.0.2-feat-opl-validation.1c4b095",
3
+ "version": "3.0.2-feat-supplemental-packages.4049547",
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-opl-validation.1c4b095",
49
- "@imferno/node-darwin-x64": "3.0.2-feat-opl-validation.1c4b095",
50
- "@imferno/node-linux-x64-gnu": "3.0.2-feat-opl-validation.1c4b095",
51
- "@imferno/node-linux-arm64-gnu": "3.0.2-feat-opl-validation.1c4b095",
52
- "@imferno/node-win32-x64-msvc": "3.0.2-feat-opl-validation.1c4b095",
53
- "@imferno/node-win32-arm64-msvc": "3.0.2-feat-opl-validation.1c4b095"
48
+ "@imferno/node-darwin-arm64": "3.0.2-feat-supplemental-packages.4049547",
49
+ "@imferno/node-darwin-x64": "3.0.2-feat-supplemental-packages.4049547",
50
+ "@imferno/node-linux-x64-gnu": "3.0.2-feat-supplemental-packages.4049547",
51
+ "@imferno/node-linux-arm64-gnu": "3.0.2-feat-supplemental-packages.4049547",
52
+ "@imferno/node-win32-x64-msvc": "3.0.2-feat-supplemental-packages.4049547",
53
+ "@imferno/node-win32-arm64-msvc": "3.0.2-feat-supplemental-packages.4049547"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
package/types.d.ts CHANGED
@@ -1659,4 +1659,13 @@ export interface ValidateOptions {
1659
1659
  rules?: RulesConfig;
1660
1660
  /** Collapse repeated identical findings into one issue with `additional_instances`. Default: `false`. */
1661
1661
  aggregateRepeats?: boolean;
1662
+ /**
1663
+ * Packages this one depends on, such as the original package of a
1664
+ * supplemental package: each a package directory or its XML files, as `validate` takes them.
1665
+ * CPL track files are looked up in this package first, then in each of
1666
+ * these in order: the first package whose Packing List lists the track
1667
+ * file is used. Findings about those packages themselves are not
1668
+ * reported. Default: none.
1669
+ */
1670
+ with?: Array<string | Record<string, string>>;
1662
1671
  }