From 539136f3d7ee0f032424f91f286aa749aab0aca5 Mon Sep 17 00:00:00 2001 From: moki Date: Wed, 4 Oct 2023 18:09:14 +0300 Subject: [PATCH] feat(cmd/xliff): improved inline segmentation beta --- package-lock.json | 57 ++++++++++++++++++++++++++--------------------- package.json | 2 +- 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2a114994..a95ff19a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1034,42 +1034,47 @@ } }, "@diplodoc/markdown-it-custom-renderer": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/@diplodoc/markdown-it-custom-renderer/-/markdown-it-custom-renderer-0.0.2.tgz", - "integrity": "sha512-PzjcMaqgRrqkBKUfF8A1abThOtQ+c1o5ma4d9bnrsfgmWtlScrr9O1VgBV5aeDPhm3LfhbdQSTDask9AS41rBA==" + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@diplodoc/markdown-it-custom-renderer/-/markdown-it-custom-renderer-0.1.1.tgz", + "integrity": "sha512-Lo8OBeHjtr9VsRsjRlQr95apGljhokoexTRL9NwR57/8lv2muuWTKC+U6OE93Al9uv4dNyo+/337d/xJcUAm3g==" }, "@diplodoc/markdown-it-markdown-renderer": { - "version": "0.14.4", - "resolved": "https://registry.npmjs.org/@diplodoc/markdown-it-markdown-renderer/-/markdown-it-markdown-renderer-0.14.4.tgz", - "integrity": "sha512-GFjJTXzKMSrYnuuAB24L5/ncNSDes+F+njPzGOJ2oz4XrZjxeOBTE0ZbNOwHvSKnknSgSFOHYAsPKTiR4UKaXw==", + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@diplodoc/markdown-it-markdown-renderer/-/markdown-it-markdown-renderer-0.15.0.tgz", + "integrity": "sha512-jVSCLjUpWgbX6P+if2Z1WSvJnilH+WGGnp/sb3GTeSfBF3S4oEC4B9SSfptyMdgU8aaO+gumF/uCQjIMEU6fiw==", "requires": { - "@diplodoc/markdown-it-custom-renderer": "0.0.1", + "@diplodoc/markdown-it-custom-renderer": "^0.1.1", "@doc-tools/transform": "^3.8.3", "markdown-it-sup": "^1.0.0" - }, - "dependencies": { - "@diplodoc/markdown-it-custom-renderer": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@diplodoc/markdown-it-custom-renderer/-/markdown-it-custom-renderer-0.0.1.tgz", - "integrity": "sha512-CuCzY7k56FsjBl9HWAesDRcLfIm5tPlPH6Mgjh0u8SJpthvE+psx5FxWu1Czu/KqfV/bxdeOFmRZ7CChw4qbUg==" - } } }, "@diplodoc/markdown-translation": { - "version": "0.15.4", - "resolved": "https://registry.npmjs.org/@diplodoc/markdown-translation/-/markdown-translation-0.15.4.tgz", - "integrity": "sha512-IB313NQw0BLZKXOPUUQGFp0LN8yQuSH7DRT71lgPEIv9E6be11eDnEyup7nG9WTdiGWgtDDoSVBik1n/4+wEJg==", + "version": "1.0.0-beta.1", + "resolved": "https://registry.npmjs.org/@diplodoc/markdown-translation/-/markdown-translation-1.0.0-beta.1.tgz", + "integrity": "sha512-EF10trCzx4jActs6gzU5jiJqNjx6buEhGivT6qRAxv8pwaWlMHOGt2AF4ytNyYe/0kzAZS+mg5mYcckt5STwdw==", "requires": { "@cospired/i18n-iso-languages": "^4.1.0", - "@diplodoc/markdown-it-custom-renderer": "0.0.2", - "@diplodoc/markdown-it-markdown-renderer": "^0.14.4", + "@diplodoc/markdown-it-custom-renderer": "^0.1.1", + "@diplodoc/markdown-it-markdown-renderer": "^0.15.0", "@diplodoc/sentenizer": "0.0.0", "@doc-tools/transform": "^3.8.3", "@shellscape/i18n-iso-countries": "^7.5.0-shellscape.v1", + "cheerio": "^1.0.0-rc.12", + "domhandler": "^5.0.3", "fast-xml-parser": "^4.1.3", "js-yaml": "^4.1.0", "markdown-it-meta": "0.0.1", "markdown-it-sup": "^1.0.0" + }, + "dependencies": { + "domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "requires": { + "domelementtype": "^2.3.0" + } + } } }, "@diplodoc/mermaid-extension": { @@ -1106,9 +1111,9 @@ } }, "@diplodoc/tabs-extension": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@diplodoc/tabs-extension/-/tabs-extension-2.0.10.tgz", - "integrity": "sha512-+CgOvQRxit4EPb9rmw/VgbVudFFtovJOnSkwGcBAvqzb9e4u9JqA/gWt/HCOjH1LsdmZh6lepGeA0AIwVuHPCQ==" + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@diplodoc/tabs-extension/-/tabs-extension-2.0.12.tgz", + "integrity": "sha512-tljb1NM2RR0Jwh/qoO3Ci5gzpMqc5gWdtE1iLIABv4khJRneFrx57cNycFzcSnV+l2Bizyawn2SvPiX94sdhZg==" }, "@diplodoc/transform": { "version": "4.0.0", @@ -1175,11 +1180,11 @@ } }, "@doc-tools/transform": { - "version": "3.8.5", - "resolved": "https://registry.npmjs.org/@doc-tools/transform/-/transform-3.8.5.tgz", - "integrity": "sha512-LJMKEa+xDtQ772aJBX3oy2mLpCMl5x+WvYk4hc6tkkXKTRRivTxRqQAYETTjLqDHnk5jBfCVG5+mqOIuUbo4ug==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@doc-tools/transform/-/transform-3.11.0.tgz", + "integrity": "sha512-n8n1IMV6bQE/9XLAhHhyozsmCYSsRm/88w8HyxCRGxEi8jOLEp2ooS5EW5xWRrbrp7kzr+wEMSZeMw8EdQP50A==", "requires": { - "@diplodoc/tabs-extension": "^2.0.10", + "@diplodoc/tabs-extension": "^2.0.11", "chalk": "4.1.2", "get-root-node-polyfill": "1.0.0", "github-slugger": "1.4.0", diff --git a/package.json b/package.json index 08e35501..385bdf0a 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@apidevtools/swagger-parser": "^10.1.0", "@aws-sdk/client-s3": "^3.369.0", "@diplodoc/client": "^0.0.14", - "@diplodoc/markdown-translation": "^0.15.4", + "@diplodoc/markdown-translation": "^1.0.0-beta.1", "@diplodoc/mermaid-extension": "^1.1.1", "@diplodoc/openapi-extension": "^1.3.3", "@diplodoc/transform": "^4.0.0",