Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixinova committed Sep 5, 2021
1 parent d2e862b commit ff91295
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Next
## 2.0.0
*2021-09-05*
- **Breaking:** Changed output schema:
- `count` → `files.count`
- `results` → `files.results`
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": "1.9.1",
"version": "2.0.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
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Linguist

Analyses all files located in a given folder and collates the results.
Analyses the languages of all files in a given folder and collates the results.

Powered by [github-linguist](https://github.com/github/linguist), although it doesn't need to be installed.

Expand Down
2 changes: 1 addition & 1 deletion test/perf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function perfTest() {
const unit = 'ms';
const total = time;
const average = total / amount;
const EXPECTED_MAX = 80; // 1.8.2
const EXPECTED_MAX = 75; // 2.0.0
console.log('\n<Performance test results>');
console.log('Total:', total, unit, `(n=${amount})`);
console.log('Average:', average, unit);
Expand Down

0 comments on commit ff91295

Please sign in to comment.