From 67683985e918ac1cd9b1a2160f3a747e6490eea5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:00:14 +0000 Subject: [PATCH 01/16] Bump eslint-plugin-jsdoc from 50.4.3 to 50.5.0 Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 50.4.3 to 50.5.0. - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc) - [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v50.4.3...v50.5.0) --- updated-dependencies: - dependency-name: eslint-plugin-jsdoc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4e0ae1e0..cd06efe0 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "cpy-cli": "5.0.0", "del": "8.0.0", "eslint": "9.14.0", - "eslint-plugin-jsdoc": "50.4.3", + "eslint-plugin-jsdoc": "50.5.0", "eslint-plugin-n": "17.13.1", "eslint-plugin-unicorn": "56.0.0", "nano-spawn": "0.2.0", From 24a692618da6693e82f3aa133912086f7dd9e612 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:36:13 +0000 Subject: [PATCH 02/16] Bump eslint-plugin-n from 17.13.1 to 17.13.2 Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 17.13.1 to 17.13.2. - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases) - [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/v17.13.1...v17.13.2) --- updated-dependencies: - dependency-name: eslint-plugin-n dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cd06efe0..dae87a0e 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "del": "8.0.0", "eslint": "9.14.0", "eslint-plugin-jsdoc": "50.5.0", - "eslint-plugin-n": "17.13.1", + "eslint-plugin-n": "17.13.2", "eslint-plugin-unicorn": "56.0.0", "nano-spawn": "0.2.0", "markdown-it-emoji": "3.0.0", From b4b6f478ef90726dbc8461311ebc93c31c29d75e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:22:34 +0000 Subject: [PATCH 03/16] Bump @eslint/js from 9.14.0 to 9.15.0 Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.14.0 to 9.15.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.15.0/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dae87a0e..886fd27a 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "micromatch": "4.0.8" }, "devDependencies": { - "@eslint/js": "9.14.0", + "@eslint/js": "9.15.0", "@iktakahiro/markdown-it-katex": "4.0.1", "@playwright/test": "1.48.2", "@stylistic/eslint-plugin": "2.10.1", From 5a15e76bc9f883698361ab3164561a3c1a10f82c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 15:46:24 +0000 Subject: [PATCH 04/16] Bump eslint-plugin-unicorn from 56.0.0 to 56.0.1 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 56.0.0 to 56.0.1. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v56.0.0...v56.0.1) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 886fd27a..3d26d1ae 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "eslint": "9.14.0", "eslint-plugin-jsdoc": "50.5.0", "eslint-plugin-n": "17.13.2", - "eslint-plugin-unicorn": "56.0.0", + "eslint-plugin-unicorn": "56.0.1", "nano-spawn": "0.2.0", "markdown-it-emoji": "3.0.0", "markdown-it-for-inline": "2.0.1", From ba838300dfe62a06fe582abd5f0a2f3eea21a263 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 15:46:12 +0000 Subject: [PATCH 05/16] Bump @stylistic/eslint-plugin from 2.10.1 to 2.11.0 Bumps [@stylistic/eslint-plugin](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin) from 2.10.1 to 2.11.0. - [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases) - [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v2.11.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@stylistic/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3d26d1ae..d7a705b4 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "@eslint/js": "9.15.0", "@iktakahiro/markdown-it-katex": "4.0.1", "@playwright/test": "1.48.2", - "@stylistic/eslint-plugin": "2.10.1", + "@stylistic/eslint-plugin": "2.11.0", "ajv": "8.17.1", "ava": "6.2.0", "c8": "10.1.2", From eb5fb06fa36fcef87f418baac2efe064be2cd3f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:18:07 +0000 Subject: [PATCH 06/16] Bump eslint from 9.14.0 to 9.15.0 Bumps [eslint](https://github.com/eslint/eslint) from 9.14.0 to 9.15.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.14.0...v9.15.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d7a705b4..aba573c3 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "cpy": "11.1.0", "cpy-cli": "5.0.0", "del": "8.0.0", - "eslint": "9.14.0", + "eslint": "9.15.0", "eslint-plugin-jsdoc": "50.5.0", "eslint-plugin-n": "17.13.2", "eslint-plugin-unicorn": "56.0.1", From 68e1f6c56d31d2f1b9cd25e67f30c23895929be2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:18:08 +0000 Subject: [PATCH 07/16] Bump @playwright/test from 1.48.2 to 1.49.0 Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.48.2 to 1.49.0. - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.48.2...v1.49.0) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index aba573c3..cc1b364f 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "devDependencies": { "@eslint/js": "9.15.0", "@iktakahiro/markdown-it-katex": "4.0.1", - "@playwright/test": "1.48.2", + "@playwright/test": "1.49.0", "@stylistic/eslint-plugin": "2.11.0", "ajv": "8.17.1", "ava": "6.2.0", From 5ef29f209106a2156e9c098142faf64b127d3ef9 Mon Sep 17 00:00:00 2001 From: David Anson Date: Wed, 20 Nov 2024 04:40:30 +0000 Subject: [PATCH 08/16] Update indirect playwright dependencies to 1.49.0. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cc1b364f..f07ba225 100644 --- a/package.json +++ b/package.json @@ -35,9 +35,9 @@ "lint-dockerfile": "docker run --rm -i hadolint/hadolint:latest-alpine < docker/Dockerfile", "lint-watch": "git ls-files | entr npm run lint", "playwright-install-bare": "npm run playwright-install-npm && playwright install", - "playwright-install-npm": "npm install --no-save playwright@1.48.2", + "playwright-install-npm": "npm install --no-save playwright@1.49.0", "playwright-test": "playwright test --config ./webworker/playwright.config.mjs", - "playwright-test-docker": "docker run --rm --volume $PWD:/home/workdir --workdir /home/workdir --ipc=host mcr.microsoft.com/playwright:v1.48.2 npm run playwright-test", + "playwright-test-docker": "docker run --rm --volume $PWD:/home/workdir --workdir /home/workdir --ipc=host mcr.microsoft.com/playwright:v1.49.0 npm run playwright-test", "schema": "cpy ./node_modules/markdownlint/schema/markdownlint-config-schema.json ./schema --flat", "test": "ava --timeout=1m test/append-to-array-test.js test/fs-mock-test.js test/fs-virtual-test.js test/markdownlint-cli2-test.js test/markdownlint-cli2-test-exec.js test/markdownlint-cli2-test-exports.js test/markdownlint-cli2-test-fs.js test/markdownlint-cli2-test-main.js test/merge-options-test.js test/resolve-and-require-test.js", "test-cover": "c8 --100 npm test", From d7af25ce9e312562ba87169d73b120fcf8e8fa57 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 15:20:22 +0000 Subject: [PATCH 09/16] Bump eslint-plugin-n from 17.13.2 to 17.14.0 Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 17.13.2 to 17.14.0. - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases) - [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/v17.13.2...v17.14.0) --- updated-dependencies: - dependency-name: eslint-plugin-n dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f07ba225..a46a2e45 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "del": "8.0.0", "eslint": "9.15.0", "eslint-plugin-jsdoc": "50.5.0", - "eslint-plugin-n": "17.13.2", + "eslint-plugin-n": "17.14.0", "eslint-plugin-unicorn": "56.0.1", "nano-spawn": "0.2.0", "markdown-it-emoji": "3.0.0", From 7bf5bfdaf634e7e417cd52b94c729eb5fccb182d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:30:08 +0000 Subject: [PATCH 10/16] Bump eslint-plugin-jsdoc from 50.5.0 to 50.6.0 Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 50.5.0 to 50.6.0. - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc) - [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v50.5.0...v50.6.0) --- updated-dependencies: - dependency-name: eslint-plugin-jsdoc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a46a2e45..32d79e5c 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "cpy-cli": "5.0.0", "del": "8.0.0", "eslint": "9.15.0", - "eslint-plugin-jsdoc": "50.5.0", + "eslint-plugin-jsdoc": "50.6.0", "eslint-plugin-n": "17.14.0", "eslint-plugin-unicorn": "56.0.1", "nano-spawn": "0.2.0", From dfb726ce4f80c52f9dfabc4b7c5a6e8aeb069650 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:35:18 +0000 Subject: [PATCH 11/16] Bump eslint from 9.15.0 to 9.16.0 Bumps [eslint](https://github.com/eslint/eslint) from 9.15.0 to 9.16.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.15.0...v9.16.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 32d79e5c..dec4fae9 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "cpy": "11.1.0", "cpy-cli": "5.0.0", "del": "8.0.0", - "eslint": "9.15.0", + "eslint": "9.16.0", "eslint-plugin-jsdoc": "50.6.0", "eslint-plugin-n": "17.14.0", "eslint-plugin-unicorn": "56.0.1", From ee1293c5e7e38e4223f77a9a96eb5491af4633e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:34:48 +0000 Subject: [PATCH 12/16] Bump @eslint/js from 9.15.0 to 9.16.0 Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.15.0 to 9.16.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.16.0/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dec4fae9..ee2cd409 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "micromatch": "4.0.8" }, "devDependencies": { - "@eslint/js": "9.15.0", + "@eslint/js": "9.16.0", "@iktakahiro/markdown-it-katex": "4.0.1", "@playwright/test": "1.49.0", "@stylistic/eslint-plugin": "2.11.0", From b3d64f033461d7f9a3f3e6f3b69f9675282ae747 Mon Sep 17 00:00:00 2001 From: David Anson Date: Thu, 5 Dec 2024 23:08:11 -0800 Subject: [PATCH 13/16] Add engine-strict=true to .npmrc to catch Node versioning issues with dependencies. --- .npmrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.npmrc b/.npmrc index 3757b304..68353c60 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,3 @@ +engine-strict=true ignore-scripts=true package-lock=false From 7c16afd51fdbbd960a1ae556ff4d85e98a12b609 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sun, 8 Dec 2024 18:10:46 -0800 Subject: [PATCH 14/16] Try not to use require for modules due to breaking change in Node 22.12: https://github.com/nodejs/node/releases/tag/v22.12.0. --- markdownlint-cli2.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/markdownlint-cli2.js b/markdownlint-cli2.js index 2ae120d6..4d91ea88 100755 --- a/markdownlint-cli2.js +++ b/markdownlint-cli2.js @@ -97,11 +97,18 @@ const importOrRequireResolve = async (dirOrDirs, id, noRequire) => { const dirs = Array.isArray(dirOrDirs) ? dirOrDirs : [ dirOrDirs ]; const expandId = expandTildePath(id); const errors = []; + // Try to load via require(...) try { - return resolveAndRequire(dynamicRequire, expandId, dirs); + const isModule = /\.mjs$/iu.test(expandId); + if (!isModule) { + // Try not to use require for modules due to breaking change in Node 22.12: + // https://github.com/nodejs/node/releases/tag/v22.12.0 + return resolveAndRequire(dynamicRequire, expandId, dirs); + } } catch (error) { errors.push(error); } + // Try to load via import(...) try { // eslint-disable-next-line n/no-unsupported-features/node-builtins const isURL = !pathDefault.isAbsolute(expandId) && URL.canParse(expandId); @@ -114,6 +121,7 @@ const importOrRequireResolve = async (dirOrDirs, id, noRequire) => { } catch (error) { errors.push(error); } + // Give up throw new AggregateError( errors, `Unable to require or import module '${id}'.` From 62c588e3ea85b5d24b0ee300fc7d8d652686ebe3 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sat, 2 Nov 2024 22:17:27 -0700 Subject: [PATCH 15/16] Update CI.yml to include Node 23. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f5f8755..2d4293e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ macos-latest, ubuntu-latest, windows-latest ] - node-version: [ 18, 20, 22 ] + node-version: [ 18, 20, 22, 23 ] steps: - uses: actions/checkout@v4 From 1d349044b9624661f5a0a7e13e0ca9801752022a Mon Sep 17 00:00:00 2001 From: David Anson Date: Sun, 8 Dec 2024 18:22:06 -0800 Subject: [PATCH 16/16] Update to version 0.16.0. --- .pre-commit-hooks.yaml | 6 ++--- CHANGELOG.md | 5 ++++ README.md | 6 ++--- markdownlint-cli2.js | 2 +- package.json | 2 +- schema/markdownlint-cli2-config-schema.json | 30 ++++++++++----------- 6 files changed, 28 insertions(+), 23 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index a89e42df..9df01f4a 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -4,18 +4,18 @@ entry: markdownlint-cli2 language: node types: [markdown] - minimum_pre_commit_version: 0.15.0 + minimum_pre_commit_version: 0.16.0 - id: markdownlint-cli2-docker name: markdownlint-cli2-docker description: "Checks the style of Markdown/CommonMark files." entry: davidanson/markdownlint-cli2 language: docker_image types: [markdown] - minimum_pre_commit_version: 0.15.0 + minimum_pre_commit_version: 0.16.0 - id: markdownlint-cli2-rules-docker name: markdownlint-cli2-rules-docker description: "Checks the style of Markdown/CommonMark files." entry: davidanson/markdownlint-cli2-rules language: docker_image types: [markdown] - minimum_pre_commit_version: 0.15.0 + minimum_pre_commit_version: 0.16.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 46eeb0e5..a33dafe8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.16.0 + +- Try not to use require for modules (due to Node 22.12) +- Update dependencies (EXcluding `markdownlint`) + ## 0.15.0 - Add support for `stdin` input via `-` glob diff --git a/README.md b/README.md index 35e43fec..9d4d97bd 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ A container image [`davidanson/markdownlint-cli2`][docker-hub-markdownlint-cli2] can also be used (e.g., as part of a CI pipeline): ```bash -docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.15.0 "**/*.md" "#node_modules" +docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.16.0 "**/*.md" "#node_modules" ``` Notes: @@ -166,7 +166,7 @@ Notes: - A custom working directory can be specified with Docker's `-w` flag: ```bash - docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.15.0 "**/*.md" "#node_modules" + docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.16.0 "**/*.md" "#node_modules" ``` For convenience, the container image @@ -413,7 +413,7 @@ reference to the `repos` list in that project's `.pre-commit-config.yaml` like: ```yaml - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: v0.15.0 + rev: v0.16.0 hooks: - id: markdownlint-cli2 ``` diff --git a/markdownlint-cli2.js b/markdownlint-cli2.js index 4d91ea88..83685309 100755 --- a/markdownlint-cli2.js +++ b/markdownlint-cli2.js @@ -30,7 +30,7 @@ const resolveAndRequire = require("./resolve-and-require"); // Variables const packageName = "markdownlint-cli2"; -const packageVersion = "0.15.0"; +const packageVersion = "0.16.0"; const libraryName = "markdownlint"; const libraryVersion = getLibraryVersion(); const bannerMessage = `${packageName} v${packageVersion} (${libraryName} v${libraryVersion})`; diff --git a/package.json b/package.json index ee2cd409..aba2cd01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdownlint-cli2", - "version": "0.15.0", + "version": "0.16.0", "description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library", "author": { "name": "David Anson", diff --git a/schema/markdownlint-cli2-config-schema.json b/schema/markdownlint-cli2-config-schema.json index b6737449..8807180a 100644 --- a/schema/markdownlint-cli2-config-schema.json +++ b/schema/markdownlint-cli2-config-schema.json @@ -1,13 +1,13 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.15.0/schema/markdownlint-cli2-config-schema.json", + "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.16.0/schema/markdownlint-cli2-config-schema.json", "title": "markdownlint-cli2 configuration schema", "type": "object", "properties": { "$schema": { "description": "JSON Schema URI (expected by some editors)", "type": "string", - "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.15.0/schema/markdownlint-cli2-config-schema.json" + "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.16.0/schema/markdownlint-cli2-config-schema.json" }, "config": { "description": "markdownlint configuration schema : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/schema/.markdownlint.jsonc", @@ -15,7 +15,7 @@ "default": {} }, "customRules": { - "description": "Module names or paths of custom rules to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Module names or paths of custom rules to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "array", "default": [], "items": { @@ -25,18 +25,18 @@ } }, "fix": { - "description": "Whether to enable fixing of linting errors reported by rules that emit fix information : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Whether to enable fixing of linting errors reported by rules that emit fix information : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "boolean", "default": false }, "frontMatter": { - "description": "Regular expression used to match and ignore any front matter at the beginning of a document : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Regular expression used to match and ignore any front matter at the beginning of a document : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "string", "minLength": 1, "default": "" }, "gitignore": { - "description": "Whether to ignore files referenced by .gitignore (or glob expression) (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Whether to ignore files referenced by .gitignore (or glob expression) (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": [ "boolean", "string" @@ -44,7 +44,7 @@ "default": false }, "globs": { - "description": "Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "array", "default": [], "items": { @@ -54,7 +54,7 @@ } }, "ignores": { - "description": "Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "array", "default": [], "items": { @@ -64,7 +64,7 @@ } }, "markdownItPlugins": { - "description": "markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "array", "default": [], "items": { @@ -84,7 +84,7 @@ } }, "modulePaths": { - "description": "Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "array", "default": [], "items": { @@ -94,22 +94,22 @@ } }, "noBanner": { - "description": "Whether to disable the display of the banner message and version numbers on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Whether to disable the display of the banner message and version numbers on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "boolean", "default": false }, "noInlineConfig": { - "description": "Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "boolean", "default": false }, "noProgress": { - "description": "Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "boolean", "default": false }, "outputFormatters": { - "description": "Output formatters to load and use to customize markdownlint-cli2 output (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Output formatters to load and use to customize markdownlint-cli2 output (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "array", "default": [], "items": { @@ -129,7 +129,7 @@ } }, "showFound": { - "description": "Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.15.0/README.md#markdownlint-cli2jsonc", + "description": "Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc", "type": "boolean", "default": false }