diff --git a/tools/lint-md/lint-md.mjs b/tools/lint-md/lint-md.mjs index 1d5948093829a6..f4480eaab0b2ff 100644 --- a/tools/lint-md/lint-md.mjs +++ b/tools/lint-md/lint-md.mjs @@ -482,7 +482,7 @@ function base() { continue } if (options[0] === true) { - options[1] = undefined; + options[0] = undefined; } const transformer = attacher.call(processor, ...options); if (typeof transformer === 'function') { diff --git a/tools/lint-md/package-lock.json b/tools/lint-md/package-lock.json index 957e8099fa3c44..61137685dfcd0f 100644 --- a/tools/lint-md/package-lock.json +++ b/tools/lint-md/package-lock.json @@ -12,13 +12,13 @@ "remark-preset-lint-node": "^3.3.1", "remark-stringify": "^10.0.2", "to-vfile": "^7.2.3", - "unified": "^10.1.1", + "unified": "^10.1.2", "vfile-reporter": "^7.0.3" }, "devDependencies": { "@rollup/plugin-commonjs": "^21.0.2", "@rollup/plugin-node-resolve": "^13.1.3", - "rollup": "^2.69.1", + "rollup": "^2.70.0", "rollup-plugin-cleanup": "^3.2.1" } }, @@ -2193,9 +2193,9 @@ } }, "node_modules/rollup": { - "version": "2.69.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.69.1.tgz", - "integrity": "sha512-xaQKTomUVZBopk38EIshM/kOoPFkKWisgBV7Emy80coP9MOSLUDrba1jKZhqH0iS5DoGcRbbcuyl/BzblV8w5w==", + "version": "2.70.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.70.0.tgz", + "integrity": "sha512-iEzYw+syFxQ0X9RefVwhr8BA2TNJsTaX8L8dhyeyMECDbmiba+8UQzcu+xZdji0+JQ+s7kouQnw+9Oz5M19XKA==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -2359,9 +2359,9 @@ } }, "node_modules/unified": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.1.tgz", - "integrity": "sha512-v4ky1+6BN9X3pQrOdkFIPWAaeDsHPE1svRDxq7YpTc2plkIqFMwukfqM+l0ewpP9EfwARlt9pPFAeWYhHm8X9w==", + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", + "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", "dependencies": { "@types/unist": "^2.0.0", "bail": "^2.0.0", @@ -4167,9 +4167,9 @@ } }, "rollup": { - "version": "2.69.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.69.1.tgz", - "integrity": "sha512-xaQKTomUVZBopk38EIshM/kOoPFkKWisgBV7Emy80coP9MOSLUDrba1jKZhqH0iS5DoGcRbbcuyl/BzblV8w5w==", + "version": "2.70.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.70.0.tgz", + "integrity": "sha512-iEzYw+syFxQ0X9RefVwhr8BA2TNJsTaX8L8dhyeyMECDbmiba+8UQzcu+xZdji0+JQ+s7kouQnw+9Oz5M19XKA==", "dev": true, "requires": { "fsevents": "~2.3.2" @@ -4279,9 +4279,9 @@ "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" }, "unified": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.1.tgz", - "integrity": "sha512-v4ky1+6BN9X3pQrOdkFIPWAaeDsHPE1svRDxq7YpTc2plkIqFMwukfqM+l0ewpP9EfwARlt9pPFAeWYhHm8X9w==", + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", + "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", "requires": { "@types/unist": "^2.0.0", "bail": "^2.0.0", diff --git a/tools/lint-md/package.json b/tools/lint-md/package.json index a3e847adcdeb03..80dbd335b3e48f 100644 --- a/tools/lint-md/package.json +++ b/tools/lint-md/package.json @@ -10,13 +10,13 @@ "remark-preset-lint-node": "^3.3.1", "remark-stringify": "^10.0.2", "to-vfile": "^7.2.3", - "unified": "^10.1.1", + "unified": "^10.1.2", "vfile-reporter": "^7.0.3" }, "devDependencies": { "@rollup/plugin-commonjs": "^21.0.2", "@rollup/plugin-node-resolve": "^13.1.3", - "rollup": "^2.69.1", + "rollup": "^2.70.0", "rollup-plugin-cleanup": "^3.2.1" } }