@imferno/wasm 3.0.2-fix-review-cli-settings.8910c9e → 3.0.2-fix-review-app2e-image.20c2d70
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/codes.d.ts +5 -0
- package/codes.js +5 -0
- package/imferno_wasm.js +4 -0
- package/imferno_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/types.d.ts +25 -28
package/codes.d.ts
CHANGED
|
@@ -185,6 +185,11 @@ export declare const codes: {
|
|
|
185
185
|
readonly HtIrvParameterBMax: "ST2067-21/HtIrvParameterBMax";
|
|
186
186
|
readonly HtIrvParameterBRecommended: "ST2067-21/HtIrvParameterBRecommended";
|
|
187
187
|
readonly J2K8KResolution: "ST2067-21/J2K8KResolution";
|
|
188
|
+
readonly RefLevelMissing: "ST2067-21/RefLevelMissing";
|
|
189
|
+
readonly DisplayF2Offset: "ST2067-21/DisplayF2Offset";
|
|
190
|
+
readonly J2CLayoutValue: "ST2067-21/J2CLayoutValue";
|
|
191
|
+
readonly PictureEssenceCoding: "ST2067-21/PictureEssenceCoding";
|
|
192
|
+
readonly HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints";
|
|
188
193
|
};
|
|
189
194
|
readonly ST2067_201: {
|
|
190
195
|
readonly CodecForbidden: "ST2067-201/CodecForbidden";
|
package/codes.js
CHANGED
|
@@ -185,6 +185,11 @@ export const codes = {
|
|
|
185
185
|
HtIrvParameterBMax: "ST2067-21/HtIrvParameterBMax",
|
|
186
186
|
HtIrvParameterBRecommended: "ST2067-21/HtIrvParameterBRecommended",
|
|
187
187
|
J2K8KResolution: "ST2067-21/J2K8KResolution",
|
|
188
|
+
RefLevelMissing: "ST2067-21/RefLevelMissing",
|
|
189
|
+
DisplayF2Offset: "ST2067-21/DisplayF2Offset",
|
|
190
|
+
J2CLayoutValue: "ST2067-21/J2CLayoutValue",
|
|
191
|
+
PictureEssenceCoding: "ST2067-21/PictureEssenceCoding",
|
|
192
|
+
HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints",
|
|
188
193
|
},
|
|
189
194
|
ST2067_201: {
|
|
190
195
|
CodecForbidden: "ST2067-201/CodecForbidden",
|
package/imferno_wasm.js
CHANGED
|
@@ -146,6 +146,10 @@ function __wbg_get_imports() {
|
|
|
146
146
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
147
147
|
return ret;
|
|
148
148
|
},
|
|
149
|
+
__wbg_Number_ff192a72a0dcdf6d: function(arg0) {
|
|
150
|
+
const ret = Number(arg0);
|
|
151
|
+
return ret;
|
|
152
|
+
},
|
|
149
153
|
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
150
154
|
const ret = String(arg1);
|
|
151
155
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
package/imferno_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imferno/wasm",
|
|
3
|
-
"version": "3.0.2-fix-review-
|
|
3
|
+
"version": "3.0.2-fix-review-app2e-image.20c2d70",
|
|
4
4
|
"description": "Fast, type-safe SMPTE ST 2067 IMF parser for JavaScript and TypeScript",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
package/types.d.ts
CHANGED
|
@@ -6,18 +6,6 @@
|
|
|
6
6
|
* ship their own copy: the WASM build serialises some CPL fields in camelCase.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
export type RuleValidationReason =
|
|
10
|
-
| {
|
|
11
|
-
kind: "unknown_source";
|
|
12
|
-
variant: string;
|
|
13
|
-
}
|
|
14
|
-
| {
|
|
15
|
-
kind: "matches_nothing";
|
|
16
|
-
}
|
|
17
|
-
| {
|
|
18
|
-
hint: string;
|
|
19
|
-
kind: "unsupported_pattern";
|
|
20
|
-
};
|
|
21
9
|
/**
|
|
22
10
|
* A SMPTE IMF UUID, serialised as a bare UUID string (e.g. "0eb3d1b9-b77b-4d3f-bbe5-7c69b15dca85")
|
|
23
11
|
*/
|
|
@@ -132,6 +120,7 @@ export type VideoCodec =
|
|
|
132
120
|
| "Jpeg2000Imf8k"
|
|
133
121
|
| "Jpeg2000Broadcast"
|
|
134
122
|
| "Jpeg2000Ht"
|
|
123
|
+
| "Jpeg2000HtNode"
|
|
135
124
|
| "Vc5"
|
|
136
125
|
| "Mpeg2"
|
|
137
126
|
| "H264"
|
|
@@ -218,6 +207,18 @@ export type MimeType =
|
|
|
218
207
|
* Mirrors ESLint's `"off"` / `"warn"` / `"error"` vocabulary, extended with the two IMF severity levels.
|
|
219
208
|
*/
|
|
220
209
|
export type RuleSeverity = "off" | "info" | "warn" | "error" | "critical";
|
|
210
|
+
export type RuleValidationReason =
|
|
211
|
+
| {
|
|
212
|
+
kind: "unknown_source";
|
|
213
|
+
variant: string;
|
|
214
|
+
}
|
|
215
|
+
| {
|
|
216
|
+
kind: "matches_nothing";
|
|
217
|
+
}
|
|
218
|
+
| {
|
|
219
|
+
hint: string;
|
|
220
|
+
kind: "unsupported_pattern";
|
|
221
|
+
};
|
|
221
222
|
|
|
222
223
|
/**
|
|
223
224
|
* @deprecated
|
|
@@ -228,10 +229,6 @@ export type RuleSeverity = "off" | "info" | "warn" | "error" | "critical";
|
|
|
228
229
|
export interface ImfReport {
|
|
229
230
|
cpls: CplReport[];
|
|
230
231
|
package: PackageSummary;
|
|
231
|
-
/**
|
|
232
|
-
* Keys of the `rules` option that select no rule (typos, unknown editions); they were ignored. Absent when every key matched.
|
|
233
|
-
*/
|
|
234
|
-
ruleWarnings?: RuleValidationWarning[];
|
|
235
232
|
validation: ValidationReport;
|
|
236
233
|
}
|
|
237
234
|
export interface CplReport {
|
|
@@ -322,18 +319,6 @@ export interface UnreferencedAsset {
|
|
|
322
319
|
id: string;
|
|
323
320
|
path: string;
|
|
324
321
|
}
|
|
325
|
-
/**
|
|
326
|
-
* A diagnostic about a `RulesConfig` key that the engine couldn't match.
|
|
327
|
-
*
|
|
328
|
-
* Produced by `RulesConfig::validate`. Operators can use these at config-load time to catch typos before any validation work runs.
|
|
329
|
-
*/
|
|
330
|
-
export interface RuleValidationWarning {
|
|
331
|
-
/**
|
|
332
|
-
* The configured key that triggered the warning.
|
|
333
|
-
*/
|
|
334
|
-
key: string;
|
|
335
|
-
reason: RuleValidationReason;
|
|
336
|
-
}
|
|
337
322
|
/**
|
|
338
323
|
* Comprehensive validation report
|
|
339
324
|
*/
|
|
@@ -1460,6 +1445,18 @@ export interface ValidationResult {
|
|
|
1460
1445
|
rule_warnings?: RuleValidationWarning[];
|
|
1461
1446
|
validation: ValidationReport;
|
|
1462
1447
|
}
|
|
1448
|
+
/**
|
|
1449
|
+
* A diagnostic about a `RulesConfig` key that the engine couldn't match.
|
|
1450
|
+
*
|
|
1451
|
+
* Produced by `RulesConfig::validate`. Operators can use these at config-load time to catch typos before any validation work runs.
|
|
1452
|
+
*/
|
|
1453
|
+
export interface RuleValidationWarning {
|
|
1454
|
+
/**
|
|
1455
|
+
* The configured key that triggered the warning.
|
|
1456
|
+
*/
|
|
1457
|
+
key: string;
|
|
1458
|
+
reason: RuleValidationReason;
|
|
1459
|
+
}
|
|
1463
1460
|
|
|
1464
1461
|
/**
|
|
1465
1462
|
* Core constraints (ST 2067-2) edition to validate against. `"auto"` detects
|