@optique/core 1.4.0-dev.2608 → 1.4.0-dev.2611
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/facade.cjs +1 -1
- package/dist/facade.js +1 -1
- package/package.json +2 -2
package/dist/facade.cjs
CHANGED
|
@@ -561,7 +561,7 @@ function handleCompletion(completionArgs, programName, parser, completionParser,
|
|
|
561
561
|
return result;
|
|
562
562
|
}, async () => callOnError(1, error));
|
|
563
563
|
}
|
|
564
|
-
const shell = availableShells[shellName];
|
|
564
|
+
const shell = Object.hasOwn(availableShells, shellName) ? availableShells[shellName] : void 0;
|
|
565
565
|
if (!shell) {
|
|
566
566
|
const available = [];
|
|
567
567
|
for (const name in availableShells) {
|
package/dist/facade.js
CHANGED
|
@@ -561,7 +561,7 @@ function handleCompletion(completionArgs, programName, parser, completionParser,
|
|
|
561
561
|
return result;
|
|
562
562
|
}, async () => callOnError(1, error));
|
|
563
563
|
}
|
|
564
|
-
const shell = availableShells[shellName];
|
|
564
|
+
const shell = Object.hasOwn(availableShells, shellName) ? availableShells[shellName] : void 0;
|
|
565
565
|
if (!shell) {
|
|
566
566
|
const available = [];
|
|
567
567
|
for (const name in availableShells) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/core",
|
|
3
|
-
"version": "1.4.0-dev.
|
|
3
|
+
"version": "1.4.0-dev.2611",
|
|
4
4
|
"description": "Type-safe combinatorial command-line interface parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
},
|
|
238
238
|
"sideEffects": false,
|
|
239
239
|
"devDependencies": {
|
|
240
|
-
"@optique/env": "1.4.0-dev.
|
|
240
|
+
"@optique/env": "1.4.0-dev.2611+400b2345",
|
|
241
241
|
"@types/node": "^24.0.0",
|
|
242
242
|
"fast-check": "^4.7.0",
|
|
243
243
|
"tsdown": "^0.13.0",
|