Skip to content

Commit

Permalink
2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixinova committed Jun 29, 2023
1 parent daaf868 commit 0833ce9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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*
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions test/unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
}

Expand Down

0 comments on commit 0833ce9

Please sign in to comment.