diff --git a/lib/docs-components/package.json b/lib/docs-components/package.json index 937439c9c..28ff86d30 100644 --- a/lib/docs-components/package.json +++ b/lib/docs-components/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@types/prettier": "^2.7.3", - "@types/prismjs": "^1", + "@types/prismjs": "^1.26.5", "@types/react": "18.3.12", "@types/react-dom": "18.3.1", "typescript": "4.9.5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4b607b68a..4e9cd64c0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1897,7 +1897,7 @@ importers: '@not-govuk/tabs-internal': workspace:^0.14.0 '@storybook/react': 6.5.16 '@types/prettier': ^2.7.3 - '@types/prismjs': ^1 + '@types/prismjs': ^1.26.5 '@types/react': 18.3.12 '@types/react-dom': 18.3.1 prettier: ^2.8.8