Skip to content

Commit

Permalink
Upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Nov 16, 2024
1 parent 2369a8d commit 69281fc
Show file tree
Hide file tree
Showing 4 changed files with 312 additions and 339 deletions.
2 changes: 1 addition & 1 deletion lib/map-image-url.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type Block } from 'notion-types'
import { defaultMapImageUrl } from 'react-notion-x'
import { defaultMapImageUrl } from 'notion-utils'

import { defaultPageCover, defaultPageIcon } from './config'

Expand Down
27 changes: 9 additions & 18 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,48 +20,39 @@ export default withBundleAnalyzer({
// { hostname: 'cdn.jsdelivr.net' },
{
protocol: 'https',
hostname: 'www.notion.so',
pathname: '**'
hostname: 'www.notion.so'
},
{
protocol: 'https',
hostname: 'notion.so',
pathname: '**'
hostname: 'notion.so'
},
{
protocol: 'https',
hostname: 'images.unsplash.com',
pathname: '**'
hostname: 'images.unsplash.com'
},
{
protocol: 'https',
hostname: 'pbs.twimg.com',
pathname: '**'
hostname: 'pbs.twimg.com'
},
{
protocol: 'https',
hostname: 'abs.twimg.com',
pathname: '**'
hostname: 'abs.twimg.com'
},
{
protocol: 'https',
hostname: 's3.us-west-2.amazonaws.com',
pathname: '**'
hostname: 's3.us-west-2.amazonaws.com'
},
{
protocol: 'https',
hostname: 'cdn.jsdelivr.net',
pathname: '**'
hostname: 'cdn.jsdelivr.net'
},
{
protocol: 'https',
hostname: 'nline.io',
pathname: '**'
hostname: 'nline.io'
},
{
protocol: 'https',
hostname: 'notionusercontent.com',
pathname: '**'
hostname: 'notionusercontent.com'
}
],
minimumCacheTTL: 60,
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,48 +35,48 @@
"@fisch0920/use-dark-mode": "^2.4.0",
"@keyvhq/core": "^2.1.1",
"@keyvhq/redis": "^2.1.5",
"@vercel/analytics": "^1.3.2",
"@vercel/analytics": "^1.4.0",
"@vercel/og": "^0.6.3",
"canvas": "^2.11.2",
"classnames": "^2.5.1",
"date-fns": "^4.1.0",
"eslint-config-next": "15.0.2",
"eslint-config-next": "15.0.3",
"expiry-map": "^2.0.0",
"fathom-client": "^3.7.2",
"got": "^14.4.4",
"isomorphic-unfetch": "^4.0.2",
"ky": "^1.7.2",
"lqip-modern": "^2.1.0",
"next": "15.0.2",
"notion-client": "^7.0.1",
"notion-types": "^7.0.1",
"notion-utils": "^7.0.1",
"lqip-modern": "^2.2.1",
"next": "15.0.3",
"notion-client": "^7.1.3",
"notion-types": "^7.1.3",
"notion-utils": "^7.1.3",
"p-map": "^7.0.2",
"p-memoize": "^7.1.1",
"posthog-js": "^1.181.0",
"posthog-js": "^1.186.1",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react": "^18.3.1",
"react-body-classname": "^1.3.1",
"react-dom": "^18.2.0",
"react-dom": "^18.3.1",
"react-icons": "^5.3.0",
"react-notion-x": "^7.0.1",
"react-notion-x": "^7.2.3",
"react-tweet-embed": "^2.0.0",
"react-use": "^17.5.1",
"rss": "^1.2.2",
"sharp": "^0.33.5"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.14.0",
"@next/bundle-analyzer": "15.0.2",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@next/bundle-analyzer": "15.0.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/got": "^9.6.12",
"@types/node": "^22.9.0",
"@types/react": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"@types/react": "^18.3.12",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"cross-env": "^7.0.3",
"eslint": "^9.14.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
Expand Down
Loading

0 comments on commit 69281fc

Please sign in to comment.