diff --git a/package-lock.json b/package-lock.json index 3b56dc0..b11b48e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,9 +7,9 @@ "": { "name": "react-github-permalink", "version": "1.10.3", + "license": "MIT", "dependencies": { - "react-responsive": "^10.0.0", - "react-syntax-highlighter": "^15.5.0" + "react-responsive": "^10.0.0" }, "devDependencies": { "@chromatic-com/storybook": "^1.6.1", @@ -36,7 +36,7 @@ "next": "14.2.5", "react": "^18.3.0", "react-dom": "^18.3.0", - "react-syntax-highlighter": "^15.5.0", + "react-syntax-highlighter": "^15.6.1", "storybook": "^8.2.5", "typescript": "^5", "vitest": "^2.1.1", @@ -10661,6 +10661,13 @@ "node": "*" } }, + "node_modules/highlightjs-vue": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/highlightjs-vue/-/highlightjs-vue-1.0.0.tgz", + "integrity": "sha512-PDEfEF102G23vHmPhLyPboFCD+BkMGu+GuJe2d9/eH4FsCwvgBpnc9n0pGE+ffKdph38s6foEZiEjdgHdzp+IA==", + "dev": true, + "license": "CC0-1.0" + }, "node_modules/hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -14286,13 +14293,15 @@ } }, "node_modules/react-syntax-highlighter": { - "version": "15.5.0", - "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.5.0.tgz", - "integrity": "sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg==", + "version": "15.6.1", + "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.6.1.tgz", + "integrity": "sha512-OqJ2/vL7lEeV5zTJyG7kmARppUjiB9h9udl4qHQjjgEos66z00Ia0OckwYfRxCSFrW8RJIBnsBwQsHZbVPspqg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/runtime": "^7.3.1", "highlight.js": "^10.4.1", + "highlightjs-vue": "^1.0.0", "lowlight": "^1.17.0", "prismjs": "^1.27.0", "refractor": "^3.6.0" diff --git a/package.json b/package.json index 8ab688a..9f8d77c 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "react-responsive": "^10.0.0", - "react-syntax-highlighter": "^15.5.0" + "react-syntax-highlighter": "^15.6.1" }, "peerDependencies": { "react": ">=18.3" @@ -53,7 +53,7 @@ "next": "14.2.5", "react": "^18.3.0", "react-dom": "^18.3.0", - "react-syntax-highlighter": "^15.5.0", + "react-syntax-highlighter": "^15.6.1", "storybook": "^8.2.5", "typescript": "^5", "vitest": "^2.1.1",