Skip to content

Commit c92e011

Browse files
authored
Merge pull request #1 from furystack/chore/dependency-upgrade-2022-02-13
chore/dependency upgrade 2022 02 13
2 parents 5fc9f7c + 049ee9e commit c92e011

File tree

3 files changed

+3188
-5682
lines changed

3 files changed

+3188
-5682
lines changed

package.json

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -15,64 +15,64 @@
1515
"deploy": "gatsby build --prefix-paths && gh-pages -d public"
1616
},
1717
"dependencies": {
18-
"@emotion/react": "11.4.1",
19-
"@emotion/styled": "11.3.0",
20-
"cssnano": "5.0.8",
21-
"date-fns": "2.23.0",
18+
"@emotion/react": "11.7.1",
19+
"@emotion/styled": "11.6.0",
20+
"cssnano": "5.0.17",
21+
"date-fns": "2.28.0",
2222
"emotion": "11.0.0",
2323
"emotion-server": "11.0.0",
24-
"gatsby": "3.12.0",
24+
"gatsby": "4.7.1",
2525
"gatsby-image": "3.11.0",
26-
"gatsby-plugin-canonical-urls": "3.12.0",
27-
"gatsby-plugin-emotion": "6.12.0",
28-
"gatsby-plugin-feed": "3.12.0",
26+
"gatsby-plugin-canonical-urls": "4.7.0",
27+
"gatsby-plugin-emotion": "7.7.0",
28+
"gatsby-plugin-feed": "4.7.0",
2929
"gatsby-plugin-global-styles": "^1.0.17",
30-
"gatsby-plugin-google-analytics": "3.12.0",
31-
"gatsby-plugin-postcss": "4.12.0",
32-
"gatsby-plugin-react-helmet": "4.12.0",
33-
"gatsby-plugin-sharp": "3.12.0",
34-
"gatsby-plugin-sitemap": "4.8.0",
35-
"gatsby-plugin-typescript": "3.12.0",
36-
"gatsby-remark-copy-linked-files": "4.9.0",
37-
"gatsby-remark-images": "5.9.0",
38-
"gatsby-remark-prismjs": "5.9.0",
30+
"gatsby-plugin-google-analytics": "4.7.0",
31+
"gatsby-plugin-postcss": "5.7.0",
32+
"gatsby-plugin-react-helmet": "5.7.0",
33+
"gatsby-plugin-sharp": "4.7.0",
34+
"gatsby-plugin-sitemap": "5.7.0",
35+
"gatsby-plugin-typescript": "4.7.0",
36+
"gatsby-remark-copy-linked-files": "5.7.0",
37+
"gatsby-remark-images": "6.7.0",
38+
"gatsby-remark-prismjs": "6.7.0",
3939
"gatsby-remark-reading-time": "1.1.0",
40-
"gatsby-remark-responsive-iframe": "4.9.0",
41-
"gatsby-remark-smartypants": "4.9.0",
42-
"gatsby-source-filesystem": "3.12.0",
43-
"gatsby-transformer-json": "3.12.0",
44-
"gatsby-transformer-remark": "4.9.0",
45-
"gatsby-transformer-sharp": "3.12.0",
46-
"gatsby-transformer-yaml": "3.12.0",
40+
"gatsby-remark-responsive-iframe": "5.7.0",
41+
"gatsby-remark-smartypants": "5.7.0",
42+
"gatsby-source-filesystem": "4.7.0",
43+
"gatsby-transformer-json": "4.7.0",
44+
"gatsby-transformer-remark": "5.7.0",
45+
"gatsby-transformer-sharp": "4.7.0",
46+
"gatsby-transformer-yaml": "4.7.0",
4747
"lodash": "4.17.21",
4848
"normalize.css": "8.0.1",
49-
"polished": "4.1.3",
49+
"polished": "4.1.4",
5050
"postcss-color-function": "4.1.0",
51-
"prism-themes": "1.8.0",
52-
"prismjs": "1.24.1",
51+
"prism-themes": "1.9.0",
52+
"prismjs": "1.26.0",
5353
"react": "17.0.2",
5454
"react-dom": "17.0.2",
5555
"react-emotion": "10.0.0",
5656
"react-helmet": "6.1.0",
57-
"rehype-react": "7.0.0"
57+
"rehype-react": "7.0.4"
5858
},
5959
"devDependencies": {
60-
"@types/lodash": "4.14.172",
61-
"@types/node": "16.7.1",
62-
"@types/react": "17.0.19",
63-
"@types/react-dom": "17.0.9",
64-
"@types/react-helmet": "6.1.2",
65-
"@typescript-eslint/eslint-plugin": "4.29.2",
66-
"@typescript-eslint/parser": "4.29.2",
67-
"eslint": "7.32.0",
68-
"eslint-config-xo-react": "0.25.0",
69-
"eslint-config-xo-space": "0.29.0",
70-
"eslint-config-xo-typescript": "0.44.0",
71-
"eslint-plugin-import": "2.24.1",
72-
"eslint-plugin-react": "7.24.0",
73-
"eslint-plugin-react-hooks": "4.2.0",
60+
"@types/lodash": "4.14.178",
61+
"@types/node": "17.0.17",
62+
"@types/react": "17.0.39",
63+
"@types/react-dom": "17.0.11",
64+
"@types/react-helmet": "6.1.5",
65+
"@typescript-eslint/eslint-plugin": "5.11.0",
66+
"@typescript-eslint/parser": "5.11.0",
67+
"eslint": "8.9.0",
68+
"eslint-config-xo-react": "0.26.0",
69+
"eslint-config-xo-space": "0.32.0",
70+
"eslint-config-xo-typescript": "0.50.0",
71+
"eslint-plugin-import": "2.25.4",
72+
"eslint-plugin-react": "7.28.0",
73+
"eslint-plugin-react-hooks": "4.3.0",
7474
"gh-pages": "^3.2.3",
75-
"typescript": "4.3.5"
75+
"typescript": "4.5.5"
7676
},
7777
"browserslist": [
7878
">5%",

src/templates/post.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ const PageTemplate = ({ data, pageContext, location }: PageTemplateProps) => {
158158
/>
159159
)}
160160
<meta name="twitter:label1" content="Written by" />
161-
<meta name="twitter:data1" content={post.frontmatter.author[0].id} />
161+
<meta name="twitter:data1" content={post.frontmatter.author[0]?.id} />
162162
<meta name="twitter:label2" content="Filed under" />
163163
{post.frontmatter.tags && <meta name="twitter:data2" content={post.frontmatter.tags[0]} />}
164164
{config.twitter && (

0 commit comments

Comments
 (0)