Skip to content

Commit

Permalink
Fix --ext argument
Browse files Browse the repository at this point in the history
  • Loading branch information
eoftedal committed Oct 30, 2024
1 parent 4f2eae4 commit c247364
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [5.2.5]

### Bugfix

- CLI argument `--ext` was not working

## [5.2.4]

### Bugfix
Expand Down
2 changes: 1 addition & 1 deletion node/lib/retire.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

var exports = exports || {};
exports.version = '5.2.4';
exports.version = '5.2.5';

function isDefined(o) {
return typeof o !== 'undefined';
Expand Down
4 changes: 2 additions & 2 deletions node/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 node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Erlend Oftedal <[email protected]>",
"name": "retire",
"description": "Retire is a tool for detecting use of vulnerable libraries",
"version": "5.2.4",
"version": "5.2.5",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions node/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const config: Options = {
verbose: !!prg.verbose,
proxy: prg.proxy,
deep: !!prg.deep,
ext: prg.ext ?? 'js',
};

log.info(`retire.js v${retire.version}`);
Expand Down

0 comments on commit c247364

Please sign in to comment.