diff --git a/package.json b/package.json index c36638fd943..ae4e13bfc09 100644 --- a/package.json +++ b/package.json @@ -241,7 +241,7 @@ "babel-jest": "26.5.2", "babel-loader": "8.2.2", "babel-plugin-module-resolver": "4.1.0", - "babel-plugin-react-intl": "7.5.4", + "babel-plugin-react-intl": "7.9.4", "babel-plugin-react-intl-auto": "3.3.0", "babel-plugin-styled-components": "1.10.7", "babel-plugin-transform-react-pure-class-to-function": "1.0.1", @@ -363,7 +363,7 @@ "react": "16.13.1", "react-dom": "16.13.1", "react-hot-loader": "4.12.21", - "react-intl": "4.5.1", + "react-intl": "4.7.6", "react-intl-redux": "2.2.0", "react-redux": "7.2.0", "react-router-dom": "5.2.0", diff --git a/yarn.lock b/yarn.lock index e597754cea6..3a047eb1c47 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3038,20 +3038,56 @@ dependencies: tslib "^2.0.1" -"@formatjs/intl-displaynames@^1.2.0", "@formatjs/intl-displaynames@^1.2.8": +"@formatjs/intl-datetimeformat@^1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@formatjs/intl-datetimeformat/-/intl-datetimeformat-1.3.3.tgz#3bf877005a2519df1ce008aa63bc960c9e1b8334" + integrity sha512-wLHQOqKU+I0sINFPA7jabYm/O+ep90NtMv88wCgtWjoHWkfpgK4MJ7mRU01O7Vm/a3onaYvfM4NISdSSLLmHuw== + dependencies: + "@formatjs/intl-getcanonicallocales" "^1.2.7" + "@formatjs/intl-utils" "^3.5.0" + +"@formatjs/intl-displaynames@^1.2.0": version "1.2.10" resolved "https://registry.yarnpkg.com/@formatjs/intl-displaynames/-/intl-displaynames-1.2.10.tgz#bb9625cca90b099978cd967c6a98aaf4e23fc878" integrity sha512-GROA2RP6+7Ouu0WnHFF78O5XIU7pBfI19WM1qm93l6MFWibUk67nCfVCK3VAYJkLy8L8ZxjkYT11VIAfvSz8wg== dependencies: "@formatjs/intl-utils" "^2.3.0" -"@formatjs/intl-listformat@^1.4.1", "@formatjs/intl-listformat@^1.4.6": +"@formatjs/intl-displaynames@^2.2.9": + version "2.2.9" + resolved "https://registry.yarnpkg.com/@formatjs/intl-displaynames/-/intl-displaynames-2.2.9.tgz#4e2a15f50b3c77d52c80c46f4cb3db32fdf46aea" + integrity sha512-MjjG9SXBre8WwqRHMtaX0wD9T4VvEiNp5U/K96GDE8rHzHxAdP8wKEqlau9ZP47O+bSi7JN5cOTAHoUBpMsn6Q== + dependencies: + "@formatjs/intl-utils" "^3.5.0" + +"@formatjs/intl-getcanonicallocales@^1.2.7": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@formatjs/intl-getcanonicallocales/-/intl-getcanonicallocales-1.9.0.tgz#3fbe3fff5ac639b27e56d19c2f3e8c24a7b13e5f" + integrity sha512-5f/5oX0lYw4SOPT6KEOJn/TFKY2GRemrxNuvi/+xdyb3kQhsQlUU0vbcSJhnP+sBcrZFOfoL7OVRkw/vFl9KOA== + dependencies: + tslib "^2.1.0" + +"@formatjs/intl-listformat@^1.4.1": version "1.4.8" resolved "https://registry.yarnpkg.com/@formatjs/intl-listformat/-/intl-listformat-1.4.8.tgz#70b81005e7dcf74329cb5b314a940ce5fce36cd0" integrity sha512-WNMQlEg0e50VZrGIkgD5n7+DAMGt3boKi1GJALfhFMymslJb5i+5WzWxyj/3a929Z6MAFsmzRIJjKuv+BxKAOQ== dependencies: "@formatjs/intl-utils" "^2.3.0" +"@formatjs/intl-listformat@^2.2.9": + version "2.2.9" + resolved "https://registry.yarnpkg.com/@formatjs/intl-listformat/-/intl-listformat-2.2.9.tgz#b6b5eeff06c547fb0c8a03a28807edaf70318640" + integrity sha512-RC9wrQf7XXRP73Np1+WDR71HdT91mcdiNgH6m9HVFWa3tgv8rk43QJSMbehPqgcJ1l1pm6Uwm0wURAz8YJVX3A== + dependencies: + "@formatjs/intl-utils" "^3.5.0" + +"@formatjs/intl-numberformat@^4.2.11": + version "4.2.11" + resolved "https://registry.yarnpkg.com/@formatjs/intl-numberformat/-/intl-numberformat-4.2.11.tgz#b7d2446b5bb2e6d760d66d9d053e51c045439936" + integrity sha512-LiPrkg2sRZsH0F6XOz9Esgu+Ou6vux3QPiNDHKKrHL5T4pRbcethI9+vwttnY44FIVnTxjQdywkcJILLjgWPUw== + dependencies: + "@formatjs/intl-utils" "^3.5.0" + "@formatjs/intl-numberformat@^5.5.2": version "5.6.5" resolved "https://registry.yarnpkg.com/@formatjs/intl-numberformat/-/intl-numberformat-5.6.5.tgz#9c55131fbc6eec88fa22db9d1b1297d0bb46d3f2" @@ -3060,25 +3096,39 @@ "@formatjs/ecma402-abstract" "^1.2.5" tslib "^2.0.1" -"@formatjs/intl-relativetimeformat@^4.5.14", "@formatjs/intl-relativetimeformat@^4.5.9": +"@formatjs/intl-relativetimeformat@^4.5.9": version "4.5.16" resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-4.5.16.tgz#7449cef3213dd66d25924ca41f125f87b58df95a" integrity sha512-IQ0haY97oHAH5OYUdykNiepdyEWj3SAT+Fp9ZpR85ov2JNiFx+12WWlxlVS8ehdyncC2ZMt/SwFIy2huK2+6/A== dependencies: "@formatjs/intl-utils" "^2.3.0" -"@formatjs/intl-unified-numberformat@^3.2.0", "@formatjs/intl-unified-numberformat@^3.3.5": +"@formatjs/intl-relativetimeformat@^5.2.11": + version "5.2.11" + resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-5.2.11.tgz#a77ee656c7def637aa54056f7316c6c2501f926c" + integrity sha512-Lf7SEIICJ4cGX1vFAMeyRQG8L1Pf18qfXXX4OWIswUnCyCcoIidLMvVN2xjrtB/OToc6mgZhhCTF35hRA0hl7Q== + dependencies: + "@formatjs/intl-utils" "^3.5.0" + +"@formatjs/intl-unified-numberformat@^3.2.0": version "3.3.7" resolved "https://registry.yarnpkg.com/@formatjs/intl-unified-numberformat/-/intl-unified-numberformat-3.3.7.tgz#9995a24568908188e716d81a1de5b702b2ee00e2" integrity sha512-KnWgLRHzCAgT9eyt3OS34RHoyD7dPDYhRcuKn+/6Kv2knDF8Im43J6vlSW6Hm1w63fNq3ZIT1cFk7RuVO3Psag== dependencies: "@formatjs/intl-utils" "^2.3.0" -"@formatjs/intl-utils@^2.2.0", "@formatjs/intl-utils@^2.2.4", "@formatjs/intl-utils@^2.3.0": +"@formatjs/intl-utils@^2.2.0", "@formatjs/intl-utils@^2.3.0": version "2.3.0" resolved "https://registry.yarnpkg.com/@formatjs/intl-utils/-/intl-utils-2.3.0.tgz#2dc8c57044de0340eb53a7ba602e59abf80dc799" integrity sha512-KWk80UPIzPmUg+P0rKh6TqspRw0G6eux1PuJr+zz47ftMaZ9QDwbGzHZbtzWkl5hgayM/qrKRutllRC7D/vVXQ== +"@formatjs/intl-utils@^3.5.0": + version "3.8.4" + resolved "https://registry.yarnpkg.com/@formatjs/intl-utils/-/intl-utils-3.8.4.tgz#291baac91001db428fc3275c515a3e40fbe95945" + integrity sha512-j5C6NyfKevIxsfLK8KwO1C0vvP7k1+h4A9cFpc+cr6mEwCc1sPkr17dzh0Ke6k9U5pQccAQoXdcNBl3IYa4+ZQ== + dependencies: + emojis-list "^3.0.0" + "@formatjs/ts-transformer@^2.6.0": version "2.11.3" resolved "https://registry.yarnpkg.com/@formatjs/ts-transformer/-/ts-transformer-2.11.3.tgz#9d253ba4681f1654dddbfb43e453d0692f8c85c9" @@ -4560,13 +4610,6 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.46.tgz#0fb6bfbbeabd7a30880504993369c4bf1deab1fe" integrity sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg== -"@types/fs-extra@^8.1.0": - version "8.1.1" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-8.1.1.tgz#1e49f22d09aa46e19b51c0b013cb63d0d923a068" - integrity sha512-TcUlBem321DFQzBNuz8p0CLLKp0VvF/XH9E4KHNmgwyp4E3AfgI5cjiIVZWlbfThBop2qxFIh4+LeY6hVWWZ2w== - dependencies: - "@types/node" "*" - "@types/fs-extra@^9.0.1": version "9.0.1" resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.1.tgz#91c8fc4c51f6d5dbe44c2ca9ab09310bd00c7918" @@ -6103,18 +6146,7 @@ babel-plugin-minify-type-constructors@^0.4.3: dependencies: babel-helper-is-void-0 "^0.4.3" -babel-plugin-module-resolver@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/babel-plugin-module-resolver/-/babel-plugin-module-resolver-4.1.0.tgz#22a4f32f7441727ec1fbf4967b863e1e3e9f33e2" - integrity sha512-MlX10UDheRr3lb3P0WcaIdtCSRlxdQsB1sBqL7W0raF070bGl1HQQq5K3T2vf2XAYie+ww+5AKC/WrkjRO2knA== - dependencies: - find-babel-config "^1.2.0" - glob "^7.1.6" - pkg-up "^3.1.0" - reselect "^4.0.0" - resolve "^1.13.1" - -babel-plugin-module-resolver@^4.0.0: +babel-plugin-module-resolver@4.1.0, babel-plugin-module-resolver@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/babel-plugin-module-resolver/-/babel-plugin-module-resolver-4.1.0.tgz#22a4f32f7441727ec1fbf4967b863e1e3e9f33e2" integrity sha512-MlX10UDheRr3lb3P0WcaIdtCSRlxdQsB1sBqL7W0raF070bGl1HQQq5K3T2vf2XAYie+ww+5AKC/WrkjRO2knA== @@ -6197,22 +6229,7 @@ babel-plugin-react-intl-auto@3.3.0: "@babel/types" "^7.9.0" murmurhash3js "^3.0.1" -babel-plugin-react-intl@7.5.4: - version "7.5.4" - resolved "https://registry.yarnpkg.com/babel-plugin-react-intl/-/babel-plugin-react-intl-7.5.4.tgz#f25437728d0c92b04639f6908925fc18e3da6216" - integrity sha512-sVOHX9XAt5r1d39gFZFRqjayyHJmcghAjvafn/LjelNORZmUGV04Tt/2iGi70zbVSiiNJ9oohkUvtO0IanSZfA== - dependencies: - "@babel/core" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/types" "^7.9.5" - "@types/babel__core" "^7.1.7" - "@types/fs-extra" "^8.1.0" - "@types/schema-utils" "^2.4.0" - fs-extra "^9.0.0" - intl-messageformat-parser "^5.0.2" - schema-utils "^2.6.6" - -babel-plugin-react-intl@^7.0.0: +babel-plugin-react-intl@7.9.4, babel-plugin-react-intl@^7.0.0: version "7.9.4" resolved "https://registry.yarnpkg.com/babel-plugin-react-intl/-/babel-plugin-react-intl-7.9.4.tgz#1fc9ab50470d41b934df50d8f436578ee1732cb0" integrity sha512-cMKrHEXrw43yT4M89Wbgq8A8N8lffSquj1Piwov/HVukR7jwOw8gf9btXNsQhT27ccyqEwy+M286JQYy0jby2g== @@ -12326,7 +12343,7 @@ interpret@^2.0.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw== -intl-format-cache@^4.2.21, intl-format-cache@^4.2.26, intl-format-cache@^4.2.43: +intl-format-cache@^4.2.21, intl-format-cache@^4.2.43: version "4.3.1" resolved "https://registry.yarnpkg.com/intl-format-cache/-/intl-format-cache-4.3.1.tgz#484d31a9872161e6c02139349b259a6229ade377" integrity sha512-OEUYNA7D06agqPOYhbTkl0T8HA3QKSuwWh1HiClEnpd9vw7N+3XsQt5iZ0GUEchp5CW1fQk/tary+NsbF3yQ1Q== @@ -12338,7 +12355,7 @@ intl-messageformat-parser@^3.6.4: dependencies: "@formatjs/intl-unified-numberformat" "^3.2.0" -intl-messageformat-parser@^5.0.2, intl-messageformat-parser@^5.2.1, intl-messageformat-parser@^5.3.7: +intl-messageformat-parser@^5.2.1, intl-messageformat-parser@^5.3.7: version "5.5.1" resolved "https://registry.yarnpkg.com/intl-messageformat-parser/-/intl-messageformat-parser-5.5.1.tgz#f09a692755813e6220081e3374df3fb1698bd0c6" integrity sha512-TvB3LqF2VtP6yI6HXlRT5TxX98HKha6hCcrg9dwlPwNaedVNuQA9KgBdtWKgiyakyCTYHQ+KJeFEstNKfZr64w== @@ -12361,7 +12378,7 @@ intl-messageformat@^7.8.4: intl-format-cache "^4.2.21" intl-messageformat-parser "^3.6.4" -intl-messageformat@^8.3.9: +intl-messageformat@^8.4.1: version "8.4.1" resolved "https://registry.yarnpkg.com/intl-messageformat/-/intl-messageformat-8.4.1.tgz#f31c811efc561700b61ab4ee4716b870787c0fe5" integrity sha512-N4jLt0KebfqXZZZQRwBwZMrqwccHzZnN6KSeUsfidIoHMPIlLIgq08KcYsn7bZS6adh1KKH4/99VODWDDDu85Q== @@ -16724,22 +16741,23 @@ react-intl-redux@2.2.0: dependencies: prop-types "^15.7.2" -react-intl@4.5.1: - version "4.5.1" - resolved "https://registry.yarnpkg.com/react-intl/-/react-intl-4.5.1.tgz#b1583c853eaf652ba3579e605aec66eeb915195f" - integrity sha512-Zhe5rn+AYtcnzgAuL2ZgqOCMpFwco9aQ0OMdobe/g1l+hUTEEt7gQyZO0cHXd4lsfJIyBtjGnVlR9V2YwC1dDw== - dependencies: - "@formatjs/intl-displaynames" "^1.2.8" - "@formatjs/intl-listformat" "^1.4.6" - "@formatjs/intl-relativetimeformat" "^4.5.14" - "@formatjs/intl-unified-numberformat" "^3.3.5" - "@formatjs/intl-utils" "^2.2.4" +react-intl@4.7.6: + version "4.7.6" + resolved "https://registry.yarnpkg.com/react-intl/-/react-intl-4.7.6.tgz#7538df3412ca5aae882ce709b1e0ba291a41a282" + integrity sha512-esfz1/WAZjN7WixC1ZiRDWrvH+OSdZ6ZcRYguEqeS69lycj/x8L3ckzF0+5cmbkJGvBLG5ppFZ6DOO0mCk8gUw== + dependencies: + "@formatjs/intl-datetimeformat" "^1.3.3" + "@formatjs/intl-displaynames" "^2.2.9" + "@formatjs/intl-listformat" "^2.2.9" + "@formatjs/intl-numberformat" "^4.2.11" + "@formatjs/intl-relativetimeformat" "^5.2.11" + "@formatjs/intl-utils" "^3.5.0" "@types/hoist-non-react-statics" "^3.3.1" "@types/invariant" "^2.2.31" hoist-non-react-statics "^3.3.2" - intl-format-cache "^4.2.26" - intl-messageformat "^8.3.9" - intl-messageformat-parser "^5.0.2" + intl-format-cache "^4.2.43" + intl-messageformat "^8.4.1" + intl-messageformat-parser "^5.2.1" shallow-equal "^1.2.1" react-intl@^3: @@ -19777,6 +19795,11 @@ tslib@^2.0.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.3.tgz#8e0741ac45fc0c226e58a17bfc3e64b9bc6ca61c" integrity sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ== +tslib@^2.1.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" + integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== + tsutils@^3.17.1: version "3.17.1" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"