From 6e52643f8cb9a1a6cc5a835b490b65b923af3b6c Mon Sep 17 00:00:00 2001 From: David Anson Date: Thu, 5 Dec 2024 23:00:55 -0800 Subject: [PATCH] Update CHANGELOG.md for breaking changes, remove outdated comments from test file. --- CHANGELOG.md | 3 ++- test/markdownlint-test.mjs | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a53e7d23..8610ec65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,10 @@ ## 0.37.0 -- Convert to ECMAScript module, for guidance see: +- Convert module to ECMAScript (breaking change) - - +- Convert module to named exports (breaking change) ## 0.36.1 diff --git a/test/markdownlint-test.mjs b/test/markdownlint-test.mjs index 96e0d49f..3a85630a 100644 --- a/test/markdownlint-test.mjs +++ b/test/markdownlint-test.mjs @@ -1386,13 +1386,11 @@ test("exportMappings", (t) => { ); }); -// const commonJsRe = /\.js$/u; const jsonRe = /\.json$/u; const importOptionsJson = { "with": { "type": "json" } }; for (const [ exportName, exportPath ] of exportMappings) { test(exportName, async(t) => { - // const commonJs = !commonJsRe.test(exportPath); const json = jsonRe.test(exportPath); const importOptions = json ? importOptionsJson : undefined; const importExportName = await import(exportName.replace(/^\./u, packageJson.name), importOptions);