@astrojs/cli-kit
Advanced tools
Comparing version 0.2.0 to 0.2.1
import readline from 'node:readline'; | ||
import chalk from 'chalk'; | ||
import logUpdate from 'log-update'; | ||
import { createLogUpdate } from 'log-update'; | ||
import { erase, cursor } from 'sisteransi'; | ||
@@ -46,2 +46,3 @@ import { sleep } from '../utils/index.js'; | ||
async function gradient(text, { stdin = process.stdin, stdout = process.stdout } = {}) { | ||
const logUpdate = createLogUpdate(stdout); | ||
let i = 0; | ||
@@ -102,3 +103,3 @@ const frames = getGradientAnimFrames(); | ||
; | ||
stdout.write(`\n${' '.repeat(5)} ${chalk.green('✔')} ${chalk.green(end)}`); | ||
stdout.write(`${' '.repeat(5)} ${chalk.green('✔')} ${chalk.green(end)}\n`); | ||
} |
{ | ||
"name": "@astrojs/cli-kit", | ||
"type": "module", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "types": "./dist/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52682
1615