diff --git a/package.json b/package.json index 490cb38..c26ab2e 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@tkint/hocon-parser": "0.0.0-alpha.0", "ajv": "8.12.0", "next": "12.3.4", - "prism-react-renderer": "1.3.5", + "prism-react-renderer": "2.4.0", "prismjs": "1.29.0", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5fcaf21..efeb246 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,8 +33,8 @@ dependencies: specifier: 12.3.4 version: 12.3.4(@babel/core@7.23.0)(babel-plugin-macros@3.1.0)(react-dom@18.2.0)(react@18.2.0) prism-react-renderer: - specifier: 1.3.5 - version: 1.3.5(react@18.2.0) + specifier: 2.4.0 + version: 2.4.0(react@18.2.0) prismjs: specifier: 1.29.0 version: 1.29.0 @@ -712,7 +712,6 @@ packages: /@types/prismjs@1.26.1: resolution: {integrity: sha512-Q7jDsRbzcNHIQje15CS/piKhu6lMLb9jwjxSfEIi4KcFKXW23GoJMkwQiJ8VObyfx+VmUaDcJxXaWN+cTCjVog==} - dev: true /@types/prop-types@15.7.8: resolution: {integrity: sha512-kMpQpfZKSCBqltAJwskgePRaYRFukDkm1oItcAbC3gNELR20XIBcN9VRgg4+m8DKsTfkWeA4m4Imp4DDuWy7FQ==} @@ -1116,6 +1115,11 @@ packages: fsevents: 2.3.3 dev: true + /clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} + engines: {node: '>=6'} + dev: false + /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -2710,11 +2714,13 @@ packages: hasBin: true dev: true - /prism-react-renderer@1.3.5(react@18.2.0): - resolution: {integrity: sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==} + /prism-react-renderer@2.4.0(react@18.2.0): + resolution: {integrity: sha512-327BsVCD/unU4CNLZTWVHyUHKnsqcvj2qbPlQ8MiBE2eq2rgctjigPA1Gp9HLF83kZ20zNN6jgizHJeEsyFYOw==} peerDependencies: - react: '>=0.14.9' + react: '>=16.0.0' dependencies: + '@types/prismjs': 1.26.1 + clsx: 2.1.1 react: 18.2.0 dev: false