mindee 3.7.3 → 3.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/cli.js +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## v3.7.4 - 2023-04-20
|
|
4
|
+
### Changes
|
|
5
|
+
* :white_check_mark: minor improvements to tests
|
|
6
|
+
|
|
7
|
+
### Fixes
|
|
8
|
+
* :bug: fix for options not being passed properly in the CLI tool
|
|
9
|
+
|
|
10
|
+
|
|
3
11
|
## v3.7.3 - 2023-04-11
|
|
4
12
|
### Changes
|
|
5
13
|
* :arrow_up: upgrade to TypeScript 5.0.3
|
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -294,7 +294,9 @@ function addAction(prog) {
|
|
|
294
294
|
if (prog.name() === COMMAND_CUSTOM) {
|
|
295
295
|
prog.action(function (inputPath, options, command) {
|
|
296
296
|
const allOptions = {
|
|
297
|
-
...
|
|
297
|
+
...prog.parent?.parent?.opts(),
|
|
298
|
+
...prog.parent?.opts(),
|
|
299
|
+
...prog.opts(),
|
|
298
300
|
...options,
|
|
299
301
|
};
|
|
300
302
|
return routeSwitchboard(command, inputPath, allOptions);
|
|
@@ -303,7 +305,9 @@ function addAction(prog) {
|
|
|
303
305
|
else {
|
|
304
306
|
prog.action(function (inputPath, options, command) {
|
|
305
307
|
const allOptions = {
|
|
306
|
-
...
|
|
308
|
+
...prog.parent?.parent?.opts(),
|
|
309
|
+
...prog.parent?.opts(),
|
|
310
|
+
...prog.opts(),
|
|
307
311
|
...options,
|
|
308
312
|
};
|
|
309
313
|
return routeSwitchboard(command, inputPath, allOptions);
|