Skip to content

Commit 44cf72c

Browse files
committed
bump to 0.3.1
1 parent b51f723 commit 44cf72c

File tree

6 files changed

+617
-779
lines changed

6 files changed

+617
-779
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const IndexPage = () => {
108108
</Layout>
109109
)
110110
}
111-
export default injectIntl(IndexPage)
111+
export default IndexPage
112112
```
113113

114114

examples/gatsby-starter-default-intl/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"version": "0.2.7",
66
"author": "Daewoong Moon <wiziple@gmail.com>",
77
"dependencies": {
8-
"gatsby": "2.17.1",
8+
"gatsby": "^2.17.4",
99
"gatsby-image": "^2.2.29",
10-
"gatsby-plugin-intl": "^0.2.8",
10+
"gatsby-plugin-intl": "^0.3.1",
1111
"gatsby-plugin-manifest": "^2.2.23",
1212
"gatsby-plugin-offline": "^3.0.16",
1313
"gatsby-plugin-react-helmet": "^3.1.13",

examples/gatsby-starter-default-intl/src/pages/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import React from "react"
2-
import { FormattedMessage, Link, injectIntl } from "gatsby-plugin-intl"
2+
import { FormattedMessage, Link, useIntl } from "gatsby-plugin-intl"
33
import Layout from "../components/layout"
44
import Image from "../components/image"
55
import SEO from "../components/seo"
66

7-
const IndexPage = ({ intl }) => {
7+
const IndexPage = () => {
8+
const intl = useIntl()
89
return (
910
<Layout>
1011
<SEO
@@ -31,4 +32,4 @@ const IndexPage = ({ intl }) => {
3132
)
3233
}
3334

34-
export default injectIntl(IndexPage)
35+
export default IndexPage

examples/gatsby-starter-default-intl/yarn.lock

Lines changed: 91 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,32 @@
762762
lodash "^4.17.13"
763763
to-fast-properties "^2.0.0"
764764

765+
"@formatjs/intl-pluralrules@^1.3.1":
766+
version "1.3.1"
767+
resolved "https://registry.yarnpkg.com/@formatjs/intl-pluralrules/-/intl-pluralrules-1.3.1.tgz#e3459a976a1a26e83f36f6d62d92eff948717a6e"
768+
integrity sha512-Z3NlE4q6zzG3tum9r0q0fs30IW2pUDvwUjtP3sPimFIPcycHRC60hW5AR1PTE9N0OPOB6ntBx6ZWvASBcAFLrw==
769+
dependencies:
770+
"@formatjs/intl-utils" "^1.4.0"
771+
772+
"@formatjs/intl-relativetimeformat@^4.2.1":
773+
version "4.2.1"
774+
resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-4.2.1.tgz#bee6ffb2227dfde001d7214deb8ab6c2bde4077b"
775+
integrity sha512-NIrK1jgDStuR9DEoJV8Iju6cj1Ffa7qr8qJ46nQGGH6c/222rZSdlEqd0qoX7AFMRpu2Br8OrSwNLX4IUo0nuw==
776+
dependencies:
777+
"@formatjs/intl-utils" "^1.4.0"
778+
779+
"@formatjs/intl-unified-numberformat@^2.1.0":
780+
version "2.1.0"
781+
resolved "https://registry.yarnpkg.com/@formatjs/intl-unified-numberformat/-/intl-unified-numberformat-2.1.0.tgz#0b8ef3bc3ebbafb40a65f09606a3fc414f1a392a"
782+
integrity sha512-0zL5DKRe4KiaupyiwT8ckTmE1aPlb2fsR0deMGN4QVlkdCxsCDMrLykrLyrhBa9fthTDaGR4Qh+bALk/sa4Vcg==
783+
dependencies:
784+
"@formatjs/intl-utils" "^1.4.0"
785+
786+
"@formatjs/intl-utils@^1.4.0":
787+
version "1.4.0"
788+
resolved "https://registry.yarnpkg.com/@formatjs/intl-utils/-/intl-utils-1.4.0.tgz#b59fdf78bbae9f99c500a298bf73b1945f5991f1"
789+
integrity sha512-z5HyJumGzORM+5SpvkAlp/hu0AHDeZcUNKSmj9NjS7kWxOGZMuAdS3X1K5XiE0j5I8r8s8SIaz0IQOdMA1WFeA==
790+
765791
"@gatsbyjs/relay-compiler@2.0.0-printer-fix.4":
766792
version "2.0.0-printer-fix.4"
767793
resolved "https://registry.yarnpkg.com/@gatsbyjs/relay-compiler/-/relay-compiler-2.0.0-printer-fix.4.tgz#4b06aeb4f2ceea5878b5832a2ced1bff9abb62bd"
@@ -1181,6 +1207,19 @@
11811207
resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.3.tgz#856c99cdc1551d22c22b18b5402719affec9839a"
11821208
integrity sha512-cS5owqtwzLN5kY+l+KgKdRJ/Cee8tlmQoGQuIE9tWnSmS3JMKzmxo2HIAk2wODMifGwO20d62xZQLYz+RLfXmw==
11831209

1210+
"@types/hoist-non-react-statics@^3.3.1":
1211+
version "3.3.1"
1212+
resolved "https://registry.yarnpkg.com/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz#1124aafe5118cb591977aeb1ceaaed1070eb039f"
1213+
integrity sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==
1214+
dependencies:
1215+
"@types/react" "*"
1216+
hoist-non-react-statics "^3.3.0"
1217+
1218+
"@types/invariant@^2.2.30":
1219+
version "2.2.30"
1220+
resolved "https://registry.yarnpkg.com/@types/invariant/-/invariant-2.2.30.tgz#20efa342807606ada5483731a8137cb1561e5fe9"
1221+
integrity sha512-98fB+yo7imSD2F7PF7GIpELNgtLNgo5wjivu0W5V4jx+KVVJxo6p/qN4zdzSTBWy4/sN3pPyXwnhRSD28QX+ag==
1222+
11841223
"@types/json-schema@^7.0.3":
11851224
version "7.0.3"
11861225
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636"
@@ -5117,10 +5156,10 @@ functional-red-black-tree@^1.0.1:
51175156
resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
51185157
integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
51195158

5120-
gatsby-cli@^2.8.4:
5121-
version "2.8.4"
5122-
resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-2.8.4.tgz#e4ff3042ab66a23b5611a47f6fe623a800e2ff50"
5123-
integrity sha512-mJpDKJ7LrQ4qO7a57KWqD1EsrdfpQ1s4zin09HxPI8YrjzpnNm0WShFsp/iNSpxBcRidCbi3SYU919YzhtEMXA==
5159+
gatsby-cli@^2.8.5:
5160+
version "2.8.5"
5161+
resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-2.8.5.tgz#5c11a455c73cca949fab6b0a7ca46cd8c10ee3d7"
5162+
integrity sha512-kkbVnCxSrqJDMq/H3FaqG4ptJSt+8etMTfrHDWy/Ju0GbhSmuW66jB/JVlOzsAY0BjHpGik4+bT/OmRmmbKmIQ==
51245163
dependencies:
51255164
"@babel/code-frame" "^7.5.5"
51265165
"@babel/runtime" "^7.6.3"
@@ -5209,15 +5248,17 @@ gatsby-page-utils@^0.0.27:
52095248
micromatch "^3.1.10"
52105249
slash "^3.0.0"
52115250

5212-
gatsby-plugin-intl@^0.2.8:
5213-
version "0.2.8"
5214-
resolved "https://registry.yarnpkg.com/gatsby-plugin-intl/-/gatsby-plugin-intl-0.2.8.tgz#d6393c77475e28c64a048416ff4bb389a0410292"
5215-
integrity sha512-m2fK8hKk0b0u7mRbz0DSik6qWvtYiKVm/wtabHOrl/g0vuytqWqqdRcaBAowUhhM5k9R8y/NrcsbNu9GiDJnKA==
5251+
gatsby-plugin-intl@^0.3.1:
5252+
version "0.3.1"
5253+
resolved "https://registry.yarnpkg.com/gatsby-plugin-intl/-/gatsby-plugin-intl-0.3.1.tgz#c89e52d49ff8a0854966234116efc42fdc0ba721"
5254+
integrity sha512-rPPS6VjC1ElCSxZcUGYQjxk2LTcN8PFTzBpcHK8ll4C744lAsU0mGgHdg3oZrKbs2b+0eGn+g5/EZ1Oh3OdsiQ==
52165255
dependencies:
52175256
"@babel/runtime" "^7.4.5"
5257+
"@formatjs/intl-pluralrules" "^1.3.1"
5258+
"@formatjs/intl-relativetimeformat" "^4.2.1"
52185259
browser-lang "^0.1.0"
52195260
intl "^1.2.5"
5220-
react-intl "^2.9.0"
5261+
react-intl "^3.4.0"
52215262

52225263
gatsby-plugin-manifest@^2.2.23:
52235264
version "2.2.23"
@@ -5353,10 +5394,10 @@ gatsby-transformer-sharp@^2.3.0:
53535394
semver "^5.7.1"
53545395
sharp "^0.23.1"
53555396

5356-
gatsby@2.17.1:
5357-
version "2.17.1"
5358-
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-2.17.1.tgz#c10a28ae4292ccd007b4313de391bee405e66043"
5359-
integrity sha512-XeQZ9f4aDKMPLY3s5NXiCNOfPHhdKSY5/4CjZQHON9vFCHmretQdps+f2ykqEKGEKQ0B+cmvTkPHflrqPhZk8w==
5397+
gatsby@^2.17.4:
5398+
version "2.17.4"
5399+
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-2.17.4.tgz#0f23ed27dfdd7ae9904e631835e0910a574db0cc"
5400+
integrity sha512-U5DMlIn1MM7n187LF5lFVcSxQyBq+p9QU+fj/xInLBlnT4uIyl1/2hPhG/26tLn0FKulJbYOu8U0HgAK7UmSyw==
53605401
dependencies:
53615402
"@babel/code-frame" "^7.5.5"
53625403
"@babel/core" "^7.6.4"
@@ -5418,7 +5459,7 @@ gatsby@2.17.1:
54185459
flat "^4.1.0"
54195460
fs-exists-cached "1.0.0"
54205461
fs-extra "^8.1.0"
5421-
gatsby-cli "^2.8.4"
5462+
gatsby-cli "^2.8.5"
54225463
gatsby-core-utils "^1.0.15"
54235464
gatsby-graphiql-explorer "^0.2.25"
54245465
gatsby-link "^2.2.22"
@@ -6429,29 +6470,28 @@ internal-ip@^4.3.0:
64296470
default-gateway "^4.2.0"
64306471
ipaddr.js "^1.9.0"
64316472

6432-
intl-format-cache@^2.0.5:
6433-
version "2.2.9"
6434-
resolved "https://registry.yarnpkg.com/intl-format-cache/-/intl-format-cache-2.2.9.tgz#fb560de20c549cda20b569cf1ffb6dc62b5b93b4"
6435-
integrity sha512-Zv/u8wRpekckv0cLkwpVdABYST4hZNTDaX7reFetrYTJwxExR2VyTqQm+l0WmL0Qo8Mjb9Tf33qnfj0T7pjxdQ==
6473+
intl-format-cache@^4.2.3:
6474+
version "4.2.3"
6475+
resolved "https://registry.yarnpkg.com/intl-format-cache/-/intl-format-cache-4.2.3.tgz#3692184108b76401fb354133297f440982584f56"
6476+
integrity sha512-9UMBxp/SduF9BESfuWaZqv61tT/s4RkD13MGmG/tmUHPdue201nU5R571stWSsOA87Z5gT4b1L4JzZXhO0IY+g==
64366477

6437-
intl-messageformat-parser@1.4.0:
6438-
version "1.4.0"
6439-
resolved "https://registry.yarnpkg.com/intl-messageformat-parser/-/intl-messageformat-parser-1.4.0.tgz#b43d45a97468cadbe44331d74bb1e8dea44fc075"
6440-
integrity sha1-tD1FqXRoytvkQzHXS7Ho3qRPwHU=
6478+
intl-locales-supported@^1.6.0:
6479+
version "1.6.0"
6480+
resolved "https://registry.yarnpkg.com/intl-locales-supported/-/intl-locales-supported-1.6.0.tgz#6f66501ef23a58c87f242021cfadb1b012770808"
6481+
integrity sha512-n8J5v2oBjaOu065/HXeDFU3huv76Ehwj6YovPI7IJ3DCf0EvvwL1lncRj/qobmlyDh0LumwxpU+pVhFR34xjEA==
64416482

6442-
intl-messageformat@^2.0.0, intl-messageformat@^2.1.0:
6443-
version "2.2.0"
6444-
resolved "https://registry.yarnpkg.com/intl-messageformat/-/intl-messageformat-2.2.0.tgz#345bcd46de630b7683330c2e52177ff5eab484fc"
6445-
integrity sha1-NFvNRt5jC3aDMwwuUhd/9eq0hPw=
6446-
dependencies:
6447-
intl-messageformat-parser "1.4.0"
6483+
intl-messageformat-parser@^3.2.2:
6484+
version "3.2.2"
6485+
resolved "https://registry.yarnpkg.com/intl-messageformat-parser/-/intl-messageformat-parser-3.2.2.tgz#28cacc80a53823a28b5ecaf16b3b35d0a1d5f9d2"
6486+
integrity sha512-ax9639ST77YimAddTH/0Q9qhXuYS8ZVsoqOZinqnS90MbXaNuIq+KIdifaIndwI+lMEv3o+qNaGycXYvlh17rw==
64486487

6449-
intl-relativeformat@^2.1.0:
6450-
version "2.2.0"
6451-
resolved "https://registry.yarnpkg.com/intl-relativeformat/-/intl-relativeformat-2.2.0.tgz#6aca95d019ec8d30b6c5653b6629f9983ea5b6c5"
6452-
integrity sha512-4bV/7kSKaPEmu6ArxXf9xjv1ny74Zkwuey8Pm01NH4zggPP7JHwg2STk8Y3JdspCKRDriwIyLRfEXnj2ZLr4Bw==
6488+
intl-messageformat@^7.3.3:
6489+
version "7.3.3"
6490+
resolved "https://registry.yarnpkg.com/intl-messageformat/-/intl-messageformat-7.3.3.tgz#384907d51645d1120f8bbd539880c7b1d21616c3"
6491+
integrity sha512-LfYzzoUYjDtdZDDmntOAEYkub816ZWpWFqv2pXXNv7Ea5WUUltljHOxwQXEly54rNk6whkn97rxfu3LPFRzmFw==
64536492
dependencies:
6454-
intl-messageformat "^2.0.0"
6493+
intl-format-cache "^4.2.3"
6494+
intl-messageformat-parser "^3.2.2"
64556495

64566496
intl@^1.2.5:
64576497
version "1.2.5"
@@ -9706,16 +9746,22 @@ react-hot-loader@^4.12.15:
97069746
shallowequal "^1.1.0"
97079747
source-map "^0.7.3"
97089748

9709-
react-intl@^2.9.0:
9710-
version "2.9.0"
9711-
resolved "https://registry.yarnpkg.com/react-intl/-/react-intl-2.9.0.tgz#c97c5d17d4718f1575fdbd5a769f96018a3b1843"
9712-
integrity sha512-27jnDlb/d2A7mSJwrbOBnUgD+rPep+abmoJE511Tf8BnoONIAUehy/U1zZCHGO17mnOwMWxqN4qC0nW11cD6rA==
9749+
react-intl@^3.4.0:
9750+
version "3.4.0"
9751+
resolved "https://registry.yarnpkg.com/react-intl/-/react-intl-3.4.0.tgz#25986ac75b3c0073c0a7bce31ab2cb1b8bbf421c"
9752+
integrity sha512-pW+z0ngVtPzICQeBrvoxk/YOotjFjVMvqxf/q0hjfM4CLvzIWJW/7MQcOz8ujD0Agf146mYOUv0//a9JM4H6Tg==
97139753
dependencies:
9754+
"@formatjs/intl-relativetimeformat" "^4.2.1"
9755+
"@formatjs/intl-unified-numberformat" "^2.1.0"
9756+
"@types/hoist-non-react-statics" "^3.3.1"
9757+
"@types/invariant" "^2.2.30"
97149758
hoist-non-react-statics "^3.3.0"
9715-
intl-format-cache "^2.0.5"
9716-
intl-messageformat "^2.1.0"
9717-
intl-relativeformat "^2.1.0"
9759+
intl-format-cache "^4.2.3"
9760+
intl-locales-supported "^1.6.0"
9761+
intl-messageformat "^7.3.3"
9762+
intl-messageformat-parser "^3.2.2"
97189763
invariant "^2.1.1"
9764+
shallow-equal "^1.1.0"
97199765

97209766
react-is@^16.7.0, react-is@^16.8.1:
97219767
version "16.11.0"
@@ -10432,6 +10478,11 @@ shallow-compare@^1.2.2:
1043210478
resolved "https://registry.yarnpkg.com/shallow-compare/-/shallow-compare-1.2.2.tgz#fa4794627bf455a47c4f56881d8a6132d581ffdb"
1043310479
integrity sha512-LUMFi+RppPlrHzbqmFnINTrazo0lPNwhcgzuAXVVcfy/mqPDrQmHAyz5bvV0gDAuRFrk804V0HpQ6u9sZ0tBeg==
1043410480

10481+
shallow-equal@^1.1.0:
10482+
version "1.2.0"
10483+
resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.2.0.tgz#fd828d2029ff4e19569db7e19e535e94e2d1f5cc"
10484+
integrity sha512-Z21pVxR4cXsfwpMKMhCEIO1PCi5sp7KEp+CmOpBQ+E8GpHwKOw2sEzk7sgblM3d/j4z4gakoWEoPcjK0VJQogA==
10485+
1043510486
shallowequal@^1.0.1, shallowequal@^1.1.0:
1043610487
version "1.1.0"
1043710488
resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8"

0 commit comments

Comments
 (0)