From 1582d461be9f12e8d8fb8df157d092d83f26ac31 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Sun, 3 Sep 2023 17:35:54 -0600 Subject: [PATCH] fix: allow marked v8 (#117) --- package-lock.json | 31 +++++++++++++++++-------------- package.json | 6 +++--- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index fdda009..d8b61e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,14 +25,14 @@ "eslint-plugin-promise": "^6.1.1", "highlight.js": "^11.8.0", "jest-cli": "^29.6.4", - "marked": "^7.0.5", + "marked": "^8.0.0", "pygmentize-bundled": "^2.3.0", "rollup": "^3.28.1", "semantic-release": "^21.0.9", - "tsd": "^0.28.1" + "tsd": "^0.29.0" }, "peerDependencies": { - "marked": "^4 || ^5 || ^6 || ^7" + "marked": ">=4 <9" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -3602,10 +3602,13 @@ } }, "node_modules/@tsd/typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@tsd/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-YQi2lvZSI+xidKeUjlbv6b6Zw7qB3aXHw5oGJLs5OOGAEqKIOvz5UIAkWyg0bJbkSUWPBEtaOHpVxU4EYBO1Jg==", - "dev": true + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/@tsd/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-VtjHPAKJqLJoHHKBDNofzvQB2+ZVxjXU/Gw6INAS9aINLQYVsxfzrQ2s84huCeYWZRTtrr7R0J7XgpZHjNwBCw==", + "dev": true, + "engines": { + "node": ">=14.17" + } }, "node_modules/@types/babel__core": { "version": "7.20.1", @@ -7787,9 +7790,9 @@ } }, "node_modules/marked": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/marked/-/marked-7.0.5.tgz", - "integrity": "sha512-lwNAFTfXgqpt/XvK17a/8wY9/q6fcSPZT1aP6QW0u74VwaJF/Z9KbRcX23sWE4tODM+AolJNcUtErTkgOeFP/Q==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-8.0.0.tgz", + "integrity": "sha512-RI/D5csFVreNrFchdKFSdV38GDHJdD7OdmbNWYzGvApPb0A9pyypgfHC/FBH4ugmRE8cr7yg/TH7tu8585eMhA==", "dev": true, "bin": { "marked": "bin/marked.js" @@ -13497,12 +13500,12 @@ } }, "node_modules/tsd": { - "version": "0.28.1", - "resolved": "https://registry.npmjs.org/tsd/-/tsd-0.28.1.tgz", - "integrity": "sha512-FeYrfJ05QgEMW/qOukNCr4fAJHww4SaKnivAXRv4g5kj4FeLpNV7zH4dorzB9zAfVX4wmA7zWu/wQf7kkcvfbw==", + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/tsd/-/tsd-0.29.0.tgz", + "integrity": "sha512-5B7jbTj+XLMg6rb9sXRBGwzv7h8KJlGOkTHxY63eWpZJiQ5vJbXEjL0u7JkIxwi5EsrRE1kRVUWmy6buK/ii8A==", "dev": true, "dependencies": { - "@tsd/typescript": "~5.0.2", + "@tsd/typescript": "~5.2.2", "eslint-formatter-pretty": "^4.1.0", "globby": "^11.0.1", "jest-diff": "^29.0.3", diff --git a/package.json b/package.json index 34c8756..94596de 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ }, "homepage": "https://github.com/markedjs/marked-highlight#readme", "peerDependencies": { - "marked": "^4 || ^5 || ^6 || ^7" + "marked": ">=4 <9" }, "devDependencies": { "@babel/core": "^7.22.11", @@ -59,11 +59,11 @@ "eslint-plugin-promise": "^6.1.1", "highlight.js": "^11.8.0", "jest-cli": "^29.6.4", - "marked": "^7.0.5", + "marked": "^8.0.0", "pygmentize-bundled": "^2.3.0", "rollup": "^3.28.1", "semantic-release": "^21.0.9", - "tsd": "^0.28.1" + "tsd": "^0.29.0" }, "tsd": { "compilerOptions": {