Skip to content

Commit 0b5713b

Browse files
feat: update deps
1 parent 238e4bb commit 0b5713b

File tree

3 files changed

+3656
-4144
lines changed

3 files changed

+3656
-4144
lines changed

package.json

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,38 +36,36 @@
3636
"got": "^12.0.3",
3737
"isomorphic-unfetch": "^3.1.0",
3838
"lqip-modern": "^1.2.0",
39-
"next": "^12.2.3",
39+
"next": "^12.3.1",
4040
"next-api-og-image": "^2.2.1",
41-
"node-fetch": "^2.6.1",
42-
"notion-client": "^6.12.6",
43-
"notion-types": "^6.12.6",
44-
"notion-utils": "^6.12.6",
41+
"notion-client": "^6.13.11",
42+
"notion-types": "^6.13.4",
43+
"notion-utils": "^6.13.4",
4544
"p-map": "^5.3.0",
4645
"p-memoize": "^6.0.1",
4746
"posthog-js": "^1.20.2",
48-
"react": "^17.0.2",
47+
"react": "^18.2.0",
4948
"react-body-classname": "^1.3.1",
50-
"react-dom": "^17.0.2",
51-
"react-notion-x": "^6.12.7",
49+
"react-dom": "^18.2.0",
50+
"react-notion-x": "^6.15.3",
5251
"react-tweet-embed": "^2.0.0",
5352
"react-use": "^17.3.2",
5453
"rss": "^1.2.2"
5554
},
5655
"devDependencies": {
57-
"@next/bundle-analyzer": "^12.1.0",
58-
"@types/node": "^17.0.23",
59-
"@types/node-fetch": "^3.0.3",
60-
"@types/react": "^17.0.31",
61-
"@typescript-eslint/eslint-plugin": "^5.15.0",
62-
"@typescript-eslint/parser": "^5.15.0",
56+
"@next/bundle-analyzer": "^12.3.1",
57+
"@types/node": "^18.8.5",
58+
"@types/react": "^18.0.21",
59+
"@typescript-eslint/eslint-plugin": "^5.40.0",
60+
"@typescript-eslint/parser": "^5.40.0",
6361
"cross-env": "^7.0.2",
64-
"eslint": "^8.11.0",
62+
"eslint": "^8.25.0",
6563
"eslint-config-prettier": "^8.5.0",
66-
"eslint-plugin-react": "^7.29.4",
67-
"eslint-plugin-react-hooks": "^4.3.0",
64+
"eslint-plugin-react": "^7.31.10",
65+
"eslint-plugin-react-hooks": "^4.6.0",
6866
"npm-run-all": "^4.1.5",
69-
"prettier": "^2.4.1",
70-
"typescript": "^4.4.4"
67+
"prettier": "^2.7.1",
68+
"typescript": "^4.8.4"
7169
},
7270
"resolutions": {
7371
"next-api-og-image/chrome-aws-lambda": "6.0.0",

pages/[pageId].tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import { resolveNotionPage } from 'lib/resolve-notion-page'
66
import { PageProps, Params } from 'lib/types'
77
import { NotionPage } from 'components'
88

9-
export const getStaticProps: GetStaticProps<PageProps, Params> = async (context) => {
9+
export const getStaticProps: GetStaticProps<PageProps, Params> = async (
10+
context
11+
) => {
1012
const rawPageId = context.params.pageId as string
1113

1214
try {

0 commit comments

Comments
 (0)