From 9e2c7321c0f95a13f4d0f14752d37816764a72af Mon Sep 17 00:00:00 2001 From: Yuriy Demidov Date: Wed, 20 Nov 2024 18:44:58 +0300 Subject: [PATCH] feat: bump cut-extension to v0.4.0 (#575) --- package-lock.json | 35 ++++++++++++++++++++++++++--------- package.json | 2 +- src/transform/plugins/cut.ts | 2 +- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5830b7fd..962a7ac9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "4.38.2", "license": "MIT", "dependencies": { - "@diplodoc/cut-extension": "^0.3.0", + "@diplodoc/cut-extension": "^0.4.0", "@diplodoc/file-extension": "^0.1.0", "@diplodoc/tabs-extension": "^3.5.0", "chalk": "^4.1.2", @@ -3072,14 +3072,25 @@ } }, "node_modules/@diplodoc/cut-extension": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@diplodoc/cut-extension/-/cut-extension-0.3.0.tgz", - "integrity": "sha512-1hSwZMxNFrDl5pvve13XkKMNOaREOXSZhEI3PDXIdTxQJAO4fLzYLizQRCq6jU5WrFRzqsPVQ28fwIEpSUQ0mA==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@diplodoc/cut-extension/-/cut-extension-0.4.0.tgz", + "integrity": "sha512-0H8bNRNkdXBej/gMuitHO+WyQd+vP3mSM4Ixpt2HMta+JzmQYjacFV+uxMa4Tkbzspeo6C6HAwbkvNTmedMRUw==", + "dependencies": { + "@diplodoc/directive": "^0.1.0" + }, "peerDependencies": { "@diplodoc/utils": "1.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/@diplodoc/directive": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@diplodoc/directive/-/directive-0.1.0.tgz", + "integrity": "sha512-wQ4RoCoCjbWD9r2YdVPlgTW8+a0JNmsh4OmRLq4EA5PJ1SLjUKqSP9HkHb4LjRINLFtac6SsbXtQ8Y/zUiYazA==", + "dependencies": { + "markdown-it-directive": "2.0.2" + } + }, "node_modules/@diplodoc/file-extension": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/@diplodoc/file-extension/-/file-extension-0.1.0.tgz", @@ -4361,8 +4372,7 @@ "node_modules/@types/linkify-it": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.5.tgz", - "integrity": "sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==", - "dev": true + "integrity": "sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==" }, "node_modules/@types/lodash": { "version": "4.14.183", @@ -4373,7 +4383,6 @@ "version": "13.0.9", "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-13.0.9.tgz", "integrity": "sha512-1XPwR0+MgXLWfTn9gCsZ55AHOKW1WN+P9vr0PaQh5aerR9LLQXUbjfEAFhjmEmyoYFWAyuN2Mqkn40MZ4ukjBw==", - "dev": true, "license": "MIT", "dependencies": { "@types/linkify-it": "^3", @@ -4392,8 +4401,7 @@ "node_modules/@types/mdurl": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-1.0.5.tgz", - "integrity": "sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==", - "dev": true + "integrity": "sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==" }, "node_modules/@types/minimist": { "version": "1.2.5", @@ -10249,6 +10257,15 @@ "resolved": "https://registry.npmjs.org/markdown-it-deflist/-/markdown-it-deflist-2.1.0.tgz", "integrity": "sha512-3OuqoRUlSxJiuQYu0cWTLHNhhq2xtoSFqsZK8plANg91+RJQU1ziQ6lA2LzmFAEes18uPBsHZpcX6We5l76Nzg==" }, + "node_modules/markdown-it-directive": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/markdown-it-directive/-/markdown-it-directive-2.0.2.tgz", + "integrity": "sha512-UceeGZwl9bjnuEJWW/4UnJIFfcJ3NYmEXSTrffq6N/77E5wpbAYyopsuH/H4R8Ccuwge9E7otyuvHP5bULkccg==", + "peerDependencies": { + "@types/markdown-it": "^12.0.0 || ^13.0.0", + "markdown-it": "^12.0.0 || ^13.0.0" + } + }, "node_modules/markdown-it-meta": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/markdown-it-meta/-/markdown-it-meta-0.0.1.tgz", diff --git a/package.json b/package.json index 8cca86f1..d1cd6565 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "prepare": "husky" }, "dependencies": { - "@diplodoc/cut-extension": "^0.3.0", + "@diplodoc/cut-extension": "^0.4.0", "@diplodoc/file-extension": "^0.1.0", "@diplodoc/tabs-extension": "^3.5.0", "chalk": "^4.1.2", diff --git a/src/transform/plugins/cut.ts b/src/transform/plugins/cut.ts index 561e4623..8f9ae14b 100644 --- a/src/transform/plugins/cut.ts +++ b/src/transform/plugins/cut.ts @@ -1,3 +1,3 @@ import {transform} from '@diplodoc/cut-extension'; -export = transform({bundle: false}); +export = transform({bundle: false, directiveSyntax: 'disabled'});