uxos 1.0.21 → 1.0.22
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/cli.js +0 -20
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -92,26 +92,6 @@ function main() {
|
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
// Check if user might be using cached version
|
|
96
|
-
const isLatestFlag = process.argv.some(arg => arg.includes('@latest'));
|
|
97
|
-
if (!isLatestFlag) {
|
|
98
|
-
console.log(`
|
|
99
|
-
⚠️ WARNING: You may be using a cached version!
|
|
100
|
-
|
|
101
|
-
To ensure you get the latest version, always use:
|
|
102
|
-
|
|
103
|
-
npx uxos@latest
|
|
104
|
-
|
|
105
|
-
(Press Ctrl+C to cancel, or wait 3 seconds to continue...)
|
|
106
|
-
`);
|
|
107
|
-
|
|
108
|
-
// Give user 3 seconds to cancel
|
|
109
|
-
const startTime = Date.now();
|
|
110
|
-
while (Date.now() - startTime < 3000) {
|
|
111
|
-
// Busy wait
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
95
|
// Print header
|
|
116
96
|
console.log(`
|
|
117
97
|
╔═══════════════════════════════════════════════════════════╗
|
package/package.json
CHANGED