Switch mobile thread feed to Nitro markdown
- Replace react-native-markdown-display with react-native-nitro-markdown - Update thread markdown styling/rendering and lockfile deps
This commit is contained in:
1 parent
a77ea8f4a4
commit
3d3e847995
3 files changed
+218
-148
No files matched your search
@@ -45,7 +45,8 @@
|
||||
"react-native-gesture-handler": "~2.30.0",
|
||||
"react-native-image-viewing": "^0.2.2",
|
||||
"react-native-keyboard-controller": "1.20.7",
|
||||
"react-native-markdown-display": "^7.0.2",
|
||||
"react-native-nitro-markdown": "^0.5.3",
|
||||
"react-native-nitro-modules": "^0.35.4",
|
||||
"react-native-reanimated": "4.2.1",
|
||||
"react-native-safe-area-context": "~5.6.2",
|
||||
"react-native-screens": "~4.23.0",
|
||||
|
||||
@@ -4,8 +4,20 @@ import { KeyboardAvoidingLegendList } from "@legendapp/list/keyboard";
|
||||
import { type LegendListRef } from "@legendapp/list/react-native";
|
||||
import { SymbolView } from "expo-symbols";
|
||||
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||
import Markdown from "react-native-markdown-display";
|
||||
import { Image, Pressable, ScrollView, View } from "react-native";
|
||||
import {
|
||||
Markdown,
|
||||
type CustomRenderers,
|
||||
type NodeStyleOverrides,
|
||||
type PartialMarkdownTheme,
|
||||
} from "react-native-nitro-markdown";
|
||||
import {
|
||||
Image,
|
||||
Pressable,
|
||||
ScrollView,
|
||||
Text as NativeText,
|
||||
type ColorValue,
|
||||
View,
|
||||
} from "react-native";
|
||||
import { TouchableOpacity } from "react-native-gesture-handler";
|
||||
import ImageViewing from "react-native-image-viewing";
|
||||
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
||||
@@ -73,9 +85,19 @@ function buildActivityRows(
|
||||
|
||||
const MAX_VISIBLE_WORK_LOG_ENTRIES = 6;
|
||||
|
||||
function toMarkdownThemeColor(value: ColorValue): string {
|
||||
return value as string;
|
||||
}
|
||||
|
||||
interface MarkdownStyleSets {
|
||||
readonly user: Record<string, any>;
|
||||
readonly assistant: Record<string, any>;
|
||||
readonly user: MarkdownStyleSet;
|
||||
readonly assistant: MarkdownStyleSet;
|
||||
}
|
||||
|
||||
interface MarkdownStyleSet {
|
||||
readonly theme: PartialMarkdownTheme;
|
||||
readonly styles: NodeStyleOverrides;
|
||||
readonly renderers: CustomRenderers;
|
||||
}
|
||||
|
||||
function useMarkdownStyles(): MarkdownStyleSets {
|
||||
@@ -93,137 +115,193 @@ function useMarkdownStyles(): MarkdownStyleSets {
|
||||
const userFenceText = useThemeColor("--color-md-user-fence-text");
|
||||
|
||||
return useMemo(() => {
|
||||
const base = {
|
||||
body: {
|
||||
color: bodyColor,
|
||||
fontSize: 15,
|
||||
lineHeight: 22,
|
||||
fontFamily: "DMSans_400Regular",
|
||||
const markdownBodyColor = toMarkdownThemeColor(bodyColor);
|
||||
const markdownStrongColor = toMarkdownThemeColor(strongColor);
|
||||
const markdownLinkColor = toMarkdownThemeColor(linkColor);
|
||||
const markdownBlockquoteBg = toMarkdownThemeColor(blockquoteBg);
|
||||
const markdownBlockquoteBorder = toMarkdownThemeColor(blockquoteBorder);
|
||||
const markdownCodeBg = toMarkdownThemeColor(codeBg);
|
||||
const markdownCodeText = toMarkdownThemeColor(codeText);
|
||||
const markdownHrColor = toMarkdownThemeColor(hrColor);
|
||||
const markdownUserCodeBg = toMarkdownThemeColor(userCodeBg);
|
||||
const markdownUserCodeText = toMarkdownThemeColor(userCodeText);
|
||||
const markdownUserFenceBg = toMarkdownThemeColor(userFenceBg);
|
||||
const markdownUserFenceText = toMarkdownThemeColor(userFenceText);
|
||||
|
||||
const baseTheme: PartialMarkdownTheme = {
|
||||
colors: {
|
||||
text: markdownBodyColor,
|
||||
heading: markdownStrongColor,
|
||||
link: markdownLinkColor,
|
||||
blockquote: markdownBlockquoteBorder,
|
||||
border: markdownHrColor,
|
||||
surfaceLight: markdownBlockquoteBg,
|
||||
accent: markdownLinkColor,
|
||||
tableBorder: markdownHrColor,
|
||||
tableHeader: markdownBlockquoteBg,
|
||||
tableHeaderText: markdownStrongColor,
|
||||
tableRowOdd: "transparent",
|
||||
tableRowEven: "transparent",
|
||||
},
|
||||
spacing: {
|
||||
xs: 4,
|
||||
s: 4,
|
||||
m: 8,
|
||||
l: 8,
|
||||
xl: 16,
|
||||
},
|
||||
fontSizes: {
|
||||
s: 13,
|
||||
m: 15,
|
||||
h1: 22,
|
||||
h2: 19,
|
||||
h3: 17,
|
||||
h4: 15,
|
||||
h5: 15,
|
||||
h6: 15,
|
||||
},
|
||||
fontFamilies: {
|
||||
regular: "DMSans_400Regular",
|
||||
heading: "DMSans_700Bold",
|
||||
mono: "ui-monospace",
|
||||
},
|
||||
headingWeight: "700",
|
||||
borderRadius: {
|
||||
s: 4,
|
||||
m: 8,
|
||||
l: 12,
|
||||
},
|
||||
showCodeLanguage: false,
|
||||
};
|
||||
|
||||
const baseStyles: NodeStyleOverrides = {
|
||||
document: { flexShrink: 1 },
|
||||
paragraph: { marginTop: 0, marginBottom: 8 },
|
||||
bullet_list: { marginTop: 4, marginBottom: 4 },
|
||||
ordered_list: { marginTop: 4, marginBottom: 4 },
|
||||
list_item: { marginTop: 0, marginBottom: 4, flexDirection: "row" as const },
|
||||
strong: { fontWeight: "700" as const, color: strongColor, fontFamily: "DMSans_700Bold" },
|
||||
em: { fontStyle: "italic" as const },
|
||||
link: { color: linkColor, textDecorationLine: "underline" as const },
|
||||
list: { marginTop: 4, marginBottom: 4 },
|
||||
list_item: { marginTop: 0, marginBottom: 4 },
|
||||
task_list_item: { marginTop: 0, marginBottom: 4 },
|
||||
bold: { fontWeight: "700", color: markdownStrongColor, fontFamily: "DMSans_700Bold" },
|
||||
italic: { fontStyle: "italic" },
|
||||
link: { color: markdownLinkColor, textDecorationLine: "underline" as const },
|
||||
blockquote: {
|
||||
borderLeftWidth: 3,
|
||||
borderLeftColor: blockquoteBorder,
|
||||
backgroundColor: blockquoteBg,
|
||||
borderLeftColor: markdownBlockquoteBorder,
|
||||
backgroundColor: markdownBlockquoteBg,
|
||||
paddingLeft: 12,
|
||||
paddingVertical: 6,
|
||||
marginLeft: 0,
|
||||
marginVertical: 4,
|
||||
borderRadius: 4,
|
||||
},
|
||||
heading1: {
|
||||
fontSize: 22,
|
||||
lineHeight: 28,
|
||||
fontWeight: "800" as const,
|
||||
heading: {
|
||||
fontFamily: "DMSans_700Bold",
|
||||
color: strongColor,
|
||||
marginTop: 16,
|
||||
marginBottom: 8,
|
||||
},
|
||||
heading2: {
|
||||
fontSize: 19,
|
||||
lineHeight: 26,
|
||||
fontWeight: "700" as const,
|
||||
fontFamily: "DMSans_700Bold",
|
||||
color: strongColor,
|
||||
marginTop: 14,
|
||||
color: markdownStrongColor,
|
||||
marginTop: 12,
|
||||
marginBottom: 6,
|
||||
},
|
||||
heading3: {
|
||||
fontSize: 17,
|
||||
lineHeight: 24,
|
||||
fontWeight: "700" as const,
|
||||
fontFamily: "DMSans_700Bold",
|
||||
color: strongColor,
|
||||
marginTop: 12,
|
||||
marginBottom: 4,
|
||||
},
|
||||
heading4: {
|
||||
fontSize: 15,
|
||||
lineHeight: 22,
|
||||
fontWeight: "700" as const,
|
||||
fontFamily: "DMSans_700Bold",
|
||||
color: strongColor,
|
||||
marginTop: 10,
|
||||
marginBottom: 4,
|
||||
},
|
||||
hr: {
|
||||
backgroundColor: hrColor,
|
||||
horizontal_rule: {
|
||||
backgroundColor: markdownHrColor,
|
||||
height: 1,
|
||||
marginVertical: 12,
|
||||
},
|
||||
};
|
||||
|
||||
const user = {
|
||||
...base,
|
||||
const createCodeRenderers = (
|
||||
inlineBackgroundColor: string,
|
||||
inlineTextColor: string,
|
||||
blockBackgroundColor: string,
|
||||
blockTextColor: string,
|
||||
): CustomRenderers => ({
|
||||
code_inline: ({ content }) => (
|
||||
<NativeText
|
||||
style={{
|
||||
backgroundColor: inlineBackgroundColor,
|
||||
color: inlineTextColor,
|
||||
borderRadius: 5,
|
||||
paddingHorizontal: 5,
|
||||
paddingVertical: 1,
|
||||
fontFamily: "ui-monospace",
|
||||
fontSize: 13,
|
||||
}}
|
||||
>
|
||||
{content}
|
||||
</NativeText>
|
||||
),
|
||||
code_block: ({ content }) => (
|
||||
<View
|
||||
style={{
|
||||
backgroundColor: blockBackgroundColor,
|
||||
borderRadius: 12,
|
||||
padding: 12,
|
||||
marginVertical: 8,
|
||||
}}
|
||||
>
|
||||
<ScrollView horizontal showsHorizontalScrollIndicator={false} bounces={false}>
|
||||
<NativeText
|
||||
selectable
|
||||
style={{
|
||||
color: blockTextColor,
|
||||
fontFamily: "ui-monospace",
|
||||
fontSize: 13,
|
||||
lineHeight: 19,
|
||||
}}
|
||||
>
|
||||
{content}
|
||||
</NativeText>
|
||||
</ScrollView>
|
||||
</View>
|
||||
),
|
||||
});
|
||||
|
||||
const userTheme: PartialMarkdownTheme = {
|
||||
...baseTheme,
|
||||
colors: {
|
||||
...baseTheme.colors,
|
||||
code: markdownUserCodeText,
|
||||
codeBackground: markdownUserCodeBg,
|
||||
border: markdownUserFenceBg,
|
||||
},
|
||||
};
|
||||
const userStyles: NodeStyleOverrides = {
|
||||
...baseStyles,
|
||||
paragraph: { marginTop: 0, marginBottom: 0 },
|
||||
code_inline: {
|
||||
backgroundColor: userCodeBg,
|
||||
color: userCodeText,
|
||||
borderRadius: 5,
|
||||
paddingHorizontal: 5,
|
||||
paddingVertical: 1,
|
||||
fontFamily: "ui-monospace",
|
||||
fontSize: 13,
|
||||
},
|
||||
code_block: {
|
||||
backgroundColor: userFenceBg,
|
||||
color: userFenceText,
|
||||
borderRadius: 12,
|
||||
padding: 12,
|
||||
fontFamily: "ui-monospace",
|
||||
fontSize: 13,
|
||||
lineHeight: 19,
|
||||
},
|
||||
fence: {
|
||||
backgroundColor: userFenceBg,
|
||||
color: userFenceText,
|
||||
borderRadius: 12,
|
||||
padding: 12,
|
||||
fontFamily: "ui-monospace",
|
||||
fontSize: 13,
|
||||
lineHeight: 19,
|
||||
},
|
||||
};
|
||||
|
||||
const assistant = {
|
||||
...base,
|
||||
code_inline: {
|
||||
backgroundColor: codeBg,
|
||||
color: codeText,
|
||||
borderRadius: 5,
|
||||
paddingHorizontal: 5,
|
||||
paddingVertical: 1,
|
||||
fontFamily: "ui-monospace",
|
||||
fontSize: 13,
|
||||
},
|
||||
code_block: {
|
||||
backgroundColor: codeBg,
|
||||
color: codeText,
|
||||
borderRadius: 12,
|
||||
padding: 12,
|
||||
fontFamily: "ui-monospace",
|
||||
fontSize: 13,
|
||||
lineHeight: 19,
|
||||
},
|
||||
fence: {
|
||||
backgroundColor: codeBg,
|
||||
color: codeText,
|
||||
borderRadius: 12,
|
||||
padding: 12,
|
||||
fontFamily: "ui-monospace",
|
||||
fontSize: 13,
|
||||
lineHeight: 19,
|
||||
const assistantTheme: PartialMarkdownTheme = {
|
||||
...baseTheme,
|
||||
colors: {
|
||||
...baseTheme.colors,
|
||||
code: markdownCodeText,
|
||||
codeBackground: markdownCodeBg,
|
||||
border: markdownCodeBg,
|
||||
},
|
||||
};
|
||||
const assistantStyles: NodeStyleOverrides = {
|
||||
...baseStyles,
|
||||
};
|
||||
|
||||
return { user, assistant };
|
||||
return {
|
||||
user: {
|
||||
theme: userTheme,
|
||||
styles: userStyles,
|
||||
renderers: createCodeRenderers(
|
||||
markdownUserCodeBg,
|
||||
markdownUserCodeText,
|
||||
markdownUserFenceBg,
|
||||
markdownUserFenceText,
|
||||
),
|
||||
},
|
||||
assistant: {
|
||||
theme: assistantTheme,
|
||||
styles: assistantStyles,
|
||||
renderers: createCodeRenderers(
|
||||
markdownCodeBg,
|
||||
markdownCodeText,
|
||||
markdownCodeBg,
|
||||
markdownCodeText,
|
||||
),
|
||||
},
|
||||
};
|
||||
}, [
|
||||
blockquoteBg,
|
||||
blockquoteBorder,
|
||||
@@ -267,7 +345,14 @@ function renderFeedEntry(
|
||||
<View className="mb-3.5 items-end gap-1.5">
|
||||
<View className="max-w-[85%] gap-2 rounded-[22px] rounded-br-[10px] border border-blue-300/50 bg-blue-50/80 px-4 py-4 dark:border-blue-400/20 dark:bg-blue-500/12">
|
||||
{message.text.trim().length > 0 ? (
|
||||
<Markdown style={styles}>{message.text}</Markdown>
|
||||
<Markdown
|
||||
options={{ gfm: true }}
|
||||
renderers={styles.renderers}
|
||||
styles={styles.styles}
|
||||
theme={styles.theme}
|
||||
>
|
||||
{message.text}
|
||||
</Markdown>
|
||||
) : null}
|
||||
{attachments.map((attachment) => {
|
||||
const uri = messageImageUrl(props.httpBaseUrl, attachment.id);
|
||||
@@ -308,7 +393,16 @@ function renderFeedEntry(
|
||||
|
||||
return (
|
||||
<View className="mb-3.5 gap-1.5 px-1">
|
||||
{message.text.trim().length > 0 ? <Markdown style={styles}>{message.text}</Markdown> : null}
|
||||
{message.text.trim().length > 0 ? (
|
||||
<Markdown
|
||||
options={{ gfm: true }}
|
||||
renderers={styles.renderers}
|
||||
styles={styles.styles}
|
||||
theme={styles.theme}
|
||||
>
|
||||
{message.text}
|
||||
</Markdown>
|
||||
) : null}
|
||||
{attachments.map((attachment) => {
|
||||
const uri = messageImageUrl(props.httpBaseUrl, attachment.id);
|
||||
if (!uri) {
|
||||
|
||||
@@ -77,7 +77,8 @@
|
||||
"react-native-gesture-handler": "~2.30.0",
|
||||
"react-native-image-viewing": "^0.2.2",
|
||||
"react-native-keyboard-controller": "1.20.7",
|
||||
"react-native-markdown-display": "^7.0.2",
|
||||
"react-native-nitro-markdown": "^0.5.3",
|
||||
"react-native-nitro-modules": "^0.35.4",
|
||||
"react-native-reanimated": "4.2.1",
|
||||
"react-native-safe-area-context": "~5.6.2",
|
||||
"react-native-screens": "~4.23.0",
|
||||
@@ -1382,8 +1383,6 @@
|
||||
|
||||
"camelcase": ["[email protected]", "", {}, "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA=="],
|
||||
|
||||
"camelize": ["[email protected]", "", {}, "sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ=="],
|
||||
|
||||
"caniuse-lite": ["[email protected]", "", {}, "sha512-mNcrMN9KeI68u7muanUpEejSLghOKlVhRqS/Za2IeyGllJ9I9otGpR9g3nsw7n4W378TE/LyIteA0+/FOZm4Kg=="],
|
||||
|
||||
"ccount": ["[email protected]", "", {}, "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg=="],
|
||||
@@ -1462,12 +1461,8 @@
|
||||
|
||||
"crossws": ["[email protected]", "", { "dependencies": { "uncrypto": "^0.1.3" } }, "sha512-ojKiDvcmByhwa8YYqbQI/hg7MEU0NC03+pSdEq4ZUnZR9xXpwk7E43SMNGkn+JxJGPFtNvQ48+vV2p+P1ml5PA=="],
|
||||
|
||||
"css-color-keywords": ["[email protected]", "", {}, "sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg=="],
|
||||
|
||||
"css-select": ["[email protected]", "", { "dependencies": { "boolbase": "^1.0.0", "css-what": "^6.1.0", "domhandler": "^5.0.2", "domutils": "^3.0.1", "nth-check": "^2.0.1" } }, "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw=="],
|
||||
|
||||
"css-to-react-native": ["[email protected]", "", { "dependencies": { "camelize": "^1.0.0", "css-color-keywords": "^1.0.0", "postcss-value-parser": "^4.0.2" } }, "sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ=="],
|
||||
|
||||
"css-tree": ["[email protected]", "", { "dependencies": { "mdn-data": "2.0.14", "source-map": "^0.6.1" } }, "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q=="],
|
||||
|
||||
"css-what": ["[email protected]", "", {}, "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA=="],
|
||||
@@ -1564,7 +1559,7 @@
|
||||
|
||||
"enhanced-resolve": ["[email protected]", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.0" } }, "sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA=="],
|
||||
|
||||
"entities": ["entities@2.0.3", "", {}, "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ=="],
|
||||
"entities": ["entities@6.0.1", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="],
|
||||
|
||||
"env-paths": ["[email protected]", "", {}, "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A=="],
|
||||
|
||||
@@ -1960,8 +1955,6 @@
|
||||
|
||||
"lightningcss-win32-x64-msvc": ["[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-PVqXh48wh4T53F/1CCu8PIPCxLzWyCnn/9T5W1Jpmdy5h9Cwd+0YQS6/LwhHXSafuc61/xg9Lv5OrCby6a++jg=="],
|
||||
|
||||
"linkify-it": ["[email protected]", "", { "dependencies": { "uc.micro": "^1.0.1" } }, "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw=="],
|
||||
|
||||
"locate-path": ["[email protected]", "", { "dependencies": { "p-locate": "^4.1.0" } }, "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g=="],
|
||||
|
||||
"lodash.debounce": ["[email protected]", "", {}, "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow=="],
|
||||
@@ -1996,8 +1989,6 @@
|
||||
|
||||
"makeerror": ["[email protected]", "", { "dependencies": { "tmpl": "1.0.5" } }, "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg=="],
|
||||
|
||||
"markdown-it": ["[email protected]", "", { "dependencies": { "argparse": "^1.0.7", "entities": "~2.0.0", "linkify-it": "^2.0.0", "mdurl": "^1.0.1", "uc.micro": "^1.0.5" }, "bin": { "markdown-it": "bin/markdown-it.js" } }, "sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg=="],
|
||||
|
||||
"markdown-table": ["[email protected]", "", {}, "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw=="],
|
||||
|
||||
"marky": ["[email protected]", "", {}, "sha512-ocnPZQLNpvbedwTy9kNrQEsknEfgvcLMvOtz3sFeWApDq1MXH1TqkCIx58xlpESsfwQOnuBO9beyQuNGzVvuhQ=="],
|
||||
@@ -2038,8 +2029,6 @@
|
||||
|
||||
"mdn-data": ["[email protected]", "", {}, "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow=="],
|
||||
|
||||
"mdurl": ["[email protected]", "", {}, "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g=="],
|
||||
|
||||
"memoize-one": ["[email protected]", "", {}, "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q=="],
|
||||
|
||||
"merge-stream": ["[email protected]", "", {}, "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="],
|
||||
@@ -2200,8 +2189,6 @@
|
||||
|
||||
"ob1": ["[email protected]", "", { "dependencies": { "flow-enums-runtime": "^0.0.6" } }, "sha512-m/xZYkwcjo6UqLMrUICEB3iHk7Bjt3RSR7KXMi6Y1MO/kGkPhoRmfUDF6KAan3rLAZ7ABRqnQyKUTwaqZgUV4w=="],
|
||||
|
||||
"object-assign": ["[email protected]", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="],
|
||||
|
||||
"object-keys": ["[email protected]", "", {}, "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="],
|
||||
|
||||
"obug": ["[email protected]", "", {}, "sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ=="],
|
||||
@@ -2292,8 +2279,6 @@
|
||||
|
||||
"postcss": ["[email protected]", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-7a70Nsot+EMX9fFU3064K/kdHWZqGVY+BADLyXc8Dfv+mTLLVl6JzJpPaCZ2kQL9gIJvKXSLMHhqdRRjwQeFtw=="],
|
||||
|
||||
"postcss-value-parser": ["[email protected]", "", {}, "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="],
|
||||
|
||||
"prettier": ["[email protected]", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-8c3mgTe0ASwWAJK+78dpviD+A8EqhndQPUBpNUIPt6+xWlIigCwfN01lWr9MAede4uqXGTEKeQWTvzb3vjia0Q=="],
|
||||
|
||||
"pretty-format": ["[email protected]", "", { "dependencies": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", "react-is": "^18.0.0" } }, "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ=="],
|
||||
@@ -2308,8 +2293,6 @@
|
||||
|
||||
"prompts": ["[email protected]", "", { "dependencies": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" } }, "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q=="],
|
||||
|
||||
"prop-types": ["[email protected]", "", { "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.13.1" } }, "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg=="],
|
||||
|
||||
"property-information": ["[email protected]", "", {}, "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ=="],
|
||||
|
||||
"pump": ["[email protected]", "", { "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA=="],
|
||||
@@ -2346,8 +2329,6 @@
|
||||
|
||||
"react-native": ["[email protected]", "", { "dependencies": { "@jest/create-cache-key-function": "^29.7.0", "@react-native/assets-registry": "0.83.4", "@react-native/codegen": "0.83.4", "@react-native/community-cli-plugin": "0.83.4", "@react-native/gradle-plugin": "0.83.4", "@react-native/js-polyfills": "0.83.4", "@react-native/normalize-colors": "0.83.4", "@react-native/virtualized-lists": "0.83.4", "abort-controller": "^3.0.0", "anser": "^1.4.9", "ansi-regex": "^5.0.0", "babel-jest": "^29.7.0", "babel-plugin-syntax-hermes-parser": "0.32.0", "base64-js": "^1.5.1", "commander": "^12.0.0", "flow-enums-runtime": "^0.0.6", "glob": "^7.1.1", "hermes-compiler": "0.14.1", "invariant": "^2.2.4", "jest-environment-node": "^29.7.0", "memoize-one": "^5.0.0", "metro-runtime": "^0.83.3", "metro-source-map": "^0.83.3", "nullthrows": "^1.1.1", "pretty-format": "^29.7.0", "promise": "^8.3.0", "react-devtools-core": "^6.1.5", "react-refresh": "^0.14.0", "regenerator-runtime": "^0.13.2", "scheduler": "0.27.0", "semver": "^7.1.3", "stacktrace-parser": "^0.1.10", "whatwg-fetch": "^3.0.0", "ws": "^7.5.10", "yargs": "^17.6.2" }, "peerDependencies": { "@types/react": "^19.1.1", "react": "^19.2.0" }, "optionalPeers": ["@types/react"], "bin": { "react-native": "cli.js" } }, "sha512-H5Wco3UJyY6zZsjoBayY8RM9uiAEQ3FeG4G2NAt+lr9DO43QeqPlVe9xxxYEukMkEmeIhNjR70F6bhXuWArOMQ=="],
|
||||
|
||||
"react-native-fit-image": ["[email protected]", "", { "dependencies": { "prop-types": "^15.5.10" } }, "sha512-Wl3Vq2DQzxgsWKuW4USfck9zS7YzhvLNPpkwUUCF90bL32e1a0zOVQ3WsJILJOwzmPdHfzZmWasiiAUNBkhNkg=="],
|
||||
|
||||
"react-native-gesture-handler": ["[email protected]", "", { "dependencies": { "@egjs/hammerjs": "^2.0.17", "hoist-non-react-statics": "^3.3.0", "invariant": "^2.2.4" }, "peerDependencies": { "react": "*", "react-native": "*" } }, "sha512-xIUBDo5ktmJs++0fZlavQNvDEE4PsihWhSeJsJtoz4Q6p0MiTM9TgrTgfEgzRR36qGPytFoeq+ShLrVwGdpUdA=="],
|
||||
|
||||
"react-native-image-viewing": ["[email protected]", "", { "peerDependencies": { "react": ">=16.11.0", "react-native": ">=0.61.3" } }, "sha512-osWieG+p/d2NPbAyonOMubttajtYEYiRGQaJA54slFxZ69j1V4/dCmcrVQry47ktVKy8/qpFwCpW1eT6MH5T2Q=="],
|
||||
@@ -2356,7 +2337,9 @@
|
||||
|
||||
"react-native-keyboard-controller": ["[email protected]", "", { "dependencies": { "react-native-is-edge-to-edge": "^1.2.1" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-reanimated": ">=3.0.0" } }, "sha512-G8S5jz1FufPrcL1vPtReATx+jJhT/j+sTqxMIb30b1z7cYEfMlkIzOCyaHgf6IMB2KA9uBmnA5M6ve2A9Ou4kw=="],
|
||||
|
||||
"react-native-markdown-display": ["react-native-markdown[email protected]", "", { "dependencies": { "css-to-react-native": "^3.0.0", "markdown-it": "^10.0.0", "prop-types": "^15.7.2", "react-native-fit-image": "^1.5.5" }, "peerDependencies": { "react": ">=16.2.0", "react-native": ">=0.50.4" } }, "sha512-Mn4wotMvMfLAwbX/huMLt202W5DsdpMO/kblk+6eUs55S57VVNni1gzZCh5qpznYLjIQELNh50VIozEfY6fvaQ=="],
|
||||
"react-native-nitro-markdown": ["react-native-nitro-markdown@0.5.3", "", { "peerDependencies": { "react": "*", "react-native": ">=0.75.0", "react-native-mathjax-svg": ">=0.9.0", "react-native-nitro-modules": ">=0.35.0", "react-native-svg": ">=13.0.0" }, "optionalPeers": ["react-native-mathjax-svg", "react-native-svg"] }, "sha512-BdNhBF4No6s/Fjd3ieFTpJZ5/lm/0kKX+k6TqFA4Y52G6TLdZO+Zkd7NYhqPpch7yhHRjHQMlTPbp4Y9XapQ4Q=="],
|
||||
|
||||
"react-native-nitro-modules": ["[email protected]", "", { "peerDependencies": { "react": "*", "react-native": "*" } }, "sha512-4qZa+1kgR/sPRNZv+UShxyArEPpovWxw76Dfd/DtCVtkQ92wOOxGIzdYvndprabd+t+r8zNYgYEPYE74gzkuVQ=="],
|
||||
|
||||
"react-native-reanimated": ["[email protected]", "", { "dependencies": { "react-native-is-edge-to-edge": "1.2.1", "semver": "7.7.3" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-worklets": ">=0.7.0" } }, "sha512-/NcHnZMyOvsD/wYXug/YqSKw90P9edN0kEPL5lP4PFf1aQ4F1V7MKe/E0tvfkXKIajy3Qocp5EiEnlcrK/+BZg=="],
|
||||
|
||||
@@ -2526,7 +2509,7 @@
|
||||
|
||||
"split-on-first": ["[email protected]", "", {}, "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw=="],
|
||||
|
||||
"sprintf-js": ["sprintf-js@1.0.3", "", {}, "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="],
|
||||
"sprintf-js": ["sprintf-js@1.1.3", "", {}, "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA=="],
|
||||
|
||||
"stack-utils": ["[email protected]", "", { "dependencies": { "escape-string-regexp": "^2.0.0" } }, "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ=="],
|
||||
|
||||
@@ -2650,8 +2633,6 @@
|
||||
|
||||
"typescript-auto-import-cache": ["[email protected]", "", { "dependencies": { "semver": "^7.3.8" } }, "sha512-RpuHXrknHdVdK7wv/8ug3Fr0WNsNi5l5aB8MYYuXhq2UH5lnEB1htJ1smhtD5VeCsGr2p8mUDtd83LCQDFVgjQ=="],
|
||||
|
||||
"uc.micro": ["[email protected]", "", {}, "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA=="],
|
||||
|
||||
"ufo": ["[email protected]", "", {}, "sha512-yDJTmhydvl5lJzBmy/hyOAA0d+aqCBuwl818haVdYCRrWV84o7YyeVm4QlVHStqNrrJSTb6jKuFAVqAFsr+K3Q=="],
|
||||
|
||||
"ultrahtml": ["[email protected]", "", {}, "sha512-R9fBn90VTJrqqLDwyMph+HGne8eqY1iPfYhPzZrvKpIfwkWZbcYlfpsb8B9dTvBfpy1/hqAD7Wi8EKfP9e8zdw=="],
|
||||
@@ -3014,8 +2995,6 @@
|
||||
|
||||
"log-symbols/chalk": ["[email protected]", "", { "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" } }, "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="],
|
||||
|
||||
"markdown-it/argparse": ["[email protected]", "", { "dependencies": { "sprintf-js": "~1.0.2" } }, "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg=="],
|
||||
|
||||
"mdast-util-find-and-replace/escape-string-regexp": ["[email protected]", "", {}, "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw=="],
|
||||
|
||||
"metro/accepts": ["[email protected]", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],
|
||||
@@ -3054,12 +3033,8 @@
|
||||
|
||||
"parse-png/pngjs": ["[email protected]", "", {}, "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w=="],
|
||||
|
||||
"parse5/entities": ["[email protected]", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="],
|
||||
|
||||
"prompts/kleur": ["[email protected]", "", {}, "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="],
|
||||
|
||||
"prop-types/react-is": ["[email protected]", "", {}, "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="],
|
||||
|
||||
"react-native/babel-plugin-syntax-hermes-parser": ["[email protected]", "", { "dependencies": { "hermes-parser": "0.32.0" } }, "sha512-m5HthL++AbyeEA2FcdwOLfVFvWYECOBObLHNqdR8ceY4TsEdn4LdX2oTvbB2QJSSElE2AWA/b2MXZ/PF/CqLZg=="],
|
||||
|
||||
"react-native/glob": ["[email protected]", "", { "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q=="],
|
||||
@@ -3076,8 +3051,6 @@
|
||||
|
||||
"rimraf/glob": ["[email protected]", "", { "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q=="],
|
||||
|
||||
"roarr/sprintf-js": ["[email protected]", "", {}, "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA=="],
|
||||
|
||||
"rolldown/@rolldown/pluginutils": ["@rolldown/[email protected]", "", {}, "sha512-eybk3TjzzzV97Dlj5c+XrBFW57eTNhzod66y9HrBlzJ6NsCrWCp/2kaPS3K9wJmurBC0Tdw4yPjXKZqlznim3Q=="],
|
||||
|
||||
"rolldown-plugin-dts/@babel/generator": ["@babel/[email protected]", "", { "dependencies": { "@babel/parser": "^8.0.0-rc.2", "@babel/types": "^8.0.0-rc.2", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "@types/jsesc": "^2.5.0", "jsesc": "^3.0.2" } }, "sha512-oCQ1IKPwkzCeJzAPb7Fv8rQ9k5+1sG8mf2uoHiMInPYvkRfrDJxbTIbH51U+jstlkghus0vAi3EBvkfvEsYNLQ=="],
|
||||
@@ -3358,6 +3331,8 @@
|
||||
|
||||
"vite/rolldown/@rolldown/pluginutils": ["@rolldown/[email protected]", "", {}, "sha512-UromN0peaE53IaBRe9W7CjrZgXl90fqGpK+mIZbA3qSTeYqg3pqpROBdIPvOG3F5ereDHNwoHBI2e50n1BDr1g=="],
|
||||
|
||||
"@istanbuljs/load-nyc-config/js-yaml/argparse/sprintf-js": ["[email protected]", "", {}, "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="],
|
||||
|
||||
"@react-native/babel-preset/babel-plugin-syntax-hermes-parser/hermes-parser/hermes-estree": ["[email protected]", "", {}, "sha512-KWn3BqnlDOl97Xe1Yviur6NbgIZ+IP+UVSpshlZWkq+EtoHg6/cwiDj/osP9PCEgFE15KBm1O55JRwbMEm5ejQ=="],
|
||||
|
||||
"@react-native/codegen/glob/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g=="],
|
||||
|
||||
Reference in new issue
Block a user