From b205bc6d609a6ced0e9b8b66174630cbe5925fac Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 13 Aug 2023 17:31:16 +0000 Subject: [PATCH] fix: upgrade markmap-lib from 0.14.4 to 0.15.2 Snyk has created this PR to upgrade markmap-lib from 0.14.4 to 0.15.2. See this package in npm: https://www.npmjs.com/package/markmap-lib See this project in Snyk: https://app.snyk.io/org/dynamicapproach/project/553d4e46-4901-4e31-998f-0d98f582f054?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 26 ++++++++++++++++---------- package.json | 2 +- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4876bb9..9b9d4b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "framer-motion-3d": "^10.12.16", "google-auth-library": "^8.8.0", "locomotive-scroll": "^4.1.4", - "markmap-lib": "^0.14.4", + "markmap-lib": "^0.15.2", "markmap-view": "^0.15.4", "next": "^13.4.11", "openai": "^3.2.1", @@ -8755,6 +8755,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/highlight.js": { + "version": "11.8.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.8.0.tgz", + "integrity": "sha512-MedQhoqVdr0U6SSnWPzfiadUcDHfN/Wzq25AkXiQv9oiOO/sG0S7XkvpFIqWBl9Yq1UYyYOOVORs5UW2XlPyzg==", + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/hoist-non-react-statics": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", @@ -12328,20 +12336,18 @@ } }, "node_modules/markmap-lib": { - "version": "0.14.4", - "resolved": "https://registry.npmjs.org/markmap-lib/-/markmap-lib-0.14.4.tgz", - "integrity": "sha512-tyXhpER0XdQe/sxWOjMVshbPcfrcNnV5MzdjxVGUUovep1jxFuuBWS5Cp7z41pzUpW1+56Mxb7Vgp4Psme3sSw==", + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/markmap-lib/-/markmap-lib-0.15.2.tgz", + "integrity": "sha512-zQIqffHBT9lbjeKD9Xlni6Z1zR+X8YqY/EgWKEqoHRxidwCvyykiAOp1jFlQ4Zh4JuSStgCwTMgqa32iPrNgDQ==", "dependencies": { - "@babel/runtime": "^7.18.9", + "@babel/runtime": "^7.22.6", + "highlight.js": "^11.8.0", "js-yaml": "^4.1.0", - "katex": "^0.16.0", - "prismjs": "^1.28.0", + "katex": "^0.16.8", + "prismjs": "^1.29.0", "remarkable": "^2.0.1", "remarkable-katex": "^1.2.1" }, - "engines": { - "node": ">=10" - }, "peerDependencies": { "markmap-common": "*" } diff --git a/package.json b/package.json index 6b27258..84c6a9b 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "framer-motion-3d": "^10.12.16", "google-auth-library": "^8.8.0", "locomotive-scroll": "^4.1.4", - "markmap-lib": "^0.14.4", + "markmap-lib": "^0.15.2", "markmap-view": "^0.15.4", "next": "^13.4.11", "openai": "^3.2.1",