From 75a22db6877bff858c182e0c89b04ffae91cdf26 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 31 Aug 2024 09:05:07 +0000 Subject: [PATCH] fix: upgrade next-contentlayer2 from 0.4.6 to 0.5.0 Snyk has created this PR to upgrade next-contentlayer2 from 0.4.6 to 0.5.0. See this package in npm: next-contentlayer2 See this project in Snyk: https://app.snyk.io/org/cx51/project/1058ffa7-1c85-421b-b4df-1f8a66aacd1c?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 104 ++++++++++++++++++++++++++++++++++++++++++---- package.json | 2 +- 2 files changed, 96 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4b47a91..a5416c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,10 +21,10 @@ "image-size": "1.1.1", "micromatch": "^4.0.8", "next": "14.2.5", - "next-contentlayer2": "0.4.6", + "next-contentlayer2": "^0.5.0", "next-themes": "^0.3.0", "package.json": "^0.0.0", - "pliny": "^0.2.2", + "pliny": "0.2.2", "postcss": "^8.4.41", "react": "18.3.1", "react-dom": "18.3.1", @@ -12280,21 +12280,91 @@ } }, "node_modules/next-contentlayer2": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/next-contentlayer2/-/next-contentlayer2-0.4.6.tgz", - "integrity": "sha512-r1g/zCl3dXFfMlMI87n2+V90Jz7inMrfyRzmMSQdDfCBy3uexnsoM43wPbklza2teyd/pdfUT0I0gw/IE+YA4Q==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/next-contentlayer2/-/next-contentlayer2-0.5.0.tgz", + "integrity": "sha512-pcJGCvxbYfpxD3oBFCsfTNyIPGbz5Aj/n2EU08Db2VgXC0T/vbzfG3cihRFRh1/YmnsoGHXLhnmfh3oeCVfiZg==", "license": "MIT", "dependencies": { - "@contentlayer2/core": "0.4.3", - "@contentlayer2/utils": "0.4.3" + "@contentlayer2/core": "0.5.0", + "@contentlayer2/utils": "0.5.0" }, "peerDependencies": { - "contentlayer2": "0.4.6", - "next": "^12 || ^13 || ^14", + "contentlayer2": "0.5.0", + "next": ">=12.0.0", "react": "*", "react-dom": "*" } }, + "node_modules/next-contentlayer2/node_modules/@contentlayer2/core": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@contentlayer2/core/-/core-0.5.0.tgz", + "integrity": "sha512-yf6sBc2wov/TNVtEms0X5VBzdYf3kxRUObGcn68+G0EE1/mrS7Ynl3aILghxAT//7Re+KeovNkLl+UdTTPF7sg==", + "license": "MIT", + "dependencies": { + "@contentlayer2/utils": "0.5.0", + "camel-case": "^4.1.2", + "comment-json": "^4.2.3", + "esbuild": ">=0.17", + "gray-matter": "^4.0.3", + "mdx-bundler": "^10.0.2", + "rehype-stringify": "^10.0.0", + "remark-frontmatter": "^5.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.1.0", + "source-map-support": "^0.5.21", + "type-fest": "^4.10.0", + "unified": "^11.0.4" + }, + "peerDependencies": { + "esbuild": ">=0.17", + "markdown-wasm": "1.x" + }, + "peerDependenciesMeta": { + "esbuild": { + "optional": true + }, + "markdown-wasm": { + "optional": true + } + } + }, + "node_modules/next-contentlayer2/node_modules/@contentlayer2/utils": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@contentlayer2/utils/-/utils-0.5.0.tgz", + "integrity": "sha512-7rE37WJrP9U/oz7Y9jC2BPUwNw1/Vz1Xf7LT9C0ontF2uVlAbAzDmZMDxku+aIm+i912563ZZ11HRm7pkfZvCw==", + "license": "MIT", + "dependencies": { + "@effect-ts/core": "^0.60.5", + "@effect-ts/otel": "^0.15.1", + "@effect-ts/otel-sdk-trace-node": "^0.15.1", + "@js-temporal/polyfill": "^0.4.4", + "@opentelemetry/api": "^1.8.0", + "@opentelemetry/core": "^1.24.0", + "@opentelemetry/exporter-trace-otlp-grpc": "^0.51.0", + "@opentelemetry/resources": "^1.21.0", + "@opentelemetry/sdk-trace-base": "^1.21.0", + "@opentelemetry/sdk-trace-node": "^1.21.0", + "@opentelemetry/semantic-conventions": "^1.21.0", + "chokidar": "^3.5.3", + "hash-wasm": "^4.11.0", + "inflection": "^3.0.0", + "memfs": "^4.8.2", + "oo-ascii-tree": "^1.94.0", + "ts-pattern": "^5.0.6", + "type-fest": "^4.10.0" + }, + "peerDependenciesMeta": { + "@effect-ts/core": { + "optional": true + }, + "@effect-ts/otel": { + "optional": true + }, + "@effect-ts/otel-node": { + "optional": true + } + } + }, "node_modules/next-themes": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.3.0.tgz", @@ -12923,6 +12993,22 @@ "react-dom": "^17.0.2 || ^18.0.0" } }, + "node_modules/pliny/node_modules/next-contentlayer2": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/next-contentlayer2/-/next-contentlayer2-0.4.6.tgz", + "integrity": "sha512-r1g/zCl3dXFfMlMI87n2+V90Jz7inMrfyRzmMSQdDfCBy3uexnsoM43wPbklza2teyd/pdfUT0I0gw/IE+YA4Q==", + "license": "MIT", + "dependencies": { + "@contentlayer2/core": "0.4.3", + "@contentlayer2/utils": "0.4.3" + }, + "peerDependencies": { + "contentlayer2": "0.4.6", + "next": "^12 || ^13 || ^14", + "react": "*", + "react-dom": "*" + } + }, "node_modules/possible-typed-array-names": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", diff --git a/package.json b/package.json index a0b5e73..f8c5185 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "image-size": "1.1.1", "micromatch": "^4.0.8", "next": "14.2.5", - "next-contentlayer2": "0.4.6", + "next-contentlayer2": "0.5.0", "next-themes": "^0.3.0", "package.json": "^0.0.0", "pliny": "0.2.2",