@imferno/node 3.0.2-feat-supplemental-packages.7348edc → 3.0.2-feat-opl-validation.1c4b095
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 +0 -1
- package/codes.d.ts +28 -1
- package/codes.js +28 -1
- package/package.json +7 -7
- package/types.d.ts +4 -8
package/README.md
CHANGED
|
@@ -151,7 +151,6 @@ 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 |
|
|
155
154
|
| `credentials` | `S3Credentials \| null` | Explicit S3 credentials (URI functions only) |
|
|
156
155
|
|
|
157
156
|
An option the function does not accept, or a value of the wrong type, throws.
|
package/codes.d.ts
CHANGED
|
@@ -432,6 +432,33 @@ export declare const codes: {
|
|
|
432
432
|
readonly ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile";
|
|
433
433
|
readonly AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous";
|
|
434
434
|
};
|
|
435
|
+
readonly ST2067_100: {
|
|
436
|
+
readonly DuplicateAlias: "ST2067-100/DuplicateAlias";
|
|
437
|
+
readonly DuplicateMacroName: "ST2067-100/DuplicateMacroName";
|
|
438
|
+
readonly SignerWithoutSignature: "ST2067-100/SignerWithoutSignature";
|
|
439
|
+
readonly SignatureWithoutSigner: "ST2067-100/SignatureWithoutSigner";
|
|
440
|
+
readonly MacroOrder: "ST2067-100/MacroOrder";
|
|
441
|
+
readonly HandleNotRelativePath: "ST2067-100/HandleNotRelativePath";
|
|
442
|
+
readonly HandleUnresolved: "ST2067-100/HandleUnresolved";
|
|
443
|
+
readonly PresetNotAlone: "ST2067-100/PresetNotAlone";
|
|
444
|
+
};
|
|
445
|
+
readonly ST2067_101: {
|
|
446
|
+
readonly PixelDecoderStructure: "ST2067-101/PixelDecoderStructure";
|
|
447
|
+
readonly PixelEncoderStructure: "ST2067-101/PixelEncoderStructure";
|
|
448
|
+
readonly ImageCropStructure: "ST2067-101/ImageCropStructure";
|
|
449
|
+
readonly ImageScaleStructure: "ST2067-101/ImageScaleStructure";
|
|
450
|
+
readonly ColorEncodingUnknown: "ST2067-101/ColorEncodingUnknown";
|
|
451
|
+
readonly FillColorUnknown: "ST2067-101/FillColorUnknown";
|
|
452
|
+
};
|
|
453
|
+
readonly ST2067_102: {
|
|
454
|
+
readonly PixelValueOutOfRange: "ST2067-102/PixelValueOutOfRange";
|
|
455
|
+
readonly DeprecatedColorScheme: "ST2067-102/DeprecatedColorScheme";
|
|
456
|
+
};
|
|
457
|
+
readonly ST2067_103: {
|
|
458
|
+
readonly AudioRoutingStructure: "ST2067-103/AudioRoutingStructure";
|
|
459
|
+
readonly DuplicateOutputChannelHandle: "ST2067-103/DuplicateOutputChannelHandle";
|
|
460
|
+
readonly DuplicateInputEntityHandle: "ST2067-103/DuplicateInputEntityHandle";
|
|
461
|
+
};
|
|
435
462
|
readonly XSD: {
|
|
436
463
|
readonly ElementMissing: "XSD/ElementMissing";
|
|
437
464
|
readonly UnexpectedElement: "XSD/UnexpectedElement";
|
|
@@ -443,9 +470,9 @@ export declare const codes: {
|
|
|
443
470
|
};
|
|
444
471
|
readonly IMFERNO: {
|
|
445
472
|
readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
|
|
473
|
+
readonly OplNotFullyValidated: "IMFERNO/OplNotFullyValidated";
|
|
446
474
|
readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
|
|
447
475
|
readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
|
|
448
|
-
readonly SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated";
|
|
449
476
|
readonly EditionAssumed: "IMFERNO/EditionAssumed";
|
|
450
477
|
readonly EditionConflict: "IMFERNO/EditionConflict";
|
|
451
478
|
readonly EditionPinned: "IMFERNO/EditionPinned";
|
package/codes.js
CHANGED
|
@@ -432,6 +432,33 @@ const codes = {
|
|
|
432
432
|
ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile",
|
|
433
433
|
AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous",
|
|
434
434
|
},
|
|
435
|
+
ST2067_100: {
|
|
436
|
+
DuplicateAlias: "ST2067-100/DuplicateAlias",
|
|
437
|
+
DuplicateMacroName: "ST2067-100/DuplicateMacroName",
|
|
438
|
+
SignerWithoutSignature: "ST2067-100/SignerWithoutSignature",
|
|
439
|
+
SignatureWithoutSigner: "ST2067-100/SignatureWithoutSigner",
|
|
440
|
+
MacroOrder: "ST2067-100/MacroOrder",
|
|
441
|
+
HandleNotRelativePath: "ST2067-100/HandleNotRelativePath",
|
|
442
|
+
HandleUnresolved: "ST2067-100/HandleUnresolved",
|
|
443
|
+
PresetNotAlone: "ST2067-100/PresetNotAlone",
|
|
444
|
+
},
|
|
445
|
+
ST2067_101: {
|
|
446
|
+
PixelDecoderStructure: "ST2067-101/PixelDecoderStructure",
|
|
447
|
+
PixelEncoderStructure: "ST2067-101/PixelEncoderStructure",
|
|
448
|
+
ImageCropStructure: "ST2067-101/ImageCropStructure",
|
|
449
|
+
ImageScaleStructure: "ST2067-101/ImageScaleStructure",
|
|
450
|
+
ColorEncodingUnknown: "ST2067-101/ColorEncodingUnknown",
|
|
451
|
+
FillColorUnknown: "ST2067-101/FillColorUnknown",
|
|
452
|
+
},
|
|
453
|
+
ST2067_102: {
|
|
454
|
+
PixelValueOutOfRange: "ST2067-102/PixelValueOutOfRange",
|
|
455
|
+
DeprecatedColorScheme: "ST2067-102/DeprecatedColorScheme",
|
|
456
|
+
},
|
|
457
|
+
ST2067_103: {
|
|
458
|
+
AudioRoutingStructure: "ST2067-103/AudioRoutingStructure",
|
|
459
|
+
DuplicateOutputChannelHandle: "ST2067-103/DuplicateOutputChannelHandle",
|
|
460
|
+
DuplicateInputEntityHandle: "ST2067-103/DuplicateInputEntityHandle",
|
|
461
|
+
},
|
|
435
462
|
XSD: {
|
|
436
463
|
ElementMissing: "XSD/ElementMissing",
|
|
437
464
|
UnexpectedElement: "XSD/UnexpectedElement",
|
|
@@ -443,9 +470,9 @@ const codes = {
|
|
|
443
470
|
},
|
|
444
471
|
IMFERNO: {
|
|
445
472
|
ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
|
|
473
|
+
OplNotFullyValidated: "IMFERNO/OplNotFullyValidated",
|
|
446
474
|
SequenceListUnreadable: "IMFERNO/SequenceListUnreadable",
|
|
447
475
|
TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated",
|
|
448
|
-
SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated",
|
|
449
476
|
EditionAssumed: "IMFERNO/EditionAssumed",
|
|
450
477
|
EditionConflict: "IMFERNO/EditionConflict",
|
|
451
478
|
EditionPinned: "IMFERNO/EditionPinned",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imferno/node",
|
|
3
|
-
"version": "3.0.2-feat-
|
|
3
|
+
"version": "3.0.2-feat-opl-validation.1c4b095",
|
|
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-
|
|
49
|
-
"@imferno/node-darwin-x64": "3.0.2-feat-
|
|
50
|
-
"@imferno/node-linux-x64-gnu": "3.0.2-feat-
|
|
51
|
-
"@imferno/node-linux-arm64-gnu": "3.0.2-feat-
|
|
52
|
-
"@imferno/node-win32-x64-msvc": "3.0.2-feat-
|
|
53
|
-
"@imferno/node-win32-arm64-msvc": "3.0.2-feat-
|
|
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"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
package/types.d.ts
CHANGED
|
@@ -73,6 +73,10 @@ export type Spec =
|
|
|
73
73
|
| "ST2067-202"
|
|
74
74
|
| "ST2067-203"
|
|
75
75
|
| "ST2067-204"
|
|
76
|
+
| "ST2067-100"
|
|
77
|
+
| "ST2067-101"
|
|
78
|
+
| "ST2067-102"
|
|
79
|
+
| "ST2067-103"
|
|
76
80
|
| "XSD"
|
|
77
81
|
| "IMFERNO";
|
|
78
82
|
/**
|
|
@@ -1655,12 +1659,4 @@ export interface ValidateOptions {
|
|
|
1655
1659
|
rules?: RulesConfig;
|
|
1656
1660
|
/** Collapse repeated identical findings into one issue with `additional_instances`. Default: `false`. */
|
|
1657
1661
|
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>>;
|
|
1666
1662
|
}
|