Skip to content

Commit

Permalink
Update Everything (almost) (#128)
Browse files Browse the repository at this point in the history
* update all packages expect readdirp

* update readdirp to newest 2.x version

* update travis node version to current + LTS
  • Loading branch information
zwrawr authored Sep 20, 2023
1 parent 6f74142 commit 2dc06ee
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: node_js
node_js:
- "4"
- "6"
- "8"
- "12"
- "14"
- "16"
- node
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
"license": "MIT",
"engine": "node",
"dependencies": {
"async": "~2.1.4",
"cli-table": "^0.3.1",
"commander": "~2.9.0",
"readdirp": "^2.1.0"
"async": "^3.2.1",
"cli-table": "^0.3.6",
"commander": "^8.2.0",
"readdirp": "^2.2.1"
},
"devDependencies": {
"chai": "~3.5.0",
"coffee-script": "~1.12.3",
"coffeelint": "^1.16.0",
"coveralls": "^2.11.15",
"chai": "^4.3.4",
"coffeescript": "^2.6.1",
"coffeelint": "^2.1.0",
"coveralls": "^3.1.1",
"istanbul": "^0.4.5",
"mocha": "~3.2.0"
"mocha": "^9.1.3"
},
"repository": {
"type": "git",
Expand All @@ -55,6 +55,6 @@
"lint": "coffeelint src/",
"watch": "coffee -o lib -cw src/",
"prepublish": "coffee -o lib/ -c src/",
"test": "npm run lint && mocha --reporter spec --compilers coffee:coffee-script/register --recursive spec/*.spec.coffee"
"test": "npm run lint && mocha --require coffeescript/register --recursive spec/*.spec.coffee"
}
}
3 changes: 2 additions & 1 deletion src/sloc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ getCommentExpressions = (lang) ->

when "coffee", "iced"
/\#[^\{]/ # hashtag not followed by opening curly brace
when "cr", "py", "ls", "mochi", "nix", "r", "rb", "jl", "pl", "yaml", "hr", "rpy"
when "cr", "py", "ls", "mochi", "nix", "r", \
"rb", "jl", "pl", "yaml", "hr", "rpy"
/\#/
when "js", "jsx", "mjs", "c", "cc", "cpp", "cs", "cxx", "h", "m", "mm", \
"hpp", "hx", "hxx", "ino", "java", "php", "php5", "go", "groovy", \
Expand Down

0 comments on commit 2dc06ee

Please sign in to comment.