@imferno/wasm 3.0.2-beta.e22f849 → 3.0.2-beta.e51c719
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 +1 -1
- package/codes.d.ts +183 -58
- package/codes.js +183 -58
- package/imferno_wasm.d.ts +3 -3
- package/imferno_wasm.js +150 -145
- package/imferno_wasm_bg.wasm +0 -0
- package/imferno_wasm_bg.wasm.d.ts +1 -1
- package/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ All exports are **async** (WASM must be initialized before use).
|
|
|
118
118
|
| Field | Values | Default |
|
|
119
119
|
|-------|--------|---------|
|
|
120
120
|
| `coreSpec` | `"auto"`, `"v2013"`, `"v2016"`, `"v2020"` | auto-detect |
|
|
121
|
-
| `app2eSpec` | `"auto"`, `"none"`, `"
|
|
121
|
+
| `app2eSpec` | `"auto"`, `"none"`, `"v2014"`, `"v2016"`, `"v2020"`, `"v2023"`, `"v2026"` | auto-detect |
|
|
122
122
|
| `rules` | ESLint-style rules object (`{ [code]: severity }`) | all enabled |
|
|
123
123
|
|
|
124
124
|
Rule severities: `"critical"`, `"error"`, `"warning"`, `"info"`, `"off"`.
|
package/codes.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export declare const codes: {
|
|
|
9
9
|
readonly ParseError: "ST377-1:2011:5/ParseError";
|
|
10
10
|
readonly NoEssenceContainers: "ST377-1:2011:11/NoEssenceContainers";
|
|
11
11
|
readonly OP1a: "ST377-1:2011:7/OP1a";
|
|
12
|
+
readonly NonHeaderFirstPartition: "ST377-1:2011:6.4/NonHeaderFirstPartition";
|
|
13
|
+
readonly HeaderPartitionOpen: "ST377-1:2011:8.3.3/HeaderPartitionOpen";
|
|
14
|
+
readonly MissingHeaderMetadata: "ST377-1:2011:8.3.3/MissingHeaderMetadata";
|
|
12
15
|
};
|
|
13
16
|
readonly ST2067_2_2020: {
|
|
14
17
|
readonly AssetMap: "ST2067-2:2020:7/AssetMap";
|
|
@@ -22,6 +25,9 @@ export declare const codes: {
|
|
|
22
25
|
readonly DuplicateUuid: "ST2067-2:2020:7/DuplicateUuid";
|
|
23
26
|
readonly IoError: "IMF:General/IoError";
|
|
24
27
|
readonly EssenceDescriptorList: "ST2067-2:2020:6.4.2/EssenceDescriptorList";
|
|
28
|
+
readonly PklUnknownNamespace: "ST2067-2:2020:9/PklUnknownNamespace";
|
|
29
|
+
readonly AssetMapHasNoPackingList: "ST429-9:2014:6.3/AssetMapHasNoPackingList";
|
|
30
|
+
readonly PklIdNotInAssetMap: "ST429-9:2014:6.3/PklIdNotInAssetMap";
|
|
25
31
|
};
|
|
26
32
|
readonly ST2067_2_2013_Core: {
|
|
27
33
|
readonly ResourceListEmpty: "ST2067-2:2013:XSD/ResourceList-Empty";
|
|
@@ -175,22 +181,6 @@ export declare const codes: {
|
|
|
175
181
|
readonly ContentVersionIdDuplicate: "ST2067-3:2016:6.1.9/ContentVersionIdDuplicate";
|
|
176
182
|
readonly SegmentDurationIntegerEditUnits: "ST2067-3:2016:7.3/SegmentDurationIntegerEditUnits";
|
|
177
183
|
};
|
|
178
|
-
readonly ST2067_3_2020: {
|
|
179
|
-
readonly ContentKindUnknown: "ST2067-3:2020:5.5.1.2/ContentKindUnknown";
|
|
180
|
-
readonly SourceEncodingNoEssenceDescriptorList: "ST2067-3:2020:6.4.2/SourceEncodingNoEssenceDescriptorList";
|
|
181
|
-
readonly SourceEncodingUnresolved: "ST2067-3:2020:6.4.2/SourceEncodingUnresolved";
|
|
182
|
-
readonly EssenceDescriptorListEmpty: "ST2067-3:2020:6.4.2/EssenceDescriptorListEmpty";
|
|
183
|
-
readonly ContentVersionListEmpty: "ST2067-3:2020:6.11/ContentVersionListEmpty";
|
|
184
|
-
readonly ContentVersionIdInvalid: "ST2067-3:2020:6.11/ContentVersionIdInvalid";
|
|
185
|
-
readonly ContentVersionLabelTextMissing: "ST2067-3:2020:6.11/ContentVersionLabelTextMissing";
|
|
186
|
-
readonly LocaleLanguageTagInvalid: "ST2067-3:2020:6.12/LocaleLanguageTagInvalid";
|
|
187
|
-
readonly TrackIdNotUnique: "ST2067-3:2020:7.3/TrackIdNotUnique";
|
|
188
|
-
readonly MarkerOffsetOutOfRange: "ST2067-3:2020:7.4/MarkerOffsetOutOfRange";
|
|
189
|
-
readonly MarkerLabelUnknown: "ST2067-3:2020:7.4/MarkerLabelUnknown";
|
|
190
|
-
readonly SegmentDuration: "ST2067-3:2020:7.2.2/SegmentDuration";
|
|
191
|
-
readonly ContentVersionIdDuplicate: "ST2067-3:2020:6.1.9/ContentVersionIdDuplicate";
|
|
192
|
-
readonly SegmentDurationIntegerEditUnits: "ST2067-3:2020:7.3/SegmentDurationIntegerEditUnits";
|
|
193
|
-
};
|
|
194
184
|
readonly ST2067_9_2018: {
|
|
195
185
|
readonly MalformedXml: "ST2067-9:2018:6.1/MalformedXml";
|
|
196
186
|
readonly SidecarAssetReferencedByVirtualTrack: "ST2067-9:2018:5/SidecarAssetReferencedByVirtualTrack";
|
|
@@ -201,15 +191,90 @@ export declare const codes: {
|
|
|
201
191
|
readonly CplNotFound: "ST2067-9:2018:7.3.1.1/CplNotFound";
|
|
202
192
|
readonly DuplicateCplId: "ST2067-9:2018:7.3.1.1/DuplicateCplId";
|
|
203
193
|
};
|
|
194
|
+
readonly ST2067_21_2014: {
|
|
195
|
+
readonly ColorSystem: "ST2067-21:2014:6.1/ColorSystem";
|
|
196
|
+
readonly BlackRefLevel: "ST2067-21:2014:6.1.4/BlackRefLevel";
|
|
197
|
+
readonly WhiteRefLevel: "ST2067-21:2014:6.1.4/WhiteRefLevel";
|
|
198
|
+
readonly ColorRange: "ST2067-21:2014:6.1.4/ColorRange";
|
|
199
|
+
readonly ApplicationIdentification: "ST2067-21:2014:7/ApplicationIdentification";
|
|
200
|
+
readonly AppIdMismatch: "ST2067-21:2014:7/AppIdMismatch";
|
|
201
|
+
};
|
|
202
|
+
readonly ST2067_21_2016: {
|
|
203
|
+
readonly ColorSystem: "ST2067-21:2016:6.1/ColorSystem";
|
|
204
|
+
readonly ComponentRefValues: "ST2067-21:2016:6.2/ComponentRefValues";
|
|
205
|
+
readonly BlackRefLevel: "ST2067-21:2016:6.3/BlackRefLevel";
|
|
206
|
+
readonly WhiteRefLevel: "ST2067-21:2016:6.3/WhiteRefLevel";
|
|
207
|
+
readonly ColorRange: "ST2067-21:2016:6.3/ColorRange";
|
|
208
|
+
readonly ApplicationIdentification: "ST2067-21:2016:7.1/ApplicationIdentification";
|
|
209
|
+
readonly AppIdMismatch: "ST2067-21:2016:7.1/AppIdMismatch";
|
|
210
|
+
readonly MaxCLLMaxFALL: "ST2067-21:2016:7.2/MaxCLLMaxFALL";
|
|
211
|
+
};
|
|
204
212
|
readonly ST2067_21_2020: {
|
|
213
|
+
readonly FrameRate: "ST2067-21:2020:5.2/FrameRate";
|
|
214
|
+
readonly Resolution: "ST2067-21:2020:5.2/Resolution";
|
|
215
|
+
readonly ColorSystem: "ST2067-21:2020:6.2/ColorSystem";
|
|
216
|
+
readonly RequiredStoredWidth: "ST2067-21:2020:6.2/Required-StoredWidth";
|
|
217
|
+
readonly RequiredStoredHeight: "ST2067-21:2020:6.2/Required-StoredHeight";
|
|
218
|
+
readonly RequiredSampleRate: "ST2067-21:2020:6.2/Required-SampleRate";
|
|
219
|
+
readonly RequiredFrameLayout: "ST2067-21:2020:6.2/Required-FrameLayout";
|
|
220
|
+
readonly RequiredColorPrimaries: "ST2067-21:2020:6.2/Required-ColorPrimaries";
|
|
221
|
+
readonly RequiredTransferCharacteristic: "ST2067-21:2020:6.2/Required-TransferCharacteristic";
|
|
222
|
+
readonly RequiredPictureCompression: "ST2067-21:2020:6.2/Required-PictureCompression";
|
|
223
|
+
readonly RequiredComponentDepth: "ST2067-21:2020:6.2/Required-ComponentDepth";
|
|
224
|
+
readonly AlphaTransparency: "ST2067-21:2020:6.2.1/AlphaTransparency";
|
|
225
|
+
readonly CodingEquationsMissing: "ST2067-21:2020:6.2.1/CodingEquationsMissing";
|
|
226
|
+
readonly ColorPrimariesMissing: "ST2067-21:2020:6.2.1/ColorPrimariesMissing";
|
|
227
|
+
readonly FieldDominance: "ST2067-21:2020:6.2.1/FieldDominance";
|
|
228
|
+
readonly FrameLayout: "ST2067-21:2020:6.2.1/FrameLayout";
|
|
229
|
+
readonly FrameLayoutInterlaced: "ST2067-21:2020:6.2.1/FrameLayoutInterlaced";
|
|
230
|
+
readonly ImageAlignmentOffset: "ST2067-21:2020:6.2.1/ImageAlignmentOffset";
|
|
231
|
+
readonly ImageEndOffset: "ST2067-21:2020:6.2.1/ImageEndOffset";
|
|
232
|
+
readonly ImageStartOffset: "ST2067-21:2020:6.2.1/ImageStartOffset";
|
|
233
|
+
readonly SampledHeight: "ST2067-21:2020:6.2.1/SampledHeight";
|
|
234
|
+
readonly SampledWidth: "ST2067-21:2020:6.2.1/SampledWidth";
|
|
235
|
+
readonly SampledXOffset: "ST2067-21:2020:6.2.1/SampledXOffset";
|
|
236
|
+
readonly SampledYOffset: "ST2067-21:2020:6.2.1/SampledYOffset";
|
|
237
|
+
readonly StoredF2Offset: "ST2067-21:2020:6.2.1/StoredF2Offset";
|
|
238
|
+
readonly TransferCharacteristicMissing: "ST2067-21:2020:6.2.1/TransferCharacteristicMissing";
|
|
239
|
+
readonly TransferCharacteristicUnknown: "ST2067-21:2020:6.2.2/TransferCharacteristicUnknown";
|
|
240
|
+
readonly CodingEquationsUnknown: "ST2067-21:2020:6.2.3/CodingEquationsUnknown";
|
|
241
|
+
readonly ColorPrimariesUnknown: "ST2067-21:2020:6.2.4/ColorPrimariesUnknown";
|
|
242
|
+
readonly J2KRequired: "ST2067-21:2020:6.2.5/J2KRequired";
|
|
243
|
+
readonly AlphaMaxRef: "ST2067-21:2020:6.3/AlphaMaxRef";
|
|
244
|
+
readonly AlphaMinRef: "ST2067-21:2020:6.3/AlphaMinRef";
|
|
245
|
+
readonly ComponentMaxRef: "ST2067-21:2020:6.3/ComponentMaxRef";
|
|
246
|
+
readonly ComponentMinRef: "ST2067-21:2020:6.3/ComponentMinRef";
|
|
247
|
+
readonly Palette: "ST2067-21:2020:6.3/Palette";
|
|
248
|
+
readonly PaletteLayout: "ST2067-21:2020:6.3/PaletteLayout";
|
|
249
|
+
readonly ScanningDirection: "ST2067-21:2020:6.3/ScanningDirection";
|
|
250
|
+
readonly ComponentRefValues: "ST2067-21:2020:6.3.2/ComponentRefValues";
|
|
251
|
+
readonly AlphaSampleDepth: "ST2067-21:2020:6.4/AlphaSampleDepth";
|
|
252
|
+
readonly ColorSiting: "ST2067-21:2020:6.4/ColorSiting";
|
|
253
|
+
readonly ComponentDepth: "ST2067-21:2020:6.4/ComponentDepth";
|
|
254
|
+
readonly HorizontalSubsampling: "ST2067-21:2020:6.4/HorizontalSubsampling";
|
|
255
|
+
readonly PaddingBits: "ST2067-21:2020:6.4/PaddingBits";
|
|
256
|
+
readonly ReversedByteOrder: "ST2067-21:2020:6.4/ReversedByteOrder";
|
|
257
|
+
readonly VerticalSubsampling: "ST2067-21:2020:6.4/VerticalSubsampling";
|
|
258
|
+
readonly BlackRefLevel: "ST2067-21:2020:6.4.3/BlackRefLevel";
|
|
259
|
+
readonly ColorRange: "ST2067-21:2020:6.4.3/ColorRange";
|
|
260
|
+
readonly WhiteRefLevel: "ST2067-21:2020:6.4.3/WhiteRefLevel";
|
|
261
|
+
readonly CodingStyle: "ST2067-21:2020:6.5.2/CodingStyle";
|
|
262
|
+
readonly J2CLayout: "ST2067-21:2020:6.5.2/J2CLayout";
|
|
263
|
+
readonly JPEG2000SubDescriptor: "ST2067-21:2020:6.5.2/JPEG2000SubDescriptor";
|
|
264
|
+
readonly J2KHTNotAllowed: "ST2067-21:2020:6.2.5/J2K-HT-Not-Allowed";
|
|
265
|
+
readonly J2K4KResolution: "ST2067-21:2020:6.2.5/J2K-4K-Resolution";
|
|
266
|
+
readonly J2K2KResolution: "ST2067-21:2020:6.2.5/J2K-2K-Resolution";
|
|
267
|
+
readonly J2KBCPResolution: "ST2067-21:2020:6.2.5/J2K-BCP-Resolution";
|
|
268
|
+
readonly J2KProfileNotAllowed: "ST2067-21:2020:6.2.5/J2K-Profile-Not-Allowed";
|
|
269
|
+
readonly ApplicationIdentification: "ST2067-21:2020:7.1/ApplicationIdentification";
|
|
270
|
+
readonly HomogeneousImageEssence: "ST2067-21:2020:7.2/HomogeneousImageEssence";
|
|
205
271
|
readonly AppIdMismatch: "ST2067-21:2020:7.1/AppIdMismatch";
|
|
272
|
+
readonly SegmentDurationMultiple: "ST2067-21:2020:7.4/SegmentDurationMultiple";
|
|
273
|
+
readonly MaxCLLMaxFALL: "ST2067-21:2020:7.5/MaxCLLMaxFALL";
|
|
206
274
|
};
|
|
207
275
|
readonly ST2067_21_2023: {
|
|
208
276
|
readonly FrameRate: "ST2067-21:2023:5.2/FrameRate";
|
|
209
277
|
readonly Resolution: "ST2067-21:2023:5.2/Resolution";
|
|
210
|
-
readonly EmptyLanguageTag: "ST2067-21:2023:5.3/EmptyLanguageTag";
|
|
211
|
-
readonly MalformedLanguageTag: "ST2067-21:2023:5.3/MalformedLanguageTag";
|
|
212
|
-
readonly RegionCode: "ST2067-21:2023:5.3/RegionCode";
|
|
213
278
|
readonly ColorSystem: "ST2067-21:2023:6.2/ColorSystem";
|
|
214
279
|
readonly RequiredStoredWidth: "ST2067-21:2023:6.2/Required-StoredWidth";
|
|
215
280
|
readonly RequiredStoredHeight: "ST2067-21:2023:6.2/Required-StoredHeight";
|
|
@@ -219,8 +284,6 @@ export declare const codes: {
|
|
|
219
284
|
readonly RequiredTransferCharacteristic: "ST2067-21:2023:6.2/Required-TransferCharacteristic";
|
|
220
285
|
readonly RequiredPictureCompression: "ST2067-21:2023:6.2/Required-PictureCompression";
|
|
221
286
|
readonly RequiredComponentDepth: "ST2067-21:2023:6.2/Required-ComponentDepth";
|
|
222
|
-
readonly RequiredChannelCount: "ST2067-21:2023:6.5/Required-ChannelCount";
|
|
223
|
-
readonly RequiredQuantizationBits: "ST2067-21:2023:6.5/Required-QuantizationBits";
|
|
224
287
|
readonly AlphaTransparency: "ST2067-21:2023:6.2.1/AlphaTransparency";
|
|
225
288
|
readonly CodingEquationsMissing: "ST2067-21:2023:6.2.1/CodingEquationsMissing";
|
|
226
289
|
readonly ColorPrimariesMissing: "ST2067-21:2023:6.2.1/ColorPrimariesMissing";
|
|
@@ -258,80 +321,142 @@ export declare const codes: {
|
|
|
258
321
|
readonly BlackRefLevel: "ST2067-21:2023:6.4.3/BlackRefLevel";
|
|
259
322
|
readonly ColorRange: "ST2067-21:2023:6.4.3/ColorRange";
|
|
260
323
|
readonly WhiteRefLevel: "ST2067-21:2023:6.4.3/WhiteRefLevel";
|
|
261
|
-
readonly AudioSampleRate: "ST2067-21:2023:6.5/AudioSampleRate";
|
|
262
|
-
readonly QuantizationBits: "ST2067-21:2023:6.5/QuantizationBits";
|
|
263
324
|
readonly CodingStyle: "ST2067-21:2023:6.5.2/CodingStyle";
|
|
264
325
|
readonly J2CLayout: "ST2067-21:2023:6.5.2/J2CLayout";
|
|
265
326
|
readonly J2KExtendedCapabilities: "ST2067-21:2023:6.5.2/J2KExtendedCapabilities";
|
|
266
327
|
readonly JPEG2000SubDescriptor: "ST2067-21:2023:6.5.2/JPEG2000SubDescriptor";
|
|
267
|
-
readonly J2KHTNotAllowed: "ST2067-21:2023:6.2.5/J2K-HT-Not-Allowed";
|
|
268
328
|
readonly J2K4KResolution: "ST2067-21:2023:6.2.5/J2K-4K-Resolution";
|
|
269
329
|
readonly J2K2KResolution: "ST2067-21:2023:6.2.5/J2K-2K-Resolution";
|
|
270
330
|
readonly J2KBCPResolution: "ST2067-21:2023:6.2.5/J2K-BCP-Resolution";
|
|
331
|
+
readonly J2KProfileNotAllowed: "ST2067-21:2023:6.2.5/J2K-Profile-Not-Allowed";
|
|
271
332
|
readonly ApplicationIdentification: "ST2067-21:2023:7.1/ApplicationIdentification";
|
|
272
|
-
readonly ContentMaturityRatingAgency: "ST2067-21:2023:7.1/ContentMaturityRating-Agency";
|
|
273
|
-
readonly ContentMaturityRatingAgencyURI: "ST2067-21:2023:7.1/ContentMaturityRating-Agency-URI";
|
|
274
333
|
readonly HomogeneousImageEssence: "ST2067-21:2023:7.2/HomogeneousImageEssence";
|
|
275
334
|
readonly AppIdMismatch: "ST2067-21:2023:7.1/AppIdMismatch";
|
|
276
335
|
readonly SegmentDurationMultiple: "ST2067-21:2023:7.4/SegmentDurationMultiple";
|
|
277
336
|
readonly MaxCLLMaxFALL: "ST2067-21:2023:7.5/MaxCLLMaxFALL";
|
|
278
337
|
};
|
|
279
|
-
readonly
|
|
280
|
-
readonly
|
|
281
|
-
readonly
|
|
338
|
+
readonly ST2067_21_2026: {
|
|
339
|
+
readonly FrameRate: "ST2067-21:2026:6.2.1/FrameRate";
|
|
340
|
+
readonly Resolution: "ST2067-21:2026:6.2.1/Resolution";
|
|
341
|
+
readonly ColorSystem: "ST2067-21:2026:7.2/ColorSystem";
|
|
342
|
+
readonly RequiredStoredWidth: "ST2067-21:2026:7.2.1.1/Required-StoredWidth";
|
|
343
|
+
readonly RequiredStoredHeight: "ST2067-21:2026:7.2.1.1/Required-StoredHeight";
|
|
344
|
+
readonly RequiredSampleRate: "ST2067-21:2026:7.2.1.1/Required-SampleRate";
|
|
345
|
+
readonly RequiredFrameLayout: "ST2067-21:2026:7.2.1.1/Required-FrameLayout";
|
|
346
|
+
readonly RequiredColorPrimaries: "ST2067-21:2026:7.2.1.1/Required-ColorPrimaries";
|
|
347
|
+
readonly RequiredTransferCharacteristic: "ST2067-21:2026:7.2.1.1/Required-TransferCharacteristic";
|
|
348
|
+
readonly RequiredPictureCompression: "ST2067-21:2026:7.2.1.1/Required-PictureCompression";
|
|
349
|
+
readonly RequiredComponentDepth: "ST2067-21:2026:7.4.1/Required-ComponentDepth";
|
|
350
|
+
readonly CodingEquationsMissing: "ST2067-21:2026:7.2.1.1/CodingEquationsMissing";
|
|
351
|
+
readonly ColorPrimariesMissing: "ST2067-21:2026:7.2.1.1/ColorPrimariesMissing";
|
|
352
|
+
readonly FieldDominance: "ST2067-21:2026:7.2.1.1/FieldDominance";
|
|
353
|
+
readonly FrameLayout: "ST2067-21:2026:7.2.1.4/FrameLayout";
|
|
354
|
+
readonly FrameLayoutInterlaced: "ST2067-21:2026:6.2.1/FrameLayoutInterlaced";
|
|
355
|
+
readonly ImageAlignmentOffset: "ST2067-21:2026:7.2.1.1/ImageAlignmentOffset";
|
|
356
|
+
readonly ImageEndOffset: "ST2067-21:2026:7.2.1.1/ImageEndOffset";
|
|
357
|
+
readonly ImageStartOffset: "ST2067-21:2026:7.2.1.1/ImageStartOffset";
|
|
358
|
+
readonly SampledHeight: "ST2067-21:2026:7.2.1.1/SampledHeight";
|
|
359
|
+
readonly SampledWidth: "ST2067-21:2026:7.2.1.1/SampledWidth";
|
|
360
|
+
readonly SampledXOffset: "ST2067-21:2026:7.2.1.1/SampledXOffset";
|
|
361
|
+
readonly SampledYOffset: "ST2067-21:2026:7.2.1.1/SampledYOffset";
|
|
362
|
+
readonly StoredF2Offset: "ST2067-21:2026:7.2.1.1/StoredF2Offset";
|
|
363
|
+
readonly TransferCharacteristicMissing: "ST2067-21:2026:7.2.1.1/TransferCharacteristicMissing";
|
|
364
|
+
readonly TransferCharacteristicUnknown: "ST2067-21:2026:7.2.2/TransferCharacteristicUnknown";
|
|
365
|
+
readonly CodingEquationsUnknown: "ST2067-21:2026:7.2.3/CodingEquationsUnknown";
|
|
366
|
+
readonly ColorPrimariesUnknown: "ST2067-21:2026:7.2.4/ColorPrimariesUnknown";
|
|
367
|
+
readonly J2KRequired: "ST2067-21:2026:7.2.5/J2KRequired";
|
|
368
|
+
readonly AlphaMaxRef: "ST2067-21:2026:7.3.1/AlphaMaxRef";
|
|
369
|
+
readonly AlphaMinRef: "ST2067-21:2026:7.3.1/AlphaMinRef";
|
|
370
|
+
readonly ComponentMaxRef: "ST2067-21:2026:7.3.1/ComponentMaxRef";
|
|
371
|
+
readonly ComponentMinRef: "ST2067-21:2026:7.3.1/ComponentMinRef";
|
|
372
|
+
readonly Palette: "ST2067-21:2026:7.3.1/Palette";
|
|
373
|
+
readonly PaletteLayout: "ST2067-21:2026:7.3.1/PaletteLayout";
|
|
374
|
+
readonly ScanningDirection: "ST2067-21:2026:7.3.1/ScanningDirection";
|
|
375
|
+
readonly ComponentRefValues: "ST2067-21:2026:7.3.2/ComponentRefValues";
|
|
376
|
+
readonly AlphaSampleDepth: "ST2067-21:2026:7.4.1/AlphaSampleDepth";
|
|
377
|
+
readonly ColorSiting: "ST2067-21:2026:7.4.1/ColorSiting";
|
|
378
|
+
readonly ComponentDepth: "ST2067-21:2026:7.4.1/ComponentDepth";
|
|
379
|
+
readonly HorizontalSubsampling: "ST2067-21:2026:7.4.2/HorizontalSubsampling";
|
|
380
|
+
readonly PaddingBits: "ST2067-21:2026:7.4.1/PaddingBits";
|
|
381
|
+
readonly ReversedByteOrder: "ST2067-21:2026:7.4.1/ReversedByteOrder";
|
|
382
|
+
readonly VerticalSubsampling: "ST2067-21:2026:7.4.1/VerticalSubsampling";
|
|
383
|
+
readonly BlackRefLevel: "ST2067-21:2026:7.4.3/BlackRefLevel";
|
|
384
|
+
readonly ColorRange: "ST2067-21:2026:7.4.3/ColorRange";
|
|
385
|
+
readonly WhiteRefLevel: "ST2067-21:2026:7.4.3/WhiteRefLevel";
|
|
386
|
+
readonly CodingStyle: "ST2067-21:2026:7.5.1/CodingStyle";
|
|
387
|
+
readonly J2CLayout: "ST2067-21:2026:7.5.2/J2CLayout";
|
|
388
|
+
readonly J2KExtendedCapabilities: "ST2067-21:2026:7.5.1/J2KExtendedCapabilities";
|
|
389
|
+
readonly JPEG2000SubDescriptor: "ST2067-21:2026:7.5.1/JPEG2000SubDescriptor";
|
|
390
|
+
readonly J2K4KResolution: "ST2067-21:2026:7.2.5/J2K-4K-Resolution";
|
|
391
|
+
readonly J2K2KResolution: "ST2067-21:2026:7.2.5/J2K-2K-Resolution";
|
|
392
|
+
readonly J2KBCPResolution: "ST2067-21:2026:7.2.5/J2K-BCP-Resolution";
|
|
393
|
+
readonly J2K8KResolution: "ST2067-21:2026:7.2.5/J2K-8K-Resolution";
|
|
394
|
+
readonly ApplicationIdentification: "ST2067-21:2026:8.1/ApplicationIdentification";
|
|
395
|
+
readonly AppIdMismatch: "ST2067-21:2026:8.1/AppIdMismatch";
|
|
396
|
+
readonly HomogeneousImageEssence: "ST2067-21:2026:8.2/HomogeneousImageEssence";
|
|
397
|
+
readonly SegmentDurationMultiple: "ST2067-21:2026:8.3.2/SegmentDurationMultiple";
|
|
398
|
+
readonly MaxCLLMaxFALL: "ST2067-21:2026:8.3.3/MaxCLLMaxFALL";
|
|
282
399
|
};
|
|
283
400
|
readonly ST2067_201_2019: {
|
|
284
401
|
readonly CodecForbidden: "ST2067-201:2019:5.9/CodecForbidden";
|
|
285
|
-
readonly
|
|
402
|
+
readonly ElectrospatialFormulationInvalid: "ST2067-201:2019:5.9/ElectrospatialFormulationInvalid";
|
|
286
403
|
readonly QuantizationBitsMissing: "ST2067-201:2019:5.9/QuantizationBitsMissing";
|
|
287
404
|
readonly QuantizationBitsInvalid: "ST2067-201:2019:5.9/QuantizationBitsInvalid";
|
|
288
|
-
readonly ContainerFormatMissing: "ST2067-201:2019:5.
|
|
289
|
-
readonly EssenceContainerInvalid: "ST2067-201:2019:5.
|
|
405
|
+
readonly ContainerFormatMissing: "ST2067-201:2019:5.9/ContainerFormatMissing";
|
|
406
|
+
readonly EssenceContainerInvalid: "ST2067-201:2019:5.9/EssenceContainerInvalid";
|
|
290
407
|
readonly AudioSamplingRateMissing: "ST2067-201:2019:5.9/AudioSamplingRateMissing";
|
|
291
408
|
readonly AudioSamplingRateInvalid: "ST2067-201:2019:5.9/AudioSamplingRateInvalid";
|
|
292
409
|
readonly SoundCompressionMissing: "ST2067-201:2019:5.9/SoundCompressionMissing";
|
|
293
410
|
readonly SoundCompressionInvalid: "ST2067-201:2019:5.9/SoundCompressionInvalid";
|
|
294
411
|
readonly ChannelCountNotZero: "ST2067-201:2019:5.9/ChannelCountNotZero";
|
|
295
|
-
readonly SubDescriptorMissing: "ST2067-201:2019:5.
|
|
296
|
-
readonly MCATagSymbolMissing: "ST2067-201:2019:5.
|
|
297
|
-
readonly MCATagSymbolInvalid: "ST2067-201:2019:5.
|
|
298
|
-
readonly MCATagNameMissing: "ST2067-201:2019:5.
|
|
299
|
-
readonly MCATagNameInvalid: "ST2067-201:2019:5.
|
|
300
|
-
readonly MCALabelDictionaryIDMissing: "ST2067-201:2019:5.
|
|
301
|
-
readonly MCALabelDictionaryIDInvalid: "ST2067-201:2019:5.
|
|
302
|
-
readonly MainAudioMissing: "ST2067-201:2019:6.2/MainAudioMissing";
|
|
412
|
+
readonly SubDescriptorMissing: "ST2067-201:2019:5.10.2/SubDescriptorMissing";
|
|
413
|
+
readonly MCATagSymbolMissing: "ST2067-201:2019:5.10.4/MCATagSymbolMissing";
|
|
414
|
+
readonly MCATagSymbolInvalid: "ST2067-201:2019:5.10.4/MCATagSymbolInvalid";
|
|
415
|
+
readonly MCATagNameMissing: "ST2067-201:2019:5.10.3/MCATagNameMissing";
|
|
416
|
+
readonly MCATagNameInvalid: "ST2067-201:2019:5.10.4/MCATagNameInvalid";
|
|
417
|
+
readonly MCALabelDictionaryIDMissing: "ST2067-201:2019:5.10.4/MCALabelDictionaryIDMissing";
|
|
418
|
+
readonly MCALabelDictionaryIDInvalid: "ST2067-201:2019:5.10.4/MCALabelDictionaryIDInvalid";
|
|
303
419
|
readonly IABSequenceNoResources: "ST2067-201:2019:6.2/IABSequenceNoResources";
|
|
304
420
|
readonly IABSequenceSourceEncodingInvalid: "ST2067-201:2019:6.2/IABSequenceSourceEncodingInvalid";
|
|
421
|
+
readonly ForbiddenMCASubDescriptor: "ST2067-201:2019:5.10.2/ForbiddenMCASubDescriptor";
|
|
422
|
+
readonly SubDescriptorDuplicate: "ST2067-201:2019:5.10.2/SubDescriptorDuplicate";
|
|
423
|
+
readonly MCAChannelIDForbidden: "ST2067-201:2019:C.2/MCAChannelIDForbidden";
|
|
424
|
+
readonly EditRateNotIntegerMultiple: "ST2067-201:2019:6.2/EditRateNotIntegerMultiple";
|
|
305
425
|
};
|
|
306
426
|
readonly ST2067_201_2021: {
|
|
307
427
|
readonly CodecForbidden: "ST2067-201:2021:5.9/CodecForbidden";
|
|
308
|
-
readonly
|
|
428
|
+
readonly ElectrospatialFormulationInvalid: "ST2067-201:2021:5.9/ElectrospatialFormulationInvalid";
|
|
309
429
|
readonly QuantizationBitsMissing: "ST2067-201:2021:5.9/QuantizationBitsMissing";
|
|
310
430
|
readonly QuantizationBitsInvalid: "ST2067-201:2021:5.9/QuantizationBitsInvalid";
|
|
311
|
-
readonly ContainerFormatMissing: "ST2067-201:2021:5.
|
|
312
|
-
readonly EssenceContainerInvalid: "ST2067-201:2021:5.
|
|
431
|
+
readonly ContainerFormatMissing: "ST2067-201:2021:5.9/ContainerFormatMissing";
|
|
432
|
+
readonly EssenceContainerInvalid: "ST2067-201:2021:5.9/EssenceContainerInvalid";
|
|
313
433
|
readonly AudioSamplingRateMissing: "ST2067-201:2021:5.9/AudioSamplingRateMissing";
|
|
314
434
|
readonly AudioSamplingRateInvalid: "ST2067-201:2021:5.9/AudioSamplingRateInvalid";
|
|
315
435
|
readonly SoundCompressionMissing: "ST2067-201:2021:5.9/SoundCompressionMissing";
|
|
316
436
|
readonly SoundCompressionInvalid: "ST2067-201:2021:5.9/SoundCompressionInvalid";
|
|
317
|
-
readonly
|
|
318
|
-
readonly
|
|
319
|
-
readonly
|
|
320
|
-
readonly
|
|
321
|
-
readonly
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
-
readonly MCALabelDictionaryIDInvalid: "ST2067-201:2021:5.9/MCALabelDictionaryIDInvalid";
|
|
325
|
-
readonly MainAudioMissing: "ST2067-201:2021:6.2/MainAudioMissing";
|
|
437
|
+
readonly SubDescriptorMissing: "ST2067-201:2021:5.10.2/SubDescriptorMissing";
|
|
438
|
+
readonly MCATagSymbolMissing: "ST2067-201:2021:5.10.4/MCATagSymbolMissing";
|
|
439
|
+
readonly MCATagSymbolInvalid: "ST2067-201:2021:5.10.4/MCATagSymbolInvalid";
|
|
440
|
+
readonly MCATagNameMissing: "ST2067-201:2021:5.10.3/MCATagNameMissing";
|
|
441
|
+
readonly MCATagNameInvalid: "ST2067-201:2021:5.10.4/MCATagNameInvalid";
|
|
442
|
+
readonly MCALabelDictionaryIDMissing: "ST2067-201:2021:5.10.4/MCALabelDictionaryIDMissing";
|
|
443
|
+
readonly MCALabelDictionaryIDInvalid: "ST2067-201:2021:5.10.4/MCALabelDictionaryIDInvalid";
|
|
326
444
|
readonly IABSequenceNoResources: "ST2067-201:2021:6.2/IABSequenceNoResources";
|
|
327
445
|
readonly IABSequenceSourceEncodingInvalid: "ST2067-201:2021:6.2/IABSequenceSourceEncodingInvalid";
|
|
446
|
+
readonly ForbiddenMCASubDescriptor: "ST2067-201:2021:5.10.2/ForbiddenMCASubDescriptor";
|
|
447
|
+
readonly SubDescriptorDuplicate: "ST2067-201:2021:5.10.2/SubDescriptorDuplicate";
|
|
448
|
+
readonly MCAChannelIDForbidden: "ST2067-201:2021:C.2/MCAChannelIDForbidden";
|
|
449
|
+
readonly EditRateNotIntegerMultiple: "ST2067-201:2021:6.2/EditRateNotIntegerMultiple";
|
|
328
450
|
};
|
|
329
|
-
readonly
|
|
330
|
-
readonly
|
|
331
|
-
readonly
|
|
332
|
-
readonly
|
|
333
|
-
readonly
|
|
334
|
-
readonly
|
|
451
|
+
readonly ST2067_202_2023: {
|
|
452
|
+
readonly NamespaceUriMissing: "ST2067-202:2023:9.2/NamespaceUriMissing";
|
|
453
|
+
readonly ISXDSequenceNoResources: "ST2067-202:2023:6/ISXDSequenceNoResources";
|
|
454
|
+
readonly ISXDSequenceSourceEncodingInvalid: "ST2067-202:2023:6/ISXDSequenceSourceEncodingInvalid";
|
|
455
|
+
readonly NamespaceUriMismatch: "ST2067-202:2023:6/NamespaceUriMismatch";
|
|
456
|
+
readonly EditRateMismatch: "ST2067-202:2023:6/EditRateMismatch";
|
|
457
|
+
readonly ISXDVirtualTrackMissing: "ST2067-202:2023:6/ISXDVirtualTrackMissing";
|
|
458
|
+
readonly DataEssenceCodingMissing: "ST2067-202:2023:9.3/DataEssenceCodingMissing";
|
|
459
|
+
readonly DataEssenceCodingInvalid: "ST2067-202:2023:9.3/DataEssenceCodingInvalid";
|
|
335
460
|
};
|
|
336
461
|
readonly Imferno: {
|
|
337
462
|
readonly UnreferencedAsset: "IMFERNO:Package/UnreferencedAsset";
|
package/codes.js
CHANGED
|
@@ -9,6 +9,9 @@ export const codes = {
|
|
|
9
9
|
ParseError: "ST377-1:2011:5/ParseError",
|
|
10
10
|
NoEssenceContainers: "ST377-1:2011:11/NoEssenceContainers",
|
|
11
11
|
OP1a: "ST377-1:2011:7/OP1a",
|
|
12
|
+
NonHeaderFirstPartition: "ST377-1:2011:6.4/NonHeaderFirstPartition",
|
|
13
|
+
HeaderPartitionOpen: "ST377-1:2011:8.3.3/HeaderPartitionOpen",
|
|
14
|
+
MissingHeaderMetadata: "ST377-1:2011:8.3.3/MissingHeaderMetadata",
|
|
12
15
|
},
|
|
13
16
|
ST2067_2_2020: {
|
|
14
17
|
AssetMap: "ST2067-2:2020:7/AssetMap",
|
|
@@ -22,6 +25,9 @@ export const codes = {
|
|
|
22
25
|
DuplicateUuid: "ST2067-2:2020:7/DuplicateUuid",
|
|
23
26
|
IoError: "IMF:General/IoError",
|
|
24
27
|
EssenceDescriptorList: "ST2067-2:2020:6.4.2/EssenceDescriptorList",
|
|
28
|
+
PklUnknownNamespace: "ST2067-2:2020:9/PklUnknownNamespace",
|
|
29
|
+
AssetMapHasNoPackingList: "ST429-9:2014:6.3/AssetMapHasNoPackingList",
|
|
30
|
+
PklIdNotInAssetMap: "ST429-9:2014:6.3/PklIdNotInAssetMap",
|
|
25
31
|
},
|
|
26
32
|
ST2067_2_2013_Core: {
|
|
27
33
|
ResourceListEmpty: "ST2067-2:2013:XSD/ResourceList-Empty",
|
|
@@ -175,22 +181,6 @@ export const codes = {
|
|
|
175
181
|
ContentVersionIdDuplicate: "ST2067-3:2016:6.1.9/ContentVersionIdDuplicate",
|
|
176
182
|
SegmentDurationIntegerEditUnits: "ST2067-3:2016:7.3/SegmentDurationIntegerEditUnits",
|
|
177
183
|
},
|
|
178
|
-
ST2067_3_2020: {
|
|
179
|
-
ContentKindUnknown: "ST2067-3:2020:5.5.1.2/ContentKindUnknown",
|
|
180
|
-
SourceEncodingNoEssenceDescriptorList: "ST2067-3:2020:6.4.2/SourceEncodingNoEssenceDescriptorList",
|
|
181
|
-
SourceEncodingUnresolved: "ST2067-3:2020:6.4.2/SourceEncodingUnresolved",
|
|
182
|
-
EssenceDescriptorListEmpty: "ST2067-3:2020:6.4.2/EssenceDescriptorListEmpty",
|
|
183
|
-
ContentVersionListEmpty: "ST2067-3:2020:6.11/ContentVersionListEmpty",
|
|
184
|
-
ContentVersionIdInvalid: "ST2067-3:2020:6.11/ContentVersionIdInvalid",
|
|
185
|
-
ContentVersionLabelTextMissing: "ST2067-3:2020:6.11/ContentVersionLabelTextMissing",
|
|
186
|
-
LocaleLanguageTagInvalid: "ST2067-3:2020:6.12/LocaleLanguageTagInvalid",
|
|
187
|
-
TrackIdNotUnique: "ST2067-3:2020:7.3/TrackIdNotUnique",
|
|
188
|
-
MarkerOffsetOutOfRange: "ST2067-3:2020:7.4/MarkerOffsetOutOfRange",
|
|
189
|
-
MarkerLabelUnknown: "ST2067-3:2020:7.4/MarkerLabelUnknown",
|
|
190
|
-
SegmentDuration: "ST2067-3:2020:7.2.2/SegmentDuration",
|
|
191
|
-
ContentVersionIdDuplicate: "ST2067-3:2020:6.1.9/ContentVersionIdDuplicate",
|
|
192
|
-
SegmentDurationIntegerEditUnits: "ST2067-3:2020:7.3/SegmentDurationIntegerEditUnits",
|
|
193
|
-
},
|
|
194
184
|
ST2067_9_2018: {
|
|
195
185
|
MalformedXml: "ST2067-9:2018:6.1/MalformedXml",
|
|
196
186
|
SidecarAssetReferencedByVirtualTrack: "ST2067-9:2018:5/SidecarAssetReferencedByVirtualTrack",
|
|
@@ -201,15 +191,90 @@ export const codes = {
|
|
|
201
191
|
CplNotFound: "ST2067-9:2018:7.3.1.1/CplNotFound",
|
|
202
192
|
DuplicateCplId: "ST2067-9:2018:7.3.1.1/DuplicateCplId",
|
|
203
193
|
},
|
|
194
|
+
ST2067_21_2014: {
|
|
195
|
+
ColorSystem: "ST2067-21:2014:6.1/ColorSystem",
|
|
196
|
+
BlackRefLevel: "ST2067-21:2014:6.1.4/BlackRefLevel",
|
|
197
|
+
WhiteRefLevel: "ST2067-21:2014:6.1.4/WhiteRefLevel",
|
|
198
|
+
ColorRange: "ST2067-21:2014:6.1.4/ColorRange",
|
|
199
|
+
ApplicationIdentification: "ST2067-21:2014:7/ApplicationIdentification",
|
|
200
|
+
AppIdMismatch: "ST2067-21:2014:7/AppIdMismatch",
|
|
201
|
+
},
|
|
202
|
+
ST2067_21_2016: {
|
|
203
|
+
ColorSystem: "ST2067-21:2016:6.1/ColorSystem",
|
|
204
|
+
ComponentRefValues: "ST2067-21:2016:6.2/ComponentRefValues",
|
|
205
|
+
BlackRefLevel: "ST2067-21:2016:6.3/BlackRefLevel",
|
|
206
|
+
WhiteRefLevel: "ST2067-21:2016:6.3/WhiteRefLevel",
|
|
207
|
+
ColorRange: "ST2067-21:2016:6.3/ColorRange",
|
|
208
|
+
ApplicationIdentification: "ST2067-21:2016:7.1/ApplicationIdentification",
|
|
209
|
+
AppIdMismatch: "ST2067-21:2016:7.1/AppIdMismatch",
|
|
210
|
+
MaxCLLMaxFALL: "ST2067-21:2016:7.2/MaxCLLMaxFALL",
|
|
211
|
+
},
|
|
204
212
|
ST2067_21_2020: {
|
|
213
|
+
FrameRate: "ST2067-21:2020:5.2/FrameRate",
|
|
214
|
+
Resolution: "ST2067-21:2020:5.2/Resolution",
|
|
215
|
+
ColorSystem: "ST2067-21:2020:6.2/ColorSystem",
|
|
216
|
+
RequiredStoredWidth: "ST2067-21:2020:6.2/Required-StoredWidth",
|
|
217
|
+
RequiredStoredHeight: "ST2067-21:2020:6.2/Required-StoredHeight",
|
|
218
|
+
RequiredSampleRate: "ST2067-21:2020:6.2/Required-SampleRate",
|
|
219
|
+
RequiredFrameLayout: "ST2067-21:2020:6.2/Required-FrameLayout",
|
|
220
|
+
RequiredColorPrimaries: "ST2067-21:2020:6.2/Required-ColorPrimaries",
|
|
221
|
+
RequiredTransferCharacteristic: "ST2067-21:2020:6.2/Required-TransferCharacteristic",
|
|
222
|
+
RequiredPictureCompression: "ST2067-21:2020:6.2/Required-PictureCompression",
|
|
223
|
+
RequiredComponentDepth: "ST2067-21:2020:6.2/Required-ComponentDepth",
|
|
224
|
+
AlphaTransparency: "ST2067-21:2020:6.2.1/AlphaTransparency",
|
|
225
|
+
CodingEquationsMissing: "ST2067-21:2020:6.2.1/CodingEquationsMissing",
|
|
226
|
+
ColorPrimariesMissing: "ST2067-21:2020:6.2.1/ColorPrimariesMissing",
|
|
227
|
+
FieldDominance: "ST2067-21:2020:6.2.1/FieldDominance",
|
|
228
|
+
FrameLayout: "ST2067-21:2020:6.2.1/FrameLayout",
|
|
229
|
+
FrameLayoutInterlaced: "ST2067-21:2020:6.2.1/FrameLayoutInterlaced",
|
|
230
|
+
ImageAlignmentOffset: "ST2067-21:2020:6.2.1/ImageAlignmentOffset",
|
|
231
|
+
ImageEndOffset: "ST2067-21:2020:6.2.1/ImageEndOffset",
|
|
232
|
+
ImageStartOffset: "ST2067-21:2020:6.2.1/ImageStartOffset",
|
|
233
|
+
SampledHeight: "ST2067-21:2020:6.2.1/SampledHeight",
|
|
234
|
+
SampledWidth: "ST2067-21:2020:6.2.1/SampledWidth",
|
|
235
|
+
SampledXOffset: "ST2067-21:2020:6.2.1/SampledXOffset",
|
|
236
|
+
SampledYOffset: "ST2067-21:2020:6.2.1/SampledYOffset",
|
|
237
|
+
StoredF2Offset: "ST2067-21:2020:6.2.1/StoredF2Offset",
|
|
238
|
+
TransferCharacteristicMissing: "ST2067-21:2020:6.2.1/TransferCharacteristicMissing",
|
|
239
|
+
TransferCharacteristicUnknown: "ST2067-21:2020:6.2.2/TransferCharacteristicUnknown",
|
|
240
|
+
CodingEquationsUnknown: "ST2067-21:2020:6.2.3/CodingEquationsUnknown",
|
|
241
|
+
ColorPrimariesUnknown: "ST2067-21:2020:6.2.4/ColorPrimariesUnknown",
|
|
242
|
+
J2KRequired: "ST2067-21:2020:6.2.5/J2KRequired",
|
|
243
|
+
AlphaMaxRef: "ST2067-21:2020:6.3/AlphaMaxRef",
|
|
244
|
+
AlphaMinRef: "ST2067-21:2020:6.3/AlphaMinRef",
|
|
245
|
+
ComponentMaxRef: "ST2067-21:2020:6.3/ComponentMaxRef",
|
|
246
|
+
ComponentMinRef: "ST2067-21:2020:6.3/ComponentMinRef",
|
|
247
|
+
Palette: "ST2067-21:2020:6.3/Palette",
|
|
248
|
+
PaletteLayout: "ST2067-21:2020:6.3/PaletteLayout",
|
|
249
|
+
ScanningDirection: "ST2067-21:2020:6.3/ScanningDirection",
|
|
250
|
+
ComponentRefValues: "ST2067-21:2020:6.3.2/ComponentRefValues",
|
|
251
|
+
AlphaSampleDepth: "ST2067-21:2020:6.4/AlphaSampleDepth",
|
|
252
|
+
ColorSiting: "ST2067-21:2020:6.4/ColorSiting",
|
|
253
|
+
ComponentDepth: "ST2067-21:2020:6.4/ComponentDepth",
|
|
254
|
+
HorizontalSubsampling: "ST2067-21:2020:6.4/HorizontalSubsampling",
|
|
255
|
+
PaddingBits: "ST2067-21:2020:6.4/PaddingBits",
|
|
256
|
+
ReversedByteOrder: "ST2067-21:2020:6.4/ReversedByteOrder",
|
|
257
|
+
VerticalSubsampling: "ST2067-21:2020:6.4/VerticalSubsampling",
|
|
258
|
+
BlackRefLevel: "ST2067-21:2020:6.4.3/BlackRefLevel",
|
|
259
|
+
ColorRange: "ST2067-21:2020:6.4.3/ColorRange",
|
|
260
|
+
WhiteRefLevel: "ST2067-21:2020:6.4.3/WhiteRefLevel",
|
|
261
|
+
CodingStyle: "ST2067-21:2020:6.5.2/CodingStyle",
|
|
262
|
+
J2CLayout: "ST2067-21:2020:6.5.2/J2CLayout",
|
|
263
|
+
JPEG2000SubDescriptor: "ST2067-21:2020:6.5.2/JPEG2000SubDescriptor",
|
|
264
|
+
J2KHTNotAllowed: "ST2067-21:2020:6.2.5/J2K-HT-Not-Allowed",
|
|
265
|
+
J2K4KResolution: "ST2067-21:2020:6.2.5/J2K-4K-Resolution",
|
|
266
|
+
J2K2KResolution: "ST2067-21:2020:6.2.5/J2K-2K-Resolution",
|
|
267
|
+
J2KBCPResolution: "ST2067-21:2020:6.2.5/J2K-BCP-Resolution",
|
|
268
|
+
J2KProfileNotAllowed: "ST2067-21:2020:6.2.5/J2K-Profile-Not-Allowed",
|
|
269
|
+
ApplicationIdentification: "ST2067-21:2020:7.1/ApplicationIdentification",
|
|
270
|
+
HomogeneousImageEssence: "ST2067-21:2020:7.2/HomogeneousImageEssence",
|
|
205
271
|
AppIdMismatch: "ST2067-21:2020:7.1/AppIdMismatch",
|
|
272
|
+
SegmentDurationMultiple: "ST2067-21:2020:7.4/SegmentDurationMultiple",
|
|
273
|
+
MaxCLLMaxFALL: "ST2067-21:2020:7.5/MaxCLLMaxFALL",
|
|
206
274
|
},
|
|
207
275
|
ST2067_21_2023: {
|
|
208
276
|
FrameRate: "ST2067-21:2023:5.2/FrameRate",
|
|
209
277
|
Resolution: "ST2067-21:2023:5.2/Resolution",
|
|
210
|
-
EmptyLanguageTag: "ST2067-21:2023:5.3/EmptyLanguageTag",
|
|
211
|
-
MalformedLanguageTag: "ST2067-21:2023:5.3/MalformedLanguageTag",
|
|
212
|
-
RegionCode: "ST2067-21:2023:5.3/RegionCode",
|
|
213
278
|
ColorSystem: "ST2067-21:2023:6.2/ColorSystem",
|
|
214
279
|
RequiredStoredWidth: "ST2067-21:2023:6.2/Required-StoredWidth",
|
|
215
280
|
RequiredStoredHeight: "ST2067-21:2023:6.2/Required-StoredHeight",
|
|
@@ -219,8 +284,6 @@ export const codes = {
|
|
|
219
284
|
RequiredTransferCharacteristic: "ST2067-21:2023:6.2/Required-TransferCharacteristic",
|
|
220
285
|
RequiredPictureCompression: "ST2067-21:2023:6.2/Required-PictureCompression",
|
|
221
286
|
RequiredComponentDepth: "ST2067-21:2023:6.2/Required-ComponentDepth",
|
|
222
|
-
RequiredChannelCount: "ST2067-21:2023:6.5/Required-ChannelCount",
|
|
223
|
-
RequiredQuantizationBits: "ST2067-21:2023:6.5/Required-QuantizationBits",
|
|
224
287
|
AlphaTransparency: "ST2067-21:2023:6.2.1/AlphaTransparency",
|
|
225
288
|
CodingEquationsMissing: "ST2067-21:2023:6.2.1/CodingEquationsMissing",
|
|
226
289
|
ColorPrimariesMissing: "ST2067-21:2023:6.2.1/ColorPrimariesMissing",
|
|
@@ -258,80 +321,142 @@ export const codes = {
|
|
|
258
321
|
BlackRefLevel: "ST2067-21:2023:6.4.3/BlackRefLevel",
|
|
259
322
|
ColorRange: "ST2067-21:2023:6.4.3/ColorRange",
|
|
260
323
|
WhiteRefLevel: "ST2067-21:2023:6.4.3/WhiteRefLevel",
|
|
261
|
-
AudioSampleRate: "ST2067-21:2023:6.5/AudioSampleRate",
|
|
262
|
-
QuantizationBits: "ST2067-21:2023:6.5/QuantizationBits",
|
|
263
324
|
CodingStyle: "ST2067-21:2023:6.5.2/CodingStyle",
|
|
264
325
|
J2CLayout: "ST2067-21:2023:6.5.2/J2CLayout",
|
|
265
326
|
J2KExtendedCapabilities: "ST2067-21:2023:6.5.2/J2KExtendedCapabilities",
|
|
266
327
|
JPEG2000SubDescriptor: "ST2067-21:2023:6.5.2/JPEG2000SubDescriptor",
|
|
267
|
-
J2KHTNotAllowed: "ST2067-21:2023:6.2.5/J2K-HT-Not-Allowed",
|
|
268
328
|
J2K4KResolution: "ST2067-21:2023:6.2.5/J2K-4K-Resolution",
|
|
269
329
|
J2K2KResolution: "ST2067-21:2023:6.2.5/J2K-2K-Resolution",
|
|
270
330
|
J2KBCPResolution: "ST2067-21:2023:6.2.5/J2K-BCP-Resolution",
|
|
331
|
+
J2KProfileNotAllowed: "ST2067-21:2023:6.2.5/J2K-Profile-Not-Allowed",
|
|
271
332
|
ApplicationIdentification: "ST2067-21:2023:7.1/ApplicationIdentification",
|
|
272
|
-
ContentMaturityRatingAgency: "ST2067-21:2023:7.1/ContentMaturityRating-Agency",
|
|
273
|
-
ContentMaturityRatingAgencyURI: "ST2067-21:2023:7.1/ContentMaturityRating-Agency-URI",
|
|
274
333
|
HomogeneousImageEssence: "ST2067-21:2023:7.2/HomogeneousImageEssence",
|
|
275
334
|
AppIdMismatch: "ST2067-21:2023:7.1/AppIdMismatch",
|
|
276
335
|
SegmentDurationMultiple: "ST2067-21:2023:7.4/SegmentDurationMultiple",
|
|
277
336
|
MaxCLLMaxFALL: "ST2067-21:2023:7.5/MaxCLLMaxFALL",
|
|
278
337
|
},
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
338
|
+
ST2067_21_2026: {
|
|
339
|
+
FrameRate: "ST2067-21:2026:6.2.1/FrameRate",
|
|
340
|
+
Resolution: "ST2067-21:2026:6.2.1/Resolution",
|
|
341
|
+
ColorSystem: "ST2067-21:2026:7.2/ColorSystem",
|
|
342
|
+
RequiredStoredWidth: "ST2067-21:2026:7.2.1.1/Required-StoredWidth",
|
|
343
|
+
RequiredStoredHeight: "ST2067-21:2026:7.2.1.1/Required-StoredHeight",
|
|
344
|
+
RequiredSampleRate: "ST2067-21:2026:7.2.1.1/Required-SampleRate",
|
|
345
|
+
RequiredFrameLayout: "ST2067-21:2026:7.2.1.1/Required-FrameLayout",
|
|
346
|
+
RequiredColorPrimaries: "ST2067-21:2026:7.2.1.1/Required-ColorPrimaries",
|
|
347
|
+
RequiredTransferCharacteristic: "ST2067-21:2026:7.2.1.1/Required-TransferCharacteristic",
|
|
348
|
+
RequiredPictureCompression: "ST2067-21:2026:7.2.1.1/Required-PictureCompression",
|
|
349
|
+
RequiredComponentDepth: "ST2067-21:2026:7.4.1/Required-ComponentDepth",
|
|
350
|
+
CodingEquationsMissing: "ST2067-21:2026:7.2.1.1/CodingEquationsMissing",
|
|
351
|
+
ColorPrimariesMissing: "ST2067-21:2026:7.2.1.1/ColorPrimariesMissing",
|
|
352
|
+
FieldDominance: "ST2067-21:2026:7.2.1.1/FieldDominance",
|
|
353
|
+
FrameLayout: "ST2067-21:2026:7.2.1.4/FrameLayout",
|
|
354
|
+
FrameLayoutInterlaced: "ST2067-21:2026:6.2.1/FrameLayoutInterlaced",
|
|
355
|
+
ImageAlignmentOffset: "ST2067-21:2026:7.2.1.1/ImageAlignmentOffset",
|
|
356
|
+
ImageEndOffset: "ST2067-21:2026:7.2.1.1/ImageEndOffset",
|
|
357
|
+
ImageStartOffset: "ST2067-21:2026:7.2.1.1/ImageStartOffset",
|
|
358
|
+
SampledHeight: "ST2067-21:2026:7.2.1.1/SampledHeight",
|
|
359
|
+
SampledWidth: "ST2067-21:2026:7.2.1.1/SampledWidth",
|
|
360
|
+
SampledXOffset: "ST2067-21:2026:7.2.1.1/SampledXOffset",
|
|
361
|
+
SampledYOffset: "ST2067-21:2026:7.2.1.1/SampledYOffset",
|
|
362
|
+
StoredF2Offset: "ST2067-21:2026:7.2.1.1/StoredF2Offset",
|
|
363
|
+
TransferCharacteristicMissing: "ST2067-21:2026:7.2.1.1/TransferCharacteristicMissing",
|
|
364
|
+
TransferCharacteristicUnknown: "ST2067-21:2026:7.2.2/TransferCharacteristicUnknown",
|
|
365
|
+
CodingEquationsUnknown: "ST2067-21:2026:7.2.3/CodingEquationsUnknown",
|
|
366
|
+
ColorPrimariesUnknown: "ST2067-21:2026:7.2.4/ColorPrimariesUnknown",
|
|
367
|
+
J2KRequired: "ST2067-21:2026:7.2.5/J2KRequired",
|
|
368
|
+
AlphaMaxRef: "ST2067-21:2026:7.3.1/AlphaMaxRef",
|
|
369
|
+
AlphaMinRef: "ST2067-21:2026:7.3.1/AlphaMinRef",
|
|
370
|
+
ComponentMaxRef: "ST2067-21:2026:7.3.1/ComponentMaxRef",
|
|
371
|
+
ComponentMinRef: "ST2067-21:2026:7.3.1/ComponentMinRef",
|
|
372
|
+
Palette: "ST2067-21:2026:7.3.1/Palette",
|
|
373
|
+
PaletteLayout: "ST2067-21:2026:7.3.1/PaletteLayout",
|
|
374
|
+
ScanningDirection: "ST2067-21:2026:7.3.1/ScanningDirection",
|
|
375
|
+
ComponentRefValues: "ST2067-21:2026:7.3.2/ComponentRefValues",
|
|
376
|
+
AlphaSampleDepth: "ST2067-21:2026:7.4.1/AlphaSampleDepth",
|
|
377
|
+
ColorSiting: "ST2067-21:2026:7.4.1/ColorSiting",
|
|
378
|
+
ComponentDepth: "ST2067-21:2026:7.4.1/ComponentDepth",
|
|
379
|
+
HorizontalSubsampling: "ST2067-21:2026:7.4.2/HorizontalSubsampling",
|
|
380
|
+
PaddingBits: "ST2067-21:2026:7.4.1/PaddingBits",
|
|
381
|
+
ReversedByteOrder: "ST2067-21:2026:7.4.1/ReversedByteOrder",
|
|
382
|
+
VerticalSubsampling: "ST2067-21:2026:7.4.1/VerticalSubsampling",
|
|
383
|
+
BlackRefLevel: "ST2067-21:2026:7.4.3/BlackRefLevel",
|
|
384
|
+
ColorRange: "ST2067-21:2026:7.4.3/ColorRange",
|
|
385
|
+
WhiteRefLevel: "ST2067-21:2026:7.4.3/WhiteRefLevel",
|
|
386
|
+
CodingStyle: "ST2067-21:2026:7.5.1/CodingStyle",
|
|
387
|
+
J2CLayout: "ST2067-21:2026:7.5.2/J2CLayout",
|
|
388
|
+
J2KExtendedCapabilities: "ST2067-21:2026:7.5.1/J2KExtendedCapabilities",
|
|
389
|
+
JPEG2000SubDescriptor: "ST2067-21:2026:7.5.1/JPEG2000SubDescriptor",
|
|
390
|
+
J2K4KResolution: "ST2067-21:2026:7.2.5/J2K-4K-Resolution",
|
|
391
|
+
J2K2KResolution: "ST2067-21:2026:7.2.5/J2K-2K-Resolution",
|
|
392
|
+
J2KBCPResolution: "ST2067-21:2026:7.2.5/J2K-BCP-Resolution",
|
|
393
|
+
J2K8KResolution: "ST2067-21:2026:7.2.5/J2K-8K-Resolution",
|
|
394
|
+
ApplicationIdentification: "ST2067-21:2026:8.1/ApplicationIdentification",
|
|
395
|
+
AppIdMismatch: "ST2067-21:2026:8.1/AppIdMismatch",
|
|
396
|
+
HomogeneousImageEssence: "ST2067-21:2026:8.2/HomogeneousImageEssence",
|
|
397
|
+
SegmentDurationMultiple: "ST2067-21:2026:8.3.2/SegmentDurationMultiple",
|
|
398
|
+
MaxCLLMaxFALL: "ST2067-21:2026:8.3.3/MaxCLLMaxFALL",
|
|
282
399
|
},
|
|
283
400
|
ST2067_201_2019: {
|
|
284
401
|
CodecForbidden: "ST2067-201:2019:5.9/CodecForbidden",
|
|
285
|
-
|
|
402
|
+
ElectrospatialFormulationInvalid: "ST2067-201:2019:5.9/ElectrospatialFormulationInvalid",
|
|
286
403
|
QuantizationBitsMissing: "ST2067-201:2019:5.9/QuantizationBitsMissing",
|
|
287
404
|
QuantizationBitsInvalid: "ST2067-201:2019:5.9/QuantizationBitsInvalid",
|
|
288
|
-
ContainerFormatMissing: "ST2067-201:2019:5.
|
|
289
|
-
EssenceContainerInvalid: "ST2067-201:2019:5.
|
|
405
|
+
ContainerFormatMissing: "ST2067-201:2019:5.9/ContainerFormatMissing",
|
|
406
|
+
EssenceContainerInvalid: "ST2067-201:2019:5.9/EssenceContainerInvalid",
|
|
290
407
|
AudioSamplingRateMissing: "ST2067-201:2019:5.9/AudioSamplingRateMissing",
|
|
291
408
|
AudioSamplingRateInvalid: "ST2067-201:2019:5.9/AudioSamplingRateInvalid",
|
|
292
409
|
SoundCompressionMissing: "ST2067-201:2019:5.9/SoundCompressionMissing",
|
|
293
410
|
SoundCompressionInvalid: "ST2067-201:2019:5.9/SoundCompressionInvalid",
|
|
294
411
|
ChannelCountNotZero: "ST2067-201:2019:5.9/ChannelCountNotZero",
|
|
295
|
-
SubDescriptorMissing: "ST2067-201:2019:5.
|
|
296
|
-
MCATagSymbolMissing: "ST2067-201:2019:5.
|
|
297
|
-
MCATagSymbolInvalid: "ST2067-201:2019:5.
|
|
298
|
-
MCATagNameMissing: "ST2067-201:2019:5.
|
|
299
|
-
MCATagNameInvalid: "ST2067-201:2019:5.
|
|
300
|
-
MCALabelDictionaryIDMissing: "ST2067-201:2019:5.
|
|
301
|
-
MCALabelDictionaryIDInvalid: "ST2067-201:2019:5.
|
|
302
|
-
MainAudioMissing: "ST2067-201:2019:6.2/MainAudioMissing",
|
|
412
|
+
SubDescriptorMissing: "ST2067-201:2019:5.10.2/SubDescriptorMissing",
|
|
413
|
+
MCATagSymbolMissing: "ST2067-201:2019:5.10.4/MCATagSymbolMissing",
|
|
414
|
+
MCATagSymbolInvalid: "ST2067-201:2019:5.10.4/MCATagSymbolInvalid",
|
|
415
|
+
MCATagNameMissing: "ST2067-201:2019:5.10.3/MCATagNameMissing",
|
|
416
|
+
MCATagNameInvalid: "ST2067-201:2019:5.10.4/MCATagNameInvalid",
|
|
417
|
+
MCALabelDictionaryIDMissing: "ST2067-201:2019:5.10.4/MCALabelDictionaryIDMissing",
|
|
418
|
+
MCALabelDictionaryIDInvalid: "ST2067-201:2019:5.10.4/MCALabelDictionaryIDInvalid",
|
|
303
419
|
IABSequenceNoResources: "ST2067-201:2019:6.2/IABSequenceNoResources",
|
|
304
420
|
IABSequenceSourceEncodingInvalid: "ST2067-201:2019:6.2/IABSequenceSourceEncodingInvalid",
|
|
421
|
+
ForbiddenMCASubDescriptor: "ST2067-201:2019:5.10.2/ForbiddenMCASubDescriptor",
|
|
422
|
+
SubDescriptorDuplicate: "ST2067-201:2019:5.10.2/SubDescriptorDuplicate",
|
|
423
|
+
MCAChannelIDForbidden: "ST2067-201:2019:C.2/MCAChannelIDForbidden",
|
|
424
|
+
EditRateNotIntegerMultiple: "ST2067-201:2019:6.2/EditRateNotIntegerMultiple",
|
|
305
425
|
},
|
|
306
426
|
ST2067_201_2021: {
|
|
307
427
|
CodecForbidden: "ST2067-201:2021:5.9/CodecForbidden",
|
|
308
|
-
|
|
428
|
+
ElectrospatialFormulationInvalid: "ST2067-201:2021:5.9/ElectrospatialFormulationInvalid",
|
|
309
429
|
QuantizationBitsMissing: "ST2067-201:2021:5.9/QuantizationBitsMissing",
|
|
310
430
|
QuantizationBitsInvalid: "ST2067-201:2021:5.9/QuantizationBitsInvalid",
|
|
311
|
-
ContainerFormatMissing: "ST2067-201:2021:5.
|
|
312
|
-
EssenceContainerInvalid: "ST2067-201:2021:5.
|
|
431
|
+
ContainerFormatMissing: "ST2067-201:2021:5.9/ContainerFormatMissing",
|
|
432
|
+
EssenceContainerInvalid: "ST2067-201:2021:5.9/EssenceContainerInvalid",
|
|
313
433
|
AudioSamplingRateMissing: "ST2067-201:2021:5.9/AudioSamplingRateMissing",
|
|
314
434
|
AudioSamplingRateInvalid: "ST2067-201:2021:5.9/AudioSamplingRateInvalid",
|
|
315
435
|
SoundCompressionMissing: "ST2067-201:2021:5.9/SoundCompressionMissing",
|
|
316
436
|
SoundCompressionInvalid: "ST2067-201:2021:5.9/SoundCompressionInvalid",
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
MCALabelDictionaryIDInvalid: "ST2067-201:2021:5.9/MCALabelDictionaryIDInvalid",
|
|
325
|
-
MainAudioMissing: "ST2067-201:2021:6.2/MainAudioMissing",
|
|
437
|
+
SubDescriptorMissing: "ST2067-201:2021:5.10.2/SubDescriptorMissing",
|
|
438
|
+
MCATagSymbolMissing: "ST2067-201:2021:5.10.4/MCATagSymbolMissing",
|
|
439
|
+
MCATagSymbolInvalid: "ST2067-201:2021:5.10.4/MCATagSymbolInvalid",
|
|
440
|
+
MCATagNameMissing: "ST2067-201:2021:5.10.3/MCATagNameMissing",
|
|
441
|
+
MCATagNameInvalid: "ST2067-201:2021:5.10.4/MCATagNameInvalid",
|
|
442
|
+
MCALabelDictionaryIDMissing: "ST2067-201:2021:5.10.4/MCALabelDictionaryIDMissing",
|
|
443
|
+
MCALabelDictionaryIDInvalid: "ST2067-201:2021:5.10.4/MCALabelDictionaryIDInvalid",
|
|
326
444
|
IABSequenceNoResources: "ST2067-201:2021:6.2/IABSequenceNoResources",
|
|
327
445
|
IABSequenceSourceEncodingInvalid: "ST2067-201:2021:6.2/IABSequenceSourceEncodingInvalid",
|
|
446
|
+
ForbiddenMCASubDescriptor: "ST2067-201:2021:5.10.2/ForbiddenMCASubDescriptor",
|
|
447
|
+
SubDescriptorDuplicate: "ST2067-201:2021:5.10.2/SubDescriptorDuplicate",
|
|
448
|
+
MCAChannelIDForbidden: "ST2067-201:2021:C.2/MCAChannelIDForbidden",
|
|
449
|
+
EditRateNotIntegerMultiple: "ST2067-201:2021:6.2/EditRateNotIntegerMultiple",
|
|
328
450
|
},
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
451
|
+
ST2067_202_2023: {
|
|
452
|
+
NamespaceUriMissing: "ST2067-202:2023:9.2/NamespaceUriMissing",
|
|
453
|
+
ISXDSequenceNoResources: "ST2067-202:2023:6/ISXDSequenceNoResources",
|
|
454
|
+
ISXDSequenceSourceEncodingInvalid: "ST2067-202:2023:6/ISXDSequenceSourceEncodingInvalid",
|
|
455
|
+
NamespaceUriMismatch: "ST2067-202:2023:6/NamespaceUriMismatch",
|
|
456
|
+
EditRateMismatch: "ST2067-202:2023:6/EditRateMismatch",
|
|
457
|
+
ISXDVirtualTrackMissing: "ST2067-202:2023:6/ISXDVirtualTrackMissing",
|
|
458
|
+
DataEssenceCodingMissing: "ST2067-202:2023:9.3/DataEssenceCodingMissing",
|
|
459
|
+
DataEssenceCodingInvalid: "ST2067-202:2023:9.3/DataEssenceCodingInvalid",
|
|
335
460
|
},
|
|
336
461
|
Imferno: {
|
|
337
462
|
UnreferencedAsset: "IMFERNO:Package/UnreferencedAsset",
|
package/imferno_wasm.d.ts
CHANGED
|
@@ -474,7 +474,7 @@ export type McaTagSymbol = "Sg51" | "Sg71" | "Sg71Ds" | "SgSt" | "SgMono" | "Iab
|
|
|
474
474
|
|
|
475
475
|
export type TransferCharacteristic = "Linear" | "Bt709" | "Smpte240M" | "XvYcc709" | "Bt2020" | "PqSt2084" | "Hlg" | { Unknown: string };
|
|
476
476
|
|
|
477
|
-
export type VideoCodec = "Jpeg2000" | "Jpeg2000Imf2k" | "Jpeg2000Imf4k" | "Jpeg2000Broadcast" | "Jpeg2000Ht" | "Vc5" | "Mpeg2" | "H264" | "H265" | "ProRes" | "Av1" | { Unknown: string };
|
|
477
|
+
export type VideoCodec = "Jpeg2000" | "Jpeg2000Imf2k" | "Jpeg2000Imf4k" | "Jpeg2000Imf8k" | "Jpeg2000Broadcast" | "Jpeg2000Ht" | "Vc5" | "Mpeg2" | "H264" | "H265" | "ProRes" | "Av1" | { Unknown: string };
|
|
478
478
|
|
|
479
479
|
|
|
480
480
|
/**
|
|
@@ -488,7 +488,7 @@ export type VideoCodec = "Jpeg2000" | "Jpeg2000Imf2k" | "Jpeg2000Imf4k" | "Jpeg2
|
|
|
488
488
|
*
|
|
489
489
|
* Options (all optional):
|
|
490
490
|
* - `coreSpec`: `"auto"` | `"v2013"` | `"v2016"` | `"v2020"`
|
|
491
|
-
* - `app2eSpec`: `"auto"` | `"none"` | `"
|
|
491
|
+
* - `app2eSpec`: `"auto"` | `"none"` | `"v2014"` | `"v2016"` | `"v2020"` | `"v2023"` | `"v2026"`
|
|
492
492
|
* - `rules`: ESLint-style rules configuration object
|
|
493
493
|
*/
|
|
494
494
|
export function buildReport(files: any, options: any): any;
|
|
@@ -541,11 +541,11 @@ export interface InitOutput {
|
|
|
541
541
|
readonly validate: (a: any, b: any) => [number, number, number];
|
|
542
542
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
543
543
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
544
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
544
545
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
545
546
|
readonly __externref_table_alloc: () => number;
|
|
546
547
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
547
548
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
548
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
549
549
|
readonly __wbindgen_start: () => void;
|
|
550
550
|
}
|
|
551
551
|
|
package/imferno_wasm.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* Options (all optional):
|
|
13
13
|
* - `coreSpec`: `"auto"` | `"v2013"` | `"v2016"` | `"v2020"`
|
|
14
|
-
* - `app2eSpec`: `"auto"` | `"none"` | `"
|
|
14
|
+
* - `app2eSpec`: `"auto"` | `"none"` | `"v2014"` | `"v2016"` | `"v2020"` | `"v2023"` | `"v2026"`
|
|
15
15
|
* - `rules`: ESLint-style rules configuration object
|
|
16
16
|
* @param {any} files
|
|
17
17
|
* @param {any} options
|
|
@@ -113,11 +113,11 @@ export function validate(files, options) {
|
|
|
113
113
|
function __wbg_get_imports() {
|
|
114
114
|
const import0 = {
|
|
115
115
|
__proto__: null,
|
|
116
|
-
|
|
116
|
+
__wbg_Error_208446807d0d1e30: function(arg0, arg1) {
|
|
117
117
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
118
118
|
return ret;
|
|
119
119
|
},
|
|
120
|
-
|
|
120
|
+
__wbg_Number_ff192a72a0dcdf6d: function(arg0) {
|
|
121
121
|
const ret = Number(arg0);
|
|
122
122
|
return ret;
|
|
123
123
|
},
|
|
@@ -125,114 +125,114 @@ function __wbg_get_imports() {
|
|
|
125
125
|
const ret = String(arg1);
|
|
126
126
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
127
127
|
const len1 = WASM_VECTOR_LEN;
|
|
128
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
129
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
128
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
|
|
129
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
|
|
130
130
|
},
|
|
131
|
-
|
|
131
|
+
__wbg___wbindgen_bigint_get_as_i64_11da4b52cd0aedef: function(arg0, arg1) {
|
|
132
132
|
const v = arg1;
|
|
133
133
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
134
|
-
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
135
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
134
|
+
getDataViewMemory0().setBigInt64((arg0 >>> 0) + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
135
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, !isLikeNone(ret), true);
|
|
136
136
|
},
|
|
137
|
-
|
|
137
|
+
__wbg___wbindgen_boolean_get_4f1baf9a00be3c74: function(arg0) {
|
|
138
138
|
const v = arg0;
|
|
139
139
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
140
140
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
141
141
|
},
|
|
142
|
-
|
|
142
|
+
__wbg___wbindgen_debug_string_f249a2a76caa9a55: function(arg0, arg1) {
|
|
143
143
|
const ret = debugString(arg1);
|
|
144
144
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
145
145
|
const len1 = WASM_VECTOR_LEN;
|
|
146
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
147
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
146
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
|
|
147
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
|
|
148
148
|
},
|
|
149
|
-
|
|
149
|
+
__wbg___wbindgen_in_3f58a9d3b3a7eed2: function(arg0, arg1) {
|
|
150
150
|
const ret = arg0 in arg1;
|
|
151
151
|
return ret;
|
|
152
152
|
},
|
|
153
|
-
|
|
153
|
+
__wbg___wbindgen_is_bigint_5fa10641e039d3ef: function(arg0) {
|
|
154
154
|
const ret = typeof(arg0) === 'bigint';
|
|
155
155
|
return ret;
|
|
156
156
|
},
|
|
157
|
-
|
|
157
|
+
__wbg___wbindgen_is_function_741ff2bb612836f5: function(arg0) {
|
|
158
158
|
const ret = typeof(arg0) === 'function';
|
|
159
159
|
return ret;
|
|
160
160
|
},
|
|
161
|
-
|
|
161
|
+
__wbg___wbindgen_is_null_c22311b1cc228e3a: function(arg0) {
|
|
162
162
|
const ret = arg0 === null;
|
|
163
163
|
return ret;
|
|
164
164
|
},
|
|
165
|
-
|
|
165
|
+
__wbg___wbindgen_is_object_8b968c3ab8e96595: function(arg0) {
|
|
166
166
|
const val = arg0;
|
|
167
167
|
const ret = typeof(val) === 'object' && val !== null;
|
|
168
168
|
return ret;
|
|
169
169
|
},
|
|
170
|
-
|
|
170
|
+
__wbg___wbindgen_is_string_fc456fee5d3317de: function(arg0) {
|
|
171
171
|
const ret = typeof(arg0) === 'string';
|
|
172
172
|
return ret;
|
|
173
173
|
},
|
|
174
|
-
|
|
174
|
+
__wbg___wbindgen_is_undefined_be5b34249ff1fc15: function(arg0) {
|
|
175
175
|
const ret = arg0 === undefined;
|
|
176
176
|
return ret;
|
|
177
177
|
},
|
|
178
|
-
|
|
178
|
+
__wbg___wbindgen_jsval_eq_38d7bfbe4cc84039: function(arg0, arg1) {
|
|
179
179
|
const ret = arg0 === arg1;
|
|
180
180
|
return ret;
|
|
181
181
|
},
|
|
182
|
-
|
|
182
|
+
__wbg___wbindgen_jsval_loose_eq_b2f214e2e4b30e36: function(arg0, arg1) {
|
|
183
183
|
const ret = arg0 == arg1;
|
|
184
184
|
return ret;
|
|
185
185
|
},
|
|
186
|
-
|
|
186
|
+
__wbg___wbindgen_number_get_934b640d0889af78: function(arg0, arg1) {
|
|
187
187
|
const obj = arg1;
|
|
188
188
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
189
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
190
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
189
|
+
getDataViewMemory0().setFloat64((arg0 >>> 0) + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
190
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, !isLikeNone(ret), true);
|
|
191
191
|
},
|
|
192
|
-
|
|
192
|
+
__wbg___wbindgen_string_get_7ce8eee7fd327545: function(arg0, arg1) {
|
|
193
193
|
const obj = arg1;
|
|
194
194
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
195
195
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
196
196
|
var len1 = WASM_VECTOR_LEN;
|
|
197
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
198
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
197
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
|
|
198
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
|
|
199
199
|
},
|
|
200
|
-
|
|
200
|
+
__wbg___wbindgen_throw_4c88d8bf264fd984: function(arg0, arg1) {
|
|
201
201
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
202
202
|
},
|
|
203
|
-
|
|
203
|
+
__wbg_call_40b008ba32f73991: function() { return handleError(function (arg0, arg1) {
|
|
204
204
|
const ret = arg0.call(arg1);
|
|
205
205
|
return ret;
|
|
206
206
|
}, arguments); },
|
|
207
|
-
|
|
207
|
+
__wbg_done_57e08d0be6e30c02: function(arg0) {
|
|
208
208
|
const ret = arg0.done;
|
|
209
209
|
return ret;
|
|
210
210
|
},
|
|
211
|
-
|
|
211
|
+
__wbg_entries_7bb1459bd9b5c2b9: function(arg0) {
|
|
212
212
|
const ret = Object.entries(arg0);
|
|
213
213
|
return ret;
|
|
214
214
|
},
|
|
215
|
-
|
|
215
|
+
__wbg_getTime_edc91481cbc4cd78: function(arg0) {
|
|
216
216
|
const ret = arg0.getTime();
|
|
217
217
|
return ret;
|
|
218
218
|
},
|
|
219
|
-
|
|
220
|
-
const ret = arg0[arg1 >>> 0];
|
|
221
|
-
return ret;
|
|
222
|
-
},
|
|
223
|
-
__wbg_get_9a29be2cb383ed9a: function() { return handleError(function (arg0, arg1) {
|
|
219
|
+
__wbg_get_635eea311fa1a291: function() { return handleError(function (arg0, arg1) {
|
|
224
220
|
const ret = Reflect.get(arg0, arg1);
|
|
225
221
|
return ret;
|
|
226
222
|
}, arguments); },
|
|
227
|
-
|
|
223
|
+
__wbg_get_d7176cfb76d71114: function(arg0, arg1) {
|
|
224
|
+
const ret = arg0[arg1 >>> 0];
|
|
225
|
+
return ret;
|
|
226
|
+
},
|
|
227
|
+
__wbg_get_unchecked_e6325ad374eff861: function(arg0, arg1) {
|
|
228
228
|
const ret = arg0[arg1 >>> 0];
|
|
229
229
|
return ret;
|
|
230
230
|
},
|
|
231
|
-
|
|
231
|
+
__wbg_get_with_ref_key_fc601247060b7204: function(arg0, arg1) {
|
|
232
232
|
const ret = arg0[arg1];
|
|
233
233
|
return ret;
|
|
234
234
|
},
|
|
235
|
-
|
|
235
|
+
__wbg_instanceof_ArrayBuffer_12cdaa4161423e6b: function(arg0) {
|
|
236
236
|
let result;
|
|
237
237
|
try {
|
|
238
238
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -242,7 +242,7 @@ function __wbg_get_imports() {
|
|
|
242
242
|
const ret = result;
|
|
243
243
|
return ret;
|
|
244
244
|
},
|
|
245
|
-
|
|
245
|
+
__wbg_instanceof_Map_0b4fc8b62e73f163: function(arg0) {
|
|
246
246
|
let result;
|
|
247
247
|
try {
|
|
248
248
|
result = arg0 instanceof Map;
|
|
@@ -252,7 +252,7 @@ function __wbg_get_imports() {
|
|
|
252
252
|
const ret = result;
|
|
253
253
|
return ret;
|
|
254
254
|
},
|
|
255
|
-
|
|
255
|
+
__wbg_instanceof_Uint8Array_d7aeb0dcb3108fea: function(arg0) {
|
|
256
256
|
let result;
|
|
257
257
|
try {
|
|
258
258
|
result = arg0 instanceof Uint8Array;
|
|
@@ -262,102 +262,101 @@ function __wbg_get_imports() {
|
|
|
262
262
|
const ret = result;
|
|
263
263
|
return ret;
|
|
264
264
|
},
|
|
265
|
-
|
|
265
|
+
__wbg_isArray_bcf1376d0d732d08: function(arg0) {
|
|
266
266
|
const ret = Array.isArray(arg0);
|
|
267
267
|
return ret;
|
|
268
268
|
},
|
|
269
|
-
|
|
269
|
+
__wbg_isSafeInteger_1a35ba4d31e71d38: function(arg0) {
|
|
270
270
|
const ret = Number.isSafeInteger(arg0);
|
|
271
271
|
return ret;
|
|
272
272
|
},
|
|
273
|
-
|
|
273
|
+
__wbg_iterator_e4c5e8f68ada7b58: function() {
|
|
274
274
|
const ret = Symbol.iterator;
|
|
275
275
|
return ret;
|
|
276
276
|
},
|
|
277
|
-
|
|
277
|
+
__wbg_length_186163212ffe79c3: function(arg0) {
|
|
278
278
|
const ret = arg0.length;
|
|
279
279
|
return ret;
|
|
280
280
|
},
|
|
281
|
-
|
|
281
|
+
__wbg_length_b03a0fabb109b1e9: function(arg0) {
|
|
282
282
|
const ret = arg0.length;
|
|
283
283
|
return ret;
|
|
284
284
|
},
|
|
285
|
-
|
|
285
|
+
__wbg_log_aa187d5265a78e50: function(arg0, arg1) {
|
|
286
286
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
287
287
|
},
|
|
288
|
-
|
|
288
|
+
__wbg_new_0_36d738a0c8cfac43: function() {
|
|
289
289
|
const ret = new Date();
|
|
290
290
|
return ret;
|
|
291
291
|
},
|
|
292
|
-
|
|
293
|
-
const ret = new
|
|
292
|
+
__wbg_new_13de428334042d26: function(arg0) {
|
|
293
|
+
const ret = new Uint8Array(arg0);
|
|
294
|
+
return ret;
|
|
295
|
+
},
|
|
296
|
+
__wbg_new_37eb45aaf5eeb820: function() {
|
|
297
|
+
const ret = new Array();
|
|
294
298
|
return ret;
|
|
295
299
|
},
|
|
296
|
-
|
|
300
|
+
__wbg_new_7075786089b89c5e: function() {
|
|
297
301
|
const ret = new Map();
|
|
298
302
|
return ret;
|
|
299
303
|
},
|
|
300
|
-
|
|
301
|
-
const ret = new
|
|
304
|
+
__wbg_new_cd4348290afae586: function() {
|
|
305
|
+
const ret = new Object();
|
|
302
306
|
return ret;
|
|
303
307
|
},
|
|
304
|
-
|
|
305
|
-
const ret =
|
|
308
|
+
__wbg_next_178c1651c11432b3: function(arg0) {
|
|
309
|
+
const ret = arg0.next;
|
|
306
310
|
return ret;
|
|
307
311
|
},
|
|
308
|
-
|
|
312
|
+
__wbg_next_af5ac6a08bb0a717: function() { return handleError(function (arg0) {
|
|
309
313
|
const ret = arg0.next();
|
|
310
314
|
return ret;
|
|
311
315
|
}, arguments); },
|
|
312
|
-
|
|
313
|
-
const ret = arg0.next;
|
|
314
|
-
return ret;
|
|
315
|
-
},
|
|
316
|
-
__wbg_prototypesetcall_d721637c7ca66eb8: function(arg0, arg1, arg2) {
|
|
316
|
+
__wbg_prototypesetcall_13162965d1fe7aa3: function(arg0, arg1, arg2) {
|
|
317
317
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
318
318
|
},
|
|
319
|
-
|
|
320
|
-
arg0[arg1] = arg2;
|
|
321
|
-
},
|
|
322
|
-
__wbg_set_9a1d61e17de7054c: function(arg0, arg1, arg2) {
|
|
319
|
+
__wbg_set_8282f7e0d2d01336: function(arg0, arg1, arg2) {
|
|
323
320
|
const ret = arg0.set(arg1, arg2);
|
|
324
321
|
return ret;
|
|
325
322
|
},
|
|
326
|
-
|
|
323
|
+
__wbg_set_d2d33b52458e984a: function(arg0, arg1, arg2) {
|
|
327
324
|
arg0[arg1 >>> 0] = arg2;
|
|
328
325
|
},
|
|
329
|
-
|
|
326
|
+
__wbg_set_e4b9a833d288759a: function(arg0, arg1, arg2) {
|
|
327
|
+
arg0[arg1] = arg2;
|
|
328
|
+
},
|
|
329
|
+
__wbg_value_e0f328965e184931: function(arg0) {
|
|
330
330
|
const ret = arg0.value;
|
|
331
331
|
return ret;
|
|
332
332
|
},
|
|
333
|
-
|
|
333
|
+
__wbindgen_generic_0000000000000001: function(arg0) {
|
|
334
334
|
// Cast intrinsic for `F64 -> Externref`.
|
|
335
335
|
const ret = arg0;
|
|
336
336
|
return ret;
|
|
337
337
|
},
|
|
338
|
-
|
|
338
|
+
__wbindgen_generic_0000000000000002: function(arg0) {
|
|
339
339
|
// Cast intrinsic for `I64 -> Externref`.
|
|
340
340
|
const ret = arg0;
|
|
341
341
|
return ret;
|
|
342
342
|
},
|
|
343
|
-
|
|
343
|
+
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
344
344
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
345
345
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
346
346
|
return ret;
|
|
347
347
|
},
|
|
348
|
-
|
|
348
|
+
__wbindgen_generic_0000000000000004: function(arg0) {
|
|
349
349
|
// Cast intrinsic for `U64 -> Externref`.
|
|
350
350
|
const ret = BigInt.asUintN(64, arg0);
|
|
351
351
|
return ret;
|
|
352
352
|
},
|
|
353
353
|
__wbindgen_init_externref_table: function() {
|
|
354
354
|
const table = wasm.__wbindgen_externrefs;
|
|
355
|
-
const offset = table.grow(4);
|
|
356
355
|
table.set(0, undefined);
|
|
357
|
-
table.set(
|
|
358
|
-
table.set(
|
|
359
|
-
table.set(
|
|
360
|
-
table.set(
|
|
356
|
+
table.set(1024, undefined);
|
|
357
|
+
table.set(1025, null);
|
|
358
|
+
table.set(1026, true);
|
|
359
|
+
table.set(1027, false);
|
|
361
360
|
},
|
|
362
361
|
};
|
|
363
362
|
return {
|
|
@@ -373,68 +372,61 @@ function addToExternrefTable0(obj) {
|
|
|
373
372
|
}
|
|
374
373
|
|
|
375
374
|
function debugString(val) {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
return 'Object(' + JSON.stringify(val) + ')';
|
|
428
|
-
} catch (_) {
|
|
429
|
-
return 'Object';
|
|
375
|
+
switch (typeof val) {
|
|
376
|
+
// primitive types
|
|
377
|
+
case 'number':
|
|
378
|
+
case 'boolean':
|
|
379
|
+
case 'undefined':
|
|
380
|
+
return `${val}`;
|
|
381
|
+
case 'string':
|
|
382
|
+
return JSON.stringify(val);
|
|
383
|
+
case 'bigint':
|
|
384
|
+
return `${val}n`;
|
|
385
|
+
case 'symbol':
|
|
386
|
+
return val.description !== undefined
|
|
387
|
+
? `Symbol(${val.description})`
|
|
388
|
+
: 'Symbol';
|
|
389
|
+
case 'function':
|
|
390
|
+
return typeof val.name === 'string' && val.name !== ''
|
|
391
|
+
? `Function(${val.name})`
|
|
392
|
+
: 'Function';
|
|
393
|
+
case 'object': {
|
|
394
|
+
if (val === null) {
|
|
395
|
+
return 'null';
|
|
396
|
+
}
|
|
397
|
+
// objects
|
|
398
|
+
if (Array.isArray(val)) {
|
|
399
|
+
return '[' + Array.from(val, debugString).join(', ') + ']';
|
|
400
|
+
}
|
|
401
|
+
// errors
|
|
402
|
+
if (val instanceof Error) {
|
|
403
|
+
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
const toStringOutput = toString.call(val);
|
|
407
|
+
// Test for built-in
|
|
408
|
+
const className = /\[object ([^\]]+)\]/.exec(toStringOutput)?.[1];
|
|
409
|
+
|
|
410
|
+
// Failed to match the standard '[object ClassName]'
|
|
411
|
+
if (className === undefined) {
|
|
412
|
+
return toStringOutput;
|
|
413
|
+
}
|
|
414
|
+
if (className === 'Object') {
|
|
415
|
+
// we're a user defined class or Object
|
|
416
|
+
// JSON.stringify avoids problems with cycles, and is generally much
|
|
417
|
+
// easier than looping through ownProperties of `val`.
|
|
418
|
+
try {
|
|
419
|
+
return 'Object(' + JSON.stringify(val) + ')';
|
|
420
|
+
} catch (_) {
|
|
421
|
+
return 'Object';
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
425
|
+
return className;
|
|
430
426
|
}
|
|
427
|
+
// Per MDN: 'This list of values is exhaustive.'
|
|
428
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof#description
|
|
431
429
|
}
|
|
432
|
-
// errors
|
|
433
|
-
if (val instanceof Error) {
|
|
434
|
-
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
435
|
-
}
|
|
436
|
-
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
437
|
-
return className;
|
|
438
430
|
}
|
|
439
431
|
|
|
440
432
|
function getArrayU8FromWasm0(ptr, len) {
|
|
@@ -451,7 +443,8 @@ function getDataViewMemory0() {
|
|
|
451
443
|
}
|
|
452
444
|
|
|
453
445
|
function getStringFromWasm0(ptr, len) {
|
|
454
|
-
|
|
446
|
+
ptr = ptr >>> 0;
|
|
447
|
+
return decodeText(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
455
448
|
}
|
|
456
449
|
|
|
457
450
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -518,18 +511,18 @@ function takeFromExternrefTable0(idx) {
|
|
|
518
511
|
return value;
|
|
519
512
|
}
|
|
520
513
|
|
|
521
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true
|
|
514
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true });
|
|
522
515
|
cachedTextDecoder.decode();
|
|
523
516
|
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
524
517
|
let numBytesDecoded = 0;
|
|
525
|
-
function decodeText(
|
|
526
|
-
numBytesDecoded +=
|
|
518
|
+
function decodeText(bytes) {
|
|
519
|
+
numBytesDecoded += bytes.length;
|
|
527
520
|
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
528
|
-
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true
|
|
521
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true });
|
|
529
522
|
cachedTextDecoder.decode();
|
|
530
|
-
numBytesDecoded =
|
|
523
|
+
numBytesDecoded = bytes.length;
|
|
531
524
|
}
|
|
532
|
-
return cachedTextDecoder.decode(
|
|
525
|
+
return cachedTextDecoder.decode(bytes);
|
|
533
526
|
}
|
|
534
527
|
|
|
535
528
|
const cachedTextEncoder = new TextEncoder();
|
|
@@ -560,11 +553,15 @@ function __wbg_finalize_init(instance, module) {
|
|
|
560
553
|
|
|
561
554
|
async function __wbg_load(module, imports) {
|
|
562
555
|
if (typeof Response === 'function' && module instanceof Response) {
|
|
556
|
+
if (!module.ok) {
|
|
557
|
+
throw new Error(`failed to fetch Wasm: ${module.status} ${module.statusText} fetching '${module.url}'`);
|
|
558
|
+
}
|
|
559
|
+
|
|
563
560
|
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
564
561
|
try {
|
|
565
562
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
566
563
|
} catch (e) {
|
|
567
|
-
const validResponse =
|
|
564
|
+
const validResponse = expectedResponseType(module.type);
|
|
568
565
|
|
|
569
566
|
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
570
567
|
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
@@ -613,9 +610,17 @@ function initSync(module) {
|
|
|
613
610
|
return __wbg_finalize_init(instance, module);
|
|
614
611
|
}
|
|
615
612
|
|
|
613
|
+
let __wbg_init_promise;
|
|
616
614
|
async function __wbg_init(module_or_path) {
|
|
617
615
|
if (wasm !== undefined) return wasm;
|
|
616
|
+
if (__wbg_init_promise === undefined) {
|
|
617
|
+
__wbg_init_promise = __wbg_init_once(module_or_path);
|
|
618
|
+
__wbg_init_promise.catch(() => { __wbg_init_promise = undefined; });
|
|
619
|
+
}
|
|
620
|
+
return __wbg_init_promise;
|
|
621
|
+
}
|
|
618
622
|
|
|
623
|
+
async function __wbg_init_once(module_or_path) {
|
|
619
624
|
|
|
620
625
|
if (module_or_path !== undefined) {
|
|
621
626
|
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
package/imferno_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -9,9 +9,9 @@ export const parsePackage: (a: any) => [number, number, number];
|
|
|
9
9
|
export const validate: (a: any, b: any) => [number, number, number];
|
|
10
10
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
11
11
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
12
|
+
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
12
13
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
13
14
|
export const __externref_table_alloc: () => number;
|
|
14
15
|
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
15
16
|
export const __externref_table_dealloc: (a: number) => void;
|
|
16
|
-
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
17
17
|
export const __wbindgen_start: () => void;
|
package/index.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ export function parseVolindexTyped(xmlContent: string): Promise<any>;
|
|
|
20
20
|
export interface ValidateOptions {
|
|
21
21
|
/** Core constraints spec version: "auto" | "v2013" | "v2016" | "v2020" */
|
|
22
22
|
coreSpec?: "auto" | "v2013" | "v2016" | "v2020";
|
|
23
|
-
/** Application profile version: "auto" | "none" | "
|
|
24
|
-
app2eSpec?: "auto" | "none" | "
|
|
23
|
+
/** Application profile version: "auto" | "none" | "v2014" | "v2016" | "v2020" | "v2023" | "v2026" */
|
|
24
|
+
app2eSpec?: "auto" | "none" | "v2014" | "v2016" | "v2020" | "v2023" | "v2026";
|
|
25
25
|
/** ESLint-style rules configuration */
|
|
26
26
|
rules?: Record<string, string>;
|
|
27
27
|
}
|