@optique/run 1.0.0-dev.1335 → 1.0.0-dev.1344
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/dist/valueparser.cjs +1 -1
- package/dist/valueparser.js +1 -1
- package/package.json +2 -2
package/dist/valueparser.cjs
CHANGED
|
@@ -137,7 +137,7 @@ function path(options = {}) {
|
|
|
137
137
|
pattern: prefix,
|
|
138
138
|
type: type === "either" ? "any" : type,
|
|
139
139
|
extensions,
|
|
140
|
-
includeHidden: (0, node_path.basename)(prefix).startsWith("."),
|
|
140
|
+
includeHidden: (0, node_path.basename)(prefix).startsWith(".") && (0, node_path.basename)(prefix) !== "..",
|
|
141
141
|
description: type === "directory" ? __optique_core_message.message`Directory` : type === "file" ? __optique_core_message.message`File` : __optique_core_message.message`File or directory`
|
|
142
142
|
};
|
|
143
143
|
}
|
package/dist/valueparser.js
CHANGED
|
@@ -136,7 +136,7 @@ function path(options = {}) {
|
|
|
136
136
|
pattern: prefix,
|
|
137
137
|
type: type === "either" ? "any" : type,
|
|
138
138
|
extensions,
|
|
139
|
-
includeHidden: basename(prefix).startsWith("."),
|
|
139
|
+
includeHidden: basename(prefix).startsWith(".") && basename(prefix) !== "..",
|
|
140
140
|
description: type === "directory" ? message`Directory` : type === "file" ? message`File` : message`File or directory`
|
|
141
141
|
};
|
|
142
142
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/run",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.1344+e7f36975",
|
|
4
4
|
"description": "Type-safe combinatorial command-line interface parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@optique/core": "1.0.0-dev.
|
|
73
|
+
"@optique/core": "1.0.0-dev.1344+e7f36975"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/node": "^20.19.9",
|