diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f09d03..7cddbe2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All changes to this project will be documented in this file. ## [1.1.0] - 2024-06-18 - Bump depdependencies versions. Migrate to functionnal component. +- Add `chromeless` and `responsive` options ## [1.0.2] - 2023-07-18 diff --git a/example/src/App.tsx b/example/src/App.tsx index 0eb87e8..cef93cb 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -9,6 +9,7 @@ import ApiVideoPlayer, { type ApiVideoPlayerRef, } from '@api.video/react-native-player'; + import * as React from 'react'; import { Button, StyleSheet, Switch, Text, View } from 'react-native'; @@ -45,8 +46,8 @@ const LabeledSwitch = (props: LabeledSwitchProps) => ( const App: () => React.ReactNode = () => { const [mute, setMute] = React.useState(false); const [hideControls, setHideControls] = React.useState(false); - const [hideTitle, setHideTitle] = React.useState(false); - const [autoPlay, setAutoPlay] = React.useState(true); + const [chromeless, setChromeless] = React.useState(true); + const [autoPlay, setAutoPlay] = React.useState(false); const [loop, setLoop] = React.useState(false); const [isPlaying, setIsPlaying] = React.useState(false); const [currentTime, setCurrentTime] = React.useState(0); @@ -75,7 +76,8 @@ const App: () => React.ReactNode = () => { ref={(r) => (player.current = r)} videoId={videoId} hideControls={hideControls} - hideTitle={hideTitle} + responsive={true} + chromeless={chromeless} muted={mute} autoplay={autoPlay} loop={loop} @@ -100,10 +102,7 @@ const App: () => React.ReactNode = () => { onPlayerResize={() => logEvent('onPlayerResize')} onQualityChange={() => logEvent('onQualityChange')} onRateChange={() => logEvent('onRateChange')} - onReady={() => { - setIsPlaying(false); - logEvent('onReady'); - }} + onReady={() => logEvent('onReady')} onResize={() => logEvent('onResize')} onSeeking={() => logEvent('onSeeking')} onUserActive={() => logEvent('onUserActive')} @@ -137,6 +136,11 @@ const App: () => React.ReactNode = () => { isOn={hideControls} onPress={() => setHideControls(!hideControls)} /> + setChromeless(!chromeless)} + /> ", - "version": "1.1.1", + "version": "1.1.0", "description": "React Native api.video player", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/src/index.tsx b/src/index.tsx index 06c5fb6..93cbe2a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5,7 +5,7 @@ import React, { useRef, type Ref, } from 'react'; -import { type StyleProp, type ViewStyle } from 'react-native'; +import { View, type StyleProp, type ViewStyle } from 'react-native'; import { WebView } from 'react-native-webview'; const PLAYER_HOST = 'https://embed.api.video'; @@ -17,11 +17,13 @@ export type PlayerProps = { sessionToken?: string; type?: 'vod' | 'live'; hideControls?: boolean; + chromeless?: boolean; hideTitle?: boolean; autoplay?: boolean; loop?: boolean; muted?: boolean; style?: StyleProp; + responsive?: boolean; onControlsDisabled?: () => void; onControlsEnabled?: () => void; @@ -63,6 +65,7 @@ export interface ApiVideoPlayerRef { hideTitle: () => void; showTitle: () => void; hideControls: () => void; + setChromeless: (chromeless: boolean) => void; showControls: () => void; loadConfigFromUrl: (url: string) => void; seek: (time: number) => void; @@ -156,6 +159,10 @@ const ApiVideoPlayer = forwardRef( if (isNaN(volume)) throw new Error('Invalid volume'); injectJavaScript(`player.volume(${volume});`); }, + setChromeless: (chromeless: boolean) => { + console.log('toto'); + injectJavaScript(`player.setChromeless(${chromeless});`); + }, })); useEffect(() => { @@ -166,6 +173,12 @@ const ApiVideoPlayer = forwardRef( } }, [props.hideControls]); + useEffect(() => { + if (props.chromeless !== undefined) { + injectJavaScript(`player.setChromeless(${props.chromeless});`); + } + }, [props.chromeless]); + useEffect(() => { if (props.loop !== undefined) { injectJavaScript(`player.loop(${props.loop});`); @@ -266,20 +279,47 @@ const ApiVideoPlayer = forwardRef( } }; + const webViewStyle: StyleProp = props.style || DEFAULT_STYLE; + const innerStyle = { ...(webViewStyle as any) }; + return playerUrl ? ( - onMessage(JSON.parse(msg.nativeEvent.data))} - allowsInlineMediaPlayback={true} - allowsFullscreenVideo={true} - mediaPlaybackRequiresUserAction={false} - injectedJavaScriptBeforeContentLoaded={`window.addEventListener('message', (m) => window.ReactNativeWebView.postMessage(JSON.stringify(m.data)))`} - /> + + onMessage(JSON.parse(msg.nativeEvent.data))} + allowsInlineMediaPlayback={true} + allowsFullscreenVideo={true} + mediaPlaybackRequiresUserAction={false} + injectedJavaScriptBeforeContentLoaded={`window.addEventListener('message', (m) => window.ReactNativeWebView.postMessage(JSON.stringify(m.data)))`} + /> + ) : null; } ); +const ResponsiveContainer = (props: { + isResponsive: boolean; + width?: number; + ratio?: number; + children: JSX.Element; +}): JSX.Element => { + if (!props.isResponsive || !props.width || !props.ratio) + return props.children; + return ( + + {props.children} + + ); +}; + export default ApiVideoPlayer; diff --git a/yarn.lock b/yarn.lock index 70e97fe..f2ff202 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1993,9 +1993,9 @@ __metadata: linkType: hard "@eslint-community/regexpp@npm:^4.4.0, @eslint-community/regexpp@npm:^4.6.1": - version: 4.10.1 - resolution: "@eslint-community/regexpp@npm:4.10.1" - checksum: 1e04bc366fb8152c9266258cd25e3fded102f1d212a9476928e3cb98c48be645df6d676728d1c596053992fb9134879fe0de23c9460035b342cceb22d3af1776 + version: 4.11.0 + resolution: "@eslint-community/regexpp@npm:4.11.0" + checksum: 97d2fe46690b69417a551bd19a3dc53b6d9590d2295c43cc4c4e44e64131af541e2f4a44d5c12e87de990403654d3dae9d33600081f3a2f0386b368abc9111ec languageName: node linkType: hard @@ -2039,9 +2039,9 @@ __metadata: languageName: node linkType: hard -"@expo/cli@npm:0.18.19": - version: 0.18.19 - resolution: "@expo/cli@npm:0.18.19" +"@expo/cli@npm:0.18.21": + version: 0.18.21 + resolution: "@expo/cli@npm:0.18.21" dependencies: "@babel/runtime": ^7.20.0 "@expo/code-signing-certificates": 0.0.5 @@ -2122,7 +2122,7 @@ __metadata: ws: ^8.12.1 bin: expo-internal: build/bin/cli - checksum: 3c20a0405cb52ed844d36f4ebd1d4a4075c065b49d2fda6f92379ecd2d561d664cec06fee3870ea5d291ea7164d402d644cb27802cc2282469d8dc029fff95a1 + checksum: 16a2f37ad661b2f8ed7a28ae46a2722080c18e2cb3535f75b7dd75cb99c85394b394bbd4685c6152a14bfd18f99ef675bc408241dcb86a32e57242694da7b64f languageName: node linkType: hard @@ -2136,9 +2136,9 @@ __metadata: languageName: node linkType: hard -"@expo/config-plugins@npm:8.0.5, @expo/config-plugins@npm:~8.0.0, @expo/config-plugins@npm:~8.0.0-beta.0": - version: 8.0.5 - resolution: "@expo/config-plugins@npm:8.0.5" +"@expo/config-plugins@npm:8.0.6, @expo/config-plugins@npm:~8.0.0, @expo/config-plugins@npm:~8.0.0-beta.0": + version: 8.0.6 + resolution: "@expo/config-plugins@npm:8.0.6" dependencies: "@expo/config-types": ^51.0.0-unreleased "@expo/json-file": ~8.3.0 @@ -2155,14 +2155,14 @@ __metadata: slugify: ^1.6.6 xcode: ^3.0.1 xml2js: 0.6.0 - checksum: 9d80d788a74b59cdc8c4528671dc7adce3e37d4105346a84e77c42ac24247268a27b5742eec5953cd5f7e04df2f463c0a8e1b108d15f3ffa062976abd21e349d + checksum: 4333153f7635e0bb7515499eb31b33e01f66ad7eb273f14e3b28106a9fe627bf2ee4f867f48cb1f614ea6a5b8a4cd59d875f6a6e9eb26110be4e1872c6fd4b77 languageName: node linkType: hard "@expo/config-types@npm:^51.0.0-unreleased": - version: 51.0.1 - resolution: "@expo/config-types@npm:51.0.1" - checksum: 9aac70b6713d621409c57922b927aa3933d53ffc4cb10856ccdd4adb76fc242e90aa0dd2d7505a096f31be54e7c060e11958ca69436df4266825b8b4313f2109 + version: 51.0.2 + resolution: "@expo/config-types@npm:51.0.2" + checksum: 33b4397df1c85c784f5251a3ea4e1d960c44470aef13925502f8f527680d5ec2b341ecffbaf5c7f5ab3a1a89cdb68d496f54323a73910dfe0a37cb86ae6dc717 languageName: node linkType: hard @@ -2286,9 +2286,9 @@ __metadata: languageName: node linkType: hard -"@expo/metro-config@npm:0.18.7, @expo/metro-config@npm:~0.18.6": - version: 0.18.7 - resolution: "@expo/metro-config@npm:0.18.7" +"@expo/metro-config@npm:0.18.8, @expo/metro-config@npm:~0.18.6": + version: 0.18.8 + resolution: "@expo/metro-config@npm:0.18.8" dependencies: "@babel/core": ^7.20.0 "@babel/generator": ^7.20.5 @@ -2308,7 +2308,7 @@ __metadata: lightningcss: ~1.19.0 postcss: ~8.4.32 resolve-from: ^5.0.0 - checksum: f9212492ed5bb1d28bb506280055d7488f1d7d2013f65fdaaec8158de07cdd46c887d30ae206d65b89fee24bf1def20b28caf1563f54c3daabe02ad0d210ee3e + checksum: 04f45ee37878f137ff23a7f96950e7ac799dbd09b38d7e408345e4dae69611b14a418d0454f15006c1720516773ee1fa30832f9d8602261259296f41c2ebe1a1 languageName: node linkType: hard @@ -3513,13 +3513,20 @@ __metadata: languageName: node linkType: hard -"@react-native/normalize-colors@npm:0.74.84, @react-native/normalize-colors@npm:^0.74.1": +"@react-native/normalize-colors@npm:0.74.84": version: 0.74.84 resolution: "@react-native/normalize-colors@npm:0.74.84" checksum: e9a7b3020e6a298ba1c7310d267ef90c39327cb2ed7899bf3778224e52b280802899420dbf36fb8c1a37914f410be0187a9796c1790c1dca86404a40a948235a languageName: node linkType: hard +"@react-native/normalize-colors@npm:^0.74.1": + version: 0.74.85 + resolution: "@react-native/normalize-colors@npm:0.74.85" + checksum: d2aef06be265c27ec89e1bec8f3a6869a62300479fbafdabd5e06323cf22a892189d42f9f613cc48c48f97351634c9ce98b07e565d9344714bb2627e5aae4c60 + languageName: node + linkType: hard + "@react-native/virtualized-lists@npm:0.74.84": version: 0.74.84 resolution: "@react-native/virtualized-lists@npm:0.74.84" @@ -3781,14 +3788,14 @@ __metadata: linkType: hard "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^4.17.33": - version: 4.19.3 - resolution: "@types/express-serve-static-core@npm:4.19.3" + version: 4.19.5 + resolution: "@types/express-serve-static-core@npm:4.19.5" dependencies: "@types/node": "*" "@types/qs": "*" "@types/range-parser": "*" "@types/send": "*" - checksum: fff38a7f43baeb6a62380682d39846c9d92047e0dce1737d76ebd944528619abc18addc4f0548bf43dbf4514090a1bd5140ba36695024656f941a87424b8ed7d + checksum: 72076c2f8df55e89136d4343fc874050d56c0f4afd885772a8aa506b98c3f4f3ddc7dcba42295a8b931c61000234fd679aec79ef50db15f376bf37d46234939a languageName: node linkType: hard @@ -3926,11 +3933,11 @@ __metadata: linkType: hard "@types/node@npm:*": - version: 20.14.5 - resolution: "@types/node@npm:20.14.5" + version: 20.14.9 + resolution: "@types/node@npm:20.14.9" dependencies: undici-types: ~5.26.4 - checksum: b337784407edbdd374b25149e9dfce80368846a9b0dc5b7d88a2591572ec87a5d87c11c9ddc1906294aef26a1ad889d56be8b08de6be3ce1256b8d9a836bc7d8 + checksum: 5e9eda1ac8c6cc6bcd1063903ae195eaede9aad1bdad00408a919409cfbcdd2d6535aa3d50346f0d385528f9e03dafc7d1b3bad25aedb1dcd79a6ad39d06c35d languageName: node linkType: hard @@ -3942,11 +3949,11 @@ __metadata: linkType: hard "@types/node@npm:^18.0.0": - version: 18.19.36 - resolution: "@types/node@npm:18.19.36" + version: 18.19.39 + resolution: "@types/node@npm:18.19.39" dependencies: undici-types: ~5.26.4 - checksum: 97fce6e862fd1853ae3e0c4ed5c87181d18af1646c367a22befc17697bc68a98401dc037219630a90d2e27032bf1a2306cf876ce709c553c3f42585584fe2c7a + checksum: d1de755983127b405458c427ae2cf77c89d120a617ca70999086a75fb0b6c6dbc1bdddfe1a8a7374c9ae55ed0589a2bd023ffb3b09ee25440c013afc6502dfe6 languageName: node linkType: hard @@ -4503,11 +4510,11 @@ __metadata: linkType: hard "acorn@npm:^8.11.0, acorn@npm:^8.4.1, acorn@npm:^8.7.0, acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": - version: 8.12.0 - resolution: "acorn@npm:8.12.0" + version: 8.12.1 + resolution: "acorn@npm:8.12.1" bin: acorn: bin/acorn - checksum: ae142de8739ef15a5d936c550c1d267fc4dedcdbe62ad1aa2c0009afed1de84dd0a584684a5d200bb55d8db14f3e09a95c6e92a5303973c04b9a7413c36d1df0 + checksum: 677880034aee5bdf7434cc2d25b641d7bedb0b5ef47868a78dadabedccf58e1c5457526d9d8249cd253f2df087e081c3fe7d903b448d8e19e5131a3065b83c07 languageName: node linkType: hard @@ -4905,7 +4912,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.tosorted@npm:^1.1.3": +"array.prototype.tosorted@npm:^1.1.4": version: 1.1.4 resolution: "array.prototype.tosorted@npm:1.1.4" dependencies: @@ -5127,6 +5134,13 @@ __metadata: languageName: node linkType: hard +"babel-plugin-react-compiler@npm:^0.0.0-experimental-592953e-20240517": + version: 0.0.0 + resolution: "babel-plugin-react-compiler@npm:0.0.0" + checksum: 6413005e947f9ee089359e354ab279956a6c7d979c397b3fcc311fe9d6599a83d4343f2de5cb6aebf38b1ebc1dfdc05b5fe1ea37b84c4ff891b31d6d1d59b899 + languageName: node + linkType: hard + "babel-plugin-react-native-web@npm:~0.19.10": version: 0.19.12 resolution: "babel-plugin-react-native-web@npm:0.19.12" @@ -5165,9 +5179,9 @@ __metadata: languageName: node linkType: hard -"babel-preset-expo@npm:~11.0.10": - version: 11.0.10 - resolution: "babel-preset-expo@npm:11.0.10" +"babel-preset-expo@npm:~11.0.11": + version: 11.0.11 + resolution: "babel-preset-expo@npm:11.0.11" dependencies: "@babel/plugin-proposal-decorators": ^7.12.9 "@babel/plugin-transform-export-namespace-from": ^7.22.11 @@ -5176,9 +5190,10 @@ __metadata: "@babel/preset-react": ^7.22.15 "@babel/preset-typescript": ^7.23.0 "@react-native/babel-preset": 0.74.84 + babel-plugin-react-compiler: ^0.0.0-experimental-592953e-20240517 babel-plugin-react-native-web: ~0.19.10 react-refresh: ^0.14.2 - checksum: d06747590b7742d232c4d8b040f50e86346e77e6e21f45032d11f66b0b68f5c5993810d11c4eebb8d004db63c866846b276797bb02f7ffc96c30505ba666e57c + checksum: 44c78e1a237ad1339dfbaf701a65c01499c2df950132820cfcc615340150c1d63fa4046a87fe66b149547aa689f98b9937f76c606c1b677d7fdb198a8f17383d languageName: node linkType: hard @@ -5656,9 +5671,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001629": - version: 1.0.30001636 - resolution: "caniuse-lite@npm:1.0.30001636" - checksum: b0347fd2c8d346680a64d98b061c59cb8fbf149cdd03005a447fae4d21e6286d5bd161b43eefe3221c6624aacb3cda4e838ae83c95ff5313a547f84ca93bcc70 + version: 1.0.30001640 + resolution: "caniuse-lite@npm:1.0.30001640" + checksum: ec492d8d1e11d1c55e0f5c0f218229369dc0a4bd1b5d0a579a6435865fe8f4c84bde7e816a844cce1b9cdd97f5a85b6dac5599639fabcdb0c4c5bd039e46cbfd languageName: node linkType: hard @@ -7371,9 +7386,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.4.796": - version: 1.4.805 - resolution: "electron-to-chromium@npm:1.4.805" - checksum: a881787fb4f3300442aa10e88689f153b2f68a99bdf60325967017c78c0ae50440ecfe768245fd3aa6dbc7b9c39e376027e1cda205bf9cda358f56ad9d8220c6 + version: 1.4.816 + resolution: "electron-to-chromium@npm:1.4.816" + checksum: 5abaa04cee77af4889e68d7fd7305c50b98eaa9b4016b228c85de5713a933767e423e2e6bcd71007fff1c405c5bea79d6e9e9d18efddaa966040fe9e97f43e2e languageName: node linkType: hard @@ -7629,9 +7644,9 @@ __metadata: linkType: hard "es-module-lexer@npm:^1.2.1": - version: 1.5.3 - resolution: "es-module-lexer@npm:1.5.3" - checksum: 2e0a0936fb49ca072d438128f588d5b46974035f7a1362bdb26447868016243cfd1c5ec8f12e80d273749e8c603f5aba5a828d5c2d95c07f61fbe77ab4fce4af + version: 1.5.4 + resolution: "es-module-lexer@npm:1.5.4" + checksum: a0cf04fb92d052647ac7d818d1913b98d3d3d0f5b9d88f0eafb993436e4c3e2c958599db68839d57f2dfa281fdf0f60e18d448eb78fc292c33c0f25635b6854f languageName: node linkType: hard @@ -7870,14 +7885,14 @@ __metadata: linkType: hard "eslint-plugin-react@npm:^7.30.1": - version: 7.34.2 - resolution: "eslint-plugin-react@npm:7.34.2" + version: 7.34.3 + resolution: "eslint-plugin-react@npm:7.34.3" dependencies: array-includes: ^3.1.8 array.prototype.findlast: ^1.2.5 array.prototype.flatmap: ^1.3.2 array.prototype.toreversed: ^1.1.2 - array.prototype.tosorted: ^1.1.3 + array.prototype.tosorted: ^1.1.4 doctrine: ^2.1.0 es-iterator-helpers: ^1.0.19 estraverse: ^5.3.0 @@ -7893,7 +7908,7 @@ __metadata: string.prototype.matchall: ^4.0.11 peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: aed331239f3a64fcd884380534ece4b8716f1eca4899c8636d04306879e6b4e7339e28e427bdd571d372b78b713025e0767e5f5b5486a8d19bff82616ebe8959 + checksum: 1a519b9792ab9392a5157f2543ce98ab1218c62f4a31c4c3ceb5dd3e7997def4aa07ab39f7276af0fe116ef002db29d97216a15b7aa3b200e55b641cf77d6292 languageName: node linkType: hard @@ -8177,16 +8192,16 @@ __metadata: languageName: node linkType: hard -"expo-asset@npm:~10.0.9": - version: 10.0.9 - resolution: "expo-asset@npm:10.0.9" +"expo-asset@npm:~10.0.10": + version: 10.0.10 + resolution: "expo-asset@npm:10.0.10" dependencies: expo-constants: ~16.0.0 invariant: ^2.2.4 md5-file: ^3.2.3 peerDependencies: expo: "*" - checksum: 9477277fe9f0c2b0cd60616cbcf4ee867ee2a9cfade5041d4f1cf34768569c6b19c457ee2364b940457f66254ee65a4128cc6a3605847806ed498dc83816515c + checksum: abf6afee29db1df356008b2260ecfd37eafdeeda989deeaf546d6c6857f82f71efe6d2f6e348d5bf0f077325f9ce2c8dad006ad5d8d2df35cdd9bf3dc15e714a languageName: node linkType: hard @@ -8246,12 +8261,12 @@ __metadata: languageName: node linkType: hard -"expo-modules-core@npm:1.12.15": - version: 1.12.15 - resolution: "expo-modules-core@npm:1.12.15" +"expo-modules-core@npm:1.12.18": + version: 1.12.18 + resolution: "expo-modules-core@npm:1.12.18" dependencies: invariant: ^2.2.4 - checksum: fd582278399decdf167820dc607da2669601539b18abc96be7b100d780c48b3900724231571dfe6cf5ecdba1718cb29e6325aa8f36a9cb7f7f5f38b150244f79 + checksum: b6bfd75379db146bbbe86be271fb6b56f9efda23fdd268516e97326d43ba5608670c8713af6960f2ff5e6663e6a1f0505849572d99fec08827aafa6e3d69bba3 languageName: node linkType: hard @@ -8279,27 +8294,27 @@ __metadata: linkType: hard "expo@npm:~51.0.14": - version: 51.0.14 - resolution: "expo@npm:51.0.14" + version: 51.0.17 + resolution: "expo@npm:51.0.17" dependencies: "@babel/runtime": ^7.20.0 - "@expo/cli": 0.18.19 + "@expo/cli": 0.18.21 "@expo/config": 9.0.1 - "@expo/config-plugins": 8.0.5 - "@expo/metro-config": 0.18.7 + "@expo/config-plugins": 8.0.6 + "@expo/metro-config": 0.18.8 "@expo/vector-icons": ^14.0.0 - babel-preset-expo: ~11.0.10 - expo-asset: ~10.0.9 + babel-preset-expo: ~11.0.11 + expo-asset: ~10.0.10 expo-file-system: ~17.0.1 expo-font: ~12.0.7 expo-keep-awake: ~13.0.2 expo-modules-autolinking: 1.11.1 - expo-modules-core: 1.12.15 + expo-modules-core: 1.12.18 fbemitter: ^3.0.0 whatwg-url-without-unicode: 8.0.0-3 bin: expo: bin/cli - checksum: 5313646d4c15d2426eed5ff8e6a15c90aa238af130ec226cfc12e4a21f8b10d41afdbba1d31c26d489d62f61df41c99c7f28c69b91d3aa18dbef69fa34ec53db + checksum: 36006778b11a99c76a54617ddbae039c21f10dd7ddc0bff3e44fa0558fdea4832464d5c0b346213ac442c6afb9e99690157276d5863581cca3521781e9aed7aa languageName: node linkType: hard @@ -8657,9 +8672,9 @@ __metadata: linkType: hard "flow-parser@npm:0.*": - version: 0.238.1 - resolution: "flow-parser@npm:0.238.1" - checksum: 78b11fea85b5cd950f20129f963e3089fd1d4607162315288ad04310bcda71172e3ce9946b69b6930b3af7c6451e9b9eed86a91c06a24bca47ab3112aff561de + version: 0.238.3 + resolution: "flow-parser@npm:0.238.3" + checksum: a8a3cbb3b1a32e5f655391410feedcf4842a4818496c6fe115eb5fe25dbf57a1a705f31892190500774a06e4b39a05a088f8d6e594d773e27a70191cb6462a20 languageName: node linkType: hard @@ -9096,17 +9111,18 @@ __metadata: linkType: hard "glob@npm:^10.2.2, glob@npm:^10.3.10": - version: 10.4.1 - resolution: "glob@npm:10.4.1" + version: 10.4.2 + resolution: "glob@npm:10.4.2" dependencies: foreground-child: ^3.1.0 jackspeak: ^3.1.2 minimatch: ^9.0.4 minipass: ^7.1.2 + package-json-from-dist: ^1.0.0 path-scurry: ^1.11.1 bin: glob: dist/esm/bin.mjs - checksum: 5d33c686c80bf6877f4284adf99a8c3cbb2a6eccbc92342943fe5d4b42c01d78c1881f2223d950c92a938d0f857e12e37b86a8e5483ab2141822e053b67d0dde + checksum: bd7c0e30701136e936f414e5f6f82c7f04503f01df77408f177aa584927412f0bde0338e6ec541618cd21eacc57dde33e7b3c6c0a779cc1c6e6a0e14f3d15d9b languageName: node linkType: hard @@ -9698,12 +9714,12 @@ __metadata: linkType: hard "https-proxy-agent@npm:^7.0.0, https-proxy-agent@npm:^7.0.1": - version: 7.0.4 - resolution: "https-proxy-agent@npm:7.0.4" + version: 7.0.5 + resolution: "https-proxy-agent@npm:7.0.5" dependencies: agent-base: ^7.0.2 debug: 4 - checksum: daaab857a967a2519ddc724f91edbbd388d766ff141b9025b629f92b9408fc83cee8a27e11a907aede392938e9c398e240d643e178408a59e4073539cde8cfe9 + checksum: 2e1a28960f13b041a50702ee74f240add8e75146a5c37fc98f1960f0496710f6918b3a9fe1e5aba41e50f58e6df48d107edd9c405c5f0d73ac260dabf2210857 languageName: node linkType: hard @@ -10093,11 +10109,11 @@ __metadata: linkType: hard "is-core-module@npm:^2.13.0, is-core-module@npm:^2.5.0": - version: 2.13.1 - resolution: "is-core-module@npm:2.13.1" + version: 2.14.0 + resolution: "is-core-module@npm:2.14.0" dependencies: - hasown: ^2.0.0 - checksum: 256559ee8a9488af90e4bad16f5583c6d59e92f0742e9e8bb4331e758521ee86b810b93bae44f390766ffbc518a0488b18d9dab7da9a5ff997d499efc9403f7c + hasown: ^2.0.2 + checksum: 6bba6c8dc99d88d6f3b2746709d82caddcd9565cafd5870e28ab320720e27e6d9d2bb953ba0839ed4d2ee264bfdd14a9fa1bbc242a916f7dacc8aa95f0322256 languageName: node linkType: hard @@ -10671,15 +10687,15 @@ __metadata: linkType: hard "istanbul-lib-instrument@npm:^6.0.0": - version: 6.0.2 - resolution: "istanbul-lib-instrument@npm:6.0.2" + version: 6.0.3 + resolution: "istanbul-lib-instrument@npm:6.0.3" dependencies: "@babel/core": ^7.23.9 "@babel/parser": ^7.23.9 "@istanbuljs/schema": ^0.1.3 istanbul-lib-coverage: ^3.2.0 semver: ^7.5.4 - checksum: c10aa1e93a022f9767d7f41e6c07d244cc0a5c090fbb5522d70a5f21fcb98c52b7038850276c6fd1a7a17d1868c14a9d4eb8a24efe58a0ebb9a06f3da68131fe + checksum: 74104c60c65c4fa0e97cc76f039226c356123893929f067bfad5f86fe839e08f5d680354a68fead3bc9c1e2f3fa6f3f53cded70778e821d911e851d349f3545a languageName: node linkType: hard @@ -11216,15 +11232,15 @@ __metadata: linkType: hard "joi@npm:^17.2.1": - version: 17.13.1 - resolution: "joi@npm:17.13.1" + version: 17.13.3 + resolution: "joi@npm:17.13.3" dependencies: "@hapi/hoek": ^9.3.0 "@hapi/topo": ^5.1.0 "@sideway/address": ^4.1.5 "@sideway/formula": ^3.0.1 "@sideway/pinpoint": ^2.0.0 - checksum: e755140446a0e0fb679c0f512d20dfe1625691de368abe8069507c9bccae5216b5bb56b5a83100a600808b1753ab44fdfdc9933026268417f84b6e0832a9604e + checksum: 66ed454fee3d8e8da1ce21657fd2c7d565d98f3e539d2c5c028767e5f38cbd6297ce54df8312d1d094e62eb38f9452ebb43da4ce87321df66cf5e3f128cbc400 languageName: node linkType: hard @@ -11493,12 +11509,12 @@ __metadata: linkType: hard "launch-editor@npm:^2.6.0": - version: 2.7.0 - resolution: "launch-editor@npm:2.7.0" + version: 2.8.0 + resolution: "launch-editor@npm:2.8.0" dependencies: picocolors: ^1.0.0 shell-quote: ^1.8.1 - checksum: 6eabdcfcea15b1f1ce2f2a1da3902974ccc19465a24656326a95517366e2caeb4c9977d1664708223b6a2fd93487eb55f0178fa6c902bcd969af348cb6ec8d63 + checksum: 495009163fd4879fbc576323d1da3b821379ec66e9c20ed3297ea65b3eceb720fe9409cbd2819d6ff5dd0115325e6b6716d473dd729d5aa8ddd67810e3545477 languageName: node linkType: hard @@ -11914,9 +11930,9 @@ __metadata: linkType: hard "lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": - version: 10.2.2 - resolution: "lru-cache@npm:10.2.2" - checksum: 98e8fc93691c546f719a76103ef2bee5a3ac823955c755a47641ec41f8c7fafa1baeaba466937cc1cbfa9cfd47e03536d10e2db3158a64ad91ff3a58a32c893e + version: 10.3.0 + resolution: "lru-cache@npm:10.3.0" + checksum: f2289639bd94cf3c87bfd8a77ac991f9afe3af004ddca3548c3dae63ead1c73bba449a60a4e270992e16cf3261b3d4130943234d52ca3a4d4de2fc074a3cc7b5 languageName: node linkType: hard @@ -12539,11 +12555,11 @@ __metadata: linkType: hard "minimatch@npm:^9.0.4": - version: 9.0.4 - resolution: "minimatch@npm:9.0.4" + version: 9.0.5 + resolution: "minimatch@npm:9.0.5" dependencies: brace-expansion: ^2.0.1 - checksum: cf717f597ec3eed7dabc33153482a2e8d49f4fd3c26e58fd9c71a94c5029a0838728841b93f46bf1263b65a8010e2ee800d0dc9b004ab8ba8b6d1ec07cc115b5 + checksum: 2c035575eda1e50623c731ec6c14f65a85296268f749b9337005210bb2b34e2705f8ef1a358b188f69892286ab99dc42c8fb98a57bde55c8d81b3023c19cea28 languageName: node linkType: hard @@ -13070,9 +13086,9 @@ __metadata: linkType: hard "object-inspect@npm:^1.13.1": - version: 1.13.1 - resolution: "object-inspect@npm:1.13.1" - checksum: 7d9fa9221de3311dcb5c7c307ee5dc011cdd31dc43624b7c184b3840514e118e05ef0002be5388304c416c0eb592feb46e983db12577fc47e47d5752fbbfb61f + version: 1.13.2 + resolution: "object-inspect@npm:1.13.2" + checksum: 9f850b3c045db60e0e97746e809ee4090d6ce62195af17dd1e9438ac761394a7d8ec4f7906559aea5424eaf61e35d3e53feded2ccd5f62fcc7d9670d3c8eb353 languageName: node linkType: hard @@ -13512,6 +13528,13 @@ __metadata: languageName: node linkType: hard +"package-json-from-dist@npm:^1.0.0": + version: 1.0.0 + resolution: "package-json-from-dist@npm:1.0.0" + checksum: ac706ec856a5a03f5261e4e48fa974f24feb044d51f84f8332e2af0af04fbdbdd5bbbfb9cbbe354190409bc8307c83a9e38c6672c3c8855f709afb0006a009ea + languageName: node + linkType: hard + "package-json@npm:^8.1.0": version: 8.1.1 resolution: "package-json@npm:8.1.1" @@ -14192,13 +14215,13 @@ __metadata: linkType: hard "postcss@npm:^8.3.5, postcss@npm:^8.4.33, postcss@npm:~8.4.32": - version: 8.4.38 - resolution: "postcss@npm:8.4.38" + version: 8.4.39 + resolution: "postcss@npm:8.4.39" dependencies: nanoid: ^3.3.7 - picocolors: ^1.0.0 + picocolors: ^1.0.1 source-map-js: ^1.2.0 - checksum: 649f9e60a763ca4b5a7bbec446a069edf07f057f6d780a5a0070576b841538d1ecf7dd888f2fbfd1f76200e26c969e405aeeae66332e6927dbdc8bdcb90b9451 + checksum: 14b130c90f165961772bdaf99c67f907f3d16494adf0868e57ef68baa67e0d1f6762db9d41ab0f4d09bab6fb7888588dba3596afd1a235fd5c2d43fba7006ac6 languageName: node linkType: hard @@ -14550,12 +14573,12 @@ __metadata: linkType: hard "react-devtools-core@npm:^5.0.0": - version: 5.2.0 - resolution: "react-devtools-core@npm:5.2.0" + version: 5.3.0 + resolution: "react-devtools-core@npm:5.3.0" dependencies: shell-quote: ^1.6.1 ws: ^7 - checksum: 9dbe3f38561fa187a1d518406546a52562cc374e4d2ec495f3a80bee5ed58a16be2e6dedda89d5844e8d981d9adba79fc1a04348a8c0f55c590ff8bf08d4a14f + checksum: fda4c8e7678655f39ca63949242c82d289962282a0e18fc95ffabc25de0424ff30b7d557d7863a5c10494ef0e6cb616e7d1aa64cd5879ddd6df5ecfc617b5735 languageName: node linkType: hard @@ -14640,20 +14663,7 @@ __metadata: languageName: node linkType: hard -"react-native-webview@npm:*": - version: 13.10.3 - resolution: "react-native-webview@npm:13.10.3" - dependencies: - escape-string-regexp: 2.0.0 - invariant: 2.2.4 - peerDependencies: - react: "*" - react-native: "*" - checksum: 333e940a2af300c7151106737cd812f102efd7e872286ce922290c2a0044e736ba86abab0841df591f42628017897344ab549ba6205471a44f74baff8bf196b1 - languageName: node - linkType: hard - -"react-native-webview@npm:^13.10.4": +"react-native-webview@npm:*, react-native-webview@npm:^13.10.4": version: 13.10.4 resolution: "react-native-webview@npm:13.10.4" dependencies: @@ -15893,17 +15903,17 @@ __metadata: linkType: hard "socks-proxy-agent@npm:^8.0.1, socks-proxy-agent@npm:^8.0.3": - version: 8.0.3 - resolution: "socks-proxy-agent@npm:8.0.3" + version: 8.0.4 + resolution: "socks-proxy-agent@npm:8.0.4" dependencies: agent-base: ^7.1.1 debug: ^4.3.4 - socks: ^2.7.1 - checksum: 8fab38821c327c190c28f1658087bc520eb065d55bc07b4a0fdf8d1e0e7ad5d115abbb22a95f94f944723ea969dd771ad6416b1e3cde9060c4c71f705c8b85c5 + socks: ^2.8.3 + checksum: b2ec5051d85fe49072f9a250c427e0e9571fd09d5db133819192d078fd291276e1f0f50f6dbc04329b207738b1071314cee8bdbb4b12e27de42dbcf1d4233c67 languageName: node linkType: hard -"socks@npm:^2.7.1": +"socks@npm:^2.8.3": version: 2.8.3 resolution: "socks@npm:2.8.3" dependencies: @@ -17044,22 +17054,22 @@ __metadata: linkType: hard "typescript@npm:^4.6.4 || ^5.2.2, typescript@npm:^5.2.2": - version: 5.4.5 - resolution: "typescript@npm:5.4.5" + version: 5.5.3 + resolution: "typescript@npm:5.5.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0 + checksum: 4b4f14313484d5c86064d04ba892544801fa551f5cf72719b540b498056fec7fc192d0bbdb2ba1448e759b1548769956da9e43e7c16781e8d8856787b0575004 languageName: node linkType: hard "typescript@patch:typescript@^4.6.4 || ^5.2.2#~builtin, typescript@patch:typescript@^5.2.2#~builtin": - version: 5.4.5 - resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin::version=5.4.5&hash=14eedb" + version: 5.5.3 + resolution: "typescript@patch:typescript@npm%3A5.5.3#~builtin::version=5.5.3&hash=14eedb" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 2373c693f3b328f3b2387c3efafe6d257b057a142f9a79291854b14ff4d5367d3d730810aee981726b677ae0fd8329b23309da3b6aaab8263dbdccf1da07a3ba + checksum: 6853be4607706cc1ad2f16047cf1cd72d39f79acd5f9716e1d23bc0e462c7f59be7458fe58a21665e7657a05433d7ab8419d093a5a4bd5f3a33f879b35d2769b languageName: node linkType: hard @@ -17224,8 +17234,8 @@ __metadata: linkType: hard "update-browserslist-db@npm:^1.0.16": - version: 1.0.16 - resolution: "update-browserslist-db@npm:1.0.16" + version: 1.1.0 + resolution: "update-browserslist-db@npm:1.1.0" dependencies: escalade: ^3.1.2 picocolors: ^1.0.1 @@ -17233,7 +17243,7 @@ __metadata: browserslist: ">= 4.21.0" bin: update-browserslist-db: cli.js - checksum: 51b1f7189c9ea5925c80154b0a6fd3ec36106d07858d8f69826427d8edb4735d1801512c69eade38ba0814d7407d11f400d74440bbf3da0309f3d788017f35b2 + checksum: 7b74694d96f0c360f01b702e72353dc5a49df4fe6663d3ee4e5c628f061576cddf56af35a3a886238c01dd3d8f231b7a86a8ceaa31e7a9220ae31c1c1238e562 languageName: node linkType: hard @@ -17339,13 +17349,13 @@ __metadata: linkType: hard "v8-to-istanbul@npm:^9.0.1": - version: 9.2.0 - resolution: "v8-to-istanbul@npm:9.2.0" + version: 9.3.0 + resolution: "v8-to-istanbul@npm:9.3.0" dependencies: "@jridgewell/trace-mapping": ^0.3.12 "@types/istanbul-lib-coverage": ^2.0.1 convert-source-map: ^2.0.0 - checksum: 31ef98c6a31b1dab6be024cf914f235408cd4c0dc56a5c744a5eea1a9e019ba279e1b6f90d695b78c3186feed391ed492380ccf095009e2eb91f3d058f0b4491 + checksum: ded42cd535d92b7fd09a71c4c67fb067487ef5551cc227bfbf2a1f159a842e4e4acddaef20b955789b8d3b455b9779d036853f4a27ce15007f6364a4d30317ae languageName: node linkType: hard @@ -17551,8 +17561,8 @@ __metadata: linkType: hard "webpack@npm:^5.64.4": - version: 5.92.0 - resolution: "webpack@npm:5.92.0" + version: 5.92.1 + resolution: "webpack@npm:5.92.1" dependencies: "@types/eslint-scope": ^3.7.3 "@types/estree": ^1.0.5 @@ -17583,7 +17593,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: b020102549d2bdbc59902003140808601a4f85800c3efcb8292d4239a71a44786d0b4e2412cfa840a75c2e60276e7e55ea3b77b4e1850a915024cab2a57e90ef + checksum: 11bec781260c4180883e98a4a15a08df297aca654ded45e70598f688881dd722f992d680addafe6f6342debede345cddcce2b781c50f5cde29d6c0bc33a82452 languageName: node linkType: hard