@imferno/wasm 3.0.2-fix-fuzz-parse-xml-crash.4c4c24c → 3.0.2-fix-review-cli-settings.8910c9e

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/imferno_wasm.js CHANGED
@@ -146,10 +146,6 @@ 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
- },
153
149
  __wbg_String_8564e559799eccda: function(arg0, arg1) {
154
150
  const ret = String(arg1);
155
151
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/wasm",
3
- "version": "3.0.2-fix-fuzz-parse-xml-crash.4c4c24c",
3
+ "version": "3.0.2-fix-review-cli-settings.8910c9e",
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,6 +6,18 @@
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
+ };
9
21
  /**
10
22
  * A SMPTE IMF UUID, serialised as a bare UUID string (e.g. "0eb3d1b9-b77b-4d3f-bbe5-7c69b15dca85")
11
23
  */
@@ -206,18 +218,6 @@ export type MimeType =
206
218
  * Mirrors ESLint's `"off"` / `"warn"` / `"error"` vocabulary, extended with the two IMF severity levels.
207
219
  */
208
220
  export type RuleSeverity = "off" | "info" | "warn" | "error" | "critical";
209
- export type RuleValidationReason =
210
- | {
211
- kind: "unknown_source";
212
- variant: string;
213
- }
214
- | {
215
- kind: "matches_nothing";
216
- }
217
- | {
218
- hint: string;
219
- kind: "unsupported_pattern";
220
- };
221
221
 
222
222
  /**
223
223
  * @deprecated
@@ -228,6 +228,10 @@ export type RuleValidationReason =
228
228
  export interface ImfReport {
229
229
  cpls: CplReport[];
230
230
  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[];
231
235
  validation: ValidationReport;
232
236
  }
233
237
  export interface CplReport {
@@ -318,6 +322,18 @@ export interface UnreferencedAsset {
318
322
  id: string;
319
323
  path: string;
320
324
  }
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
+ }
321
337
  /**
322
338
  * Comprehensive validation report
323
339
  */
@@ -1444,18 +1460,6 @@ export interface ValidationResult {
1444
1460
  rule_warnings?: RuleValidationWarning[];
1445
1461
  validation: ValidationReport;
1446
1462
  }
1447
- /**
1448
- * A diagnostic about a `RulesConfig` key that the engine couldn't match.
1449
- *
1450
- * Produced by `RulesConfig::validate`. Operators can use these at config-load time to catch typos before any validation work runs.
1451
- */
1452
- export interface RuleValidationWarning {
1453
- /**
1454
- * The configured key that triggered the warning.
1455
- */
1456
- key: string;
1457
- reason: RuleValidationReason;
1458
- }
1459
1463
 
1460
1464
  /**
1461
1465
  * Core constraints (ST 2067-2) edition to validate against. `"auto"` detects