diff --git a/package.json b/package.json index 09c07c30f2..08a9f5f085 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "lerna": "7.2.0", "lint-staged": "^15.2.5", "lodash": "^4.17.21", - "markdown-magic": "^2.6.0", + "markdown-magic": "^3.3.0", "postcss": "^8.4.31", "postcss-cli": "^10.1.0", "postcss-syntax": "^0.36.2", diff --git a/yarn.lock b/yarn.lock index 5f9e0c8ace..17911996e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2427,6 +2427,15 @@ debug "^3.1.0" lodash.once "^4.1.1" +"@davidwells/md-utils@^0.0.40": + version "0.0.40" + resolved "https://registry.yarnpkg.com/@davidwells/md-utils/-/md-utils-0.0.40.tgz#661d4341af8053cdca93f5fc36303daf46046976" + integrity sha512-1W4bXnZkDhHJZ5jxrq9BzrJeUS4RSXy3ZllLUmQq0A5u49ANngcCzlxRawQnlEIcG8AA0+0Jyet8oMlK/43GCg== + dependencies: + gray-matter "^4.0.3" + micro-mdx-parser "^1.1.1" + oparser "^3.0.1" + "@discoveryjs/json-ext@^0.5.0", "@discoveryjs/json-ext@^0.5.7": version "0.5.7" resolved "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz" @@ -10338,6 +10347,14 @@ d@1, d@^1.0.1: es5-ext "^0.10.50" type "^1.0.1" +d@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/d/-/d-1.0.2.tgz#2aefd554b81981e7dccf72d6842ae725cb17e5de" + integrity sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw== + dependencies: + es5-ext "^0.10.64" + type "^2.7.2" + damerau-levenshtein@^1.0.8: version "1.0.8" resolved "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz" @@ -11507,6 +11524,16 @@ es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.53, es5-ext@ es6-symbol "^3.1.3" next-tick "^1.1.0" +es5-ext@^0.10.62, es5-ext@^0.10.64: + version "0.10.64" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.64.tgz#12e4ffb48f1ba2ea777f1fcdd1918ef73ea21714" + integrity sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg== + dependencies: + es6-iterator "^2.0.3" + es6-symbol "^3.1.3" + esniff "^2.0.1" + next-tick "^1.1.0" + es6-iterator@^2.0.3: version "2.0.3" resolved "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz" @@ -12070,6 +12097,16 @@ eslint@^8.56.0: strip-ansi "^6.0.1" text-table "^0.2.0" +esniff@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/esniff/-/esniff-2.0.1.tgz#a4d4b43a5c71c7ec51c51098c1d8a29081f9b308" + integrity sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg== + dependencies: + d "^1.0.1" + es5-ext "^0.10.62" + event-emitter "^0.3.5" + type "^2.7.2" + espree@^7.3.0, espree@^7.3.1: version "7.3.1" resolved "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz" @@ -12510,7 +12547,7 @@ fast-glob@^2.2.6: merge2 "^1.2.3" micromatch "^3.1.10" -fast-glob@^3.0.3, fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.5, fast-glob@^3.2.9, fast-glob@^3.3.0, fast-glob@^3.3.1, fast-glob@^3.3.2: +fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.5, fast-glob@^3.2.9, fast-glob@^3.3.0, fast-glob@^3.3.1, fast-glob@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== @@ -14314,6 +14351,11 @@ globalthis@^1.0.3: dependencies: define-properties "^1.1.3" +globalyzer@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/globalyzer/-/globalyzer-0.1.4.tgz#bc8e273afe1ac7c24eea8def5b802340c5cc534f" + integrity sha512-LeguVWaxgHN0MNbWC6YljNMzHkrCny9fzjmEUdnF1kQ7wATFD1RHFRqA1qxaX2tgxGENlcxjOflopBwj3YZiXA== + globby@11.1.0, globby@^11.0.2, globby@^11.0.3, globby@^11.0.4, globby@^11.1.0: version "11.1.0" resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" @@ -14326,20 +14368,6 @@ globby@11.1.0, globby@^11.0.2, globby@^11.0.3, globby@^11.0.4, globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" -globby@^10.0.2: - version "10.0.2" - resolved "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz" - integrity sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg== - dependencies: - "@types/glob" "^7.1.1" - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.0.3" - glob "^7.1.3" - ignore "^5.1.1" - merge2 "^1.2.3" - slash "^3.0.0" - globby@^13.0.0, globby@^13.1.2, globby@^13.1.4: version "13.2.0" resolved "https://registry.npmjs.org/globby/-/globby-13.2.0.tgz" @@ -14382,6 +14410,11 @@ globjoin@^0.1.4: resolved "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz" integrity sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg== +globrex@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098" + integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg== + goober@^2.1.10: version "2.1.13" resolved "https://registry.npmjs.org/goober/-/goober-2.1.13.tgz" @@ -14510,7 +14543,7 @@ graphql@^15.7.2: resolved "https://registry.npmjs.org/graphql/-/graphql-15.8.0.tgz" integrity sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw== -gray-matter@^4.0.2: +gray-matter@^4.0.2, gray-matter@^4.0.3: version "4.0.3" resolved "https://registry.npmjs.org/gray-matter/-/gray-matter-4.0.3.tgz" integrity sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q== @@ -15247,7 +15280,7 @@ ignore@^4.0.3, ignore@^4.0.6: resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.0.4, ignore@^5.1.1, ignore@^5.1.8, ignore@^5.2.0, ignore@^5.2.4: +ignore@^5.0.4, ignore@^5.1.8, ignore@^5.2.0, ignore@^5.2.4: version "5.2.4" resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== @@ -16967,10 +17000,10 @@ jsesc@~0.5.0: resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz" integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== -json-alexander@^0.1.8: - version "0.1.8" - resolved "https://registry.npmjs.org/json-alexander/-/json-alexander-0.1.8.tgz" - integrity sha512-5TZYawo7vu63e7e0xFaxZXsySKBuKJgEX6F2edjFakXEnpsZnp040Wdd5Exm2qWAhf54S6v+DNMQHo7yV+rkgw== +json-alexander@^0.1.13: + version "0.1.13" + resolved "https://registry.yarnpkg.com/json-alexander/-/json-alexander-0.1.13.tgz#7930eb77563c263641677dc4c979724ce462b3f6" + integrity sha512-s84SuqZwnb7mGJB03sGlcdx458FR91Uwwy2lKJBDN+TBJ7ARbyP/ssGnjW9t5QyxwG/b23W22Dz9Ga6nuyHqnA== json-buffer@3.0.0: version "3.0.0" @@ -18014,19 +18047,23 @@ markdown-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/markdown-extensions/-/markdown-extensions-2.0.0.tgz#34bebc83e9938cae16e0e017e4a9814a8330d3c4" integrity sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q== -markdown-magic@^2.6.0: - version "2.6.1" - resolved "https://registry.npmjs.org/markdown-magic/-/markdown-magic-2.6.1.tgz" - integrity sha512-i+wPC9bAGzFVftF1P5ItooOCvX+TTD3v504WpupsJz+3B0wRZMuPxeFAE7uZXEZYjsiQYskoMgpypoJTWerpVA== +markdown-magic@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/markdown-magic/-/markdown-magic-3.3.0.tgz#8047f1e45ff9d43f7a7fcf2ee9ffa88b26451c1a" + integrity sha512-zG+pip/THd8vBKefUdVvshLlD6XeNwNXc/Ws8lGBGt0/xLAc9MGsJaUTnpaqe1grhw9WbD4SdrgVf9n5VSlqjg== dependencies: + "@davidwells/md-utils" "^0.0.40" "@technote-space/doctoc" "2.4.7" - commander "^7.2.0" - deepmerge "^4.2.2" - find-up "^5.0.0" - globby "^10.0.2" + globrex "^0.1.2" + gray-matter "^4.0.3" + is-glob "^4.0.3" is-local-path "^0.1.6" - json-alexander "^0.1.8" - mkdirp "^1.0.4" + is-valid-path "^0.1.1" + micro-mdx-parser "^1.1.0" + mri "^1.2.0" + node-fetch "^2.7.0" + oparser "^3.0.13" + smart-glob "^1.0.2" sync-request "^6.1.0" markdown-table@^1.1.0: @@ -18349,6 +18386,20 @@ memfs@^3.1.2, memfs@^3.2.0, memfs@^3.2.2, memfs@^3.4.1, memfs@^3.4.12, memfs@^3. resolved "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz" integrity sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q== +memoizee@^0.4.14: + version "0.4.17" + resolved "https://registry.yarnpkg.com/memoizee/-/memoizee-0.4.17.tgz#942a5f8acee281fa6fb9c620bddc57e3b7382949" + integrity sha512-DGqD7Hjpi/1or4F/aYAspXKNm5Yili0QDAFAY4QYvpqpgiY6+1jOfqpmByzjxbWd/T9mChbCArXAbDAsTm5oXA== + dependencies: + d "^1.0.2" + es5-ext "^0.10.64" + es6-weak-map "^2.0.3" + event-emitter "^0.3.5" + is-promise "^2.2.2" + lru-queue "^0.1.0" + next-tick "^1.1.0" + timers-ext "^0.1.7" + memoizee@^0.4.15: version "0.4.15" resolved "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz" @@ -18447,6 +18498,13 @@ methods@~1.1.2: resolved "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== +micro-mdx-parser@^1.1.0, micro-mdx-parser@^1.1.1: + version "1.1.24" + resolved "https://registry.yarnpkg.com/micro-mdx-parser/-/micro-mdx-parser-1.1.24.tgz#9f553d4dbc8ae9315981dcfc9e7599a954f8855b" + integrity sha512-wZX6iyPDHsAXTw+t9nYbP5cCVr+OHDaxm5E/+rTI5yHFrqRUxNExLFX2EN0XlyjBNF5RjCTiSFsoi7ixVgYFuw== + dependencies: + oparser "^3.0.22" + microbuffer@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/microbuffer/-/microbuffer-1.0.0.tgz" @@ -19340,10 +19398,10 @@ node-fetch@3.3.1: fetch-blob "^3.1.4" formdata-polyfill "^4.0.10" -node-fetch@^2.6.12, node-fetch@^2.6.6, node-fetch@^2.6.7: - version "2.6.12" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz" - integrity sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g== +node-fetch@^2.6.12, node-fetch@^2.6.6, node-fetch@^2.6.7, node-fetch@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== dependencies: whatwg-url "^5.0.0" @@ -19925,6 +19983,13 @@ onetime@^6.0.0: dependencies: mimic-fn "^4.0.0" +oparser@^3.0.1, oparser@^3.0.13, oparser@^3.0.22: + version "3.0.22" + resolved "https://registry.yarnpkg.com/oparser/-/oparser-3.0.22.tgz#c813856bf52caaa54860b6a158040f059cf09ca4" + integrity sha512-9FLmBQ0Ut+56q7X4uvPwXG+NgvHecx3QwSqFhc/qC19xvogNt2HfXm3HrZR480hXOZKHxazudYY6srRaaT2uxQ== + dependencies: + json-alexander "^0.1.13" + open@^7.0.3: version "7.4.2" resolved "https://registry.npmjs.org/open/-/open-7.4.2.tgz" @@ -21356,6 +21421,11 @@ promise@^8.0.0: dependencies: asap "~2.0.6" +promisify-child-process@^4.1.1: + version "4.1.2" + resolved "https://registry.yarnpkg.com/promisify-child-process/-/promisify-child-process-4.1.2.tgz#83638088b67f8093d14323e2aaa28b5424d3a7e5" + integrity sha512-APnkIgmaHNJpkAn7k+CrJSi9WMuff5ctYFbD0CO2XIPkM8yO7d/ShouU2clywbpHV/DUsyc4bpJCsNgddNtx4g== + prompts@^2.0.1, prompts@^2.4.0, prompts@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz" @@ -24114,6 +24184,20 @@ smart-buffer@^4.2.0: resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz" integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== +smart-glob@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/smart-glob/-/smart-glob-1.0.2.tgz#6d5e12f7579570ed0dc3527bff24687b0d90de6f" + integrity sha512-2vtznbLOW+7sL9xUhJNszHw7lEeigPbkp6l42gCbY6uMzC9MSyroIMBLO1PtsEoq7PG1NGF99VNt9sCC2D/bTw== + dependencies: + globalyzer "^0.1.4" + globrex "^0.1.2" + lodash "^4.17.20" + memoizee "^0.4.14" + promisify-child-process "^4.1.1" + slash "^3.0.0" + tslib "^2.0.0" + yargs "^16.0.3" + smpltmpl@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/smpltmpl/-/smpltmpl-1.0.2.tgz" @@ -27838,7 +27922,7 @@ yargs-parser@^20.2.2, yargs-parser@^20.2.3, yargs-parser@^20.2.9: resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs@16.2.0, yargs@^16.2.0: +yargs@16.2.0, yargs@^16.0.3, yargs@^16.2.0: version "16.2.0" resolved "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz" integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==