dir-analysis-tool 3.4.1 → 3.5.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.
- package/README.md +35 -7
- package/dist/cli.js +61 -12
- package/dist/index.d.ts +8 -3
- package/dist/index.js +1 -1
- package/dist/{shared-CyXKu5cI.js → shared-zG-LAgcd.js} +53 -12
- package/package.json +5 -2
- package/report.schema.json +1117 -0
- package/schema.json +5 -5
package/schema.json
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"maxDepth": {
|
|
36
36
|
"type": "integer",
|
|
37
37
|
"minimum": 0,
|
|
38
|
-
"description": "Directory levels to descend; 0 scans only the top-level files. Default: unlimited."
|
|
38
|
+
"description": "Directory levels to descend; 0 scans only the top-level files. Default: unlimited (leave it out; the v2 value -1 still works, with a deprecation warning)."
|
|
39
39
|
},
|
|
40
40
|
"followSymlinks": {
|
|
41
41
|
"type": "boolean",
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
},
|
|
74
74
|
"newerThan": {
|
|
75
75
|
"type": "string",
|
|
76
|
-
"description": "Only include files modified after this point. An age such as \"30d\", \"6mo\", or \"1y\",
|
|
76
|
+
"description": "Only include files modified after this point. An age with a unit such as \"30d\", \"6mo\", or \"1y\", a date (YYYY-MM-DD), or an ISO 8601 timestamp such as \"2024-01-31T10:00:00Z\"."
|
|
77
77
|
},
|
|
78
78
|
"olderThan": {
|
|
79
79
|
"type": "string",
|
|
80
|
-
"description": "Only include files modified before this point. An age such as \"30d\", \"6mo\", or \"1y\",
|
|
80
|
+
"description": "Only include files modified before this point. An age with a unit such as \"30d\", \"6mo\", or \"1y\", a date (YYYY-MM-DD), or an ISO 8601 timestamp such as \"2024-01-31T10:00:00Z\"."
|
|
81
81
|
},
|
|
82
82
|
"top": {
|
|
83
83
|
"type": "integer",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"pattern": "^\\s*(\\d+(\\.\\d+)?|\\.\\d+)\\s*([kKmMgGtTpP]([iI]?[bB])?|[bB])?\\s*$"
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
|
-
"description": "Report files at least this large; true uses 100 MiB. Bytes, or a size such as \"512k\", \"25MiB\", or \"1GB\".",
|
|
101
|
+
"description": "Report files at least this large; true uses 100 MiB. Bytes, or a size such as \"512k\", \"25MiB\", or \"1GB\". A number without a unit is bytes here, while the -l flag reads it as MiB.",
|
|
102
102
|
"examples": [
|
|
103
103
|
"50MB"
|
|
104
104
|
]
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"type": "string"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
"description": "Report files not modified since this point; true uses one year. An age such as \"30d\", \"6mo\", or \"1y\",
|
|
136
|
+
"description": "Report files not modified since this point; true uses one year. An age with a unit such as \"30d\", \"6mo\", or \"1y\", a date (YYYY-MM-DD), or an ISO 8601 timestamp such as \"2024-01-31T10:00:00Z\".",
|
|
137
137
|
"examples": [
|
|
138
138
|
"2y"
|
|
139
139
|
]
|