Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup of iOS intl polyfills #9202

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@
"@artsy/palette-mobile": "13.0.2",
"@artsy/to-title-case": "1.1.0",
"@expo/react-native-action-sheet": "4.0.1",
"@formatjs/intl-datetimeformat": "6.8.0",
"@formatjs/intl-getcanonicallocales": "2.2.0",
"@formatjs/intl-locale": "3.3.0",
"@formatjs/intl-numberformat": "8.5.0",
"@formatjs/intl-pluralrules": "5.2.2",
"@gorhom/bottom-sheet": "4.4.5",
"@invertase/react-native-apple-authentication": "2.1.5",
"@kesha-antonov/react-native-action-cable": "1.1.0",
Expand Down
13 changes: 0 additions & 13 deletions src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ if (__DEV__) {
NativeModules.DevSettings.setIsShakeToShowDevMenuEnabled(false)
}

if (Platform.OS === "ios") {
// Polyfills required to use Intl with Hermes engine for iOS
require("@formatjs/intl-getcanonicallocales/polyfill").default
require("@formatjs/intl-locale/polyfill").default
require("@formatjs/intl-pluralrules/polyfill").default
require("@formatjs/intl-pluralrules/locale-data/en").default
require("@formatjs/intl-numberformat/polyfill").default
require("@formatjs/intl-numberformat/locale-data/en").default
require("@formatjs/intl-datetimeformat/polyfill").default
require("@formatjs/intl-datetimeformat/locale-data/en").default
require("@formatjs/intl-datetimeformat/add-all-tz").default
}

setupFlipper()

addTrackingProvider(SEGMENT_TRACKING_PROVIDER, SegmentTrackingProvider)
Expand Down
66 changes: 0 additions & 66 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2518,72 +2518,6 @@
resolved "https://registry.yarnpkg.com/@expo/sdk-runtime-versions/-/sdk-runtime-versions-1.0.0.tgz#d7ebd21b19f1c6b0395e50d78da4416941c57f7c"
integrity sha512-Doz2bfiPndXYFPMRwPyGa1k5QaKDVpY806UJj570epIiMzWaYyCtobasyfC++qfIXVb5Ocy7r3tP9d62hAQ7IQ==

"@formatjs/ecma402-abstract@1.15.0":
version "1.15.0"
resolved "https://registry.yarnpkg.com/@formatjs/ecma402-abstract/-/ecma402-abstract-1.15.0.tgz#0a285a5dc69889e15d53803bd5036272e23e5a18"
integrity sha512-7bAYAv0w4AIao9DNg0avfOLTCPE9woAgs6SpXuMq11IN3A+l+cq8ghczwqSZBM11myvPSJA7vLn72q0rJ0QK6Q==
dependencies:
"@formatjs/intl-localematcher" "0.2.32"
tslib "^2.4.0"

"@formatjs/intl-datetimeformat@6.8.0":
version "6.8.0"
resolved "https://registry.yarnpkg.com/@formatjs/intl-datetimeformat/-/intl-datetimeformat-6.8.0.tgz#08fd3cf96c9b6d6df654fe54b9c3f996c444d9be"
integrity sha512-D72OdFMFQ732HK+/6xGVWAvF1QCFkcEgXGbydzYKsWpQ2EBy5wfK8I2XkYctFHoGDpm20nxfEs6UKEHP0hISfQ==
dependencies:
"@formatjs/ecma402-abstract" "1.15.0"
"@formatjs/intl-localematcher" "0.2.32"
tslib "^2.4.0"

"@formatjs/intl-enumerator@1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@formatjs/intl-enumerator/-/intl-enumerator-1.3.0.tgz#c215fc7fbb21526fac032792e806c629d8c8d565"
integrity sha512-q563xxoaQC6lu4VcDTsf/bbVtSDjXElbNGF5oguT3TpF3jdqxJgS4o1M+6qwjoubUYknLMfHM89OXU1rzhqSVQ==
dependencies:
tslib "^2.4.0"

"@formatjs/intl-getcanonicallocales@2.2.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@formatjs/intl-getcanonicallocales/-/intl-getcanonicallocales-2.2.0.tgz#7fc738055a91a58443d493b9fa2fef0715c67353"
integrity sha512-LvjCj2DFaD8NSHW5pGBOcvgTzn5bT9aj4iNY/ejwVWkpAowoy1B4bZVXAJXLda5zqPV16zw/IXhxseiSflO/4A==
dependencies:
tslib "^2.4.0"

"@formatjs/intl-locale@3.3.0":
version "3.3.0"
resolved "https://registry.yarnpkg.com/@formatjs/intl-locale/-/intl-locale-3.3.0.tgz#18e1e2a8645b9746985a45475e8bdaa42a109a04"
integrity sha512-mKfnuvPZqzrOBpwnWHXfmdp78oLe0fNHGevX/k7KMk9LqTEIL64qt1G26kRwvFs88NdAYrCJVVOKShTTt0Qw6Q==
dependencies:
"@formatjs/ecma402-abstract" "1.15.0"
"@formatjs/intl-enumerator" "1.3.0"
"@formatjs/intl-getcanonicallocales" "2.2.0"
tslib "^2.4.0"

"@formatjs/intl-localematcher@0.2.32":
version "0.2.32"
resolved "https://registry.yarnpkg.com/@formatjs/intl-localematcher/-/intl-localematcher-0.2.32.tgz#00d4d307cd7d514b298e15a11a369b86c8933ec1"
integrity sha512-k/MEBstff4sttohyEpXxCmC3MqbUn9VvHGlZ8fauLzkbwXmVrEeyzS+4uhrvAk9DWU9/7otYWxyDox4nT/KVLQ==
dependencies:
tslib "^2.4.0"

"@formatjs/intl-numberformat@8.5.0":
version "8.5.0"
resolved "https://registry.yarnpkg.com/@formatjs/intl-numberformat/-/intl-numberformat-8.5.0.tgz#ca1467695c349aba539d6a70b9655473b3a92a2d"
integrity sha512-z6qseXkCBp5UpSmg7oUKcq/mzum6ZMmMWrSkcVerF2jW289yX7ElXVxD0Da3VwumSVhJUxxYeyYogBbTFQ/kLw==
dependencies:
"@formatjs/ecma402-abstract" "1.15.0"
"@formatjs/intl-localematcher" "0.2.32"
tslib "^2.4.0"

"@formatjs/intl-pluralrules@5.2.2":
version "5.2.2"
resolved "https://registry.yarnpkg.com/@formatjs/intl-pluralrules/-/intl-pluralrules-5.2.2.tgz#6322d20a6d0172459e4faf4b0f06603c931673aa"
integrity sha512-mEbnbRzsSCIYqaBmrmUlOsPu5MG6KfMcnzekPzUrUucX2dNiI1KWBGHK6IoXl5c8zx60L1NXJ6cSQ7akoc15SQ==
dependencies:
"@formatjs/ecma402-abstract" "1.15.0"
"@formatjs/intl-localematcher" "0.2.32"
tslib "^2.4.0"

"@gitbeaker/core@^21.7.0":
version "21.7.0"
resolved "https://registry.yarnpkg.com/@gitbeaker/core/-/core-21.7.0.tgz#fcf7a12915d39f416e3f316d0a447a814179b8e5"
Expand Down