@twin.org/cli-core 0.0.1-next.12 → 0.0.1-next.14
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/cjs/index.cjs
CHANGED
|
@@ -377,7 +377,7 @@ class CLIUtils {
|
|
|
377
377
|
for (const line of data) {
|
|
378
378
|
const parts = line.split("=");
|
|
379
379
|
const currentIndex = outputKeys.indexOf(parts[0]);
|
|
380
|
-
if (currentIndex
|
|
380
|
+
if (currentIndex !== -1) {
|
|
381
381
|
outputKeys.splice(currentIndex, 1);
|
|
382
382
|
}
|
|
383
383
|
outputKeys.push(parts[0]);
|
package/dist/esm/index.mjs
CHANGED
|
@@ -356,7 +356,7 @@ class CLIUtils {
|
|
|
356
356
|
for (const line of data) {
|
|
357
357
|
const parts = line.split("=");
|
|
358
358
|
const currentIndex = outputKeys.indexOf(parts[0]);
|
|
359
|
-
if (currentIndex
|
|
359
|
+
if (currentIndex !== -1) {
|
|
360
360
|
outputKeys.splice(currentIndex, 1);
|
|
361
361
|
}
|
|
362
362
|
outputKeys.push(parts[0]);
|
package/docs/changelog.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/cli-core",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.14",
|
|
4
4
|
"description": "Core classes for building a CLI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "0.0.1-next.
|
|
18
|
-
"@twin.org/crypto": "0.0.1-next.
|
|
17
|
+
"@twin.org/core": "0.0.1-next.14",
|
|
18
|
+
"@twin.org/crypto": "0.0.1-next.14",
|
|
19
19
|
"@twin.org/nameof": "next",
|
|
20
20
|
"chalk": "5.3.0",
|
|
21
21
|
"commander": "12.1.0",
|