diff --git a/changelog.md b/changelog.md index ba3ab84..374b72e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,8 @@ # Changelog -## Next -- Add `alternatives` key to list all possible language matches for files that do not have a definite match. +## 2.6.0 +*2023-06-29* +- Add `alternatives` key to list all possible alternative language classifications for files that do not have a definite match ([#15](https://github.com/Nixinova/LinguistJS/issues/15), [#19](https://github.com/Nixinova/LinguistJS/pull/19)). ## 2.5.6 *2023-06-28* diff --git a/package-lock.json b/package-lock.json index 401a879..bc559e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "linguist-js", - "version": "2.5.6", + "version": "2.6.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "linguist-js", - "version": "2.5.6", + "version": "2.6.0", "license": "ISC", "dependencies": { "binary-extensions": "^2.2.0", diff --git a/package.json b/package.json index d1fcb3f..b44d1cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linguist-js", - "version": "2.5.6", + "version": "2.6.0", "description": "Analyse languages used in a folder. Powered by GitHub Linguist, although it doesn't need to be installed.", "main": "dist/index.js", "bin": { diff --git a/test/unit.js b/test/unit.js index 5659f31..a800eed 100644 --- a/test/unit.js +++ b/test/unit.js @@ -18,11 +18,11 @@ async function test([filename, fileContent = ''], [type, testVal]) { const result = testContent === testVal; i = `${+i + 1}`.padStart(2, '0'); if (result) { - console.info(`- #${i} passed: '${filename}': ${testVal}`); + console.info(`- #${i} passed: '${filename}' is ${testVal}`); } else { errors++; - console.error(`- #${i} failed: '${filename}': ${testContent} instead of ${testVal}`); + console.error(`- #${i} failed: '${filename}' is ${testContent} instead of ${testVal}`); } }