Skip to content

Commit ddcb299

Browse files
committed
Update loc count library
This version will count lines of code in each file serially. It still runs all file system operations asynchronously. The only difference now is that it will only count one file at a time. It is slower, but it is able to count large repositories without running out of memory.
1 parent 4c0671c commit ddcb299

7 files changed

Lines changed: 23 additions & 19 deletions

File tree

node_modules/.package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/github-linguist/dist/directory.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/github-linguist/dist/directory.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/github-linguist/package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/github-linguist/src/directory.ts

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"fast-deep-equal": "^3.1.3",
3535
"file-url": "^3.0.0",
3636
"fs": "0.0.1-security",
37-
"github-linguist": "^2.4.0",
37+
"github-linguist": "^2.4.2",
3838
"js-yaml": "^3.13.1",
3939
"jsonschema": "1.2.6",
4040
"long": "^4.0.0",

0 commit comments

Comments
 (0)