From 76aebf6ad715a2f4de13a9db49b26f695a4ea9c5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 10:45:24 +0000 Subject: [PATCH] build(deps): update dependency markdown-it to v14 (#28785) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Kriese --- package.json | 4 +-- pnpm-lock.yaml | 49 ++++++------------------------------- tools/check-fenced-code.mjs | 2 +- 3 files changed, 10 insertions(+), 45 deletions(-) diff --git a/package.json b/package.json index cc61898c987eac..2579802408658a 100644 --- a/package.json +++ b/package.json @@ -213,7 +213,7 @@ "klona": "2.0.6", "lru-cache": "10.2.0", "luxon": "3.4.4", - "markdown-it": "13.0.2", + "markdown-it": "14.1.0", "markdown-table": "2.0.0", "minimatch": "9.0.4", "moo": "0.5.2", @@ -287,7 +287,7 @@ "@types/linkify-markdown": "1.0.3", "@types/lodash": "4.17.0", "@types/luxon": "3.4.2", - "@types/markdown-it": "13.0.7", + "@types/markdown-it": "14.0.1", "@types/markdown-table": "2.0.0", "@types/marshal": "0.5.3", "@types/mdast": "3.0.15", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 050c55df5a8d5c..777ae5685553ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -222,8 +222,8 @@ importers: specifier: 3.4.4 version: 3.4.4 markdown-it: - specifier: 13.0.2 - version: 13.0.2 + specifier: 14.1.0 + version: 14.1.0 markdown-table: specifier: 2.0.0 version: 2.0.0 @@ -434,8 +434,8 @@ importers: specifier: 3.4.2 version: 3.4.2 '@types/markdown-it': - specifier: 13.0.7 - version: 13.0.7 + specifier: 14.0.1 + version: 14.0.1 '@types/markdown-table': specifier: 2.0.0 version: 2.0.0 @@ -1994,8 +1994,8 @@ packages: '@types/luxon@3.4.2': resolution: {integrity: sha512-TifLZlFudklWlMBfhubvgqTXRzLDI5pCbGa4P8a3wPyUQSW+1xQ5eDsreP9DWHX3tjq1ke96uYG/nwundroWcA==} - '@types/markdown-it@13.0.7': - resolution: {integrity: sha512-U/CBi2YUUcTHBt5tjO2r5QV/x0Po6nsYwQU4Y04fBS6vfoImaiZ6f8bi3CjTCxBPQSO1LMyUqkByzi8AidyxfA==} + '@types/markdown-it@14.0.1': + resolution: {integrity: sha512-6WfOG3jXR78DW8L5cTYCVVGAsIFZskRHCDo5tbqa+qtKVt4oDRVH7hyIWu1SpDQJlmIoEivNQZ5h+AGAOrgOtQ==} '@types/markdown-table@2.0.0': resolution: {integrity: sha512-fVZN/DRjZvjuk+lo7ovlI/ZycS51gpYU5vw5EcFeqkcX6lucQ+UWgEOH2O4KJHkSck4DHAY7D7CkVLD0wzc5qw==} @@ -2938,10 +2938,6 @@ packages: resolution: {integrity: sha512-O+QWCviPNSSLAD9Ucn8Awv+poAkqn3T1XY5/N7kR7rQO9yfSGWkYZDwpJ+iKF7B8rxaQKWngSqACpgzeapSyoA==} engines: {node: '>=10.13.0'} - entities@3.0.1: - resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==} - engines: {node: '>=0.12'} - entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} @@ -4141,9 +4137,6 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - linkify-it@4.0.1: - resolution: {integrity: sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==} - linkify-it@5.0.0: resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} @@ -4247,10 +4240,6 @@ packages: resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} engines: {node: '>=8'} - markdown-it@13.0.2: - resolution: {integrity: sha512-FtwnEuuK+2yVU7goGn/MJ0WBZMM9ZPgU9spqlFs7/A/pDIUNSOQZhUgOqYCficIuR2QaFnrt8LHqBWsbTAoI5w==} - hasBin: true - markdown-it@14.1.0: resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} hasBin: true @@ -4306,9 +4295,6 @@ packages: mdast-util-to-string@2.0.0: resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} - mdurl@1.0.1: - resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} - mdurl@2.0.0: resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} @@ -5700,9 +5686,6 @@ packages: engines: {node: '>=14.17'} hasBin: true - uc.micro@1.0.6: - resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==} - uc.micro@2.1.0: resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==} @@ -8293,7 +8276,7 @@ snapshots: '@types/luxon@3.4.2': {} - '@types/markdown-it@13.0.7': + '@types/markdown-it@14.0.1': dependencies: '@types/linkify-it': 3.0.5 '@types/mdurl': 1.0.5 @@ -9357,8 +9340,6 @@ snapshots: graceful-fs: 4.2.11 tapable: 2.2.1 - entities@3.0.1: {} - entities@4.5.0: {} env-ci@10.0.0: @@ -10909,10 +10890,6 @@ snapshots: lines-and-columns@1.2.4: {} - linkify-it@4.0.1: - dependencies: - uc.micro: 1.0.6 - linkify-it@5.0.0: dependencies: uc.micro: 2.1.0 @@ -11014,14 +10991,6 @@ snapshots: map-obj@4.3.0: {} - markdown-it@13.0.2: - dependencies: - argparse: 2.0.1 - entities: 3.0.1 - linkify-it: 4.0.1 - mdurl: 1.0.1 - uc.micro: 1.0.6 - markdown-it@14.1.0: dependencies: argparse: 2.0.1 @@ -11100,8 +11069,6 @@ snapshots: mdast-util-to-string@2.0.0: {} - mdurl@1.0.1: {} - mdurl@2.0.0: {} memfs@4.8.2: @@ -12559,8 +12526,6 @@ snapshots: typescript@5.4.5: {} - uc.micro@1.0.6: {} - uc.micro@2.1.0: {} uglify-js@3.17.4: {} diff --git a/tools/check-fenced-code.mjs b/tools/check-fenced-code.mjs index ff9f841f4ca28b..84e03cd0c86a3b 100644 --- a/tools/check-fenced-code.mjs +++ b/tools/check-fenced-code.mjs @@ -15,7 +15,7 @@ markdown.enable(['fence']); /** * * @param {string} file - * @param {import('markdown-it/lib/token')} token + * @param {import('markdown-it').Token} token */ function checkValidJson(file, token) { const start = token.map ? token.map[0] + 1 : 0;