docstring_tokens
stringlengths 18
16.9k
| code_tokens
stringlengths 75
1.81M
| html_url
stringlengths 74
116
| file_name
stringlengths 3
311
|
---|---|---|---|
keep keep keep keep replace keep keep replace keep keep | <mask> <tr>
<mask> <td>
<mask> <div
<mask> data-testid="<subpropertyAnchor><inlineCode>autoVerify</inlineCode></subpropertyAnchor>"
<mask> style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
<mask> >
<mask> <div
<mask> class="css-100y9e2 "
<mask> data-text="true"
<mask> >
</s> [docs] Update font and styles (#10080) </s> remove style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
</s> add style="margin-left: 32px; display: list-item; list-style-type: default; overflow-x: visible;" </s> remove style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
</s> add style="margin-left: 32px; display: list-item; list-style-type: default; overflow-x: visible;" </s> remove style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
</s> add style="margin-left: 32px; display: list-item; list-style-type: default; overflow-x: visible;" </s> remove style="margin-left: 76px; display: list-item; list-style-type: circle; overflow-x: visible;"
</s> add style="margin-left: 64px; display: list-item; list-style-type: circle; overflow-x: visible;" </s> remove style="margin-left: 76px; display: list-item; list-style-type: circle; overflow-x: visible;"
</s> add style="margin-left: 64px; display: list-item; list-style-type: circle; overflow-x: visible;" | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep keep keep replace keep keep keep keep keep | <mask> class="css-100y9e2 "
<mask> data-text="true"
<mask> >
<mask> <div
<mask> class="css-i07u6a"
<mask> >
<mask> <span
<mask> class="css-1fj428k"
<mask> id="autoverify"
<mask> />
</s> [docs] Update font and styles (#10080) </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove <div
class="css-i07u6a"
</s> add <code
class="css-1aurupk inline" | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep keep replace replace keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace | <mask> <svg
<mask> aria-label="permalink"
<mask> class="anchor-icon"
<mask> version="1.1"
<mask> viewBox="0 0 11 11"
<mask> xmlns="http://www.w3.org/2000/svg"
<mask> >
<mask> <g
<mask> fill="none"
<mask> fill-rule="evenodd"
<mask> stroke="none"
<mask> stroke-width="1"
<mask> >
<mask> <g
<mask> fill="#9B9B9B"
<mask> transform="translate(-432.000000, -181.000000)"
<mask> >
<mask> <path
<mask> d="M442.36949,184.673746 L440.543368,186.500079 C440.047223,186.996013 439.369736,187.191548 438.72445,187.101937 L439.934732,185.891655 L441.760854,184.065321 C442.26505,183.561549 442.26505,182.743395 441.760854,182.238988 C441.256658,181.735003 440.438928,181.735003 439.934732,182.238988 L438.10861,184.065321 L436.897904,185.275815 C436.808293,184.630529 437.003616,183.95283 437.499762,183.456684 L439.325883,181.630775 C440.166281,180.789742 441.528881,180.789742 442.369278,181.630775 C443.209887,182.470748 443.209887,183.833772 442.36949,184.673746 L442.36949,184.673746 Z M438.717247,185.891655 L436.891125,187.717565 L436.282277,187.108928 L438.10861,185.282594 L438.717247,185.891655 L438.717247,185.891655 Z M433.238882,188.934838 C432.734686,189.439246 432.734686,190.256552 433.238882,190.760959 C433.743078,191.265579 434.560807,191.265579 435.065003,190.760959 L436.891125,188.934838 L438.101619,187.724344 C438.191442,188.369842 437.996119,189.047329 437.499974,189.543474 L435.673852,191.369384 C434.833455,192.210205 433.470854,192.210205 432.630457,191.369384 C431.789848,190.529411 431.789848,189.166387 432.630457,188.326413 L434.456579,186.500079 C434.952724,186.003722 435.630423,185.808399 436.275709,185.898222 L435.065215,187.108928 L433.238882,188.934838 L433.238882,188.934838 Z"
<mask> />
<mask> </g>
<mask> </g>
</s> [docs] Update font and styles (#10080) | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep keep keep replace keep keep keep keep keep | <mask> <div
<mask> class="permalink-child"
<mask> >
<mask> <code
<mask> class="css-7zpg9q inline"
<mask> >
<mask> autoVerify
<mask> </code>
<mask> </div>
<mask> </div>
</s> [docs] Update font and styles (#10080) </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep replace keep keep keep replace keep keep keep | <mask> >
<mask> <div
<mask> class="css-100y9e2 "
<mask> data-text="true"
<mask> >
<mask> <strong
<mask> class="css-utowyr"
<mask> >
<mask> (boolean)
<mask> </strong>
</s> [docs] Update font and styles (#10080) | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep replace keep keep replace keep keep | <mask> <div
<mask> data-testid="<subpropertyAnchor><inlineCode>data</inlineCode></subpropertyAnchor>"
<mask> style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
<mask> >
<mask> <div
<mask> class="css-100y9e2 "
<mask> data-text="true"
<mask> >
</s> [docs] Update font and styles (#10080) </s> remove style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
</s> add style="margin-left: 32px; display: list-item; list-style-type: default; overflow-x: visible;" </s> remove style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
</s> add style="margin-left: 32px; display: list-item; list-style-type: default; overflow-x: visible;" </s> remove style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
</s> add style="margin-left: 32px; display: list-item; list-style-type: default; overflow-x: visible;" </s> remove class="css-100y9e2 "
</s> add class="css-12onb79 " </s> remove class="css-100y9e2 "
</s> add class="css-12onb79 " | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep keep keep replace keep keep keep keep keep | <mask> class="css-100y9e2 "
<mask> data-text="true"
<mask> >
<mask> <div
<mask> class="css-i07u6a"
<mask> >
<mask> <span
<mask> class="css-1fj428k"
<mask> id="data"
<mask> />
</s> [docs] Update font and styles (#10080) </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove <div
class="css-i07u6a"
</s> add <code
class="css-1aurupk inline" | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep keep replace replace keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep | <mask> <svg
<mask> aria-label="permalink"
<mask> class="anchor-icon"
<mask> version="1.1"
<mask> viewBox="0 0 11 11"
<mask> xmlns="http://www.w3.org/2000/svg"
<mask> >
<mask> <g
<mask> fill="none"
<mask> fill-rule="evenodd"
<mask> stroke="none"
<mask> stroke-width="1"
<mask> >
<mask> <g
<mask> fill="#9B9B9B"
<mask> transform="translate(-432.000000, -181.000000)"
<mask> >
<mask> <path
<mask> d="M442.36949,184.673746 L440.543368,186.500079 C440.047223,186.996013 439.369736,187.191548 438.72445,187.101937 L439.934732,185.891655 L441.760854,184.065321 C442.26505,183.561549 442.26505,182.743395 441.760854,182.238988 C441.256658,181.735003 440.438928,181.735003 439.934732,182.238988 L438.10861,184.065321 L436.897904,185.275815 C436.808293,184.630529 437.003616,183.95283 437.499762,183.456684 L439.325883,181.630775 C440.166281,180.789742 441.528881,180.789742 442.369278,181.630775 C443.209887,182.470748 443.209887,183.833772 442.36949,184.673746 L442.36949,184.673746 Z M438.717247,185.891655 L436.891125,187.717565 L436.282277,187.108928 L438.10861,185.282594 L438.717247,185.891655 L438.717247,185.891655 Z M433.238882,188.934838 C432.734686,189.439246 432.734686,190.256552 433.238882,190.760959 C433.743078,191.265579 434.560807,191.265579 435.065003,190.760959 L436.891125,188.934838 L438.101619,187.724344 C438.191442,188.369842 437.996119,189.047329 437.499974,189.543474 L435.673852,191.369384 C434.833455,192.210205 433.470854,192.210205 432.630457,191.369384 C431.789848,190.529411 431.789848,189.166387 432.630457,188.326413 L434.456579,186.500079 C434.952724,186.003722 435.630423,185.808399 436.275709,185.898222 L435.065215,187.108928 L433.238882,188.934838 L433.238882,188.934838 Z"
<mask> />
<mask> </g>
<mask> </g>
<mask> </svg>
<mask> </a>
<mask> <div
<mask> class="permalink-child"
</s> [docs] Update font and styles (#10080) | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep keep keep replace keep keep keep keep keep | <mask> <div
<mask> class="permalink-child"
<mask> >
<mask> <code
<mask> class="css-7zpg9q inline"
<mask> >
<mask> data
<mask> </code>
<mask> </div>
<mask> </div>
</s> [docs] Update font and styles (#10080) </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep replace keep keep keep replace | <mask> >
<mask> <div
<mask> class="css-100y9e2 "
<mask> data-text="true"
<mask> >
<mask> <strong
<mask> class="css-utowyr"
</s> [docs] Update font and styles (#10080) | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep keep replace keep keep replace keep keep | <mask> <td>
<mask> <div
<mask> data-testid="<subpropertyAnchor><inlineCode>host</inlineCode></subpropertyAnchor>"
<mask> style="margin-left: 76px; display: list-item; list-style-type: circle; overflow-x: visible;"
<mask> >
<mask> <div
<mask> class="css-100y9e2 "
<mask> data-text="true"
<mask> >
</s> [docs] Update font and styles (#10080) </s> remove style="margin-left: 76px; display: list-item; list-style-type: circle; overflow-x: visible;"
</s> add style="margin-left: 64px; display: list-item; list-style-type: circle; overflow-x: visible;" </s> remove class="css-100y9e2 "
</s> add class="css-12onb79 " </s> remove style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
</s> add style="margin-left: 32px; display: list-item; list-style-type: default; overflow-x: visible;" </s> remove style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
</s> add style="margin-left: 32px; display: list-item; list-style-type: default; overflow-x: visible;" </s> remove style="margin-left: 44px; display: list-item; list-style-type: default; overflow-x: visible;"
</s> add style="margin-left: 32px; display: list-item; list-style-type: default; overflow-x: visible;" | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep keep keep replace keep keep keep keep keep | <mask> class="css-100y9e2 "
<mask> data-text="true"
<mask> >
<mask> <div
<mask> class="css-i07u6a"
<mask> >
<mask> <span
<mask> class="css-1fj428k"
<mask> id="host"
<mask> />
</s> [docs] Update font and styles (#10080) </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove class="css-i07u6a"
</s> add class="css-3t0ask" </s> remove <div
class="css-i07u6a"
</s> add <code
class="css-1aurupk inline" | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep replace replace keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep | <mask> class="anchor-icon"
<mask> version="1.1"
<mask> viewBox="0 0 11 11"
<mask> xmlns="http://www.w3.org/2000/svg"
<mask> >
<mask> <g
<mask> fill="none"
<mask> fill-rule="evenodd"
<mask> stroke="none"
<mask> stroke-width="1"
<mask> >
<mask> <g
<mask> fill="#9B9B9B"
<mask> transform="translate(-432.000000, -181.000000)"
<mask> >
<mask> <path
<mask> d="M442.36949,184.673746 L440.543368,186.500079 C440.047223,186.996013 439.369736,187.191548 438.72445,187.101937 L439.934732,185.891655 L441.760854,184.065321 C442.26505,183.561549 442.26505,182.743395 441.760854,182.238988 C441.256658,181.735003 440.438928,181.735003 439.934732,182.238988 L438.10861,184.065321 L436.897904,185.275815 C436.808293,184.630529 437.003616,183.95283 437.499762,183.456684 L439.325883,181.630775 C440.166281,180.789742 441.528881,180.789742 442.369278,181.630775 C443.209887,182.470748 443.209887,183.833772 442.36949,184.673746 L442.36949,184.673746 Z M438.717247,185.891655 L436.891125,187.717565 L436.282277,187.108928 L438.10861,185.282594 L438.717247,185.891655 L438.717247,185.891655 Z M433.238882,188.934838 C432.734686,189.439246 432.734686,190.256552 433.238882,190.760959 C433.743078,191.265579 434.560807,191.265579 435.065003,190.760959 L436.891125,188.934838 L438.101619,187.724344 C438.191442,188.369842 437.996119,189.047329 437.499974,189.543474 L435.673852,191.369384 C434.833455,192.210205 433.470854,192.210205 432.630457,191.369384 C431.789848,190.529411 431.789848,189.166387 432.630457,188.326413 L434.456579,186.500079 C434.952724,186.003722 435.630423,185.808399 436.275709,185.898222 L435.065215,187.108928 L433.238882,188.934838 L433.238882,188.934838 Z"
<mask> />
<mask> </g>
<mask> </g>
<mask> </svg>
<mask> </a>
</s> [docs] Update font and styles (#10080) | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep keep keep keep replace keep keep keep keep keep | <mask> <div
<mask> class="permalink-child"
<mask> >
<mask> <code
<mask> class="css-7zpg9q inline"
<mask> >
<mask> host
<mask> </code>
<mask> </div>
<mask> </div>
</s> [docs] Update font and styles (#10080) </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" </s> remove class="css-7zpg9q inline"
</s> add class="css-1aurupk inline" | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
keep replace keep keep keep replace keep keep keep | <mask> <div
<mask> class="css-100y9e2 "
<mask> data-text="true"
<mask> >
<mask> <strong
<mask> class="css-utowyr"
<mask> >
<mask> (string)
<mask> </strong>
</s> [docs] Update font and styles (#10080) | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/components/plugins/__snapshots__/AppConfigSchemaPropertiesTable.test.js.snap |
add keep keep keep keep keep | <mask> import * as Constants from '~/common/constants';
<mask>
<mask> export const globalExtras = `
<mask> img.wide-image {
<mask> max-width: 900px;
<mask> }
</s> [docs] Update font and styles (#10080) </s> add import { paragraph } from '~/components/base/typography'; </s> add import { paragraph } from '~/components/base/typography'; </s> add import { paragraph } from '~/components/base/typography'; </s> add import * as Constants from '~/common/constants';
import { paragraph } from './typography';
</s> add import { InlineCode } from '~/components/base/code';
import { H4 } from '~/components/base/headings'; </s> add import * as Constants from '~/common/constants';
import { P } from '~/components/base/paragraph'; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep keep keep replace replace replace replace keep replace replace keep keep keep | <mask> outline: none;
<mask> }
<mask>
<mask> blockquote {
<mask> background: #fbfbfb;
<mask> }
<mask>
<mask> details {
<mask> margin-bottom: 20px;
<mask> padding-top: 20px;
<mask> }
<mask>
<mask> details summary {
</s> [docs] Update font and styles (#10080) </s> remove margin-bottom: 15px;
</s> add margin-bottom: 0.5rem; </s> remove font-family: expo-brand-bold,sans-serif;
</s> add font-weight: 500; </s> remove font-family: expo-brand-bold,sans-serif;
</s> add font-weight: 500;
font-family: ${Constants.fonts.demi};
color: ${Constants.colors.black90}; </s> remove margin-top: 10px;
margin-right: 15px;
line-height: 1.725rem;
letter-spacing: 0.2px;
</s> add margin-top: 0.5rem;
margin-right: 1rem;
line-height: 160%; </s> add font-family: ${Constants.fonts.demi};
color: ${Constants.colors.black90}; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep keep replace keep keep keep keep replace | <mask> outline: none;
<mask> cursor: pointer;
<mask> margin-bottom: 15px;
<mask> }
<mask>
<mask> details summary h3 {
<mask> font-size: 1.2rem;
<mask> font-family: expo-brand-bold,sans-serif;
</s> [docs] Update font and styles (#10080) </s> remove margin-bottom: 20px;
padding-top: 20px;
</s> add margin-bottom: 1rem;
padding-top: 1rem; </s> remove font-family: expo-brand-bold,sans-serif;
</s> add font-weight: 500; </s> remove display: flex;
font-family: ${Constants.fonts.demi};
</s> add font-family: ${Constants.fonts.bold}; </s> remove line-height: 1.3rem;
</s> add </s> add font-family: ${Constants.fonts.demi};
color: ${Constants.colors.black90}; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep keep add keep keep keep keep | <mask> }
<mask>
<mask> details summary h4 {
<mask> font-size: 1.1rem;
<mask> font-weight: 500;
<mask> display: inline;
<mask> }
</s> [docs] Update font and styles (#10080) </s> remove font-family: expo-brand-bold,sans-serif;
</s> add font-weight: 500; </s> remove font-family: expo-brand-bold,sans-serif;
</s> add font-weight: 500;
font-family: ${Constants.fonts.demi};
color: ${Constants.colors.black90}; </s> remove margin-top: 10px;
margin-right: 15px;
line-height: 1.725rem;
letter-spacing: 0.2px;
</s> add margin-top: 0.5rem;
margin-right: 1rem;
line-height: 160%; </s> remove margin-bottom: 15px;
</s> add margin-bottom: 0.5rem; </s> add ${paragraph}
font-size: inherit; </s> remove margin-bottom: 20px;
padding-top: 20px;
</s> add margin-bottom: 1rem;
padding-top: 1rem; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep keep replace keep keep keep keep replace replace replace replace | <mask> details summary h4 {
<mask> font-size: 1.1rem;
<mask> font-family: expo-brand-bold,sans-serif;
<mask> display: inline;
<mask> }
<mask>
<mask> details summary p {
<mask> margin-top: 10px;
<mask> margin-right: 15px;
<mask> line-height: 1.725rem;
<mask> letter-spacing: 0.2px;
</s> [docs] Update font and styles (#10080) </s> remove font-family: expo-brand-bold,sans-serif;
</s> add font-weight: 500;
font-family: ${Constants.fonts.demi};
color: ${Constants.colors.black90}; </s> add font-family: ${Constants.fonts.demi};
color: ${Constants.colors.black90}; </s> remove margin-bottom: 15px;
</s> add margin-bottom: 0.5rem; </s> remove margin-bottom: 20px;
padding-top: 20px;
</s> add margin-bottom: 1rem;
padding-top: 1rem; </s> remove margin-left: 15px;
</s> add margin-left: 1rem; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep replace keep keep keep replace keep | <mask> details p {
<mask> margin-left: 15px;
<mask> }
<mask>
<mask> .snack-inline-example-button {
<mask> display: inline-block;
<mask> border: none;
</s> [docs] Update font and styles (#10080) </s> remove border-radius: 3px;
padding: 0.8rem 1rem;
</s> add border-radius: 4px;
padding: 0 16px;
height: 40px; </s> remove margin-top: 10px;
margin-right: 15px;
line-height: 1.725rem;
letter-spacing: 0.2px;
</s> add margin-top: 0.5rem;
margin-right: 1rem;
line-height: 160%; </s> remove font-family: expo-brand-bold,sans-serif;
</s> add font-weight: 500; </s> remove margin-bottom: 15px;
</s> add margin-bottom: 0.5rem; </s> remove margin-bottom: 20px;
padding-top: 20px;
</s> add margin-bottom: 1rem;
padding-top: 1rem; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep keep replace replace keep keep keep replace replace replace keep keep | <mask> display: inline-block;
<mask> border: none;
<mask> border-radius: 3px;
<mask> padding: 0.8rem 1rem;
<mask> margin: 0;
<mask> margin-bottom: 0.5rem;
<mask> text-decoration: none;
<mask> background: #5844ed;
<mask> color: #ffffff;
<mask> font-family: sans-serif;
<mask> font-size: 1rem;
<mask> cursor: pointer;
</s> [docs] Update font and styles (#10080) </s> remove display: inline-block;
</s> add display: grid;
grid-template-columns: 16px 1fr;
grid-gap: 8px;
align-items: center; </s> remove text-align: center;
transition: background 250ms ease-in-out,
transform 150ms ease;
</s> add </s> remove margin-bottom: 20px;
padding-top: 20px;
</s> add margin-bottom: 1rem;
padding-top: 1rem; </s> remove margin-bottom: 15px;
</s> add margin-bottom: 0.5rem; </s> remove display: flex;
font-family: ${Constants.fonts.demi};
</s> add font-family: ${Constants.fonts.bold}; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep keep keep keep replace replace replace keep keep keep keep keep | <mask> color: #ffffff;
<mask> font-family: sans-serif;
<mask> font-size: 1rem;
<mask> cursor: pointer;
<mask> text-align: center;
<mask> transition: background 250ms ease-in-out,
<mask> transform 150ms ease;
<mask> -webkit-appearance: none;
<mask> -moz-appearance: none;
<mask> }
<mask>
<mask> .snack-inline-example-button:hover, .snack-inline-example-button:focus {
</s> [docs] Update font and styles (#10080) </s> remove background: #5844ed;
color: #ffffff;
font-family: sans-serif;
</s> add background: ${Constants.expoColors.primary[500]};;
color: ${Constants.expoColors.white};;
font-family: ${Constants.fontFamilies.book};; </s> add transition: all 170ms linear; </s> remove background: #322596;
</s> add box-shadow: 0 2px 8px rgba(0, 1, 0, 0.2);
opacity: 0.85; </s> remove height: 100%;
</s> add </s> remove margin-bottom: 15px;
</s> add margin-bottom: 0.5rem; </s> remove display: flex;
font-family: ${Constants.fonts.demi};
</s> add font-family: ${Constants.fonts.bold}; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep keep add keep keep keep keep | <mask> cursor: pointer;
<mask> -webkit-appearance: none;
<mask> -moz-appearance: none;
<mask> }
<mask>
<mask> .snack-inline-example-button:hover, .snack-inline-example-button:focus {
<mask> box-shadow: 0 2px 8px rgba(0, 1, 0, 0.2);
</s> [docs] Update font and styles (#10080) </s> remove background: #322596;
</s> add box-shadow: 0 2px 8px rgba(0, 1, 0, 0.2);
opacity: 0.85; </s> remove text-align: center;
transition: background 250ms ease-in-out,
transform 150ms ease;
</s> add </s> add background-color: ${Constants.expoColors.white};
border: 1px solid ${Constants.expoColors.gray[250]};
box-shadow: 0 2px 2px 0 rgba(0, 0, 20, 0.015), 0 0 0 1px rgba(0, 0, 20, 0.0075);
:hover {
background-color: ${Constants.expoColors.gray[100]};
} </s> add background: ${Constants.expoColors.gray[200]};
padding: 8px 16px;
border-radius: 4px;
color: ${Constants.expoColors.black};
</s> remove padding: 10px;
padding-left: 15px;
margin-top: -5px;
</s> add padding: 8px 16px; </s> remove line-height: 1.3rem;
</s> add | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep keep replace keep keep keep replace replace keep keep keep keep | <mask>
<mask> .snack-inline-example-button:hover, .snack-inline-example-button:focus {
<mask> background: #322596;
<mask> }
<mask>
<mask> .snack-inline-example-button:focus {
<mask> outline: 1px solid #fff;
<mask> outline-offset: -4px;
<mask> }
<mask>
<mask> .snack-inline-example-button:active {
<mask> transform: scale(0.99);
</s> [docs] Update font and styles (#10080) </s> remove transform: scale(0.99);
</s> add outline: 0;
border: 0; </s> add transition: all 170ms linear; </s> remove text-align: center;
transition: background 250ms ease-in-out,
transform 150ms ease;
</s> add </s> remove padding: 24px 24px 24px 32px;
</s> add padding: 40px 56px; </s> remove @media screen and (min-width: ${Constants.breakpoints.mobileStrict}) {
</s> add @media screen and (min-width: ${Constants.breakpoints.mobile}) { | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep keep keep keep replace keep keep keep keep keep | <mask> outline-offset: -4px;
<mask> }
<mask>
<mask> .snack-inline-example-button:active {
<mask> transform: scale(0.99);
<mask> }
<mask>
<mask> .diff-container {
<mask> border: 1px solid #e3e3e3;
<mask> border-radius: 2px;
</s> [docs] Update font and styles (#10080) </s> remove outline: 1px solid #fff;
outline-offset: -4px;
</s> add outline: 0;
border: 0; </s> remove border: 1px solid ${Constants.colors.border};
</s> add border: none; </s> remove background: #322596;
</s> add box-shadow: 0 2px 8px rgba(0, 1, 0, 0.2);
opacity: 0.85; </s> remove background-color: ${Constants.expoColors.gray[200]};
border-radius: 2px;
</s> add background-color: ${Constants.expoColors.gray[100]};
border: 1px solid ${Constants.expoColors.gray[250]};
border-radius: 4px; </s> remove border: 1px solid ${Constants.colors.border};
</s> add border: 1px solid ${Constants.expoColors.gray[250]}; </s> remove
::before {
content: '';
}
::after {
content: '';
}
</s> add | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/extras.js |
keep replace replace keep keep keep keep replace replace keep keep | <mask> font-family: '${Constants.fonts.bold}';
<mask> src: url('/static/fonts/MaisonNeue-Bold.woff2');
<mask> src: url('/static/fonts/MaisonNeue-Bold.woff') format('woff');
<mask> }
<mask>
<mask> @font-face {
<mask> font-family: ${Constants.fonts.book};
<mask> src: url('/static/fonts/MaisonNeue-Book.woff2');
<mask> src: url('/static/fonts/MaisonNeue-Book.woff') format('woff');
<mask> }
<mask>
</s> [docs] Update font and styles (#10080) </s> remove src: url('/static/fonts/MaisonNeue-Demi.woff2');
src: url('/static/fonts/MaisonNeue-Demi.woff') format('woff');
}
@font-face {
font-family: ${Constants.fonts.light};
src: url('/static/fonts/MaisonNeue-Light.woff2');
src: url('/static/fonts/MaisonNeue-Light.woff') format('woff');
</s> add font-style: normal;
font-weight: 500;
src: url("/static/fonts/Inter-Medium.woff2?v=3.15") format("woff2"),
url("/static/fonts/Inter-Medium.woff?v=3.15") format("woff"); </s> remove src: url('/static/fonts/Menlo-Regular.woff2');
src: url('/static/fonts/Menlo-Regular.woff') format('woff');
</s> add src: url('/static/fonts/Menlo-Regular.woff2'),
url('/static/fonts/Menlo-Regular.woff') format('woff'); </s> add background: ${Constants.expoColors.black};
padding: 8px; </s> remove font-size: 1rem;
line-height: 1.725rem;
</s> add ${paragraph}, </s> remove font-family: ${Constants.fonts.book};
line-height: 1.75rem;
font-size: 1.5rem;
</s> add ${h2} | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/fonts.js |
keep replace replace replace replace replace replace replace replace keep keep keep keep replace replace | <mask> font-family: ${Constants.fonts.demi};
<mask> src: url('/static/fonts/MaisonNeue-Demi.woff2');
<mask> src: url('/static/fonts/MaisonNeue-Demi.woff') format('woff');
<mask> }
<mask>
<mask> @font-face {
<mask> font-family: ${Constants.fonts.light};
<mask> src: url('/static/fonts/MaisonNeue-Light.woff2');
<mask> src: url('/static/fonts/MaisonNeue-Light.woff') format('woff');
<mask> }
<mask>
<mask> @font-face {
<mask> font-family: ${Constants.fonts.mono};
<mask> src: url('/static/fonts/Menlo-Regular.woff2');
<mask> src: url('/static/fonts/Menlo-Regular.woff') format('woff');
</s> [docs] Update font and styles (#10080) </s> remove src: url('/static/fonts/MaisonNeue-Book.woff2');
src: url('/static/fonts/MaisonNeue-Book.woff') format('woff');
</s> add font-style: normal;
font-weight: 400;
src: url("/static/fonts/Inter-Regular.woff2?v=3.15") format("woff2"),
url("/static/fonts/Inter-Regular.woff?v=3.15") format("woff"); </s> remove src: url('/static/fonts/MaisonNeue-Bold.woff2');
src: url('/static/fonts/MaisonNeue-Bold.woff') format('woff');
</s> add font-style: normal;
font-weight: 600;
src: url("/static/fonts/Inter-SemiBold.woff2?v=3.15") format("woff2"),
url("/static/fonts/Inter-SemiBold.woff?v=3.15") format("woff"); </s> remove font-family: expo-brand-bold,sans-serif;
</s> add font-weight: 500;
font-family: ${Constants.fonts.demi};
color: ${Constants.colors.black90}; </s> remove display: flex;
font-family: ${Constants.fonts.demi};
</s> add font-family: ${Constants.fonts.bold}; </s> add font-family: ${Constants.fonts.demi};
color: ${Constants.colors.black90}; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/fonts.js |
keep replace keep replace | <mask> font-size: 0.8rem;
<mask> line-height: 1.2rem;
<mask> border-collapse: collapse;
<mask> border: 1px solid ${Constants.colors.border};
</s> [docs] Update font and styles (#10080) </s> remove border: 1px solid ${Constants.colors.border};
padding: 24px;
margin: 16px 0 16px 0;
</s> add border: 1px solid ${Constants.expoColors.gray[250]};
padding: 16px;
margin: 16px 0; </s> remove border: 1px solid ${Constants.colors.border};
</s> add border: none; </s> remove font-family: ${Constants.fonts.book};
line-height: 1.75rem;
font-size: 1.5rem;
</s> add ${h2} </s> remove border-bottom: 1px solid ${Constants.colors.border};
border-right: 1px solid ${Constants.colors.border};
</s> add border-bottom: 1px solid ${Constants.expoColors.gray[250]};
border-right: 1px solid ${Constants.expoColors.gray[250]};
</s> remove border-left: 1px solid ${Constants.colors.border};
border-right: 1px solid ${Constants.colors.border};
</s> add border-left: 1px solid ${Constants.expoColors.gray[250]};
border-right: 1px solid ${Constants.expoColors.gray[250]}; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/tables.js |
keep keep keep keep replace keep keep keep keep keep | <mask> width: 100%;
<mask> }
<mask>
<mask> thead {
<mask> border-radius: 4px 4px 0 0;
<mask> text-align: left;
<mask> }
<mask>
<mask> td, th {
<mask> padding: 16px;
</s> [docs] Update font and styles (#10080) </s> add background: ${Constants.expoColors.gray[100]}; </s> remove font-family: ${Constants.fontFamilies.book};
padding: 12px 24px;
border-left: 5px solid ${Constants.colors.darkGrey};
margin: 0 0 1.5rem 0;
color: ${Constants.colors.black80};
</s> add ${paragraph}
display: grid;
grid-template-columns: auto 1fr;
grid-gap: 12px;
padding: 12px;
margin-bottom: 1rem;
border-left: 4px solid ${Constants.expoColors.gray[250]};
background: ${Constants.expoColors.gray[100]};
border-radius: 4px; </s> remove border-bottom: 1px solid ${Constants.colors.border};
border-right: 1px solid ${Constants.colors.border};
</s> add border-bottom: 1px solid ${Constants.expoColors.gray[250]};
border-right: 1px solid ${Constants.expoColors.gray[250]};
</s> remove padding: 10px;
padding-left: 15px;
margin-top: -5px;
</s> add padding: 8px 16px; </s> remove border: 1px solid ${Constants.colors.border};
</s> add border: 1px solid ${Constants.expoColors.gray[250]}; </s> remove max-width: ${Constants.breakpoints.mobileStrictValue - 32}px;
font-size: 16px;
padding: 1px 36px 0 36px;
border-radius: 2px;
</s> add max-width: ${Constants.breakpoints.mobileValue - 32}px;
padding: 0 16px 0 40px;
border-radius: 4px; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/tables.js |
keep add keep keep keep keep keep | <mask> border-radius: 4px;
<mask> text-align: left;
<mask> }
<mask>
<mask> td, th {
<mask> padding: 16px;
<mask> border-bottom: 1px solid ${Constants.expoColors.gray[250]};
</s> [docs] Update font and styles (#10080) </s> remove border-radius: 4px 4px 0 0;
</s> add border-radius: 4px; </s> remove border-bottom: 1px solid ${Constants.colors.border};
border-right: 1px solid ${Constants.colors.border};
</s> add border-bottom: 1px solid ${Constants.expoColors.gray[250]};
border-right: 1px solid ${Constants.expoColors.gray[250]};
</s> remove border-top: 1px solid ${Constants.colors.border};
</s> add border-top: 1px solid ${Constants.expoColors.gray[250]}; </s> remove margin-top: 2.2rem;
padding-bottom: 0.3rem;
border-bottom: 1px solid ${Constants.colors.border};
</s> add margin-top: 2rem;
padding-bottom: 0.25rem;
border-bottom: 1px solid ${Constants.expoColors.gray[250]};
code {
${h2}
font-family: ${Constants.fontFamilies.mono};
padding: 1px 8px;
border-radius: 4px;
} </s> remove width: auto;
max-width: 1440px;
</s> add </s> remove border: 1px solid ${Constants.colors.border};
</s> add border: 1px solid ${Constants.expoColors.gray[250]}; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/tables.js |
keep keep keep keep replace replace keep keep keep keep keep | <mask> }
<mask>
<mask> td, th {
<mask> padding: 16px;
<mask> border-bottom: 1px solid ${Constants.colors.border};
<mask> border-right: 1px solid ${Constants.colors.border};
<mask>
<mask> :last-child {
<mask> border-right: 0px;
<mask> }
<mask> }
</s> [docs] Update font and styles (#10080) </s> remove border-left: 1px solid ${Constants.colors.border};
border-right: 1px solid ${Constants.colors.border};
</s> add border-left: 1px solid ${Constants.expoColors.gray[250]};
border-right: 1px solid ${Constants.expoColors.gray[250]}; </s> add background: ${Constants.expoColors.gray[100]}; </s> remove border-right: 1px solid ${Constants.colors.border};
</s> add border-right: 1px solid ${Constants.expoColors.gray[250]}; </s> remove border-top: 1px solid ${Constants.colors.border};
</s> add border-top: 1px solid ${Constants.expoColors.gray[250]}; </s> remove scrollbar-color: red white;
</s> add </s> remove @media screen and (max-width: ${Constants.breakpoints.mobileStrict}) {
</s> add @media screen and (max-width: ${Constants.breakpoints.mobile}) { | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/tables.js |
add keep keep keep keep keep keep | <mask> import * as Constants from '~/common/constants';
<mask>
<mask> export const globalTippy = `
<mask> div.tippy-tooltip {
<mask> text-align: left;
<mask> background: ${Constants.expoColors.black};
<mask> }
</s> [docs] Update font and styles (#10080) </s> remove font-size: 0.9rem;
line-height: 1.625rem;
padding: 16px;
color: ${Constants.colors.white};
background-color: ${Constants.colors.black};
color: black;
</s> add </s> add import { h3, h4, p } from '~/components/base/typography'; </s> add background: ${Constants.expoColors.black}; </s> add import { paragraph } from '~/components/base/typography'; </s> add import { paragraph } from '~/components/base/typography'; </s> add import * as Constants from '~/common/constants';
import { paragraph } from './typography';
| https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/tippy.js |
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep | <mask> import * as Constants from '~/common/constants';
<mask>
<mask> export const globalTippy = `
<mask> div.tippy-tooltip {
<mask> font-size: 0.9rem;
<mask> line-height: 1.625rem;
<mask> padding: 16px;
<mask> color: ${Constants.colors.white};
<mask> background-color: ${Constants.colors.black};
<mask> color: black;
<mask> text-align: left;
<mask> }
<mask>
<mask> .tippy-popper[x-placement^='top'] .tippy-tooltip .tippy-roundarrow {
<mask> fill: ${Constants.colors.black};
</s> [docs] Update font and styles (#10080) </s> remove fill: ${Constants.colors.black};
</s> add fill: ${Constants.expoColors.black}; </s> add import { paragraph } from '~/components/base/typography'; </s> add background: ${Constants.expoColors.black}; </s> remove border-radius: 6px;
padding: 1.25em 2em;
</s> add border-radius: 4px;
padding: 24px; </s> remove font-size: 1rem;
line-height: 1.725rem;
</s> add ${paragraph}, </s> remove font-family: ${Constants.fonts.demi};
font-weight: 400;
line-height: 1.625rem;
font-size: 1.1rem;
margin-bottom: 0.25rem;
</s> add margin-bottom: 1rem; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/tippy.js |
keep add keep keep keep keep | <mask> div.tippy-tooltip {
<mask> text-align: left;
<mask> }
<mask>
<mask> .tippy-popper[x-placement^='top'] .tippy-tooltip .tippy-roundarrow {
<mask> fill: ${Constants.expoColors.black};
</s> [docs] Update font and styles (#10080) </s> remove fill: ${Constants.colors.black};
</s> add fill: ${Constants.expoColors.black}; </s> remove font-size: 0.9rem;
line-height: 1.625rem;
padding: 16px;
color: ${Constants.colors.white};
background-color: ${Constants.colors.black};
color: black;
</s> add </s> add import { paragraph } from '~/components/base/typography'; </s> add background: ${Constants.expoColors.gray[100]}; </s> remove border-radius: 4px 4px 0 0;
</s> add border-radius: 4px; </s> add display: grid;
grid-template-columns: 20px auto;
text-align: left;
grid-gap: 8px; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/tippy.js |
keep keep keep replace keep keep keep replace replace keep keep keep keep | <mask> }
<mask>
<mask> .tippy-popper[x-placement^='top'] .tippy-tooltip .tippy-roundarrow {
<mask> fill: ${Constants.colors.black};
<mask> }
<mask>
<mask> .tippy-tooltip.expo-theme .tippy-content {
<mask> font-size: 1rem;
<mask> line-height: 1.725rem;
<mask> color: ${Constants.colors.white};
<mask> font-family: ${Constants.fonts.book};
<mask> }
<mask>
</s> [docs] Update font and styles (#10080) </s> remove font-size: 0.9rem;
line-height: 1.625rem;
padding: 16px;
color: ${Constants.colors.white};
background-color: ${Constants.colors.black};
color: black;
</s> add </s> add background: ${Constants.expoColors.black}; </s> add background: ${Constants.expoColors.black};
padding: 8px; </s> remove font-family: ${Constants.fonts.book};
line-height: 1.75rem;
font-size: 1.5rem;
</s> add ${h2} </s> remove font-size: 1rem;
line-height: 1.725rem;
margin-bottom: 1.5rem;
</s> add ${paragraph}
margin-bottom: 1rem; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/tippy.js |
keep keep add keep keep keep keep keep | <mask> ${paragraph},
<mask> color: ${Constants.colors.white};
<mask> font-family: ${Constants.fonts.book};
<mask> }
<mask>
<mask> .tippy-content a {
<mask> color: #eee;
<mask> }
</s> [docs] Update font and styles (#10080) </s> remove font-size: 1rem;
line-height: 1.725rem;
</s> add ${paragraph}, </s> remove color: ${Constants.colors.expo};
</s> add color: ${Constants.expoColors.primary[500]}; </s> remove color: ${Constants.colors.expo};
</s> add color: ${Constants.expoColors.primary[500]}; </s> add position: relative;
left -7px; </s> remove font-size: 0.9rem;
line-height: 1.625rem;
padding: 16px;
color: ${Constants.colors.white};
background-color: ${Constants.colors.black};
color: black;
</s> add </s> add line-height: 160%; | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/global-styles/tippy.js |
keep add keep keep keep keep keep keep | <mask> "cross-env": "^5.2.0",
<mask> "docsearch.js": "^2.5.2",
<mask> "emotion": "^9.2.9",
<mask> "emotion-server": "^9.2.9",
<mask> "front-matter": "^2.3.0",
<mask> "fs-extra": "^6.0.1",
<mask> "github-slugger": "^1.2.0",
<mask> "hotshot": "^1.0.5",
</s> [docs] Update font and styles (#10080) </s> add background: ${Constants.expoColors.black};
padding: 8px; </s> remove display: inline-flex;
</s> add </s> remove padding: 10px;
padding-left: 15px;
margin-top: -5px;
</s> add padding: 8px 16px; </s> add background-color: ${Constants.expoColors.white};
border: 1px solid ${Constants.expoColors.gray[250]};
box-shadow: 0 2px 2px 0 rgba(0, 0, 20, 0.015), 0 0 0 1px rgba(0, 0, 20, 0.0075);
:hover {
background-color: ${Constants.expoColors.gray[100]};
} </s> add ${paragraph}
display: flex;
align-items: center;
flex: 1;
justify-content: space-between; </s> remove padding-bottom: 1px;
display: flex;
align-items: center;
justify-content: center;
</s> add | https://github.com/expo/expo/commit/b071050b63529c844af5a89abd5c129b05c9dacb | docs/package.json |
keep keep keep keep replace keep keep keep keep keep | <mask> "expo-system-ui": "~2.0.0",
<mask> "expo-task-manager": "~11.0.0",
<mask> "expo-three": "6.0.1",
<mask> "expo-tracking-transparency": "~3.0.0",
<mask> "expo-updates": "0.15.2",
<mask> "expo-video-thumbnails": "~7.0.0",
<mask> "expo-web-browser": "~12.0.0",
<mask> "fbemitter": "^2.1.1",
<mask> "fuse.js": "^6.4.6",
<mask> "gl-mat4": "^1.1.4",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "expo-updates": "~0.15.2",
</s> add "expo-updates": "~0.15.3", </s> remove "expo-splash-screen": "~0.17.2",
</s> add "expo-splash-screen": "~0.17.3", </s> remove "expo-constants": "~14.0.1",
</s> add "expo-constants": "~14.0.2", </s> remove "version": "0.15.2",
</s> add "version": "0.15.3", </s> remove version = '0.17.2'
</s> add version = '0.17.3' </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | apps/native-component-list/package.json |
keep keep replace keep keep keep keep keep | <mask> {
<mask> "name": "@expo/cli",
<mask> "version": "0.4.3",
<mask> "description": "The Expo CLI",
<mask> "main": "build/bin/cli",
<mask> "bin": {
<mask> "expo-internal": "build/bin/cli"
<mask> },
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "version": "0.15.2",
</s> add "version": "0.15.3", </s> remove "version": "1.4.3",
</s> add "version": "1.4.4", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", </s> remove "@expo/prebuild-config": "5.0.5"
</s> add "@expo/prebuild-config": "5.0.6" </s> remove "@expo/cli": "0.4.3",
</s> add "@expo/cli": "0.4.4", </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/@expo/cli/package.json |
keep keep keep keep replace keep keep keep keep keep | <mask> "@expo/metro-config": "~0.5.0",
<mask> "@expo/osascript": "^2.0.31",
<mask> "@expo/package-manager": "~0.0.53",
<mask> "@expo/plist": "^0.0.18",
<mask> "@expo/prebuild-config": "5.0.5",
<mask> "@expo/rudder-sdk-node": "1.1.1",
<mask> "@expo/spawn-async": "1.5.0",
<mask> "@expo/xcpretty": "^4.2.1",
<mask> "@urql/core": "2.3.6",
<mask> "@urql/exchange-retry": "0.3.0",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "@expo/prebuild-config": "5.0.5"
</s> add "@expo/prebuild-config": "5.0.6" </s> remove "version": "5.0.5",
</s> add "version": "5.0.6", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", </s> remove versionName '0.17.2'
</s> add versionName '0.17.3' </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove "version": "7.0.2",
</s> add "version": "7.0.3", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/@expo/cli/package.json |
keep keep replace keep keep keep keep keep | <mask> {
<mask> "name": "@expo/config",
<mask> "version": "7.0.2",
<mask> "description": "A library for interacting with the app.json",
<mask> "main": "build/index.js",
<mask> "scripts": {
<mask> "watch": "tsc --watch --preserveWatchOutput",
<mask> "build": "tsc --emitDeclarationOnly && babel src --out-dir build --extensions \".ts\" --source-maps --ignore \"src/**/__mocks__/*\",\"src/**/__tests__/*\"",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "version": "5.0.5",
</s> add "version": "5.0.6", </s> remove "version": "0.5.0",
</s> add "version": "0.5.1", </s> remove "version": "0.17.2",
</s> add "version": "0.17.3", </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", </s> remove "version": "1.4.3",
</s> add "version": "1.4.4", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/@expo/config/package.json |
keep keep replace keep keep keep keep keep | <mask> {
<mask> "name": "@expo/metro-config",
<mask> "version": "0.5.0",
<mask> "description": "A Metro config for running React Native projects with the Metro bundler",
<mask> "main": "build/ExpoMetroConfig.js",
<mask> "scripts": {
<mask> "watch": "tsc --watch --preserveWatchOutput",
<mask> "build": "tsc --emitDeclarationOnly && babel src --out-dir build --extensions \".ts\" --source-maps --ignore \"src/**/__mocks__/*\",\"src/**/__tests__/*\"",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "version": "7.0.2",
</s> add "version": "7.0.3", </s> remove "version": "5.0.5",
</s> add "version": "5.0.6", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", </s> remove "version": "1.4.3",
</s> add "version": "1.4.4", </s> remove "version": "0.17.2",
</s> add "version": "0.17.3", </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/@expo/metro-config/package.json |
keep keep replace keep keep keep keep keep | <mask> {
<mask> "name": "@expo/prebuild-config",
<mask> "version": "5.0.5",
<mask> "description": "Get the prebuild config",
<mask> "main": "build/index.js",
<mask> "scripts": {
<mask> "watch": "tsc --watch --preserveWatchOutput",
<mask> "build": "tsc --emitDeclarationOnly && babel src --out-dir build --extensions \".ts\" --source-maps --ignore \"src/**/__mocks__/*\",\"src/**/__tests__/*\"",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "version": "7.0.2",
</s> add "version": "7.0.3", </s> remove "version": "0.5.0",
</s> add "version": "0.5.1", </s> remove "version": "0.17.2",
</s> add "version": "0.17.3", </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", </s> remove "version": "0.15.2",
</s> add "version": "0.15.3", </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/@expo/prebuild-config/package.json |
keep keep keep keep replace keep keep keep keep keep | <mask> apply plugin: 'kotlin-android'
<mask> apply plugin: 'maven-publish'
<mask>
<mask> group = 'host.exp.exponent'
<mask> version = '14.0.1'
<mask>
<mask> apply from: "../scripts/get-app-config-android.gradle"
<mask>
<mask> buildscript {
<mask> def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove version = '0.17.2'
</s> add version = '0.17.3' </s> remove version = '0.15.2'
</s> add version = '0.15.3' </s> remove "@expo/prebuild-config": "5.0.5"
</s> add "@expo/prebuild-config": "5.0.6" </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove versionName "14.0.1"
</s> add versionName "14.0.2" </s> remove versionName '0.17.2'
</s> add versionName '0.17.3' | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-constants/android/build.gradle |
keep keep keep keep replace keep keep keep keep keep | <mask> defaultConfig {
<mask> minSdkVersion safeExtGet("minSdkVersion", 21)
<mask> targetSdkVersion safeExtGet("targetSdkVersion", 31)
<mask> versionCode 33
<mask> versionName "14.0.1"
<mask> }
<mask> lintOptions {
<mask> abortOnError false
<mask> }
<mask> }
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove versionName '0.17.2'
</s> add versionName '0.17.3' </s> remove versionName '0.15.2'
</s> add versionName '0.15.3' </s> remove "@expo/prebuild-config": "5.0.5"
</s> add "@expo/prebuild-config": "5.0.6" </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-constants/android/build.gradle |
keep keep replace keep keep keep keep keep | <mask> {
<mask> "name": "expo-constants",
<mask> "version": "14.0.1",
<mask> "description": "Provides system information that remains constant throughout the lifetime of your app.",
<mask> "main": "build/Constants.js",
<mask> "types": "build/Constants.d.ts",
<mask> "sideEffects": false,
<mask> "scripts": {
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "version": "0.15.2",
</s> add "version": "0.15.3", </s> remove "version": "0.17.2",
</s> add "version": "0.17.3", </s> remove "version": "5.0.5",
</s> add "version": "5.0.6", </s> remove "version": "1.4.3",
</s> add "version": "1.4.4", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", </s> remove "version": "7.0.2",
</s> add "version": "7.0.3", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-constants/package.json |
keep keep keep keep replace keep keep keep keep keep | <mask> apply plugin: 'kotlin-android'
<mask> apply plugin: 'maven-publish'
<mask>
<mask> group = 'host.exp.exponent'
<mask> version = '0.17.2'
<mask>
<mask> buildscript {
<mask> def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
<mask> if (expoModulesCorePlugin.exists()) {
<mask> apply from: expoModulesCorePlugin
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove version = '14.0.1'
</s> add version = '14.0.2' </s> remove version = '0.15.2'
</s> add version = '0.15.3' </s> remove versionName '0.17.2'
</s> add versionName '0.17.3' </s> remove "@expo/prebuild-config": "5.0.5"
</s> add "@expo/prebuild-config": "5.0.6" </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove versionName "14.0.1"
</s> add versionName "14.0.2" | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-splash-screen/android/build.gradle |
keep keep keep keep replace keep keep keep keep keep | <mask> defaultConfig {
<mask> minSdkVersion safeExtGet('minSdkVersion', 21)
<mask> targetSdkVersion safeExtGet("targetSdkVersion", 31)
<mask> versionCode 17
<mask> versionName '0.17.2'
<mask> }
<mask> lintOptions {
<mask> abortOnError false
<mask> }
<mask> }
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove versionName "14.0.1"
</s> add versionName "14.0.2" </s> remove versionName '0.15.2'
</s> add versionName '0.15.3' </s> remove version = '0.17.2'
</s> add version = '0.17.3' </s> remove "@expo/prebuild-config": "5.0.5"
</s> add "@expo/prebuild-config": "5.0.6" </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-splash-screen/android/build.gradle |
keep keep replace keep keep keep keep keep | <mask> {
<mask> "name": "expo-splash-screen",
<mask> "version": "0.17.2",
<mask> "description": "Provides a module to allow keeping the native Splash Screen visible until you choose to hide it.",
<mask> "main": "build/index.js",
<mask> "types": "build/index.d.ts",
<mask> "scripts": {
<mask> "build": "expo-module build",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "version": "0.15.2",
</s> add "version": "0.15.3", </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", </s> remove "version": "5.0.5",
</s> add "version": "5.0.6", </s> remove "version": "7.0.2",
</s> add "version": "7.0.3", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", </s> remove "version": "0.5.0",
</s> add "version": "0.5.1", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-splash-screen/package.json |
keep keep keep keep replace keep keep keep keep keep | <mask> "preset": "expo-module-scripts"
<mask> },
<mask> "dependencies": {
<mask> "@expo/configure-splash-screen": "^0.6.0",
<mask> "@expo/prebuild-config": "5.0.5"
<mask> },
<mask> "devDependencies": {
<mask> "expo-module-scripts": "^3.0.0"
<mask> },
<mask> "peerDependencies": {
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "@expo/cli": "0.4.3",
</s> add "@expo/cli": "0.4.4", </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove "@expo/prebuild-config": "5.0.5",
</s> add "@expo/prebuild-config": "5.0.6", </s> remove versionName "14.0.1"
</s> add versionName "14.0.2" </s> remove versionName '0.17.2'
</s> add versionName '0.17.3' </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-splash-screen/package.json |
keep keep keep keep replace keep keep keep keep keep | <mask> apply plugin: 'kotlin-kapt'
<mask> apply plugin: 'maven-publish'
<mask>
<mask> group = 'host.exp.exponent'
<mask> version = '0.15.2'
<mask>
<mask> def ex_updates_native_debug_env = System.getenv("EX_UPDATES_NATIVE_DEBUG") ?: "0"
<mask> def ex_updates_native_debug = ex_updates_native_debug_env == "1" ? "true" : "false"
<mask>
<mask> // For native updates debugging, override these properties
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove version = '14.0.1'
</s> add version = '14.0.2' </s> remove version = '0.17.2'
</s> add version = '0.17.3' </s> remove versionName '0.15.2'
</s> add versionName '0.15.3' </s> remove "version": "0.15.2",
</s> add "version": "0.15.3", </s> remove "version": "0.17.2",
</s> add "version": "0.17.3", </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-updates/android/build.gradle |
keep keep keep keep replace keep keep keep keep keep | <mask> defaultConfig {
<mask> minSdkVersion safeExtGet("minSdkVersion", 21)
<mask> targetSdkVersion safeExtGet("targetSdkVersion", 31)
<mask> versionCode 31
<mask> versionName '0.15.2'
<mask> consumerProguardFiles("proguard-rules.pro")
<mask> testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
<mask> buildConfigField("boolean", "EX_UPDATES_NATIVE_DEBUG", ex_updates_native_debug)
<mask> // uncomment below to export the database schema when making changes
<mask> /* javaCompileOptions {
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove versionName "14.0.1"
</s> add versionName "14.0.2" </s> remove versionName '0.17.2'
</s> add versionName '0.17.3' </s> remove "version": "0.17.2",
</s> add "version": "0.17.3", </s> remove version = '0.15.2'
</s> add version = '0.15.3' </s> remove "version": "0.15.2",
</s> add "version": "0.15.3", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-updates/android/build.gradle |
keep keep replace keep keep keep keep keep | <mask> {
<mask> "name": "expo-updates",
<mask> "version": "0.15.2",
<mask> "description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
<mask> "main": "build/index.js",
<mask> "types": "build/index.d.ts",
<mask> "sideEffects": false,
<mask> "bin": {
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", </s> remove "version": "0.17.2",
</s> add "version": "0.17.3", </s> remove "version": "1.4.3",
</s> add "version": "1.4.4", </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", </s> remove "version": "5.0.5",
</s> add "version": "5.0.6", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo-updates/package.json |
keep keep keep keep replace keep keep keep keep keep | <mask> "expo-camera": "~13.0.0",
<mask> "expo-cellular": "~5.0.1",
<mask> "expo-checkbox": "~2.2.1",
<mask> "expo-clipboard": "~4.0.1",
<mask> "expo-constants": "~14.0.1",
<mask> "expo-contacts": "~11.0.1",
<mask> "expo-crypto": "~12.0.0",
<mask> "expo-dev-client": "~2.0.0",
<mask> "expo-device": "~5.0.0",
<mask> "expo-document-picker": "~11.0.1",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "expo-constants": "~14.0.1",
</s> add "expo-constants": "~14.0.2", </s> remove "@expo/config": "7.0.2",
</s> add "@expo/config": "7.0.3", </s> remove "expo-updates": "~0.15.2",
</s> add "expo-updates": "~0.15.3", </s> remove "expo-splash-screen": "~0.17.2",
</s> add "expo-splash-screen": "~0.17.3", </s> remove "expo-updates": "0.15.2",
</s> add "expo-updates": "0.15.3", </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo/bundledNativeModules.json |
keep keep keep keep replace keep keep keep keep keep | <mask> "expo-sensors": "~12.0.1",
<mask> "expo-sharing": "~11.0.1",
<mask> "expo-sms": "~11.0.0",
<mask> "expo-speech": "~11.0.0",
<mask> "expo-splash-screen": "~0.17.2",
<mask> "expo-sqlite": "~11.0.0",
<mask> "expo-status-bar": "~1.4.1",
<mask> "expo-store-review": "~6.0.0",
<mask> "expo-system-ui": "~2.0.1",
<mask> "expo-task-manager": "~11.0.1",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "expo-updates": "~0.15.2",
</s> add "expo-updates": "~0.15.3", </s> remove "expo-updates": "0.15.2",
</s> add "expo-updates": "0.15.3", </s> remove "expo-constants": "~14.0.1",
</s> add "expo-constants": "~14.0.2", </s> remove "expo-constants": "~14.0.1",
</s> add "expo-constants": "~14.0.2", </s> remove version = '0.17.2'
</s> add version = '0.17.3' </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo/bundledNativeModules.json |
keep keep keep keep replace keep keep keep keep keep | <mask> "expo-store-review": "~6.0.0",
<mask> "expo-system-ui": "~2.0.1",
<mask> "expo-task-manager": "~11.0.1",
<mask> "expo-tracking-transparency": "~3.0.1",
<mask> "expo-updates": "~0.15.2",
<mask> "expo-video-thumbnails": "~7.0.0",
<mask> "expo-web-browser": "~12.0.0",
<mask> "lottie-react-native": "5.1.4",
<mask> "react": "18.1.0",
<mask> "react-dom": "18.0.0",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "expo-updates": "0.15.2",
</s> add "expo-updates": "0.15.3", </s> remove "expo-splash-screen": "~0.17.2",
</s> add "expo-splash-screen": "~0.17.3", </s> remove "expo-constants": "~14.0.1",
</s> add "expo-constants": "~14.0.2", </s> remove "expo-constants": "~14.0.1",
</s> add "expo-constants": "~14.0.2", </s> remove version = '0.17.2'
</s> add version = '0.17.3' </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo/bundledNativeModules.json |
keep keep replace keep keep replace keep keep keep keep | <mask> "dependencies": {
<mask> "@babel/runtime": "^7.14.0",
<mask> "@expo/cli": "0.4.3",
<mask> "@expo/vector-icons": "^13.0.0",
<mask> "@expo/config-plugins": "5.0.3",
<mask> "@expo/config": "7.0.2",
<mask> "babel-preset-expo": "~9.2.1",
<mask> "cross-spawn": "^6.0.5",
<mask> "expo-application": "~5.0.1",
<mask> "expo-asset": "~8.6.2",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "expo-constants": "~14.0.1",
</s> add "expo-constants": "~14.0.2", </s> remove "@expo/prebuild-config": "5.0.5"
</s> add "@expo/prebuild-config": "5.0.6" </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove "version": "7.0.2",
</s> add "version": "7.0.3", </s> remove "expo-constants": "~14.0.1",
</s> add "expo-constants": "~14.0.2", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo/package.json |
keep keep keep keep replace keep keep keep keep keep | <mask> "babel-preset-expo": "~9.2.1",
<mask> "cross-spawn": "^6.0.5",
<mask> "expo-application": "~5.0.1",
<mask> "expo-asset": "~8.6.2",
<mask> "expo-constants": "~14.0.1",
<mask> "expo-file-system": "~15.1.1",
<mask> "expo-font": "~11.0.1",
<mask> "expo-keep-awake": "~11.0.1",
<mask> "expo-modules-autolinking": "0.12.0",
<mask> "expo-modules-core": "0.13.3",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "@expo/config": "7.0.2",
</s> add "@expo/config": "7.0.3", </s> remove "expo-constants": "~14.0.1",
</s> add "expo-constants": "~14.0.2", </s> remove "@expo/cli": "0.4.3",
</s> add "@expo/cli": "0.4.4", </s> remove "expo-splash-screen": "~0.17.2",
</s> add "expo-splash-screen": "~0.17.3", </s> remove "expo-updates": "~0.15.2",
</s> add "expo-updates": "~0.15.3", </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/expo/package.json |
keep keep replace keep keep keep keep keep | <mask> {
<mask> "name": "jest-expo-puppeteer",
<mask> "version": "1.4.3",
<mask> "description": "Run end-to-end tests on your Expo web projects with Jest, Puppeteer, and the Expo CLI.",
<mask> "license": "MIT",
<mask> "main": "build",
<mask> "files": [
<mask> "build",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "version": "47.0.0",
</s> add "version": "47.0.1", </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove "version": "0.15.2",
</s> add "version": "0.15.3", </s> remove "version": "0.5.0",
</s> add "version": "0.5.1", </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", </s> remove "version": "7.0.2",
</s> add "version": "7.0.3", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/jest-expo-puppeteer/package.json |
keep keep replace keep keep keep keep keep | <mask> {
<mask> "name": "jest-expo",
<mask> "version": "47.0.0",
<mask> "description": "A Jest preset to painlessly test your Expo / React Native apps.",
<mask> "license": "MIT",
<mask> "main": "src",
<mask> "repository": {
<mask> "type": "git",
</s> Publish packages
@expo/cli@0.4.4
@expo/config@7.0.3
@expo/metro-config@0.5.1
@expo/prebuild-config@5.0.6
expo-constants@14.0.2
expo-splash-screen@0.17.3
expo-updates@0.15.3
jest-expo-puppeteer@1.4.4
jest-expo@47.0.1 </s> remove "version": "1.4.3",
</s> add "version": "1.4.4", </s> remove "version": "0.5.0",
</s> add "version": "0.5.1", </s> remove "version": "0.15.2",
</s> add "version": "0.15.3", </s> remove "version": "0.4.3",
</s> add "version": "0.4.4", </s> remove "version": "0.17.2",
</s> add "version": "0.17.3", </s> remove "version": "14.0.1",
</s> add "version": "14.0.2", | https://github.com/expo/expo/commit/b56ceb5bface07762c968c882575a041105b13b6 | packages/jest-expo/package.json |
add keep keep keep keep keep | <mask> import { createNetworkInterface } from 'apollo-client';
<mask>
<mask> type AuthAwareNetworkInterfaceOptions = {
<mask> getIdToken: () => string,
<mask> setIdToken: (idToken: string) => void,
<mask> getRefreshToken: () => string,
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove return (
<View style={{flex: 1, padding: 30, alignItems: 'center'}}>
<ActivityIndicator />
</View>
);
</s> add return this._renderLoading(); </s> remove this._networkInterface = createNetworkInterface({ uri });
</s> add this._networkInterface = new ConnectivityAwareHTTPNetworkInterface(uri, options); </s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> remove if (nextProps.data && nextProps.data.apps) {
</s> add if (!nextProps.data) {
return;
}
if (nextProps.data.apps !== this.props.data.apps) { </s> add isRefetching: false, </s> remove canLoadMore={true}
onLoadMoreAsync={this.props.loadMoreAsync}
</s> add // renderScrollComponent={props => <InfiniteScrollView {...props} />}
// canLoadMore={true}
// onLoadMoreAsync={this.props.loadMoreAsync} | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Api/createAuthAwareNetworkInterface.js |
keep keep keep keep replace keep keep keep keep keep | <mask> class AuthAwareNetworkInterface {
<mask> _requestQueue = [];
<mask>
<mask> constructor(uri: string, options: AuthAwareNetworkInterfaceOptions = {}) {
<mask> this._networkInterface = createNetworkInterface({ uri });
<mask> this._getIdToken = options.getIdToken;
<mask> this._setIdToken = options.setIdToken;
<mask> this._getRefreshToken = options.getRefreshToken;
<mask> this._idTokenIsValid = options.idTokenIsValid;
<mask> this._refreshIdTokenAsync = options.refreshIdTokenAsync;
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add import ConnectivityAwareHTTPNetworkInterface from './ConnectivityAwareHTTPNetworkInterface'; </s> add isRefetching: false, </s> remove titleText: {
color: '#232b3a',
marginBottom: 15,
fontWeight: '400',
...Platform.select({
ios: {
fontSize: 22,
},
android: {
fontSize: 23,
},
}),
},
descriptionText: {
color: 'rgba(36, 44, 58, 0.7)',
textAlign: 'center',
marginBottom: 20,
...Platform.select({
ios: {
fontSize: 15,
lineHeight: 20,
marginHorizontal: 10,
},
android: {
fontSize: 16,
lineHeight: 24,
marginHorizontal: 15,
},
}),
},
</s> add </s> add state = {
isRefetching: false,
}
</s> add const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`);
</s> remove if (nextProps.data && nextProps.data.apps) {
</s> add if (!nextProps.data) {
return;
}
if (nextProps.data.apps !== this.props.data.apps) { | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Api/createAuthAwareNetworkInterface.js |
keep keep keep add keep keep keep keep | <mask> } from '@exponent/ex-navigation';
<mask>
<mask> import Colors from '../constants/Colors';
<mask> import PrimaryButton from './PrimaryButton';
<mask>
<mask> @withNavigation
<mask> export default class EmptyProjectsNotice extends React.Component {
<mask>
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove import FakeProjects from '../FakeProjects';
</s> add </s> add isRefetching: false, </s> add state = {
isRefetching: false,
}
</s> remove import FakeCards from '../FakeCards';
</s> add import PrimaryButton from './PrimaryButton';
import SharedStyles from '../constants/SharedStyles';
const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`); </s> add import dedent from 'dedent'; </s> add import dedent from 'dedent';
| https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/EmptyProjectsNotice.js |
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep | <mask> alignItems: 'center',
<mask> justifyContent: 'center',
<mask> paddingBottom: 30,
<mask> },
<mask> titleText: {
<mask> color: '#232b3a',
<mask> marginBottom: 15,
<mask> fontWeight: '400',
<mask> ...Platform.select({
<mask> ios: {
<mask> fontSize: 22,
<mask> },
<mask> android: {
<mask> fontSize: 23,
<mask> },
<mask> }),
<mask> },
<mask> descriptionText: {
<mask> color: 'rgba(36, 44, 58, 0.7)',
<mask> textAlign: 'center',
<mask> marginBottom: 20,
<mask> ...Platform.select({
<mask> ios: {
<mask> fontSize: 15,
<mask> lineHeight: 20,
<mask> marginHorizontal: 10,
<mask> },
<mask> android: {
<mask> fontSize: 16,
<mask> lineHeight: 24,
<mask> marginHorizontal: 15,
<mask> },
<mask> }),
<mask> },
<mask> });
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> remove return (
<View style={{flex: 1, padding: 30, alignItems: 'center'}}>
<ActivityIndicator />
</View>
);
</s> add return this._renderLoading(); </s> add isRefetching: false, </s> remove if (nextProps.data && nextProps.data.apps) {
</s> add if (!nextProps.data) {
return;
}
if (nextProps.data.apps !== this.props.data.apps) { </s> remove this._networkInterface = createNetworkInterface({ uri });
</s> add this._networkInterface = new ConnectivityAwareHTTPNetworkInterface(uri, options); </s> add state = {
isRefetching: false,
}
| https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/EmptyProjectsNotice.js |
keep keep add keep keep keep keep keep keep | <mask> import React from 'react';
<mask> import {
<mask> ActivityIndicator,
<mask> ScrollView,
<mask> TouchableOpacity,
<mask> StyleSheet,
<mask> Text,
<mask> View,
<mask> } from 'react-native';
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add TouchableOpacity, </s> add TouchableOpacity, </s> remove ListView,
</s> add Text, </s> add import dedent from 'dedent';
</s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> remove if (nextProps.data && nextProps.data.apps) {
</s> add if (!nextProps.data) {
return;
}
if (nextProps.data.apps !== this.props.data.apps) { | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/ExploreTab.js |
keep add keep keep keep keep keep | <mask> ListView,
<mask> ScrollView,
<mask> StyleSheet,
<mask> Text,
<mask> View,
<mask> } from 'react-native';
<mask> import InfiniteScrollView from 'react-native-infinite-scroll-view';
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove ListView,
</s> add Text, </s> add ListView, </s> add TouchableOpacity, </s> add import dedent from 'dedent';
</s> remove import FakeCards from '../FakeCards';
</s> add import PrimaryButton from './PrimaryButton';
import SharedStyles from '../constants/SharedStyles';
const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`); </s> add import dedent from 'dedent'; | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/ExploreTab.js |
keep keep keep keep replace keep keep keep keep keep | <mask> import {
<mask> ActivityIndicator,
<mask> ScrollView,
<mask> StyleSheet,
<mask> ListView,
<mask> View,
<mask> } from 'react-native';
<mask> import InfiniteScrollView from 'react-native-infinite-scroll-view';
<mask>
<mask> import Colors from '../constants/Colors';
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add TouchableOpacity, </s> add ListView, </s> add TouchableOpacity, </s> add import dedent from 'dedent';
</s> remove import FakeCards from '../FakeCards';
</s> add import PrimaryButton from './PrimaryButton';
import SharedStyles from '../constants/SharedStyles';
const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`); </s> add import SharedStyles from '../constants/SharedStyles'; | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/ExploreTab.js |
keep keep add keep keep keep keep keep keep | <mask> } from 'react-native';
<mask> import InfiniteScrollView from 'react-native-infinite-scroll-view';
<mask>
<mask> import Colors from '../constants/Colors';
<mask> import ProjectCard from './ProjectCard';
<mask> import PrimaryButton from './PrimaryButton';
<mask> import SharedStyles from '../constants/SharedStyles';
<mask>
<mask> const NETWORK_ERROR_TEXT = dedent(`
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove import FakeCards from '../FakeCards';
</s> add import PrimaryButton from './PrimaryButton';
import SharedStyles from '../constants/SharedStyles';
const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`); </s> remove ListView,
</s> add Text, </s> add import Colors from '../constants/Colors';
import PrimaryButton from './PrimaryButton'; </s> add import dedent from 'dedent'; </s> add import SharedStyles from '../constants/SharedStyles'; </s> add TouchableOpacity, | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/ExploreTab.js |
keep keep keep keep replace keep keep keep keep keep | <mask> import InfiniteScrollView from 'react-native-infinite-scroll-view';
<mask>
<mask> import Colors from '../constants/Colors';
<mask> import ProjectCard from './ProjectCard';
<mask> import FakeCards from '../FakeCards';
<mask>
<mask> export default class ExploreTab extends React.Component {
<mask> state = {
<mask> dataSource: new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2 }),
<mask> }
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add isRefetching: false, </s> remove if (nextProps.data && nextProps.data.apps) {
</s> add if (!nextProps.data) {
return;
}
if (nextProps.data.apps !== this.props.data.apps) { </s> add import dedent from 'dedent';
</s> add import SharedStyles from '../constants/SharedStyles'; </s> add state = {
isRefetching: false,
}
</s> remove import FakeProjects from '../FakeProjects';
</s> add | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/ExploreTab.js |
keep keep keep add keep keep keep keep | <mask>
<mask> export default class ExploreTab extends React.Component {
<mask> state = {
<mask> dataSource: new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2 }),
<mask> }
<mask>
<mask> componentWillReceiveProps(nextProps) {
<mask> if (!nextProps.data) {
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove if (nextProps.data && nextProps.data.apps) {
</s> add if (!nextProps.data) {
return;
}
if (nextProps.data.apps !== this.props.data.apps) { </s> remove import FakeCards from '../FakeCards';
</s> add import PrimaryButton from './PrimaryButton';
import SharedStyles from '../constants/SharedStyles';
const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`); </s> add state = {
isRefetching: false,
}
</s> add import SharedStyles from '../constants/SharedStyles'; </s> remove import FakeProjects from '../FakeProjects';
</s> add </s> add const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`);
| https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/ExploreTab.js |
keep keep keep keep replace keep keep keep keep keep | <mask> dataSource: new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2 }),
<mask> }
<mask>
<mask> componentWillReceiveProps(nextProps) {
<mask> if (nextProps.data && nextProps.data.apps) {
<mask> let dataSource = this.state.dataSource.cloneWithRows(nextProps.data.apps);
<mask> this.setState({dataSource});
<mask> }
<mask> }
<mask>
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add isRefetching: false, </s> remove import FakeCards from '../FakeCards';
</s> add import PrimaryButton from './PrimaryButton';
import SharedStyles from '../constants/SharedStyles';
const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`); </s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> remove return (
<View style={{flex: 1, padding: 30, alignItems: 'center'}}>
<ActivityIndicator />
</View>
);
</s> add return this._renderLoading(); </s> add if (this.props.data.error) {
return this._renderError();
}
</s> add state = {
isRefetching: false,
}
| https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/ExploreTab.js |
keep keep keep keep replace keep keep keep keep keep | <mask> }
<mask> }
<mask>
<mask> render() {
<mask> return this.props.data.loading ? this._renderLoading() : this._renderContent();
<mask> }
<mask>
<mask> _renderLoading() {
<mask> return (
<mask> <View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove return (
<View style={{flex: 1, padding: 30, alignItems: 'center'}}>
<ActivityIndicator />
</View>
);
</s> add return this._renderLoading(); </s> add if (this.props.data.error) {
return this._renderError();
}
</s> add lazy </s> add state = {
isRefetching: false,
}
</s> remove titleText: {
color: '#232b3a',
marginBottom: 15,
fontWeight: '400',
...Platform.select({
ios: {
fontSize: 22,
},
android: {
fontSize: 23,
},
}),
},
descriptionText: {
color: 'rgba(36, 44, 58, 0.7)',
textAlign: 'center',
marginBottom: 20,
...Platform.select({
ios: {
fontSize: 15,
lineHeight: 20,
marginHorizontal: 10,
},
android: {
fontSize: 16,
lineHeight: 24,
marginHorizontal: 15,
},
}),
},
</s> add </s> remove renderScrollComponent={props => <InfiniteScrollView {...props} />}
</s> add | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/ExploreTab.js |
keep keep keep keep replace keep keep keep replace replace | <mask>
<mask> _renderContent() {
<mask> return (
<mask> <ListView
<mask> renderScrollComponent={props => <InfiniteScrollView {...props} />}
<mask> dataSource={this.state.dataSource}
<mask> renderRow={this._renderRow}
<mask> style={styles.container}
<mask> canLoadMore={true}
<mask> onLoadMoreAsync={this.props.loadMoreAsync}
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add if (this.props.data.error) {
return this._renderError();
}
</s> remove return (
<View style={{flex: 1, padding: 30, alignItems: 'center'}}>
<ActivityIndicator />
</View>
);
</s> add return this._renderLoading(); </s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> add lazy </s> add state = {
isRefetching: false,
}
| https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/ExploreTab.js |
keep keep keep add keep keep keep keep keep | <mask> Platform,
<mask> ScrollView,
<mask> StyleSheet,
<mask> Text,
<mask> View,
<mask> } from 'react-native';
<mask> import FadeIn from '@exponent/react-native-fade-in-image';
<mask> import {
<mask> SlidingTabNavigationItem,
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add ListView, </s> add TouchableOpacity, </s> remove ListView,
</s> add Text, </s> add import dedent from 'dedent';
</s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> remove if (nextProps.data && nextProps.data.apps) {
</s> add if (!nextProps.data) {
return;
}
if (nextProps.data.apps !== this.props.data.apps) { | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/Profile.js |
keep add keep keep keep keep keep | <mask> takeRight,
<mask> } from 'lodash';
<mask>
<mask> import Colors from '../constants/Colors';
<mask> import PrimaryButton from './PrimaryButton';
<mask> import SeeAllProjectsButton from './SeeAllProjectsButton';
<mask> import SharedStyles from '../constants/SharedStyles';
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove import SmallProjectCard from './SmallProjectCard';
</s> add </s> add import Colors from '../constants/Colors';
import PrimaryButton from './PrimaryButton'; </s> add import SharedStyles from '../constants/SharedStyles'; </s> add import dedent from 'dedent';
</s> remove import Colors from '../constants/Colors';
import FakeCards from '../FakeCards';
</s> add import SmallProjectCard from './SmallProjectCard'; </s> remove import FakeProjects from '../FakeProjects';
</s> add | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/Profile.js |
keep keep add keep keep keep keep keep keep | <mask> } from 'lodash';
<mask> import dedent from 'dedent';
<mask>
<mask> import SeeAllProjectsButton from './SeeAllProjectsButton';
<mask> import SharedStyles from '../constants/SharedStyles';
<mask> import SmallProjectCard from './SmallProjectCard';
<mask> import StyledSlidingTabNavigation from '../navigation/StyledSlidingTabNavigation';
<mask>
<mask> const MAX_APPS_TO_DISPLAY = 3;
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove import Colors from '../constants/Colors';
import FakeCards from '../FakeCards';
</s> add import SmallProjectCard from './SmallProjectCard'; </s> remove import SmallProjectCard from './SmallProjectCard';
</s> add </s> add import dedent from 'dedent'; </s> add import dedent from 'dedent';
</s> remove import FakeProjects from '../FakeProjects';
</s> add </s> add const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`);
| https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/Profile.js |
keep keep keep replace keep keep keep keep keep keep keep keep replace replace | <mask> } from 'lodash';
<mask>
<mask> import SeeAllProjectsButton from './SeeAllProjectsButton';
<mask> import SmallProjectCard from './SmallProjectCard';
<mask> import SharedStyles from '../constants/SharedStyles';
<mask> import Colors from '../constants/Colors';
<mask> import FakeCards from '../FakeCards';
<mask> import StyledSlidingTabNavigation from '../navigation/StyledSlidingTabNavigation';
<mask>
<mask> import SeeAllProjectsButton from './SeeAllProjectsButton';
<mask> import SmallProjectCard from './SmallProjectCard';
<mask> import SharedStyles from '../constants/SharedStyles';
<mask> import Colors from '../constants/Colors';
<mask> import FakeCards from '../FakeCards';
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add import Colors from '../constants/Colors';
import PrimaryButton from './PrimaryButton'; </s> add import dedent from 'dedent'; </s> remove import FakeProjects from '../FakeProjects';
</s> add </s> add import SharedStyles from '../constants/SharedStyles'; </s> add import dedent from 'dedent';
| https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/Profile.js |
keep keep keep add keep keep keep keep keep | <mask>
<mask> const MAX_APPS_TO_DISPLAY = 3;
<mask> const MAX_LIKES_TO_DISPLAY = 3;
<mask>
<mask> export default class Profile extends React.Component {
<mask> state = {
<mask> isRefetching: false,
<mask> }
<mask>
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add state = {
isRefetching: false,
}
</s> add isRefetching: false, </s> remove import Colors from '../constants/Colors';
import FakeCards from '../FakeCards';
</s> add import SmallProjectCard from './SmallProjectCard'; </s> add import Colors from '../constants/Colors';
import PrimaryButton from './PrimaryButton'; </s> add import SharedStyles from '../constants/SharedStyles'; </s> remove import FakeCards from '../FakeCards';
</s> add import PrimaryButton from './PrimaryButton';
import SharedStyles from '../constants/SharedStyles';
const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`); | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/Profile.js |
keep keep keep add keep keep keep keep | <mask> Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
<mask> `);
<mask>
<mask> export default class Profile extends React.Component {
<mask> render() {
<mask> if (this.props.data.error) {
<mask> return this._renderError();
<mask> }
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`);
</s> remove import FakeCards from '../FakeCards';
</s> add import PrimaryButton from './PrimaryButton';
import SharedStyles from '../constants/SharedStyles';
const NETWORK_ERROR_TEXT = dedent(`
Your connection appears to be offline.
Get out of the subway tunnel or connect to a better wifi network and check back.
`);
const SERVER_ERROR_TEXt = dedent(`
An unexpected server error has occurred.
Sorry about this. We have been notified and will resolve the issue as soon as quickly as possible.
`); </s> add if (this.props.data.error) {
return this._renderError();
}
</s> add isRefetching: false, </s> add import SharedStyles from '../constants/SharedStyles'; </s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/Profile.js |
keep keep keep add keep keep keep keep keep | <mask> isRefetching: false,
<mask> }
<mask>
<mask> render() {
<mask> return (
<mask> <ScrollView style={styles.container}>
<mask> {this._renderHeader()}
<mask> {this._renderApps()}
<mask> </ScrollView>
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add state = {
isRefetching: false,
}
</s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> add isRefetching: false, </s> remove return (
<View style={{flex: 1, padding: 30, alignItems: 'center'}}>
<ActivityIndicator />
</View>
);
</s> add return this._renderLoading(); </s> remove renderScrollComponent={props => <InfiniteScrollView {...props} />}
</s> add </s> remove <SeeAllProjectsButton
onPress={() => {}}
projects={FakeProjects}
/>
</s> add { /* <SeeAllProjectsButton onPress={() => {}} projects={FakeProjects} /> */ } | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/Profile.js |
keep keep keep keep replace replace replace replace replace keep keep keep keep keep | <mask> }
<mask>
<mask> _renderHeader = () => {
<mask> if (this.props.data.loading && !this.props.data.user) {
<mask> return (
<mask> <View style={{flex: 1, padding: 30, alignItems: 'center'}}>
<mask> <ActivityIndicator />
<mask> </View>
<mask> );
<mask> }
<mask>
<mask> if (!this.props.data.user) {
<mask> return;
<mask> }
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> remove if (nextProps.data && nextProps.data.apps) {
</s> add if (!nextProps.data) {
return;
}
if (nextProps.data.apps !== this.props.data.apps) { </s> add if (this.props.data.error) {
return this._renderError();
}
</s> add lazy </s> remove <SeeAllProjectsButton
onPress={() => {}}
projects={FakeProjects}
/>
</s> add { /* <SeeAllProjectsButton onPress={() => {}} projects={FakeProjects} /> */ } </s> add state = {
isRefetching: false,
}
| https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/components/Profile.js |
keep keep keep add keep keep keep keep keep | <mask> return (
<mask> <View style={{flex: 1, backgroundColor: Colors.greyBackground}}>
<mask> {this._renderSearchBar()}
<mask> <StyledSlidingTabNavigation
<mask> tabBarStyle={Platform.OS === 'android' && styles.tabBarAndroid}
<mask> initialTab="featured"
<mask> keyToTitle={TabTitles}>
<mask> <SlidingTabNavigationItem id="featured">
<mask> <ExploreTabContainer
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove return (
<View style={{flex: 1, padding: 30, alignItems: 'center'}}>
<ActivityIndicator />
</View>
);
</s> add return this._renderLoading(); </s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> add if (this.props.data.error) {
return this._renderError();
}
</s> remove renderScrollComponent={props => <InfiniteScrollView {...props} />}
</s> add </s> remove if (nextProps.data && nextProps.data.apps) {
</s> add if (!nextProps.data) {
return;
}
if (nextProps.data.apps !== this.props.data.apps) { </s> add state = {
isRefetching: false,
}
| https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/screens/ExploreScreen.js |
keep keep keep keep replace keep keep keep keep keep | <mask> import BrowserActions from 'BrowserActions';
<mask> import Colors from '../constants/Colors';
<mask> import EmptyProjectsNotice from '../components/EmptyProjectsNotice';
<mask> import SharedStyles from '../constants/SharedStyles';
<mask> import FakeProjects from '../FakeProjects';
<mask> import SeeAllProjectsButton from '../components/SeeAllProjectsButton';
<mask> import SmallProjectCard from '../components/SmallProjectCard';
<mask>
<mask> @connect(data => HomeScreen.getDataProps(data))
<mask> export default class HomeScreen extends React.Component {
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> add import SharedStyles from '../constants/SharedStyles'; </s> remove import SmallProjectCard from './SmallProjectCard';
</s> add </s> remove import Colors from '../constants/Colors';
import FakeCards from '../FakeCards';
</s> add import SmallProjectCard from './SmallProjectCard'; </s> add import Colors from '../constants/Colors';
import PrimaryButton from './PrimaryButton'; </s> add isRefetching: false, </s> add import dedent from 'dedent'; | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/screens/ProjectsScreen.js |
keep keep keep keep replace replace replace replace keep keep keep keep keep | <mask> </View>
<mask>
<mask> {this._renderRecentHistory()}
<mask>
<mask> <SeeAllProjectsButton
<mask> onPress={() => {}}
<mask> projects={FakeProjects}
<mask> />
<mask>
<mask> {this._renderExponentVersion()}
<mask> </ScrollView>
<mask>
<mask> <StatusBar barStyle="default" />
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove return (
<View style={{flex: 1, padding: 30, alignItems: 'center'}}>
<ActivityIndicator />
</View>
);
</s> add return this._renderLoading(); </s> remove canLoadMore={true}
onLoadMoreAsync={this.props.loadMoreAsync}
</s> add // renderScrollComponent={props => <InfiniteScrollView {...props} />}
// canLoadMore={true}
// onLoadMoreAsync={this.props.loadMoreAsync} </s> add if (this.props.data.error) {
return this._renderError();
}
</s> remove return this.props.data.loading ? this._renderLoading() : this._renderContent();
</s> add if (this.props.data.loading || this.state.isRefetching && !this.props.data.apps) {
return this._renderLoading();
} else if (this.props.data.error && !this.props.data.apps) {
return this._renderError();
} else {
return this._renderContent();
}
}
_renderError() {
let isConnectionError = this.props.data.error.message.includes('No connection available');
return (
<View style={{flex: 1, alignItems: 'center', paddingTop: 30}}>
<Text style={SharedStyles.noticeDescriptionText}>
{isConnectionError ? NETWORK_ERROR_TEXT : SERVER_ERROR_TEXt}
</Text>
<PrimaryButton
plain
onPress={this._refetchDataAsync}
fallback={TouchableOpacity}>
Try again
</PrimaryButton>
</View>
);
}
_refetchDataAsync = async () => {
try {
this.setState({isRefetching: true});
await this.props.data.refetch()
} catch(e) {
console.log({e});
// Error!
} finally {
this.setState({isRefetching: false});
} </s> add import ConnectivityAwareHTTPNetworkInterface from './ConnectivityAwareHTTPNetworkInterface'; </s> remove renderScrollComponent={props => <InfiniteScrollView {...props} />}
</s> add | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/Home/screens/ProjectsScreen.js |
keep keep add keep keep keep keep | <mask> "apollo-client": "^0.6.0",
<mask> "autobind-decorator": "^1.3.2",
<mask> "autoproxy": "^1.0.1",
<mask> "email-validator": "^1.0.3",
<mask> "es6-error": "^4.0.1",
<mask> "exponent": "~13.0.0",
<mask> "fbemitter": "^2.0.2",
</s> Add connectivity support
fbshipit-source-id: e455c48 </s> remove renderScrollComponent={props => <InfiniteScrollView {...props} />}
</s> add </s> remove this._networkInterface = createNetworkInterface({ uri });
</s> add this._networkInterface = new ConnectivityAwareHTTPNetworkInterface(uri, options); </s> add import SharedStyles from '../constants/SharedStyles'; </s> remove titleText: {
color: '#232b3a',
marginBottom: 15,
fontWeight: '400',
...Platform.select({
ios: {
fontSize: 22,
},
android: {
fontSize: 23,
},
}),
},
descriptionText: {
color: 'rgba(36, 44, 58, 0.7)',
textAlign: 'center',
marginBottom: 20,
...Platform.select({
ios: {
fontSize: 15,
lineHeight: 20,
marginHorizontal: 10,
},
android: {
fontSize: 16,
lineHeight: 24,
marginHorizontal: 15,
},
}),
},
</s> add </s> add ListView, </s> add TouchableOpacity, | https://github.com/expo/expo/commit/b6c21864415e6dc854f03a4e62dc2960aef06013 | js/package.json |
keep keep keep keep replace keep keep keep keep keep | <mask> @Override
<mask> public Void answer(InvocationOnMock invocation) throws Throwable {
<mask> ExponentHttpClient.SafeCallback safeCallback = invocation.getArgumentAt(2, ExponentHttpClient.SafeCallback.class);
<mask>
<mask> safeCallback.onCachedResponse();
<mask>
<mask> return null;
<mask> }
<mask> }).when(exponentHttpClient).tryForcedCachedResponse(Matchers.anyString(), Matchers.any(Request.class), Matchers.any(ExponentHttpClient.SafeCallback.class), Matchers.any(Response.class), Matchers.any(IOException.class));
<mask>
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
</s> add public void onCachedResponse(ExpoResponse response, boolean isEmbedded) { </s> remove callback.onResponse(call, response);
</s> add callback.onResponse(new ExpoResponse(response)); </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { </s> remove callback.onResponse(call, response);
</s> add callback.onResponse(new ExpoResponse(response)); </s> remove callback.onFailure(call, e);
</s> add callback.onFailure(e); | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/app/src/test/java/host/exp/exponent/AppLoaderTests.java |
keep keep add keep keep keep keep | <mask> import host.exp.exponent.kernel.Crypto;
<mask> import host.exp.exponent.kernel.ExponentUrls;
<mask> import host.exp.exponent.kernel.KernelProvider;
<mask> import host.exp.exponent.network.ExponentHttpClient;
<mask> import host.exp.exponent.network.ExponentNetwork;
<mask> import host.exp.exponent.storage.ExponentSharedPreferences;
<mask> import host.exp.exponent.utils.ColorParser;
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> add import host.exp.exponent.network.ExpoResponse; </s> remove onResponse(call, response);
</s> add onResponse(response); </s> remove callback.onResponse(call, response);
</s> add callback.onResponse(new ExpoResponse(response)); </s> remove private void handleResponse(Response response, boolean isCached) {
</s> add private void handleResponse(ExpoResponse response, boolean isCached) { </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/ExponentManifest.java |
keep keep keep keep replace keep keep keep keep keep | <mask> Debug.startMethodTracing("manifest");
<mask> }
<mask>
<mask> mExponentNetwork.getClient().callSafe(requestBuilder.build(), new ExponentHttpClient.SafeCallback() {
<mask> private void handleResponse(Response response, boolean isCached) {
<mask> if (!response.isSuccessful()) {
<mask> ManifestException exception;
<mask> try {
<mask> final JSONObject errorJSON = new JSONObject(response.body().string());
<mask> exception = new ManifestException(null, manifestUrl, errorJSON);
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove private void handleResponse(Response response, final boolean isEmbedded) {
</s> add private void handleResponse(ExpoResponse response, final boolean isEmbedded) { </s> remove private void fetchManifestStep2(final String manifestUrl, final String manifestString, final Headers headers, final ManifestListener listener, final boolean isEmbedded, boolean isCached) throws JSONException {
</s> add private void fetchManifestStep2(final String manifestUrl, final String manifestString, final ExpoResponse.ExpoHeaders headers, final ManifestListener listener, final boolean isEmbedded, boolean isCached) throws JSONException { </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { </s> remove callback.onFailure(call, new IOException("No hard coded response found"));
</s> add callback.onFailure(new IOException("No hard coded response found")); </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/ExponentManifest.java |
keep keep keep replace keep keep keep keep replace | <mask> }
<mask>
<mask> @Override
<mask> public void onFailure(Call call, IOException e) {
<mask> listener.onError(new ManifestException(e, manifestUrl));
<mask> }
<mask>
<mask> @Override
<mask> public void onResponse(Call call, Response response) {
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { </s> remove callback.onFailure(call, e);
</s> add callback.onFailure(e); </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/ExponentManifest.java |
keep keep keep keep replace keep keep keep keep keep | <mask> handleResponse(response, isCached);
<mask> }
<mask>
<mask> @Override
<mask> public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
<mask> // this is only called if network is unavailable for some reason
<mask> handleResponse(response, true);
<mask> }
<mask> });
<mask> }
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
</s> add public void onCachedResponse(ExpoResponse response, boolean isEmbedded) { </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { </s> remove public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
callback.onCachedResponse(call, response, isEmbedded);
</s> add public void onCachedResponse(ExpoResponse response, boolean isEmbedded) {
callback.onCachedResponse(response, isEmbedded); </s> remove public void onResponse(Call call, Response response) {
callback.onResponse(call, response);
</s> add public void onResponse(ExpoResponse response) {
callback.onResponse(response); </s> remove public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
</s> add public void onCachedResponse(ExpoResponse response, boolean isEmbedded) { </s> remove callback.onResponse(call, response);
</s> add callback.onResponse(new ExpoResponse(response)); | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/ExponentManifest.java |
keep keep keep keep replace keep keep keep keep keep | <mask> Request request = requestBuilder.build();
<mask> final String finalUri = request.url().toString();
<mask>
<mask> mExponentNetwork.getClient().tryForcedCachedResponse(finalUri, request, new ExponentHttpClient.SafeCallback() {
<mask> private void handleResponse(Response response, final boolean isEmbedded) {
<mask> if (!response.isSuccessful()) {
<mask> ManifestException exception;
<mask> try {
<mask> final JSONObject errorJSON = new JSONObject(response.body().string());
<mask> exception = new ManifestException(null, manifestUrl, errorJSON);
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove private void handleResponse(Response response, boolean isCached) {
</s> add private void handleResponse(ExpoResponse response, boolean isCached) { </s> remove private void fetchManifestStep2(final String manifestUrl, final String manifestString, final Headers headers, final ManifestListener listener, final boolean isEmbedded, boolean isCached) throws JSONException {
</s> add private void fetchManifestStep2(final String manifestUrl, final String manifestString, final ExpoResponse.ExpoHeaders headers, final ManifestListener listener, final boolean isEmbedded, boolean isCached) throws JSONException { </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { </s> remove callback.onFailure(call, new IOException("No hard coded response found"));
</s> add callback.onFailure(new IOException("No hard coded response found")); </s> remove void onFailure(Call call, IOException e);
void onResponse(Call call, Response response);
void onCachedResponse(Call call, Response response, boolean isEmbedded);
</s> add void onFailure(IOException e);
void onResponse(ExpoResponse response);
void onCachedResponse(ExpoResponse response, boolean isEmbedded); | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/ExponentManifest.java |
keep keep keep keep replace keep keep keep keep replace keep | <mask> }
<mask> }
<mask>
<mask> @Override
<mask> public void onFailure(Call call, IOException e) {
<mask> listener.onError(new ManifestException(e, manifestUrl));
<mask> }
<mask>
<mask> @Override
<mask> public void onResponse(Call call, Response response) {
<mask> handleResponse(response, false);
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/ExponentManifest.java |
keep keep keep keep replace keep keep keep keep keep | <mask> handleResponse(response, false);
<mask> }
<mask>
<mask> @Override
<mask> public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
<mask> handleResponse(response, isEmbedded);
<mask> }
<mask> }, null, null);
<mask>
<mask> return true;
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
callback.onCachedResponse(call, response, isEmbedded);
</s> add public void onCachedResponse(ExpoResponse response, boolean isEmbedded) {
callback.onCachedResponse(response, isEmbedded); </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { </s> remove public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
</s> add public void onCachedResponse(ExpoResponse response, boolean isEmbedded) { </s> remove onResponse(call, response);
</s> add onResponse(response); </s> remove public void onResponse(Call call, Response response) {
callback.onResponse(call, response);
</s> add public void onResponse(ExpoResponse response) {
callback.onResponse(response); </s> remove callback.onCachedResponse(call, response, false);
</s> add callback.onCachedResponse(new ExpoResponse(response), false); | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/ExponentManifest.java |
keep keep keep keep replace keep keep keep keep keep | <mask> e.printStackTrace();
<mask> }
<mask> }
<mask>
<mask> private void fetchManifestStep2(final String manifestUrl, final String manifestString, final Headers headers, final ManifestListener listener, final boolean isEmbedded, boolean isCached) throws JSONException {
<mask> if (Constants.DEBUG_MANIFEST_METHOD_TRACING) {
<mask> Debug.stopMethodTracing();
<mask> }
<mask> Analytics.markEvent(Analytics.TimedEvent.FINISHED_MANIFEST_NETWORK_REQUEST);
<mask>
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove private void handleResponse(Response response, final boolean isEmbedded) {
</s> add private void handleResponse(ExpoResponse response, final boolean isEmbedded) { </s> remove private void handleResponse(Response response, boolean isCached) {
</s> add private void handleResponse(ExpoResponse response, boolean isCached) { </s> remove callback.onFailure(call, new IOException("No hard coded response found"));
</s> add callback.onFailure(new IOException("No hard coded response found")); </s> remove void onFailure(Call call, IOException e);
void onResponse(Call call, Response response);
void onCachedResponse(Call call, Response response, boolean isEmbedded);
</s> add void onFailure(IOException e);
void onResponse(ExpoResponse response);
void onCachedResponse(ExpoResponse response, boolean isEmbedded); </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/ExponentManifest.java |
keep keep keep keep replace replace replace keep keep keep keep keep | <mask>
<mask> private static final String TAG = ExponentHttpClient.class.getSimpleName();
<mask>
<mask> public interface SafeCallback {
<mask> void onFailure(Call call, IOException e);
<mask> void onResponse(Call call, Response response);
<mask> void onCachedResponse(Call call, Response response, boolean isEmbedded);
<mask> }
<mask>
<mask> private Context mContext;
<mask> private ExponentNetwork.OkHttpClientFactory mOkHttpClientFactory;
<mask>
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove callback.onFailure(call, e);
</s> add callback.onFailure(e); </s> remove public void onResponse(Call call, Response response) {
callback.onResponse(call, response);
</s> add public void onResponse(ExpoResponse response) {
callback.onResponse(response); </s> remove private void fetchManifestStep2(final String manifestUrl, final String manifestString, final Headers headers, final ManifestListener listener, final boolean isEmbedded, boolean isCached) throws JSONException {
</s> add private void fetchManifestStep2(final String manifestUrl, final String manifestString, final ExpoResponse.ExpoHeaders headers, final ManifestListener listener, final boolean isEmbedded, boolean isCached) throws JSONException { </s> remove private void handleResponse(Response response, final boolean isEmbedded) {
</s> add private void handleResponse(ExpoResponse response, final boolean isEmbedded) { </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove private void handleResponse(Response response, boolean isCached) {
</s> add private void handleResponse(ExpoResponse response, boolean isCached) { | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/network/ExponentHttpClient.java |
keep keep keep keep replace keep keep keep keep keep | <mask>
<mask> @Override
<mask> public void onResponse(Call call, Response response) throws IOException {
<mask> if (response.isSuccessful()) {
<mask> callback.onResponse(call, response);
<mask> } else {
<mask> tryForcedCachedResponse(uri, request, callback, response, null);
<mask> }
<mask> }
<mask> });
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove callback.onCachedResponse(call, response, false);
</s> add callback.onCachedResponse(new ExpoResponse(response), false); </s> remove callback.onResponse(call, response);
</s> add callback.onResponse(new ExpoResponse(response)); </s> remove onResponse(call, response);
</s> add onResponse(response); </s> remove public void onResponse(Call call, Response response) {
callback.onResponse(call, response);
</s> add public void onResponse(ExpoResponse response) {
callback.onResponse(response); </s> remove callback.onFailure(call, e);
</s> add callback.onFailure(e); </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/network/ExponentHttpClient.java |
keep replace keep keep keep replace keep keep | <mask> @Override
<mask> public void onFailure(Call call, IOException e) {
<mask> call(request, new Callback() {
<mask> @Override
<mask> public void onFailure(Call call, IOException e) {
<mask> callback.onFailure(call, e);
<mask> }
<mask>
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove void onFailure(Call call, IOException e);
void onResponse(Call call, Response response);
void onCachedResponse(Call call, Response response, boolean isEmbedded);
</s> add void onFailure(IOException e);
void onResponse(ExpoResponse response);
void onCachedResponse(ExpoResponse response, boolean isEmbedded); </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/network/ExponentHttpClient.java |
keep keep keep keep replace keep keep keep keep keep | <mask> }
<mask>
<mask> @Override
<mask> public void onResponse(Call call, Response response) throws IOException {
<mask> callback.onResponse(call, response);
<mask> }
<mask> });
<mask> }
<mask>
<mask> @Override
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove callback.onResponse(call, response);
</s> add callback.onResponse(new ExpoResponse(response)); </s> remove public void onResponse(Call call, Response response) {
callback.onResponse(call, response);
</s> add public void onResponse(ExpoResponse response) {
callback.onResponse(response); </s> remove callback.onFailure(call, e);
</s> add callback.onFailure(e); </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { </s> remove callback.onCachedResponse(call, response, false);
</s> add callback.onCachedResponse(new ExpoResponse(response), false); | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/network/ExponentHttpClient.java |
keep replace replace keep keep keep replace replace keep keep keep | <mask> @Override
<mask> public void onResponse(Call call, Response response) {
<mask> callback.onResponse(call, response);
<mask> }
<mask>
<mask> @Override
<mask> public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
<mask> callback.onCachedResponse(call, response, isEmbedded);
<mask>
<mask> // You are responsible for updating the cache!
<mask> }
</s> Make ExponentHttpClient mockable
fbshipit-source-id: dd66794 </s> remove public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
</s> add public void onCachedResponse(ExpoResponse response, boolean isEmbedded) { </s> remove public void onResponse(Call call, Response response) {
</s> add public void onResponse(ExpoResponse response) { </s> remove public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
</s> add public void onCachedResponse(ExpoResponse response, boolean isEmbedded) { </s> remove public void onCachedResponse(Call call, Response response, boolean isEmbedded) {
</s> add public void onCachedResponse(ExpoResponse response, boolean isEmbedded) { </s> remove public void onFailure(Call call, IOException e) {
</s> add public void onFailure(IOException e) { | https://github.com/expo/expo/commit/b875c60e41432949567390bb8a7aa6f77f8d1a87 | android/expoview/src/main/java/host/exp/exponent/network/ExponentHttpClient.java |