unbikit 0.10.2 → 0.10.3

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.
Files changed (2) hide show
  1. package/dist/unbikit.js +3 -12
  2. package/package.json +23 -23
package/dist/unbikit.js CHANGED
@@ -37,7 +37,6 @@ const buildQuantTables = () => {
37
37
  }
38
38
  return tables;
39
39
  };
40
-
41
40
  //#endregion
42
41
  //#region src/bik-decoder-utils.ts
43
42
  var BitReader = class {
@@ -98,7 +97,6 @@ var BitReader = class {
98
97
  return this.c() ? -v : v;
99
98
  }
100
99
  };
101
-
102
100
  //#endregion
103
101
  //#region src/transforms.ts
104
102
  function* genIDxT(nBits, useDCT) {
@@ -312,7 +310,6 @@ const addBlock8x8 = (block, dest, destOffset, stride) => {
312
310
  }
313
311
  }
314
312
  };
315
-
316
313
  //#endregion
317
314
  //#region src/bik-audio-decoder.ts
318
315
  let AUDIO_CRITICAL_FREQS;
@@ -441,7 +438,6 @@ function* genBikAudioDecoder(sampleRate, numChannels, useDCT) {
441
438
  }
442
439
  }
443
440
  }
444
-
445
441
  //#endregion
446
442
  //#region src/bik-video-decoder.ts
447
443
  const EMPTY_UINT8_ARRAY = new Uint8Array();
@@ -1027,10 +1023,7 @@ function* genBikVideoDecoder(width, height, version, hasAlpha, hasSwappedUVPlane
1027
1023
  reader.l(EMPTY_UINT8_ARRAY);
1028
1024
  }
1029
1025
  }
1030
-
1031
- //#endregion
1032
- //#region src/bik-decoder.ts
1033
- var BikDecoder = class BikDecoder {
1026
+ const createBikDecoder = class BikDecoder {
1034
1027
  /**
1035
1028
  * Source of the video.
1036
1029
  */
@@ -1330,8 +1323,6 @@ var BikDecoder = class BikDecoder {
1330
1323
  await decoder.#init();
1331
1324
  return decoder;
1332
1325
  }
1333
- };
1334
- const createBikDecoder = BikDecoder.r;
1335
-
1326
+ }.r;
1336
1327
  //#endregion
1337
- export { createBikDecoder };
1328
+ export { createBikDecoder };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unbikit",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Decoder for .bik (Bink) video files.",
5
5
  "keywords": [
6
6
  "audio",
@@ -33,38 +33,38 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@arethetypeswrong/core": "0.18.2",
36
- "@astrojs/check": "0.9.6",
37
- "@astrojs/mdx": "4.3.13",
38
- "@astrojs/starlight": "0.37.6",
39
- "@biomejs/biome": "2.3.14",
40
- "@commitlint/config-conventional": "20.4.1",
41
- "@commitlint/types": "20.4.0",
36
+ "@astrojs/check": "0.9.8",
37
+ "@astrojs/mdx": "5.0.3",
38
+ "@astrojs/starlight": "0.38.3",
39
+ "@biomejs/biome": "2.4.10",
40
+ "@commitlint/config-conventional": "20.5.0",
41
+ "@commitlint/types": "20.5.0",
42
42
  "@fontsource-variable/sora": "5.2.8",
43
- "@types/audioworklet": "0.0.94",
44
- "@types/node": "25.2.2",
43
+ "@types/audioworklet": "0.0.97",
44
+ "@types/node": "25.5.2",
45
45
  "@types/pngjs": "6.0.5",
46
- "@vitest/coverage-v8": "4.0.18",
47
- "@vitest/ui": "4.0.18",
48
- "astro": "5.17.1",
49
- "commitlint": "20.4.1",
50
- "globals": "17.3.0",
46
+ "@vitest/coverage-v8": "4.1.3",
47
+ "@vitest/ui": "4.1.3",
48
+ "astro": "6.1.4",
49
+ "commitlint": "20.5.0",
50
+ "globals": "17.4.0",
51
51
  "pngjs": "7.0.0",
52
52
  "prettier": "3.8.1",
53
- "publint": "0.3.17",
53
+ "publint": "0.3.18",
54
54
  "rollup-plugin-esbuild": "6.2.1",
55
55
  "sharp": "0.34.5",
56
56
  "starlight-package-managers": "0.12.0",
57
57
  "starlight-theme-rapide": "0.5.2",
58
58
  "starlight-typedoc": "0.21.5",
59
- "ts-extras": "0.17.0",
60
- "tsdown": "0.20.3",
61
- "type-fest": "5.4.4",
62
- "typedoc": "0.28.16",
63
- "typedoc-plugin-markdown": "4.10.0",
64
- "typescript": "5.9.3",
59
+ "ts-extras": "0.19.0",
60
+ "tsdown": "0.21.7",
61
+ "type-fest": "5.5.0",
62
+ "typedoc": "0.28.18",
63
+ "typedoc-plugin-markdown": "4.11.0",
64
+ "typescript": "6.0.2",
65
65
  "unplugin-unused": "0.5.7",
66
- "vite": "8.0.0-beta.13",
67
- "vitest": "4.0.18"
66
+ "vite": "8.0.6",
67
+ "vitest": "4.1.3"
68
68
  },
69
69
  "exports": {
70
70
  ".": {