Skip to content

Commit c80d6eb

Browse files
committed
Fix typescript
1 parent ceaf050 commit c80d6eb

7 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/actions/setup-bun/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
- name: Setup Bun
1414
uses: oven-sh/setup-bun@v2
1515
with:
16-
bun-version: 1.2.19
16+
bun-version: 1.3.0
1717

1818
- name: Cache dependencies
1919
id: bun-cache
@@ -30,4 +30,4 @@ runs:
3030
working-directory: ${{ inputs.working-directory }}
3131
run: bun install
3232
shell: bash
33-
33+

bun.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bunfig.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[install]
2+
linker = "hoisted"

example/patches/react-native-nitro-modules+0.30.1.patch renamed to example/patches/react-native-nitro-modules+0.30.2.patch

File renamed without changes.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"@release-it/conventional-changelog": "^8.0.2",
3535
"@tsconfig/react-native": "^2.0.2",
3636
"@types/eslint__js": "^8.42.3",
37+
"@types/node": "^24.9.1",
3738
"@types/react": "^18.2.44",
3839
"commitlint": "^17.0.2",
3940
"eslint": "^8.51.0",

packages/react-native-video/src/core/VideoPlayer.web.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ class VideoPlayer extends VideoPlayerEvents implements VideoPlayerBase {
297297

298298
for (const sub of source.externalSubtitles ?? []) {
299299
this.player.addRemoteTextTrack({
300+
id: sub.uri,
300301
kind: "subtitles",
301302
label: sub.label,
302303
src: sub.uri,

packages/react-native-video/src/expo-plugins/writeToPodfile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { mergeContents } from '@expo/config-plugins/build/utils/generateCode';
2-
import fs from 'fs';
3-
import path from 'path';
2+
import fs from 'node:fs';
3+
import path from 'node:path';
44

55
export const writeToPodfile = (
66
projectRoot: string,

0 commit comments

Comments
 (0)