consola icon indicating copy to clipboard operation
consola copied to clipboard

🐨 Elegant Console Logger for Node.js and Browser

Results 94 consola issues
Sort by recently updated
recently updated
newest added

### Environment / ### Reproduction - https://github.com/natemoo-re/clack/issues/83#issuecomment-1564470873 - https://github.com/unjs/consola/issues/234 - https://github.com/unjs/consola/issues/239 ### Describe the bug Consola bundles the NPM package, leading to downstream bugs. ## Proposal Stop bundling consola. If...

### Describe the feature Just like test.only but for logging ### Additional information - [X] Would you be willing to help implement this feature?

### Environment I believe Next.js 14 uses Node v18 (LTS) I haven't tried in Next.js 13 but I suspect it might get a similar issue ### Reproduction I created [a...

### Describe the feature Could it be possible that consola avoids outputting any logs based on some filter, like tag? The reporter class `log` function could conditionally not call `writeStream`...

### Environment v3.2.3 ### Reproduction ```ts const res = await consola.prompt('Enter somethings', {type: 'text'}) ``` When executing the above code, if you press ctrl + c to cancel, the value...

### Environment ``` deno 1.37.2 (release, aarch64-apple-darwin) v8 11.8.172.13 typescript 5.2.2 ``` `import { consola } from 'https://esm.sh/[email protected]'` ### Reproduction https://replit.com/@vikiival/consola-promt MVP: ```ts import { consola } from 'https://esm.sh/[email protected]' const...

### Environment Consola v3.2.3 Node v20.7.0 / v18.17.1 Deno v1.36.4 ### Reproduction ```js import { consola } from 'consola'; consola.log('x'.repeat(200000)); ``` ### Describe the bug Printing a too-long-line causes 100%...

### Environment consola: v3.2.3 ### Reproduction types error ### Describe the bug ``` await consola.prompt('select a template', { type: 'select', options:[{label: 'template', value: 'template'}] }) ``` the return value should...

bug

### Environment ``` npm list consola [email protected] ├─┬ @prosopo/[email protected] -> ./../captcha/packages/cli │ ├─┬ @prosopo/[email protected] -> ./../captcha/packages/common │ │ └── [email protected] deduped ├─┬ @prosopo/[email protected] -> ./../captcha/packages/common │ └── [email protected] ``` ```...

### Environment Node v18.15.0 NPM v8.19.2 Consola v3.1.0 ### Reproduction 1. Clone https://github.com/gbenson-ir/consola-v3-bug-reproduction 2. Enter the directory 3. Run `npm i` 4. Run `npm run test` ### Describe the bug...