Kricsleo

Results 122 comments of Kricsleo

The `NITRO_SSL_CERT`/`NITRO_SSL_KEY` are passed directly to the `Server`, so they should always be the content of the SSL cert and key for now, not the file path. But I'm wondering...

> We need to use an object with null proto. @pi0 This object will be returned for the user to use, and they may expect it to behave like a...

Same issue here, I would suggest adding a `trim` internally: https://github.com/unjs/nanotar/blob/c1247bdec97163b487c8ca55003e291dfea755ab/src/parse.ts#L18 ```diff - const mode = _readString(buffer, offset + 100, 8); + const mode = _readString(buffer, offset + 100, 8).trim();...

Cannot reproduce. You may check this example: https://github.com/kricsleo/repro-h3-590 I copied your package.json and lock file, so the dependencies should be the same. And pinned Node.js to v18.18.0. Deployed on Netlify:...

Upstream issue: https://github.com/Swatinem/rollup-plugin-dts/issues/311 and should be resolved by pr: https://github.com/Swatinem/rollup-plugin-dts/pull/333 (merged but not released yet ⌛)

It's because you disabled the auto-imports feature with `imports: false` in `nitro.config.ts`. In this case, you should import explicitly with `import { useStorage } from 'nitropack/runtime'`.

> For the new project template, it should be removed Do you mean Nitro's [starter template (v2)](https://github.com/nitrojs/starter)? I didn't see the `useStorage` usage in this template. As for the default...

Currenly you can use the second parameter of `log` to retrieve all the options. Does this work for you? ```ts import { createConsola } from 'consola' const consola = createConsola({...

Currently your code just works, except that the `consola.log` won't `await`. Do you want `consola.log` to be asynchronously blocking?

Update: `consola.log({ message: 'hi', date: 'string' })` can reproduce this error. ~~@GoodWave2020 I am unable to reproduce the issue using your provided code; it works correctly with logs as `{...