diff --git a/package-lock.json b/package-lock.json index b148aa8b..547fbacf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "4.39.0", "license": "MIT", "dependencies": { - "@diplodoc/cut-extension": "^0.4.0", - "@diplodoc/file-extension": "^0.1.0", + "@diplodoc/cut-extension": "^0.5.0", + "@diplodoc/file-extension": "^0.2.0", "@diplodoc/tabs-extension": "^3.5.0", "chalk": "^4.1.2", "cheerio": "^1.0.0", @@ -3072,11 +3072,11 @@ } }, "node_modules/@diplodoc/cut-extension": { - "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==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@diplodoc/cut-extension/-/cut-extension-0.5.0.tgz", + "integrity": "sha512-UvSZmjTVL9DSvKLYzde3Y9RJGjM44s1iTP1iSytuInXDqLIeyd4wenNsr9LHqmAl6EB3V5/OMR+B3X8FgXNypg==", "dependencies": { - "@diplodoc/directive": "^0.1.0" + "@diplodoc/directive": "^0.3.0" }, "peerDependencies": { "@diplodoc/utils": "1.0.0", @@ -3084,17 +3084,20 @@ } }, "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==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@diplodoc/directive/-/directive-0.3.0.tgz", + "integrity": "sha512-1UD7UHthRqO0rju/XNAaKQIxSy/pa1giEMlARBZ7U4ZPi1QeTw+QNyXy1TwvnBb5hc6jAChTjfOxDwpct1AEdg==", "dependencies": { - "markdown-it-directive": "2.0.2" + "markdown-it-directive": "2.0.4" } }, "node_modules/@diplodoc/file-extension": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@diplodoc/file-extension/-/file-extension-0.1.0.tgz", - "integrity": "sha512-RXiRz3eUyeba5vcAdEI6C6KOoB8Hj8EQru3NFoFCLT4wb6YCFR2qgWDCrLo7Gr1SnIO7UhtCUOiFjnMpwDrSYQ==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@diplodoc/file-extension/-/file-extension-0.2.1.tgz", + "integrity": "sha512-4m9ZcQwmeHw0t2t5vv5GGxKfUifOdpf4Idb9a/Rfkxl6pqGnk0rnZ0xwXrruQEwinkQIBL4TCl2YN3SKGaBrjQ==", + "dependencies": { + "@diplodoc/directive": "^0.3.0" + }, "peerDependencies": { "markdown-it": "^13.0.0" } @@ -10258,9 +10261,9 @@ "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==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/markdown-it-directive/-/markdown-it-directive-2.0.4.tgz", + "integrity": "sha512-XtGbBcP0aoRgKiDIIsxvgSXZz3ptI5AOydLAfF+n/LRmdy4ROdHntboJMEg8Fd0B+SMtOynCpiDFDKboatPbMw==", "peerDependencies": { "@types/markdown-it": "^12.0.0 || ^13.0.0", "markdown-it": "^12.0.0 || ^13.0.0" diff --git a/package.json b/package.json index 42534f5a..4cb243f3 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,8 @@ "prepare": "husky" }, "dependencies": { - "@diplodoc/cut-extension": "^0.4.0", - "@diplodoc/file-extension": "^0.1.0", + "@diplodoc/cut-extension": "^0.5.0", + "@diplodoc/file-extension": "^0.2.0", "@diplodoc/tabs-extension": "^3.5.0", "chalk": "^4.1.2", "cheerio": "^1.0.0", diff --git a/src/transform/plugins/file/index.ts b/src/transform/plugins/file/index.ts index 7981b04b..f3a92e83 100644 --- a/src/transform/plugins/file/index.ts +++ b/src/transform/plugins/file/index.ts @@ -1,3 +1,3 @@ import {transform} from '@diplodoc/file-extension'; -export = transform({bundle: false}); +export = transform({bundle: false, directiveSyntax: 'disabled'});