diff --git a/front/package.json b/front/package.json index 6819d26..0c2120f 100644 --- a/front/package.json +++ b/front/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@expo/webpack-config": "^19.0.0", - "@motiz88/react-native-midi": "^0.0.5", + "@arthi-chaud/react-native-midi": "^0.0.6", "@react-native-async-storage/async-storage": "1.18.2", "@react-native-community/async-storage": "^1.12.1", "@react-navigation/native": "^6.1.8", diff --git a/front/views/PlayView.tsx b/front/views/PlayView.tsx index 92c9fd2..a4c2371 100644 --- a/front/views/PlayView.tsx +++ b/front/views/PlayView.tsx @@ -29,7 +29,7 @@ import { ColorSchemeType } from 'native-base/lib/typescript/components/types'; import { useStopwatch } from 'react-use-precision-timer'; import PartitionCoord from '../components/PartitionCoord'; import TextButton from '../components/TextButton'; -import { MIDIAccess, MIDIMessageEvent, requestMIDIAccess } from '@motiz88/react-native-midi'; +import { MIDIAccess, MIDIMessageEvent, requestMIDIAccess } from '@arthi-chaud/react-native-midi'; import * as Linking from 'expo-linking'; import url from 'url'; import { PianoCanvasContext, PianoCanvasMsg, NoteTiming } from '../models/PianoGame'; diff --git a/front/yarn.lock b/front/yarn.lock index 11ac56b..b145e7c 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -20,6 +20,13 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" +"@arthi-chaud/react-native-midi@^0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@arthi-chaud/react-native-midi/-/react-native-midi-0.0.6.tgz#7f17cc72799aff2c040198191dfec7308d67dc9a" + integrity sha512-U4+DKie+AINcWEPlKXglaB7AEOZSfjA1p6xy/M9JGZBQpgYGEwMkA6WEbfaycGeB3+17Be8jR6LclLweSBdayw== + dependencies: + event-target-shim "^6.0.2" + "@babel/code-frame@7.10.4", "@babel/code-frame@~7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" @@ -2053,13 +2060,6 @@ hey-listen "^1.0.8" tslib "^2.3.1" -"@motiz88/react-native-midi@^0.0.5": - version "0.0.5" - resolved "https://registry.yarnpkg.com/@motiz88/react-native-midi/-/react-native-midi-0.0.5.tgz#8162850a6ad501436376edef43889550e133986a" - integrity sha512-9IZeYqX1BEpI9iJZzoerEjHH4SM1whMls96A0/8dHxHydr35DkUzXxT0N99FibMT/32iRqF6cZgaPnS/duXNvw== - dependencies: - event-target-shim "^6.0.2" - "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"