diff --git a/dist/index.mjs b/dist/index.mjs index f5b235a..132b6fb 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -3529,7 +3529,6 @@ const ESCAPE = '\\' // expression, so a literal one has to be escaped before it is emitted. const REGEX_LITERAL_SPECIAL = /[.*+?()[\]{}^$|\\/]/ const BOM = '\uFEFF' -const REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/ // A run of two or more asterisks is a globstar (#175) const REGEX_ANCHORED_GLOBSTAR = /^\/\*{2,}$/ const REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/ @@ -3665,13 +3664,11 @@ const scanBracket = (pattern, start) => { } if (char === ESCAPE) { - const escaped = pattern[index + 1] - if (escaped === UNDEFINED) { - return null - } + // A pattern can not end on a lone backslash -- `createRule` has + // already thrown it away -- so there is a character to read. + const escaped = pattern[++ index] body += escapeMember(escaped) prev = escaped - index ++ } else if ( char === '-' && prev @@ -3681,8 +3678,6 @@ const scanBracket = (pattern, start) => { index ++ let to = pattern[index] if (to === ESCAPE) { - // A pattern can not end on a lone backslash -- `checkPattern` has - // already thrown it away -- so there is an upper bound to read. to = pattern[index += 1] } // An out-of-order range matches nothing in git but is a syntax error in @@ -3818,8 +3813,7 @@ const extractBrackets = pattern => { // replacers), `\[` (a literal bracket, the one `[` the bracket // replacer still expects), and `\ ` (a quoted space, which one pass // below rewrites in bulk -- holding each one aside instead costs more - // on a pattern built out of them). A lone trailing backslash can reach - // here after line-ending cleanup. + // on a pattern built out of them). // // A quoted backslash is not among them. The chain doubles every // backslash, then takes the doubling back out again, and a quoted one @@ -3828,10 +3822,7 @@ const extractBrackets = pattern => { // the literal it means, it never joins that run. const escaped = pattern[index + 1] - if ( - escaped === UNDEFINED - || escaped === SLASH && index + 2 === length - ) { + if (escaped === SLASH && index + 2 === length) { // Git removes a final directory slash before matching. An escape // without a character after that removal makes the pattern invalid. out += hold(NEVER_MATCH) @@ -3893,6 +3884,7 @@ const DIRECT = null // A separator at the beginning or in the middle of a pattern, as opposed to // one at the very end. const REGEX_INNER_SLASH = /\/(?!$)/ +const WILDCARD = '[^\\/]*' // > If the pattern ends with a slash, // > it is removed for the purpose of the following description, @@ -4012,7 +4004,7 @@ const REPLACERS = [ /^\^*(?:\\\*\\\*\\\/)+/, // '**/foo' <-> 'foo' - () => '^(?:.*\\/)?', + () => '(?:^|\\/)', '*' ], @@ -4023,8 +4015,8 @@ const REPLACERS = [ // If starts with '**', adding a '^' to the regular expression also works DIRECT, (source, pattern) => { - // Nothing to anchor to, or already anchored - if (!source || source[0] === '^') { + // Nothing to anchor to, or already anchored (`^` or `(?:^|\/)`) + if (!source || source[0] === '^' || source[0] === '(') { return source } @@ -4095,19 +4087,14 @@ const REPLACERS = [ // 'abc.*/' -> go // 'abc.*' -> skip this rule, // coz trailing single wildcard will be handed by [trailing wildcard] - /(^|[^\\]+)(\\\*)+(?=.+)/g, + /(^|[^\\])(?:\\\*)+(?!$)/g, // '*.js' matches '.js' // '*.js' doesn't match 'abc' - (_, p1, p2) => { - // 1. - // > An asterisk "*" matches anything except a slash. - // 2. - // > Other consecutive asterisks are considered regular asterisks - // > and will match according to the previous rules. - const unescaped = p2.replace(/\\\*/g, '[^\\/]*') - return p1 + unescaped - }, + // 1. An asterisk "*" matches anything except a slash. + // 2. Other consecutive asterisks are considered regular asterisks + // and collapse into one non-slash wildcard run. + (_, p1) => p1 + WILDCARD, '*' ], @@ -4228,10 +4215,10 @@ const replaceTrailingWildcard = (_, p1) => { const REGEX_REPLACE_TRAILING_DOUBLESTAR = /\uE001$/ -// 'abc/**' matches everything under 'abc', but not 'abc/' itself (#21) -const replaceTrailingDoublestar = () => '.+(?=$|\\/$)' - -const WILDCARD = '[^\\/]*' +// 'abc/**' matches everything under 'abc', but not 'abc/' itself (#21): +// requiring one arbitrary character (line terminators included, #176) +// after 'abc/' is necessary and sufficient for `.test(path)`. +const replaceTrailingDoublestar = () => '[\\s\\S]' // The fixed piece between the wildcard at `at` and the next wildcard of the // run: the tokens that separate them, joined as they appear in the source. @@ -4447,7 +4434,7 @@ const checkSourceOf = (body, prefix) => { return last === TRAILING_WILDCARD ? `${head}$` : last === TRAILING_DOUBLESTAR - ? `${head}.*$` + ? head : NEVER_MATCH } @@ -4531,13 +4518,18 @@ const parentOf = path => { const isString = subject => typeof subject === 'string' -// Blank lines and comments are told by `createRule`, once the pattern is -// normalized. +// Blank lines, comments and trailing lone backslashes are told by +// `createRule`, once the pattern is normalized. const checkPattern = pattern => pattern && isString(pattern) - && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) -const splitPattern = pattern => pattern +// Git drops one CR before each LF, and one at the end of a final line that +// has no LF after it. +const splitPattern = pattern => ( + pattern[pattern.length - 1] === '\r' + ? pattern.slice(0, - 1) + : pattern +) .split(REGEX_SPLITALL_CRLF) .filter(Boolean) @@ -4605,34 +4597,54 @@ class IgnoreRule { } } -const isLineEnd = char => char === '\r' || char === '\n' +const hasTrailingBackslash = str => { + let count = 0 -// Drop a line terminator, which can remain when patterns are passed as an -// array, and then the trailing spaces. Git trims spaces only, and a space + while (str[str.length - count - 1] === ESCAPE) { + count ++ + } + + return count % 2 === 1 +} + +// Read a line the way git does: when `stripLineEnd` is set (an unsplit array +// or object pattern), drop any trailing blank lines along with the LF +// before each and at most one CR at the end of the line; then trim trailing +// spaces in the same backward pass. Git trims spaces only, and a space // escaped by an odd run of backslashes stays, unescaped, as the last one. // Scanned from the end: a regular expression can only try each start in // turn, which is quadratic over a long run of spaces or backslashes. // 'a ' -> 'a'; 'a\ ' -> 'a '; 'a\\ ' -> 'a\\'; 'a\t' -> 'a\t' -const trimEnd = body => { - let end = body.length +// 'a\r\n' -> 'a'; 'a\r\r' -> 'a\r'; 'a\n\r' -> 'a' +const trimEnd = (body, stripLineEnd) => { + let lineEnd = body.length + let end - while (end && isLineEnd(body[end - 1])) { - end -- - } + for (;;) { + if (stripLineEnd && body[lineEnd - 1] === '\r') { + lineEnd -- + } - const lineEnd = end + end = lineEnd - while (end && body[end - 1] === SPACE) { - end -- + while (body[end - 1] === SPACE) { + end -- + } + + if (!stripLineEnd || body[end - 1] !== '\n') { + break + } + + lineEnd = end - 1 } if (end === lineEnd) { - return body.slice(0, end) + return body.slice(0, lineEnd) } let backslashes = 0 - while (backslashes < end && body[end - backslashes - 1] === ESCAPE) { + while (body[end - backslashes - 1] === ESCAPE) { backslashes ++ } @@ -4641,12 +4653,15 @@ const trimEnd = body => { : body.slice(0, end) } -const createRule = ({ +const createRule = ( pattern, - mark -}, ignoreCase) => { + mark, + ignoreCase, + stripLineEnd, + stripBOM +) => { // Git drops a BOM before it reads the first line, so before anything else. - let body = pattern[0] === BOM + let body = stripBOM && pattern[0] === BOM ? pattern.slice(1) : pattern @@ -4665,18 +4680,23 @@ const createRule = ({ // Normalize the body before checking which slashes anchor the pattern. // Otherwise `bar/ ` is mistaken for a pattern containing an inner slash. - // Only a body ending in a space or a line terminator has anything to trim. + // A line from `splitPattern` has already lost its line ending, so only a + // trailing space remains to trim there. const last = body[body.length - 1] - if (last === SPACE || last === '\r' || last === '\n') { - body = trimEnd(body) + if ( + last === SPACE + || stripLineEnd && (last === '\r' || last === '\n') + ) { + body = trimEnd(body, stripLineEnd) } // > A blank line matches no files, so it can serve as a separator for // > readability. - // Nor does a lone "!", or anything else left empty here: an empty pattern - // would compile to a regex matching every path. - if (!body) { + // Nor does a lone "!", a pattern ending on an unpaired backslash, or + // anything else left empty here: an empty pattern would compile to a + // regex matching every path. + if (!body || hasTrailingBackslash(body)) { return } @@ -4721,7 +4741,7 @@ class RuleManager { this._basenameCount = 0 } - _add (pattern) { + _add (pattern, index) { // #32 if (pattern && pattern[KEY_IGNORE]) { this._rules = this._rules.concat(pattern._rules._rules) @@ -4730,14 +4750,19 @@ class RuleManager { return } - if (isString(pattern)) { - pattern = { - pattern - } - } + const isStr = isString(pattern) + const raw = isStr + ? pattern + : pattern.pattern - const rule = checkPattern(pattern.pattern) - && createRule(pattern, this._ignoreCase) + const rule = checkPattern(raw) + && createRule( + raw, + isStr ? UNDEFINED : pattern.mark, + this._ignoreCase, + !this._split, + this._stripBOM && !index + ) if (rule) { this._added = true @@ -4755,9 +4780,11 @@ class RuleManager { // @param {Array | string | Ignore} pattern add (pattern) { this._added = false + this._split = isString(pattern) + this._stripBOM = !this._split || pattern[0] === BOM makeArray( - isString(pattern) + this._split ? splitPattern(pattern) : pattern ).forEach(this._add, this) @@ -4941,6 +4968,10 @@ checkPath.isNotRelative = isNotRelative checkPath.convert = p => p +const convertPath = target => + isString(target) && checkPath.convert(target) + + class Ignore { constructor ({ ignorecase = true, @@ -4979,11 +5010,7 @@ class Ignore { } // @returns {TestResult} - _test (originalPath, cache) { - const path = originalPath - // Supports nullable path - && checkPath.convert(originalPath) - + _test (originalPath, cache, path) { checkPath( path, originalPath, @@ -4992,14 +5019,23 @@ class Ignore { : RETURN_FALSE ) - return this._t(path, cache) + return path + ? this._t(path, cache) + : { + ignored: false, + unignored: false + } } - checkIgnore (path) { - // If the path doest not end with a slash, `.ignores()` is much equivalent + checkIgnore (target) { + // A Windows path is converted first, so that a directory given with a + // trailing separator, `\` or `/`, is told the same way + const path = convertPath(target) + + // If the path does not end with a slash, `.ignores()` is much equivalent // to `git check-ignore` - if (path.charCodeAt(path.length - 1) !== SLASH_CODE) { - return this.test(path) + if (!path || path.charCodeAt(path.length - 1) !== SLASH_CODE) { + return this._test(target, this._testCache, path) } // Like `git check-ignore`: a directory excluded by itself or by an @@ -5044,7 +5080,7 @@ class Ignore { } ignores (path) { - return this._test(path, this._ignoreCache).ignored + return this._test(path, this._ignoreCache, convertPath(path)).ignored } createFilter () { @@ -5057,14 +5093,14 @@ class Ignore { // @returns {TestResult} test (path) { - return this._test(path, this._testCache) + return this._test(path, this._testCache, convertPath(path)) } } const factory = options => new Ignore(options) const isPathValid = path => - checkPath(path && checkPath.convert(path), path, RETURN_FALSE) + checkPath(convertPath(path), path, RETURN_FALSE) /* istanbul ignore next */ const setupWindows = () => { @@ -60810,7 +60846,7 @@ const fixableRuleNames = (/* unused pure expression or super */ null && ([ "MD054", "MD058", "MD060" ])); const homepage = "https://github.com/DavidAnson/markdownlint"; -const version = "0.42.1"; +const version = "0.42.2"; // EXTERNAL MODULE: ./node_modules/markdownlint/lib/defer-require.cjs var defer_require = __nccwpck_require__(9489); @@ -78155,9 +78191,31 @@ var shared = __nccwpck_require__(3408); /** @typedef {import("micromark-util-types").State} State */ /** @typedef {import("micromark-util-types").Token} Token */ /** @typedef {import("micromark-util-types").Tokenizer} Tokenizer */ +/** @typedef {import("micromark-util-types").TokenType} TokenType */ /** @typedef {import("markdownlint").MicromarkToken} MicromarkToken */ /** @typedef {typeof import("./micromark-types.d.mts")} _ambient_ */ +/** @type {TokenType[]} */ +const eventTokenTypesToReplicate = [ + "attentionSequence", + "autolink", + "autolinkEmail", + "autolinkMarker", + "autolinkProtocol", + "codeTextData", + "codeTextPadding", + "codeTextSequence", + "data", + "htmlText", + "htmlTextData", + "lineEnding", + "mathText", + "mathTextData", + "mathTextPadding", + "mathTextSequence" +]; +const eventTypesToReplicate = new Set(eventTokenTypesToReplicate); + /** * Gets a modified micromark-extension-directive without support for inline directives. * @@ -78262,7 +78320,7 @@ function getEvents( .filter((event) => { const [ , eventToken ] = event; const { type } = eventToken; - return (type === "data") || (type === "lineEnding"); + return eventTypesToReplicate.has(type); }); // Determine the type of the undefined reference @@ -80647,7 +80705,7 @@ function getEffectiveConfig(ruleList, config, aliasToRuleNames) { let severity = "error"; let effectiveValue = {}; if (value) { - if (value instanceof Object) { + if ((value instanceof Object) || (Object.getPrototypeOf(value) === null)) { /** @type {{ enabled?: boolean, severity?: "error" | "warning" }} */ const valueObject = value; enabled = (valueObject.enabled === undefined) || !!valueObject.enabled; @@ -82074,7 +82132,7 @@ const appendToArray = (destination, source) => { // @ts-check const packageName = "markdownlint-cli2"; -const packageVersion = "0.24.1"; +const packageVersion = "0.24.2"; const libraryName = "markdownlint"; diff --git a/package-lock.json b/package-lock.json index 917deda..c2d42b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@actions/core": "3.0.1", - "markdownlint-cli2": "0.24.1" + "markdownlint-cli2": "0.24.2" }, "devDependencies": { "@eslint/js": "10.0.1", @@ -142,9 +142,9 @@ } }, "node_modules/@eslint/config-array/node_modules/minimatch": { - "version": "11.0.8", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.8.tgz", - "integrity": "sha512-nFQuYSTVrGvysVBps5Ih+0BdnYFN/Cj3C816r6+p7yK+FHrVLGE4O4N9AFwykrlNlvM2HYt+Rad1Uiro6h88Ig==", + "version": "11.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz", + "integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -185,9 +185,9 @@ } }, "node_modules/@eslint/css-tree": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-4.1.2.tgz", - "integrity": "sha512-rVcxLmwSkEL3aWS3vAgsTRrQHoYE1b0XcgDtKHDJ92XOkyUpcbS/g0tUJKhvCtlEhYzgKBWsgDd+Z/aPhd166w==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-4.1.3.tgz", + "integrity": "sha512-3WQJPt+KXGZ6H6ielW9EnKSJyIL0s2H2a6ILgdtj7w1vj0HOy7quWJ2ZAscVIVNT/Z49PqvqQ7qrWiDBpRUBeQ==", "dev": true, "license": "MIT", "dependencies": { @@ -483,9 +483,9 @@ "license": "MIT" }, "node_modules/@typescript-eslint/types": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.2.tgz", - "integrity": "sha512-Xfn37OLZx03+PCU7qWx9DTv2FCRh1E6fk2+wONeNY15HXIwtcwuveaSwVpGAUptkNmPQegRxW5JyRel9T7wrog==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.73.0.tgz", + "integrity": "sha512-O/1ytYzflF16QDKXx4/qOXg1IuZp+n7hr9t+S0nv7N/2Tl8rJiNCshztV1gcSUvHbPtoX3+zmNbtSAyVbzxVfw==", "dev": true, "license": "MIT", "engines": { @@ -585,9 +585,9 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.11.37", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.37.tgz", - "integrity": "sha512-QYph+vfurmaxhNwi9FprfmtkT5cx2Keg8FzZ0vnjO8ukscIybVyZGMFwdllKGlTI6qyU8ck43OM9UXh+IFJihQ==", + "version": "2.11.39", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.39.tgz", + "integrity": "sha512-Q9buOYhr2ggrEZpImICecZTJHCCd8yXkRUokFlUEQ8uiD6oP82F4W4jWnhOHZYV+wlvrC51V7Wy0ULyWjil5Wg==", "dev": true, "license": "Apache-2.0", "bin": { @@ -623,9 +623,9 @@ } }, "node_modules/browserslist": { - "version": "4.29.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.5.tgz", - "integrity": "sha512-khTmKu5NGYTotqcYo8Bew2k4RAE9PuXRSFRXG2lQBrCEQHyeQ/vX6gKMxfokwywBsLiXZMnHsmWMG1pnO8J7uQ==", + "version": "4.29.6", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.6.tgz", + "integrity": "sha512-CmVVIQ3RVc5HxYEc9X84GvxK/C8C1wH8TlKAiO7uTxF8PDwt7r8t9Qk3J9NkMOVzX5O/HbLv3yzxZg9HPrnI9w==", "dev": true, "funding": [ { @@ -643,11 +643,11 @@ ], "license": "MIT", "dependencies": { - "baseline-browser-mapping": "^2.11.33", - "caniuse-lite": "^1.0.30001819", - "electron-to-chromium": "^1.5.464", - "node-releases": "^2.0.60", - "update-browserslist-db": "^1.3.4" + "baseline-browser-mapping": "^2.11.37", + "caniuse-lite": "^1.0.30001826", + "electron-to-chromium": "^1.5.486", + "node-releases": "^2.0.64", + "update-browserslist-db": "^1.4.0" }, "bin": { "browserslist": "cli.js" @@ -871,9 +871,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.486", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.486.tgz", - "integrity": "sha512-rpybw4Ac4ak/An6G1Me2+61xzwobowDGyuJe71QHHOVpkZv4fPVobsLl7WH6zHSKusAMpaHxGKTpOvpy7+r3dQ==", + "version": "1.5.492", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.492.tgz", + "integrity": "sha512-4uMs7omhajKiud0GqALLTazS/zyvHLTLmDWVTR+e6BnyJo5bSNrph/JoRWEFJJmY75ct9hCiSGsbFF9fLe5gDw==", "dev": true, "license": "ISC" }, @@ -1473,9 +1473,9 @@ } }, "node_modules/globby/node_modules/ignore": { - "version": "7.0.14", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.14.tgz", - "integrity": "sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==", + "version": "7.0.16", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.16.tgz", + "integrity": "sha512-52N+Y4HRMOJmbLmr+DqO4iSRyyB7N52gm7PWCT6h0p978+oKbqHCB7gIJIwZvBUsjlSdWbrBFqUSmIFNZMpn0A==", "license": "MIT", "engines": { "node": ">= 4" @@ -1863,9 +1863,9 @@ } }, "node_modules/markdownlint": { - "version": "0.42.1", - "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.42.1.tgz", - "integrity": "sha512-Otolm9JX12iO2NG5cetlKfzGygpiLSlHuqXKxoT6HGhN5HtbxprJPicKZqqCQd88qOvUi/TEs3o1AmcYioVscA==", + "version": "0.42.2", + "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.42.2.tgz", + "integrity": "sha512-IhlUBVT+kHBX+u3EjEsQdFB4q0Rl0Hx+JsGsvVkonNut1/n8Kv8yXzwk0pazC9uF35JlwMZ+LxV4CQ9YNAbG8w==", "license": "MIT", "dependencies": { "micromark": "4.0.3", @@ -1887,9 +1887,9 @@ } }, "node_modules/markdownlint-cli2": { - "version": "0.24.1", - "resolved": "https://registry.npmjs.org/markdownlint-cli2/-/markdownlint-cli2-0.24.1.tgz", - "integrity": "sha512-nLhes/MIPJQLm+Gmh+3jQEnwMOaalaN0wfCD2qz1247zNZ7R3r2WDHJB191x4hcy6soKAUTybp1bFK7aJGw/WA==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/markdownlint-cli2/-/markdownlint-cli2-0.24.2.tgz", + "integrity": "sha512-bgxzhJkgR7t2puRgePHZYVqKzC90etPzxOC+9ZNATjAVJB2zs7EAolfF1inVsrkgYN+ykVIHIxk0WypG2VVLZA==", "license": "MIT", "dependencies": { "globby": "16.2.4", @@ -1897,7 +1897,7 @@ "jsonc-parser": "3.3.1", "jsonpointer": "5.0.1", "markdown-it": "15.0.3", - "markdownlint": "0.42.1", + "markdownlint": "0.42.2", "markdownlint-cli2-formatter-default": "0.0.6", "micromatch": "4.0.8", "smol-toml": "1.9.1" @@ -2533,9 +2533,9 @@ "license": "MIT" }, "node_modules/node-releases": { - "version": "2.0.64", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.64.tgz", - "integrity": "sha512-zAPCKqMcnqs2nGy6nlkm7JduFseiBJy3EXHGLh+8pFR+TxGCBxxiEN21+UROU5CKwX/f4TlUcYjiM+vs/tsyxw==", + "version": "2.0.65", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.65.tgz", + "integrity": "sha512-PfvofsGQ+MiOQIPkX9fU8ELUWmy5zL74CdQaph/ismKszfFkfwXaw0cGiwbwym2hT9k5+mdyl8O5WQ1MD8EHmA==", "dev": true, "license": "MIT", "engines": { @@ -2944,13 +2944,13 @@ } }, "node_modules/source-map-js": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", - "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.4.tgz", + "integrity": "sha512-J7ZjMvHd9O1fcT/5V09QWaaSl2BbWx3F6O08spde82Namf9UB0GxRVIPiNbVsdKkoizHiSpTodo3vp2bAy91MA==", "dev": true, "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">=6.0.0" } }, "node_modules/spdx-exceptions": { @@ -3098,9 +3098,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz", - "integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.4.0.tgz", + "integrity": "sha512-WPJuOnjI9FWDct4fB+ej4Mz8opLaw5CDcZ2t44tFZ0vIQVYWzBhWR3mkixuUj/A7+vY4V9+ApOZ2YYLwdgq46w==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index a9b7e1f..5426c93 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@actions/core": "3.0.1", - "markdownlint-cli2": "0.24.1" + "markdownlint-cli2": "0.24.2" }, "devDependencies": { "@eslint/js": "10.0.1",