diff --git a/package-lock.json b/package-lock.json index 3ad299d0910d..68f8adf4bf12 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,43 @@ "js-yaml": "^3.13.1", "node-object-hash": "^1.4.2", "yargs": "^15.3.1" + }, + "dependencies": { + "@ts-common/commonmark-to-markdown": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ts-common/commonmark-to-markdown/-/commonmark-to-markdown-1.2.0.tgz", + "integrity": "sha512-xFWpGZN1XzWN0egRs6gcT+tgYYw57us/Xr9euoaTsi9N+UR9ZxnG8Mrt4K/KlB54dNIED/LaGxReqRM5L7tKZA==", + "dev": true, + "requires": { + "@ts-common/iterator": "^0.3.0", + "@types/commonmark": "^0.27.3", + "commonmark": "^0.28.1", + "front-matter": "^3.0.1" + }, + "dependencies": { + "commonmark": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/commonmark/-/commonmark-0.28.1.tgz", + "integrity": "sha1-Buq41SM4uDn6Gi11rwCF7tGxvq4=", + "dev": true, + "requires": { + "entities": "~ 1.1.1", + "mdurl": "~ 1.0.1", + "minimist": "~ 1.2.0", + "string.prototype.repeat": "^0.2.0" + } + } + } + }, + "front-matter": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-3.2.1.tgz", + "integrity": "sha512-YUhgEhbL6tG+Ok3vTGIoSDKqcr47aSDvyhEqIv8B+YuBJFsPnOiArNXTPp2yO07NL+a0L4+2jXlKlKqyVcsRRA==", + "dev": true, + "requires": { + "js-yaml": "^3.13.1" + } + } } }, "@azure/openapi-markdown": { @@ -40,6 +77,18 @@ "tslib": "^1.9.3" }, "dependencies": { + "@ts-common/commonmark-to-markdown": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ts-common/commonmark-to-markdown/-/commonmark-to-markdown-1.2.0.tgz", + "integrity": "sha512-xFWpGZN1XzWN0egRs6gcT+tgYYw57us/Xr9euoaTsi9N+UR9ZxnG8Mrt4K/KlB54dNIED/LaGxReqRM5L7tKZA==", + "dev": true, + "requires": { + "@ts-common/iterator": "^0.3.0", + "@types/commonmark": "^0.27.3", + "commonmark": "^0.28.1", + "front-matter": "^3.0.1" + } + }, "commonmark": { "version": "0.28.1", "resolved": "https://registry.npmjs.org/commonmark/-/commonmark-0.28.1.tgz", @@ -51,6 +100,15 @@ "minimist": "~ 1.2.0", "string.prototype.repeat": "^0.2.0" } + }, + "front-matter": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-3.2.1.tgz", + "integrity": "sha512-YUhgEhbL6tG+Ok3vTGIoSDKqcr47aSDvyhEqIv8B+YuBJFsPnOiArNXTPp2yO07NL+a0L4+2jXlKlKqyVcsRRA==", + "dev": true, + "requires": { + "js-yaml": "^3.13.1" + } } } }, @@ -80,17 +138,23 @@ } }, "@ts-common/commonmark-to-markdown": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ts-common/commonmark-to-markdown/-/commonmark-to-markdown-1.2.0.tgz", - "integrity": "sha1-Gy257ada2oNjbwcopc3sic0D08M=", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@ts-common/commonmark-to-markdown/-/commonmark-to-markdown-2.0.2.tgz", + "integrity": "sha512-gLUxc7phOvWiDavHDshU3JGxKsepSCYAuXpMVxU0j6MDah2EbV3y0UA4x1wHkWmlf7bVuDLcnsiYQttqEX1zQw==", "dev": true, "requires": { - "@ts-common/iterator": "^0.3.0", + "@ts-common/iterator": "^1.1.1", "@types/commonmark": "^0.27.3", "commonmark": "^0.28.1", - "front-matter": "^3.0.1" + "front-matter": "^4.0.2" }, "dependencies": { + "@ts-common/iterator": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@ts-common/iterator/-/iterator-1.1.1.tgz", + "integrity": "sha512-1WbfRxKqIeheLDD44S4SV9kAcXuVxc5dfcBlC7Abjeyk9GsWX/Xe2fqgKs6ZN3ySSgMDxhIT1SAHFA4oZeR4eA==", + "dev": true + }, "commonmark": { "version": "0.28.1", "resolved": "https://registry.npmjs.org/commonmark/-/commonmark-0.28.1.tgz", @@ -221,9 +285,9 @@ } }, "@types/commonmark": { - "version": "0.27.4", - "resolved": "https://registry.npmjs.org/@types/commonmark/-/commonmark-0.27.4.tgz", - "integrity": "sha512-7koSjp08QxKoS1/+3T15+kD7+vqOUvZRHvM8PutF3Xsk5aAEkdlIGRsHJ3/XsC3izoqTwBdRW/vH7rzCKkIicA==", + "version": "0.27.5", + "resolved": "https://registry.npmjs.org/@types/commonmark/-/commonmark-0.27.5.tgz", + "integrity": "sha512-vIqgmHyLsc8Or3EWLz6QkhI8/v61FNeH0yxRupA7VqSbA2eFMoHHJAhZSHudplAV89wqg1CKSmShE016ziRXuw==", "dev": true }, "@types/js-yaml": { @@ -1028,9 +1092,9 @@ "dev": true }, "front-matter": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-3.0.2.tgz", - "integrity": "sha512-iBGZaWyzqgsrPGsqrXZP6N4hp5FzSKDi18nfAoYpgz3qK5sAwFv/ojmn3VS60SOgLvq6CtojNqy0y6ZNz05IzQ==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-4.0.2.tgz", + "integrity": "sha512-I8ZuJ/qG92NWX8i5x1Y8qyj3vizhXS31OxjKDu3LKP+7/qBgfIKValiZIEwoVoJKUHlhWtYrktkxV1XsX+pPlg==", "dev": true, "requires": { "js-yaml": "^3.13.1" diff --git a/package.json b/package.json index d10d45faace8..f8aa8db118f1 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "license": "MIT", "devDependencies": { "@azure/avocado": "^0.7.2", - "@ts-common/commonmark-to-markdown": "^1.2.0", + "@ts-common/commonmark-to-markdown": "^2.0.2", "@ts-common/fs": "0.2.0", "@ts-common/iterator": "^0.3.6", "@types/js-yaml": "^3.12.1",