Michael Brevard

Results 44 issues of Michael Brevard

A protocol-relative URL has multiple downsides, most notably security and performance-wise. This PR changes it to use the fully qualified https: protocol More information: https://webhint.io/docs/user-guide/hints/hint-no-protocol-relative-urls/

### Describe the bug When used inside a [Nitro](https://nitro.unjs.io) request hook, useTranslation (for server-side translation) errors: ![image](https://github.com/intlify/h3/assets/92037085/c4aad17f-8e5a-4d35-b51e-e3f27d25187b) ### Reproduction nitroApp.hooks.hook("request", async (event) => { const t = await useTranslation(event) })...

good first issue
status: pull request welcome
status: need more repro codes or info

### Description For elements like UAvatar that use images, it would be a good idea to integrate with Nuxt Image for those who have it installed to benefit from image...

enhancement
v3

This PR provides a compatibility polyfill for idle callback, which is not supported in Safari. The implementation is taken straight from Nuxt's.

ready to merge
:cake: p2-nice-to-have

### Environment ------------------------------ - Operating System: Linux - Node Version: v20.15.1 - Nuxt Version: 3.13.2 - CLI Version: 3.14.0 - Nitro Version: 2.9.7 - Package Manager: [email protected] - Builder: -...

pending triage

### 🔗 Linked issue ### 📚 Description As a follow up to https://github.com/nuxt/nuxt/pull/29620, it is now easier to control hot patterns' scopes to deallocate memory when it's no longer used...

3.x
performance

## yopmail All of these domains have been taken from the website domain list: 1xp.fr, cpc.cx, 0cd.cn, prc.cx, ves.ink, q0.us.to, zx81.ovh, wishy.fr, blip.ovh, bmn.ch.ma, iya.fr.nf, sdj.fr.nf, afw.fr.nf, mynes.com, dao.pp.ua, nori24.tv,...

This PR refactors the way fake domains are handled, which for the most part should bring major performance improvements for exact matches (as worst-case now goes from O(n) to O(1))

### 🔗 Linked issue A reiteration of #29661 on the latest main branch. This iteration goes further to optimize related internally-used functions in core functions that execute only once, and...

3.x
performance

The Nonce feature in Nuxt Image can bring many security concerns. The biggest ones of them all are: 1. User provided nonce may not be cryptographically secure (partially or fully)...