Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove undici, set minimum node version to 18.17 #5702

Open
wants to merge 171 commits into
base: main
Choose a base branch
from

Conversation

wmertens
Copy link
Member

sharp requires "^18.17.0 || ^20.3.0 || >=21.0.0", and that's the cause of installation issues.

Furthermore, global fetch is in node since v18, so we don't need undici any more.

Bun and Deno also include fetch.

Copy link

netlify bot commented Jan 12, 2024

👷 Deploy request for qwik-insights pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1d9fa88

Copy link

gitguardian bot commented Jan 12, 2024

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
- Google API Key 1d9fa88 packages/docs/scripts/showcase.js View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

mhevery and others added 26 commits April 21, 2024 20:40
* feat(v2): q:container in CSR mode

* feat(v2): add slots to new created component

* after merge changes

* cleanup

* fix build

* cleanup
* test(v2): add failing QwikDev#1945 test

* fix 1945 test

* fix build
- disallow source imports from e2e
- narrow jsx-runtime exports and remove importing from src
- move testing infra to @builder.io/qwik/testing
fix(v2): respect no-serialize
* fix(v2): lexial scope e2e test fixes

* fixup! fix(v2): lexial scope e2e test fixes

---------

Co-authored-by: Miško Hevery <misko@hevery.com>
fix(v2): dont crash on rendering MDX
* fix(optimizer): correctly emit fixed children

The only time when we don't know what the children are statically is when they're overridden by spread props.

* chore: pnpm api.update
The node engines "^18.17.0 || ^20.3.0 || >=21.0.0" are taken from
the `sharp` dependency, which probably has good reason for them.

All of these include global fetch, so undici is not needed.

Bun and deno also include fetch.
@PatrickJS
Copy link
Member

can we change the min version to node 20? 😁 20 is a lot faster

@gioboa
Copy link
Member

gioboa commented Jun 2, 2024

is this PR still valid or is it abandoned ?

@devcaeg
Copy link

devcaeg commented Jun 2, 2024

is this PR still valid or is it abandoned ?

If I am not mistaken they are waiting for version 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants