From c37ea835d7f266fd0160066df3e27bbd8981bd46 Mon Sep 17 00:00:00 2001 From: Manav Sarkar <42129636+ManavSarkar@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:36:36 +0530 Subject: [PATCH] update dependencies --- next.config.mjs | 10 +++++----- package-lock.json | 51 +++++++++++++++++++++++++++++------------------ package.json | 7 ++++--- 3 files changed, 41 insertions(+), 27 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index e3ba3b6..aef87fd 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -5,11 +5,11 @@ import rehypePrism from '@mapbox/rehype-prism' /** @type {import('next').NextConfig} */ const nextConfig = { output: "standalone", - // pageExtensions: ['js', 'jsx', 'mdx'], - // reactStrictMode: true, - // experimental: { - // scrollRestoration: true, - // }, + pageExtensions: ['js', 'jsx', 'mdx'], + reactStrictMode: true, + experimental: { + scrollRestoration: true, + }, } const withMDX = nextMDX({ diff --git a/package-lock.json b/package-lock.json index 5fa2bc2..1662230 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,10 +16,11 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@headlessui/react": "^1.7.2", "@mapbox/rehype-prism": "^0.8.0", - "@mdx-js/loader": "^2.1.5", - "@mdx-js/react": "^2.1.5", - "@next/mdx": "^13.0.2", + "@mdx-js/loader": "^2.3.0", + "@mdx-js/react": "^2.3.0", + "@next/mdx": "^13.5.6", "@tailwindcss/typography": "^0.5.4", + "@types/mdx": "^2.0.11", "autoprefixer": "^10.4.12", "clsx": "^1.2.1", "fast-glob": "^3.2.11", @@ -264,9 +265,9 @@ } }, "node_modules/@mdx-js/loader": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@mdx-js/loader/-/loader-2.2.1.tgz", - "integrity": "sha512-J4E8A5H+xtk4otZiEZ5AXl61Tj04Avm5MqLQazITdI3+puVXVnTTuZUKM1oNHTtfDIfOl0uMt+o/Ij+x6Fvf+g==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@mdx-js/loader/-/loader-2.3.0.tgz", + "integrity": "sha512-IqsscXh7Q3Rzb+f5DXYk0HU71PK+WuFsEhf+mSV3fOhpLcEpgsHvTQ2h0T6TlZ5gHOaBeFjkXwB52by7ypMyNg==", "dependencies": { "@mdx-js/mdx": "^2.0.0", "source-map": "^0.7.0" @@ -322,9 +323,9 @@ } }, "node_modules/@mdx-js/react": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.2.1.tgz", - "integrity": "sha512-YdXcMcEnqZhzql98RNrqYo9cEhTTesBiCclEtoiQUbJwx87q9453GTapYU6kJ8ZZ2ek1Vp25SiAXEFy5O/eAPw==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.3.0.tgz", + "integrity": "sha512-zQH//gdOmuu7nt2oJR29vFhDv88oGPmVw6BggmrHeMI+xgEkp1B2dX9/bMBSYtK0dyLX/aOmesKS09g222K1/g==", "dependencies": { "@types/mdx": "^2.0.0", "@types/react": ">=16" @@ -352,15 +353,23 @@ } }, "node_modules/@next/mdx": { - "version": "13.1.3", - "resolved": "https://registry.npmjs.org/@next/mdx/-/mdx-13.1.3.tgz", - "integrity": "sha512-YaMemA/P3s1Ene5RXaBRUsfdHfRhl2BsQSMaJzkzvukVBwZPE3uf9X2LKvCixzRByiG3PmpXLivMjLKDx0tRbw==", + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/@next/mdx/-/mdx-13.5.6.tgz", + "integrity": "sha512-2AMyCrz1SxSWNUpADyLz3RbPbq0GHrchbO7Msvg7IsH8MrTw3VYaZSI1KNa6JzZIoykwtNVSEL+uBmPZi106Jw==", "dependencies": { "source-map": "^0.7.0" }, "peerDependencies": { "@mdx-js/loader": ">=0.15.0", - "@mdx-js/react": "*" + "@mdx-js/react": ">=0.15.0" + }, + "peerDependenciesMeta": { + "@mdx-js/loader": { + "optional": true + }, + "@mdx-js/react": { + "optional": true + } } }, "node_modules/@next/swc-android-arm-eabi": { @@ -715,9 +724,9 @@ } }, "node_modules/@types/mdx": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.3.tgz", - "integrity": "sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.11.tgz", + "integrity": "sha512-HM5bwOaIQJIQbAYfax35HCKxx7a3KrK3nBtIqJgSOitivTD1y3oW9P3rxY9RkXYPUk7y/AjAohfHKmFpGE79zw==" }, "node_modules/@types/ms": { "version": "0.7.31", @@ -1602,9 +1611,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001446", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001446.tgz", - "integrity": "sha512-fEoga4PrImGcwUUGEol/PoFCSBnSkA9drgdkxXkJLsUBOnJ8rs3zDv6ApqYXGQFOyMPsjh79naWhF4DAxbF8rw==", + "version": "1.0.30001596", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001596.tgz", + "integrity": "sha512-zpkZ+kEr6We7w63ORkoJ2pOfBwBkY/bJrG/UZ90qNb45Isblu8wzDgevEOrRL1r9dWayHjYiiyCMEXPn4DweGQ==", "funding": [ { "type": "opencollective", @@ -1613,6 +1622,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, diff --git a/package.json b/package.json index 747813a..e6d259c 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,11 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@headlessui/react": "^1.7.2", "@mapbox/rehype-prism": "^0.8.0", - "@mdx-js/loader": "^2.1.5", - "@mdx-js/react": "^2.1.5", - "@next/mdx": "^13.0.2", + "@mdx-js/loader": "^2.3.0", + "@mdx-js/react": "^2.3.0", + "@next/mdx": "^13.5.6", "@tailwindcss/typography": "^0.5.4", + "@types/mdx": "^2.0.11", "autoprefixer": "^10.4.12", "clsx": "^1.2.1", "fast-glob": "^3.2.11",