jwalker 3.0.0 → 3.0.1

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.
Files changed (2) hide show
  1. package/bin/index.js +3 -2
  2. package/package.json +1 -1
package/bin/index.js CHANGED
@@ -9,7 +9,7 @@ import JWalker from '../lib/index.js';
9
9
  const {
10
10
  input,
11
11
  output,
12
- spaces = '\t',
12
+ spaces,
13
13
  passthrough
14
14
  } = await argumentsParser().options({
15
15
  'input': {
@@ -24,7 +24,8 @@ const {
24
24
  },
25
25
  'spaces': {
26
26
  type: Number,
27
- description: 'Use number of spaces for indentation (default is tab).'
27
+ default: '\t',
28
+ description: 'Use number of spaces for indentation.'
28
29
  },
29
30
  'passthrough': {
30
31
  type: Boolean,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jwalker",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "A JSON pretty-printer for each line in a stream. Useful for JSON logs.",
5
5
  "main": "index.js",
6
6
  "type": "module",