Full Toolkit for Next-Level Domain Analysis
Upgrade to Next.js 14 🚀
Felix Wotschofskya02181ef513b
diff --git a/app/lookup/[domain]/opengraph-image.tsx b/app/lookup/[domain]/opengraph-image.tsxindex 71cd3a0..56edf89 100644--- a/app/lookup/[domain]/opengraph-image.tsx+++ b/app/lookup/[domain]/opengraph-image.tsx@@ -1,4 +1,4 @@-import { ImageResponse } from 'next/server';+import { ImageResponse } from 'next/og';export const runtime = 'edge';export const contentType = 'image/png';diff --git a/app/opengraph-image.tsx b/app/opengraph-image.tsxindex 3869465..6deaf85 100644--- a/app/opengraph-image.tsx+++ b/app/opengraph-image.tsx@@ -1,4 +1,4 @@-import { ImageResponse } from 'next/server';+import { ImageResponse } from 'next/og';export const runtime = 'edge';export const contentType = 'image/png';diff --git a/next.config.js b/next.config.jsindex cfb8b15..7997030 100644--- a/next.config.js+++ b/next.config.js@@ -32,6 +32,9 @@ const nextConfig = {return config;},+ experimental: {+ webpackBuildWorker: true,+ },};module.exports = nextConfig;diff --git a/package.json b/package.jsonindex d947cf5..6a629e1 100644--- a/package.json+++ b/package.json@@ -33,7 +33,7 @@"leaflet-defaulticon-compatibility": "^0.1.2","lucide-react": "^0.288.0","natural-compare-lite": "^1.4.0",- "next": "13.5.6",+ "next": "14.0.1","next-themes": "^0.2.1","postcss": "^8.4.31","punycode": "^2.3.0",@@ -60,7 +60,7 @@"@types/react": "18.2.31","@types/react-dom": "18.2.14","eslint": "^8.52.0",- "eslint-config-next": "^13.5.6",+ "eslint-config-next": "^14.0.1","prettier": "^3.0.3","prettier-plugin-tailwindcss": "^0.5.6","typescript": "^5.2.2"diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 08bfc78..41bd629 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -63,11 +63,11 @@ dependencies:specifier: ^1.4.0version: 1.4.0next:- specifier: 13.5.6+ specifier: 14.0.1next-themes:specifier: ^0.2.1postcss:specifier: ^8.4.31version: 8.4.31@@ -140,8 +140,8 @@ devDependencies:specifier: ^8.52.0version: 8.52.0eslint-config-next:- specifier: ^13.5.6- version: 13.5.6([email protected])([email protected])+ specifier: ^14.0.1+ version: 14.0.1([email protected])([email protected])prettier:specifier: ^3.0.3version: 3.0.3@@ -1568,18 +1568,18 @@ packages:resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==}dev: false- /@next/[email protected]:- resolution: {integrity: sha512-Yac/bV5sBGkkEXmAX5FWPS9Mmo2rthrOPRQQNfycJPkjUAUclomCPH7QFVCDQ4Mp2k2K1SSM6m0zrxYrOwtFQw==}+ /@next/[email protected]:+ resolution: {integrity: sha512-Ms8ZswqY65/YfcjrlcIwMPD7Rg/dVjdLapMcSHG26W6O67EJDF435ShW4H4LXi1xKO1oRc97tLXUpx8jpLe86A==}dev: false- /@next/[email protected]:- resolution: {integrity: sha512-ng7pU/DDsxPgT6ZPvuprxrkeew3XaRf4LAT4FabaEO/hAbvVx4P7wqnqdbTdDn1kgTvsI4tpIgT4Awn/m0bGbg==}+ /@next/[email protected]:+ resolution: {integrity: sha512-bLjJMwXdzvhnQOnxvHoTTUh/+PYk6FF/DCgHi4BXwXCINer+o1ZYfL9aVeezj/oI7wqGJOqwGIXrlBvPbAId3w==}dependencies:glob: 7.1.7dev: true- /@next/[email protected]:- resolution: {integrity: sha512-5nvXMzKtZfvcu4BhtV0KH1oGv4XEW+B+jOfmBdpFI3C7FrB/MfujRpWYSBBO64+qbW8pkZiSyQv9eiwnn5VIQA==}+ /@next/[email protected]:+ resolution: {integrity: sha512-JyxnGCS4qT67hdOKQ0CkgFTp+PXub5W1wsGvIq98TNbF3YEIN7iDekYhYsZzc8Ov0pWEsghQt+tANdidITCLaw==}engines: {node: '>= 10'}cpu: [arm64]os: [darwin]@@ -1587,8 +1587,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-6cgBfxg98oOCSr4BckWjLLgiVwlL3vlLj8hXg2b+nDgm4bC/qVXXLfpLB9FHdoDu4057hzywbxKvmYGmi7yUzA==}+ /@next/[email protected]:+ resolution: {integrity: sha512-625Z7bb5AyIzswF9hvfZWa+HTwFZw+Jn3lOBNZB87lUS0iuCYDHqk3ujuHCkiyPtSC0xFBtYDLcrZ11mF/ap3w==}engines: {node: '>= 10'}cpu: [x64]os: [darwin]@@ -1596,8 +1596,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-txagBbj1e1w47YQjcKgSU4rRVQ7uF29YpnlHV5xuVUsgCUf2FmyfJ3CPjZUvpIeXCJAoMCFAoGnbtX86BK7+sg==}+ /@next/[email protected]:+ resolution: {integrity: sha512-iVpn3KG3DprFXzVHM09kvb//4CNNXBQ9NB/pTm8LO+vnnnaObnzFdS5KM+w1okwa32xH0g8EvZIhoB3fI3mS1g==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]@@ -1605,8 +1605,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-cGd+H8amifT86ZldVJtAKDxUqeFyLWW+v2NlBULnLAdWsiuuN8TuhVBt8ZNpCqcAuoruoSWynvMWixTFcroq+Q==}+ /@next/[email protected]:+ resolution: {integrity: sha512-mVsGyMxTLWZXyD5sen6kGOTYVOO67lZjLApIj/JsTEEohDDt1im2nkspzfV5MvhfS7diDw6Rp/xvAQaWZTv1Ww==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]@@ -1614,8 +1614,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-Mc2b4xiIWKXIhBy2NBTwOxGD3nHLmq4keFk+d4/WL5fMsB8XdJRdtUlL87SqVCTSaf1BRuQQf1HvXZcy+rq3Nw==}+ /@next/[email protected]:+ resolution: {integrity: sha512-wMqf90uDWN001NqCM/auRl3+qVVeKfjJdT9XW+RMIOf+rhUzadmYJu++tp2y+hUbb6GTRhT+VjQzcgg/QTD9NQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]@@ -1623,8 +1623,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-CFHvP9Qz98NruJiUnCe61O6GveKKHpJLloXbDSWRhqhkJdZD2zU5hG+gtVJR//tyW897izuHpM6Gtf6+sNgJPQ==}+ /@next/[email protected]:+ resolution: {integrity: sha512-ol1X1e24w4j4QwdeNjfX0f+Nza25n+ymY0T2frTyalVczUmzkVD7QGgPTZMHfR1aLrO69hBs0G3QBYaj22J5GQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]@@ -1632,8 +1632,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-aFv1ejfkbS7PUa1qVPwzDHjQWQtknzAZWGTKYIAaS4NMtBlk3VyA6AYn593pqNanlicewqyl2jUhQAaFV/qXsg==}+ /@next/[email protected]:+ resolution: {integrity: sha512-WEmTEeWs6yRUEnUlahTgvZteh5RJc4sEjCQIodJlZZ5/VJwVP8p2L7l6VhzQhT4h7KvLx/Ed4UViBdne6zpIsw==}engines: {node: '>= 10'}cpu: [arm64]os: [win32]@@ -1641,8 +1641,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-XqqpHgEIlBHvzwG8sp/JXMFkLAfGLqkbVsyN+/Ih1mR8INb6YCc2x/Mbwi6hsAgUnqQztz8cvEbHJUbSl7RHDg==}+ /@next/[email protected]:+ resolution: {integrity: sha512-oFpHphN4ygAgZUKjzga7SoH2VGbEJXZa/KL8bHCAwCjDWle6R1SpiGOdUdA8EJ9YsG1TYWpzY6FTbUA+iAJeww==}engines: {node: '>= 10'}cpu: [ia32]os: [win32]@@ -1650,8 +1650,8 @@ packages:dev: falseoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-Cqfe1YmOS7k+5mGu92nl5ULkzpKuxJrP3+4AEuPmrpFZ3BHxTY3TnHmU1On3bFmFFs6FbTcdF58CCUProGpIGQ==}+ /@next/[email protected]:+ resolution: {integrity: sha512-FFp3nOJ/5qSpeWT0BZQ+YE1pSMk4IMpkME/1DwKBwhg4mJLB9L+6EXuJi4JEwaJdl5iN+UUlmUD3IsR1kx5fAg==}engines: {node: '>= 10'}cpu: [x64]os: [win32]@@ -2545,8 +2545,8 @@ packages:resolution: {integrity: sha512-xW4qsT4UIYILu+7ZrBnfQdBYniZrMLYYK3wN9M/NdeIHgBN5pZI2/8Q7UfdWIcr5RLJv/OGENsx91JIpUUoC7Q==}dev: false- resolution: {integrity: sha512-5tNs6Bw0j6BdWuP8Fx+VH4G9fEPDxnVI7yH1IAPkQH5RUtvKwRoqdecAPdQXv4rSOADAaz1LFBZvZG7VbXivSg==}+ resolution: {integrity: sha512-C7AK2wn43GSaCUZ9do6Ksgi2g3mwFkMO3Cis96kzmgudoVaKyt62yNzJOktP0HDLb/iO2O0n2lBOzJgr6Q/cyg==}engines: {node: ^16.0.0 || >=18.0.0}peerDependencies:eslint: ^7.0.0 || ^8.0.0@@ -2555,10 +2555,10 @@ packages:typescript:optional: truedependencies:- '@typescript-eslint/scope-manager': 6.8.0- '@typescript-eslint/types': 6.8.0- '@typescript-eslint/typescript-estree': 6.8.0([email protected])- '@typescript-eslint/visitor-keys': 6.8.0+ '@typescript-eslint/scope-manager': 6.9.1+ '@typescript-eslint/types': 6.9.1+ '@typescript-eslint/typescript-estree': 6.9.1([email protected])+ '@typescript-eslint/visitor-keys': 6.9.1debug: 4.3.4eslint: 8.52.0typescript: 5.2.2@@ -2566,21 +2566,21 @@ packages:- supports-colordev: true- /@typescript-eslint/[email protected]:- resolution: {integrity: sha512-xe0HNBVwCph7rak+ZHcFD6A+q50SMsFwcmfdjs9Kz4qDh5hWhaPhFjRs/SODEhroBI5Ruyvyz9LfwUJ624O40g==}+ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-38IxvKB6NAne3g/+MyXMs2Cda/Sz+CEpmm+KLGEM8hx/CvnSRuw51i8ukfwB/B/sESdeTGet1NH1Wj7I0YXswg==}engines: {node: ^16.0.0 || >=18.0.0}dependencies:- '@typescript-eslint/types': 6.8.0- '@typescript-eslint/visitor-keys': 6.8.0+ '@typescript-eslint/types': 6.9.1+ '@typescript-eslint/visitor-keys': 6.9.1dev: true- /@typescript-eslint/[email protected]:- resolution: {integrity: sha512-p5qOxSum7W3k+llc7owEStXlGmSl8FcGvhYt8Vjy7FqEnmkCVlM3P57XQEGj58oqaBWDQXbJDZxwUWMS/EAPNQ==}+ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-BUGslGOb14zUHOUmDB2FfT6SI1CcZEJYfF3qFwBeUrU6srJfzANonwRYHDpLBuzbq3HaoF2XL2hcr01c8f8OaQ==}engines: {node: ^16.0.0 || >=18.0.0}dev: true- /@typescript-eslint/[email protected]([email protected]):- resolution: {integrity: sha512-ISgV0lQ8XgW+mvv5My/+iTUdRmGspducmQcDw5JxznasXNnZn3SKNrTRuMsEXv+V/O+Lw9AGcQCfVaOPCAk/Zg==}+ /@typescript-eslint/[email protected]([email protected]):+ resolution: {integrity: sha512-U+mUylTHfcqeO7mLWVQ5W/tMLXqVpRv61wm9ZtfE5egz7gtnmqVIw9ryh0mgIlkKk9rZLY3UHygsBSdB9/ftyw==}engines: {node: ^16.0.0 || >=18.0.0}peerDependencies:typescript: '*'@@ -2588,8 +2588,8 @@ packages:typescript:optional: truedependencies:- '@typescript-eslint/types': 6.8.0- '@typescript-eslint/visitor-keys': 6.8.0+ '@typescript-eslint/types': 6.9.1+ '@typescript-eslint/visitor-keys': 6.9.1debug: 4.3.4globby: 11.1.0is-glob: 4.0.3@@ -2600,11 +2600,11 @@ packages:- supports-colordev: true- /@typescript-eslint/[email protected]:- resolution: {integrity: sha512-oqAnbA7c+pgOhW2OhGvxm0t1BULX5peQI/rLsNDpGM78EebV3C9IGbX5HNZabuZ6UQrYveCLjKo8Iy/lLlBkkg==}+ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-MUaPUe/QRLEffARsmNfmpghuQkW436DvESW+h+M52w0coICHRfD6Np9/K6PdACwnrq1HmuLl+cSPZaJmeVPkSw==}engines: {node: ^16.0.0 || >=18.0.0}dependencies:- '@typescript-eslint/types': 6.8.0+ '@typescript-eslint/types': 6.9.1eslint-visitor-keys: 3.4.3dev: true@@ -2912,6 +2912,10 @@ packages:resolution: {integrity: sha512-vtBAez47BoGMMzlbYhfXrMV1kvRF2WP/lqiMuDu1Sb4EE4LKEgjopFDSRtZfdVnslNRpOqV/woE+Xgrwj6VQlg==}+ resolution: {integrity: sha512-cPiMKZgqgkg5LY3/ntGeLFUpi6tzddBNS58A4tnTgQw1zON7u2sZMU7SzOeVH4tj20++9ggL+V6FDOFMTaFFYA==}+ dev: false+resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}engines: {node: '>=4'}@@ -3334,8 +3338,8 @@ packages:engines: {node: '>=10'}dev: true- resolution: {integrity: sha512-o8pQsUHTo9aHqJ2YiZDym5gQAMRf7O2HndHo/JZeY7TDD+W4hk6Ma8Vw54RHiBeb7OWWO5dPirQB+Is/aVQ7Kg==}+ resolution: {integrity: sha512-QfIFK2WD39H4WOespjgf6PLv9Bpsd7KGGelCtmq4l67nGvnlsGpuvj0hIT+aIy6p5gKH+lAChYILsyDlxP52yg==}peerDependencies:eslint: ^7.23.0 || ^8.0.0typescript: '>=3.3.1'@@ -3343,13 +3347,13 @@ packages:typescript:optional: truedependencies:- '@next/eslint-plugin-next': 13.5.6+ '@next/eslint-plugin-next': 14.0.1'@rushstack/eslint-patch': 1.5.1- '@typescript-eslint/parser': 6.8.0([email protected])([email protected])+ '@typescript-eslint/parser': 6.9.1([email protected])([email protected])eslint: 8.52.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.28.1(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-plugin-import: 2.29.0(@typescript-eslint/[email protected])([email protected])([email protected])eslint-plugin-jsx-a11y: 6.7.1([email protected])eslint-plugin-react: 7.33.2([email protected])eslint-plugin-react-hooks: 4.6.0([email protected])@@ -3369,7 +3373,7 @@ packages:- supports-colordev: true- /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==}engines: {node: ^14.18.0 || >=16.0.0}peerDependencies:@@ -3379,8 +3383,8 @@ packages:debug: 4.3.4enhanced-resolve: 5.15.0eslint: 8.52.0- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.28.1(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-plugin-import: 2.29.0(@typescript-eslint/[email protected])([email protected])([email protected])fast-glob: 3.3.1get-tsconfig: 4.7.2is-core-module: 2.13.1@@ -3392,7 +3396,7 @@ packages:- supports-colordev: true- /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}engines: {node: '>=4'}peerDependencies:@@ -3413,17 +3417,17 @@ packages:eslint-import-resolver-webpack:optional: truedependencies:- '@typescript-eslint/parser': 6.8.0([email protected])([email protected])+ '@typescript-eslint/parser': 6.9.1([email protected])([email protected])debug: 3.2.7eslint: 8.52.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-colordev: true- resolution: {integrity: sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==}+ resolution: {integrity: sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg==}engines: {node: '>=4'}peerDependencies:'@typescript-eslint/parser': '*'@@ -3432,7 +3436,7 @@ packages:'@typescript-eslint/parser':optional: truedependencies:- '@typescript-eslint/parser': 6.8.0([email protected])([email protected])+ '@typescript-eslint/parser': 6.9.1([email protected])([email protected])array-includes: 3.1.7array.prototype.findlastindex: 1.2.3array.prototype.flat: 1.3.2@@ -3441,8 +3445,8 @@ packages:doctrine: 2.1.0eslint: 8.52.0eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- has: 1.0.4+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ hasown: 2.0.0is-core-module: 2.13.1is-glob: 4.0.3minimatch: 3.1.2@@ -4321,21 +4325,21 @@ packages:resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}dev: trueresolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==}peerDependencies:next: '*'react: '*'react-dom: '*'dependencies:react: 18.2.0react-dom: 18.2.0([email protected])dev: false- resolution: {integrity: sha512-Y2wTcTbO4WwEsVb4A8VSnOsG1I9ok+h74q0ZdxkwM3EODqrs4pasq7O0iUxbcS9VtWMicG7f3+HAj0r1+NtKSw==}- engines: {node: '>=16.14.0'}+ resolution: {integrity: sha512-s4YaLpE4b0gmb3ggtmpmV+wt+lPRuGtANzojMQ2+gmBpgX9w5fTbjsy6dXByBuENsdCX5pukZH/GxdFgO62+pA==}+ engines: {node: '>=18.17.0'}hasBin: truepeerDependencies:'@opentelemetry/api': ^1.1.0@@ -4348,25 +4352,25 @@ packages:sass:optional: truedependencies:- '@next/env': 13.5.6+ '@next/env': 14.0.1'@swc/helpers': 0.5.2busboy: 1.6.0- caniuse-lite: 1.0.30001551+ caniuse-lite: 1.0.30001559postcss: 8.4.31react: 18.2.0react-dom: 18.2.0([email protected])styled-jsx: 5.1.1(@babel/[email protected])([email protected])watchpack: 2.4.0optionalDependencies:- '@next/swc-darwin-arm64': 13.5.6- '@next/swc-darwin-x64': 13.5.6- '@next/swc-linux-arm64-gnu': 13.5.6- '@next/swc-linux-arm64-musl': 13.5.6- '@next/swc-linux-x64-gnu': 13.5.6- '@next/swc-linux-x64-musl': 13.5.6- '@next/swc-win32-arm64-msvc': 13.5.6- '@next/swc-win32-ia32-msvc': 13.5.6- '@next/swc-win32-x64-msvc': 13.5.6+ '@next/swc-darwin-arm64': 14.0.1+ '@next/swc-darwin-x64': 14.0.1+ '@next/swc-linux-arm64-gnu': 14.0.1+ '@next/swc-linux-arm64-musl': 14.0.1+ '@next/swc-linux-x64-gnu': 14.0.1+ '@next/swc-linux-x64-musl': 14.0.1+ '@next/swc-win32-arm64-msvc': 14.0.1+ '@next/swc-win32-ia32-msvc': 14.0.1+ '@next/swc-win32-x64-msvc': 14.0.1transitivePeerDependencies:- '@babel/core'- babel-plugin-macros