@postonus/cli 0.1.5 → 0.1.7
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -291,7 +291,7 @@ function getConsensusWindows(platforms) {
|
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
return [...buckets.values()].filter((b) => b.platforms.length >= 2).
|
|
294
|
+
return [...buckets.values()].filter((b) => b.platforms.length >= 2).toSorted((a, b) => b.strength - a.strength);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
// src/index.ts
|
|
@@ -11942,7 +11942,7 @@ function isJsonMode() {
|
|
|
11942
11942
|
}
|
|
11943
11943
|
function isInteractive() {
|
|
11944
11944
|
if (globals.json || globals.input === false) return false;
|
|
11945
|
-
return process.stdout.isTTY
|
|
11945
|
+
return process.stdout.isTTY;
|
|
11946
11946
|
}
|
|
11947
11947
|
function printJson(data) {
|
|
11948
11948
|
process.stdout.write(`${JSON.stringify(data, null, 2)}
|
|
@@ -11983,7 +11983,7 @@ function formatTable(headers, rows) {
|
|
|
11983
11983
|
}
|
|
11984
11984
|
|
|
11985
11985
|
// src/version.ts
|
|
11986
|
-
var CLI_VERSION = "0.1.
|
|
11986
|
+
var CLI_VERSION = "0.1.7";
|
|
11987
11987
|
|
|
11988
11988
|
// src/client.ts
|
|
11989
11989
|
var DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
|