From c719c1b0e1e9248db148fbfa252fd0a68d82c539 Mon Sep 17 00:00:00 2001 From: Gowtham G Date: Fri, 17 Mar 2023 17:15:23 +0530 Subject: [PATCH] chore(deps): upgrade to react native v71 --- package.json | 8 +- .../__snapshots__/Markdown.spec.tsx.snap | 58 ++ .../__snapshots__/Renderer.spec.ts.snap | 16 + yarn.lock | 764 +++++++++--------- 4 files changed, 478 insertions(+), 368 deletions(-) diff --git a/package.json b/package.json index 11b88d8f..b5f2393c 100644 --- a/package.json +++ b/package.json @@ -59,17 +59,17 @@ "@types/marked": "4.0.8", "@types/node": "^18.11.18", "@types/react": "18.0.28", - "@types/react-native": "0.70.8", + "@types/react-native": "0.71.3", "commitlint": "17.4.4", "danger": "11.2.4", "jest": "29.5.0", "jest-environment-jsdom": "29.5.0", "metro-react-native-babel-preset": "0.76.0", "pod-install": "0.1.38", - "react": "18.1.0", - "react-native": "0.70.7", + "react": "18.2.0", + "react-native": "0.71.4", "react-native-builder-bob": "0.20.4", - "react-test-renderer": "18.1.0", + "react-test-renderer": "18.2.0", "reassure": "0.7.2", "release-it": "15.9.0", "rome": "11.0.0", diff --git a/src/lib/__tests__/__snapshots__/Markdown.spec.tsx.snap b/src/lib/__tests__/__snapshots__/Markdown.spec.tsx.snap index 5a374f63..ed67f532 100644 --- a/src/lib/__tests__/__snapshots__/Markdown.spec.tsx.snap +++ b/src/lib/__tests__/__snapshots__/Markdown.spec.tsx.snap @@ -68,6 +68,7 @@ exports[`Blockquotes Blockquote 1`] = ` > @@ -207,6 +208,7 @@ exports[`Blockquotes Blockquotes with Multiple Paragraphs 1`] = ` > @@ -546,6 +548,7 @@ exports[`Blockquotes Blockquotes with Other Elements 1`] = ` > @@ -948,6 +951,7 @@ exports[`Blockquotes Nested Blockquotes 1`] = ` > @@ -990,6 +994,7 @@ exports[`Blockquotes Nested Blockquotes 1`] = ` @@ -1106,6 +1111,7 @@ exports[`Code Code Blocks (backtick) 1`] = ` > @@ -1200,6 +1206,7 @@ exports[`Code Code Blocks 1`] = ` > @@ -1318,6 +1325,7 @@ exports[`Code Code Span 1`] = ` > @@ -1468,6 +1476,7 @@ exports[`Emphasis Bold 1`] = ` > @@ -1640,6 +1649,7 @@ exports[`Emphasis Bold and Italic 1`] = ` > @@ -1812,6 +1822,7 @@ exports[`Emphasis Italic 1`] = ` > @@ -1973,6 +1984,7 @@ exports[`Emphasis Strikethrough 1`] = ` > @@ -2111,6 +2123,7 @@ exports[`Escaping Characters Render 1`] = ` > @@ -2291,6 +2304,7 @@ exports[`HTML Render 1`] = ` > @@ -2466,6 +2480,7 @@ exports[`Headings Alternate Syntax: Heading level 1 1`] = ` > @@ -2568,6 +2583,7 @@ exports[`Headings Alternate Syntax: Heading level 2 1`] = ` > @@ -2722,6 +2738,7 @@ exports[`Headings Best Practice 1`] = ` > @@ -2753,6 +2770,7 @@ exports[`Headings Best Practice 1`] = ` @@ -2790,6 +2808,7 @@ exports[`Headings Best Practice 1`] = ` @@ -2887,6 +2906,7 @@ exports[`Headings Heading level 1 1`] = ` > @@ -2989,6 +3009,7 @@ exports[`Headings Heading level 2 1`] = ` > @@ -3084,6 +3105,7 @@ exports[`Headings Heading level 3 1`] = ` > @@ -3173,6 +3195,7 @@ exports[`Headings Heading level 4 1`] = ` > @@ -3262,6 +3285,7 @@ exports[`Headings Heading level 5 1`] = ` > @@ -3351,6 +3375,7 @@ exports[`Headings Heading level 6 1`] = ` > @@ -3424,6 +3449,7 @@ exports[`Horizontal Rules Asterisks 1`] = ` > @@ -3481,6 +3507,7 @@ exports[`Horizontal Rules Dashes 1`] = ` > @@ -3590,6 +3617,7 @@ exports[`Horizontal Rules Horizontal Rule with Paragraph 1`] = ` > @@ -3621,6 +3649,7 @@ exports[`Horizontal Rules Horizontal Rule with Paragraph 1`] = ` @@ -3635,6 +3664,7 @@ exports[`Horizontal Rules Horizontal Rule with Paragraph 1`] = ` /> @@ -3709,6 +3739,7 @@ exports[`Horizontal Rules Underscores 1`] = ` > @@ -3783,6 +3814,7 @@ exports[`Images Linking Images 1`] = ` > @@ -3799,6 +3831,14 @@ exports[`Images Linking Images 1`] = ` @@ -4046,6 +4087,7 @@ And the next line. > @@ -4155,6 +4197,7 @@ exports[`Line Breaks Trailing slash 1`] = ` > @@ -4300,6 +4343,7 @@ exports[`Links Basic 1`] = ` > @@ -4567,6 +4611,7 @@ See the section on > @@ -4834,6 +4879,7 @@ exports[`Links Titles 1`] = ` > @@ -5018,6 +5064,7 @@ exports[`Links URLs and Email Addresses 1`] = ` > @@ -5064,6 +5111,7 @@ exports[`Links URLs and Email Addresses 1`] = ` @@ -5325,6 +5373,7 @@ exports[`Lists Elements in Lists: Blockquotes 1`] = ` > @@ -5793,6 +5842,7 @@ exports[`Lists Elements in Lists: Code Blocks 1`] = ` > @@ -6271,6 +6321,7 @@ exports[`Lists Elements in Lists: Images 1`] = ` > @@ -6907,6 +6958,7 @@ exports[`Lists Elements in Lists: Lists 1`] = ` > @@ -7560,6 +7612,7 @@ exports[`Lists Elements in Lists: Paragraphs 1`] = ` > @@ -8141,6 +8194,7 @@ exports[`Lists Ordered Lists 1`] = ` > @@ -8912,6 +8966,7 @@ exports[`Lists Unordered Lists 1`] = ` > @@ -9447,6 +9502,7 @@ exports[`Paragraphs Paragraph 1`] = ` > @@ -9478,6 +9534,7 @@ exports[`Paragraphs Paragraph 1`] = ` @@ -9584,6 +9641,7 @@ exports[`Paragraphs Paragraph with Image 1`] = ` > diff --git a/src/lib/__tests__/__snapshots__/Renderer.spec.ts.snap b/src/lib/__tests__/__snapshots__/Renderer.spec.ts.snap index 6f1773e5..1911dd9b 100644 --- a/src/lib/__tests__/__snapshots__/Renderer.spec.ts.snap +++ b/src/lib/__tests__/__snapshots__/Renderer.spec.ts.snap @@ -70,6 +70,14 @@ exports[`Renderer dark theme getImageLinkNode returns a Image Link node 1`] = `