Skip to content

Commit c247364

Browse files
committedOct 30, 2024
Fix --ext argument
1 parent 4f2eae4 commit c247364

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed
 

‎node/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [5.2.5]
4+
5+
### Bugfix
6+
7+
- CLI argument `--ext` was not working
8+
39
## [5.2.4]
410

511
### Bugfix

‎node/lib/retire.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
var exports = exports || {};
7-
exports.version = '5.2.4';
7+
exports.version = '5.2.5';
88

99
function isDefined(o) {
1010
return typeof o !== 'undefined';

‎node/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Erlend Oftedal <erlend@oftedal.no>",
33
"name": "retire",
44
"description": "Retire is a tool for detecting use of vulnerable libraries",
5-
"version": "5.2.4",
5+
"version": "5.2.5",
66
"license": "Apache-2.0",
77
"repository": {
88
"type": "git",

‎node/src/cli.ts

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ const config: Options = {
114114
verbose: !!prg.verbose,
115115
proxy: prg.proxy,
116116
deep: !!prg.deep,
117+
ext: prg.ext ?? 'js',
117118
};
118119

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

0 commit comments

Comments
 (0)
Failed to load comments.