5931 Commits

Author SHA1 Message Date
depfu[bot]
b009afa4ae
Update @types/react-dom 19.0.2 → 19.0.3 (patch) (#15669)
Here is everything you need to know about this update. Please take a
good look at what changed and the test results before merging this pull
request.

### What changed?




#### ✳️ @​types/react-dom (19.0.2 → 19.0.3) ·
[Repo](https://github.com/DefinitelyTyped/DefinitelyTyped)





Sorry, we couldn't find anything useful about this release.











---
![Depfu
Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)

[Depfu](https://depfu.com) will automatically keep this PR
conflict-free, as long as you don't add any commits to this branch
yourself. You can also trigger a rebase manually by commenting with
`@depfu rebase`.

<details><summary>All Depfu comment commands</summary>
<blockquote><dl>
<dt>@​depfu rebase</dt><dd>Rebases against your default branch and
redoes this update</dd>
<dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
that you've made to it</dd>
<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
conflicts are resolved</dd>
<dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
PR</dd>
<dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
it's closed)</dd>
<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
and closes this PR</dd>
<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
updates for this dependency and closes this PR</dd>
<dt>@​depfu resume</dt><dd>Future versions of this dependency will
create PRs again (leaves this PR as is)</dd>
</dl></blockquote>
</details>

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2025-01-28 16:55:56 +01:00
depfu[bot]
d66d7aba6f
Update bun 1.1.43 → 1.2.0 (minor) (#15922)
Here is everything you need to know about this upgrade. Please take a
good look at what changed and the test results before merging this pull
request.

### What changed?




#### ✳️ bun (1.1.43 → 1.2.0) · [Repo](https://github.com/oven-sh/bun)





Sorry, we couldn't find anything useful about this release.











---
![Depfu
Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)

[Depfu](https://depfu.com) will automatically keep this PR
conflict-free, as long as you don't add any commits to this branch
yourself. You can also trigger a rebase manually by commenting with
`@depfu rebase`.

<details><summary>All Depfu comment commands</summary>
<blockquote><dl>
<dt>@​depfu rebase</dt><dd>Rebases against your default branch and
redoes this update</dd>
<dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
that you've made to it</dd>
<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
conflicts are resolved</dd>
<dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
PR</dd>
<dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
it's closed)</dd>
<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
and closes this PR</dd>
<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
updates for this dependency and closes this PR</dd>
<dt>@​depfu resume</dt><dd>Future versions of this dependency will
create PRs again (leaves this PR as is)</dd>
</dl></blockquote>
</details>

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2025-01-28 15:40:09 +00:00
depfu[bot]
e1c084c1b1
Update all of nextjs 15.1.3 → 15.1.4 (patch) (#15630)
Here is everything you need to know about this update. Please take a
good look at what changed and the test results before merging this pull
request.

### What changed?




#### ✳️ eslint-config-next (15.1.3 → 15.1.4)





Sorry, we couldn't find anything useful about this release.



#### ✳️ next (15.1.3 → 15.1.4) ·
[Repo](https://github.com/vercel/next.js)



<details>
<summary>Release Notes</summary>
<h4><a
href="https://github.com/vercel/next.js/releases/tag/v15.1.4">15.1.4</a></h4>

<blockquote><div class="markdown-alert markdown-alert-note" dir="auto">
<p class="markdown-alert-title" dir="auto"><svg class="octicon
octicon-info mr-2" viewbox="0 0 16 16" version="1.1" width="16"
height="16" aria-hidden="true"><path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0
8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1
7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1
0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0
2Z"></path></svg>Note</p>
<p dir="auto">This release is backporting bug fixes. It does
<strong>not</strong> include all pending features/changes on canary.</p>
</div>
<h3 dir="auto">Core Changes</h3>
<ul dir="auto">
<li>backport: force module format for virtual client-proxy (<a
href="https://bounce.depfu.com/github.com/vercel/next.js/pull/74608">#74608</a>)</li>
<li>Fix prerender tags when notFound is called (<a
href="https://bounce.depfu.com/github.com/vercel/next.js/pull/74607">#74607</a>)</li>
<li>Use provided waitUntil for pending revalidates (<a
href="https://bounce.depfu.com/github.com/vercel/next.js/pull/74604">#74604</a>)</li>
<li>Feature: next/image: add support for images.qualities in next.config
(<a
href="https://bounce.depfu.com/github.com/vercel/next.js/pull/74588">#74588</a>)</li>
<li>Chore: docs: add missing search: '' on remotePatterns (<a
href="https://bounce.depfu.com/github.com/vercel/next.js/pull/74587">#74587</a>)</li>
<li>Chore: docs: update version history of next/image (<a
href="https://bounce.depfu.com/github.com/vercel/next.js/pull/73923">#73923</a>)
(<a
href="https://bounce.depfu.com/github.com/vercel/next.js/pull/74570">#74570</a>)</li>
<li>Chore: next/image: improve imgopt api bypass detection for
unsupported images (<a
href="https://bounce.depfu.com/github.com/vercel/next.js/pull/74569">#74569</a>)</li>
</ul>
<h3 dir="auto">Credits</h3>
<p dir="auto">Huge thanks to @ and @ for helping!</p></blockquote>
<p><em>Does any of this look wrong? <a
href="https://depfu.com/packages/npm/next/feedback">Please let us
know.</a></em></p>
</details>

<details>
<summary>Commits</summary>
<p><a
href="4cbaaa118d...48f2588b0f">See
the full diff on Github</a>. The new version differs by 8 commits:</p>
<ul>
<li><a
href="48f2588b0f"><code>v15.1.4</code></a></li>
<li><a
href="dcb208e260"><code>backport:
force module format for virtual client-proxy (#74162)
(#74608)</code></a></li>
<li><a
href="6f6766a255"><code>Fix
prerender tags when notFound is called (#74577) (#74607)</code></a></li>
<li><a
href="a46f27f59a"><code>Use
provided waitUntil for pending revalidates (#74164)
(#74604)</code></a></li>
<li><a
href="bc6acf6217"><code>feat(next/image):
add support for `images.qualities` in next.config
(#74588)</code></a></li>
<li><a
href="d253ac5c57"><code>chore(docs):
add missing `search: &#39;&#39;` on `remotePatterns` (#73925)
(#74587)</code></a></li>
<li><a
href="7b195a82a5"><code>chore(docs):
update version history of `next/image` (#73923) (#74570)</code></a></li>
<li><a
href="5a501d37ca"><code>chore(next/image):
improve imgopt api bypass detection for unsupported images
(#74569)</code></a></li>
</ul>
</details>












---
![Depfu
Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)

[Depfu](https://depfu.com) will automatically keep this PR
conflict-free, as long as you don't add any commits to this branch
yourself. You can also trigger a rebase manually by commenting with
`@depfu rebase`.

<details><summary>All Depfu comment commands</summary>
<blockquote><dl>
<dt>@​depfu rebase</dt><dd>Rebases against your default branch and
redoes this update</dd>
<dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
that you've made to it</dd>
<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
conflicts are resolved</dd>
<dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
PR</dd>
<dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
it's closed)</dd>
<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
and closes this PR</dd>
<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
updates for this dependency and closes this PR</dd>
<dt>@​depfu resume</dt><dd>Future versions of this dependency will
create PRs again (leaves this PR as is)</dd>
</dl></blockquote>
</details>

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Philipp Spiess <hello@philippspiess.com>
2025-01-28 16:37:57 +01:00
Jordan Pittman
1eb2980678
Fix IntelliSense class suggestions (#15857)
This PR fixes a few problems with IntelliSense:
- Default installs suggest font weight utilities twice
- When setting `--font-weight-*: initial;` the default weights are still
suggested
- Setting `--spacing-*: initial;` still shows suggestions for utilities
using the spacing scale assuming it's multiplier-based. Removing the
`--spacing: …` key should make them entirely theme driven instead.
- The default container query variants like `@sm`, `@md`, etc… aren't
suggested. Only the `@min-sm` and `@max-sm` style ones are.

Fixes
https://github.com/tailwindlabs/tailwindcss-intellisense/issues/1133
Fixes
https://github.com/tailwindlabs/tailwindcss-intellisense/issues/1136
Fixes #15811

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2025-01-28 10:35:11 -05:00
Robin Malfait
28008f1571
remove unnecessary version step
My bad.
2025-01-28 16:34:01 +01:00
Robin Malfait
35bc28b16b
Ensure we set the version before running build (#15971)
This PR ensures we set the version before running the build. Otherwise
the embedded version number is incorrect.
2025-01-28 10:21:18 -05:00
Robin Malfait
515a9bdc5f
Setup v4 releases (#15961)
Now that Tailwind CSS v4 is released, we can setup a proper release
workflow again. This setup mimics the workflow of how we did it in v3,
but adjusted to make it work on the v4 codebase.

Whenever a PR is merged into the `next` branch, we will publish an
insiders release to npm using the following version number:
`0.0.0-insiders.<commit-hash>`. Note: insiders releases will not have a
GitHub release associated with them, therefore the `standalone-cli`
won't be available as an insiders release.

For the normal release procedure, the following steps are required:

1. Manually version the packages (e.g.: `pnpm run version-packages`)
2. Create a git tag for the version you want to release
3. Push the updated package.json files and the git tag to the repository

Next, a GitHub action will kick in once a `tag` is being pushed.

The GitHub action will run a build, and create a draft release on GitHub
that will contain:

1. The CHANGELOG.md contents for the last version
2. The `standalone-cli` artifacts attached to the drafted release

Once you are happy with the draft, you can publish the draft on GitHub.

This in turn will trigger another GitHub action that will publish the
packages to npm.

Whenever an insiders release or a normal release completes, we will also
trigger Tailwind Play, to update its dependencies to the latest version
of Tailwind CSS.

---

Note: some of the GitHub Action workflows still refer to the `next`
branch instead of the `main` branch. If we later today want to get a new
release out, we can merge `next` into `main` and update the workflows
accordingly.


---

This is hard to test, but I started from the existing release.yml file
and adjusted things accordingly. The biggest change is related to the
insiders version. If you look at this temporary
[commit](572dddfc33),
you can see that the publishing (dry-run) seems to work as expected:
<img width="1508" alt="image"
src="https://github.com/user-attachments/assets/c075e788-dcbc-4200-aa32-2b9a3c54d629"
/>
2025-01-28 12:51:34 +01:00
Philipp Spiess
2c1dea4c1a
Fix handling of absolute config files in upgrade tool (#15927)
Closes #15220

This PR fixes an issue where the upgrade tool would not be able to load
some JavaScript config files across different drive letters on Windows.

The issue in detail is that `path.relative(…)` tries to build a relative
path but if the file is inside the same folder, it won't start the
relative path with a `./` so we manually appended it in case that it
isn't there. The issue on Windows specifically is that
`file.relative(…)` can also return a legit absolute path, e.g. when the
file is on a different drive. In this case we obviously don't want to
prefix a path with `./`.

## Test plan

To reproduce this issue, I checked out a Tailwind v3 project _on a
different drive letter than my Windows installation_. In that case, I
was adding a repo inside `D:` while `npm` was installed in `C:`. I then
run `npx @tailwindcss/upgrade` to reproduce the issue.

The fix was validated with a local `bun` run of the upgrade tool:


![telegram-cloud-photo-size-4-5818901845756725194-y](https://github.com/user-attachments/assets/d32b21e3-a08d-4608-b65a-93dddc04f890)
2025-01-28 12:42:30 +01:00
Robin Malfait
f1221b3fce
Ensure font-size utilities with none modifier works e.g.: text-sm/none (#15921)
This PR fixes an issue where classes such as `text-sm/none` don't work
as expected. The reason for this is that `leading-none` is the only
hardcoded leading utility and is not coming from the `@theme`. This
means that `text-sm/none` tries to do a lookup for `none` but it won't
resolve.

This PR fixes that by allowing `none` as a modifier.

While working on this, I noticed that `text-sm/none` _did_ generate CSS:

```css
.text-sm\/none {
  font-size: var(--text-sm);
}
```

Notice that the `line-height` is missing. This means that any modifier
that can't be resolved doesn't get the `line-height` set, but it _will_
generate CSS. In this case, no CSS should have been generated.

Otherwise, all of these generate CSS which will only bloat your CSS and
won't
work as expected. E.g.: `text-sm/foo`, `text-sm/bar`, and `text-sm/baz`:

```css
.text-sm\/bar {
  font-size: var(--text-sm);
}
.text-sm\/baz {
  font-size: var(--text-sm);
}
.text-sm\/foo {
  font-size: var(--text-sm);
}
```

Fixes: #15911
2025-01-27 14:10:09 +01:00
Luke Warlow
6dd4c334c2
Include :open in the open variant (#15349)
Update the `open` variant to addtionally match the new `:open` pseudo
class.

See spec at https://drafts.csswg.org/selectors-4/#open-state

See Chromium intent to ship:
https://groups.google.com/a/chromium.org/g/blink-dev/c/Pdo4oOXYKcA

`:open` matches open `<details>` and `<dialog>` elements (already
covered by [open]), but also matches select elements with their picker
open and inputs with their picker open.

Thanks to `:is()` taking a forgiving selector list, this is safe to add
even with limited browser support.

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2025-01-27 12:43:12 +00:00
depfu[bot]
a707fed089
Update eslint 9.17.0 → 9.18.0 (minor) (#15664) 2025-01-27 13:30:56 +01:00
depfu[bot]
14fea72016
Update @types/react 19.0.2 → 19.0.7 (patch) (#15682) 2025-01-27 13:28:43 +01:00
Robin Malfait
193fc60989
Ensure CSS variable shorthand uses valid CSS variables (#15738)
This PR fixes an issue where we didn't always correctly validated
invalid CSS variables when using the CSS variable shorthand syntax.

This PR fixes that by ensuring we start with `--`. We can't validate
that the variable exists at runtime, but we can validate if it looks
like a valid CSS variable.

We can go a step further by validating if the CSS variable is valid
syntax (e.g.: all characters are valid), but we can introduce this if
this is causing actual issues in projects.

```
p-(a-b)
```

Used to compile to:
```css
.p-\(a-b\) {
  padding: var(a-b);
}
```

But not anymore.
2025-01-27 12:55:10 +01:00
Robin Malfait
79541c94d9
Merge changelogs (#15698)
This PR makes sure all v3 and earlier versions are visible in the
changelog as
well as the v4 changelog entries.
2025-01-27 12:54:26 +01:00
Justin Wong
7e20c3b587
Remove min-w/h-none (#15845)
`none` is not a valid value for `min-width` or `min-height` according to
[the CSS spec](https://www.w3.org/TR/css-sizing-3/#min-size-properties):

> | | |
> | --- | --- |
> | [Value](https://www.w3.org/TR/css-values/#value-defs): | auto \|
[&lt;length-percentage>](https://www.w3.org/TR/css-values-4/#typedef-length-percentage)
\| min-content \| max-content \|
fit-content([&lt;length-percentage>](https://www.w3.org/TR/css-values-4/#typedef-length-percentage))
|

I believe we should be able to remove the `min-w-none` and `min-h-none`
class candidates since they wouldn't have done anything anyway and thus
should not affect backwards compatibility. Indeed, these did not exist
in v3 either:


4f9f603e12/stubs/config.full.js (L674-L684)


4f9f603e12/stubs/config.full.js (L685-L691)

---

Credit to `@i` on Discord for spotting this[^1], fixes #15846

[^1]:
https://discord.com/channels/486935104384532500/486935104384532502/1332680061144403968

---------

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2025-01-25 17:04:55 +00:00
Jordan Pittman
a8c54acaba
Prepare v4.0.0 release (#15693) v4.0.0 2025-01-21 20:58:59 +00:00
Robin Malfait
8a97a6a8d9
v4.0.0-beta.10 (#15691)
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
v4.0.0-beta.10
2025-01-21 16:19:28 +00:00
Robin Malfait
4820f6bff8
Transition outline-color (#15690)
This PR adds `outline-color` to the transition-property again, and
updates the implementation for `outline-hidden`.

The `outline-hidden` will behave exactly the same as `outline-none`
_except_ in forced colors mode. In forced colors mode, `outline-hidden`
will force a 2px solid border.

Closes: #15591
2025-01-21 11:02:57 -05:00
Robin Malfait
d65bb68d16
update changelog 2025-01-21 10:40:22 -05:00
Jordan Pittman
79f21a8f45
Prevent not-* from being used with variants with multiple sibling rules (#15689)
Variants like this can't be easily negated by our current system:

```css
@custom-variant dark {
  &.is-dark {
    @slot;
  }
  @media (prefers-color-scheme: dark) {
    @slot;
  }
}
```

Right now it produces the following CSS which is logically incorrect:

```css
.utility-name {
  &:not(.is-dark) {
    /* ... */
  }

  @media not (prefers-color-scheme: dark) {
    /* ... */
  }
}
```

The correct CSS is this which requires moving things around:
```css
.utility-name {
  @media not (prefers-color-scheme: dark) {
    &:not(.is-dark) {
      /* ... */
    }
  }
}
```

We're opting to disable this instead of generating incorrect CSS for
now. I'd like to bring this back in the future for simpler cases in the
future.
2025-01-21 10:38:32 -05:00
Robin Malfait
4035ab0b76
Implement @variant (#15663)
This PR replaces `@variant` with `@custom-variant` for registering
custom variants via your CSS.

In addition, this PR introduces `@variant` that can be used in your CSS
to use a variant while writing custom CSS.

E.g.:

```css
.btn {
  background: white;

  @variant dark {
    background: black;
  }
}
```

Compiles to:

```css
.btn {
  background: white;
}

@media (prefers-color-scheme: dark) {
  .btn {
    background: black;
  }
}
```

For backwards compatibility, the `@variant` rules that don't have a body
and are
defined inline:

```css
@variant hocus (&:hover, &:focus);
```

And `@variant` rules that are defined with a body and a `@slot`:

```css
@variant hocus {
  &:hover, &:focus {
    @slot;
  }
}
```

Will automatically be upgraded to `@custom-variant` internally, so no
breaking changes are introduced with this PR.

---

TODO:
- [x] ~~Decide whether we want to allow multiple variants and if so,
what syntax should be used. If not, nesting `@variant <variant> {}` will
be the way to go.~~ Only a single `@variant <variant>` can be used, if
you want to use multiple, nesting should be used:

```css
.foo {
  @variant hover {
    @variant focus {
      color: red;
    }
  }
}
```
2025-01-21 10:20:35 -05:00
depfu[bot]
67237e22a1
Update postcss 8.4.49 → 8.5.1 (minor) (#15675) 2025-01-20 21:50:29 +01:00
depfu[bot]
03afd43f28
Update h3 1.13.0 → 1.13.1 (patch) (#15661) 2025-01-20 15:39:26 +01:00
Robin Malfait
a51b214c13
Use more modern --alpha(color / 50%) syntax (#15665)
This PR changes the syntax for the `--alpha(…)` function to look like
more modern CSS.

The arguments to apply an alpha to a color is using the `/` syntax
instead of the comma syntax.

```diff
- --alpha(color, 50%)
+ --alpha(color / 50%)
```

This syntax is now similar to modern `rgb(0 0 0 / 50%)` syntax in CSS.
2025-01-17 18:48:18 -05:00
Robin Malfait
f93c42fcfc
Write to stdout when --output is omitted (#15656) 2025-01-17 15:23:34 +00:00
Jordan Pittman
2f8c51774e
Ensure -outline-offset-* utilities are suggested in IntelliSense (#15646)
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2025-01-16 12:09:56 -05:00
Philipp Spiess
fe758af73d
Upgrade lightningcss to 1.29.1 in standalone package (#15641)
Closes #15636
Closes #15638
Closes #15637

I noticed that I forgot to update the bundled `lightningcss`
dependencies in the `standalone` project. This makes sure we have the
same version everywhere.
2025-01-16 16:06:08 +01:00
Jordan Pittman
528c848575
Discard invalid variants such as data-checked-[selected=1]:* (#15629) 2025-01-15 09:55:39 -05:00
depfu[bot]
e62991abf9 Update @tailwindcss/typography to version 0.5.16 2025-01-15 09:58:48 +00:00
depfu[bot]
79b471500a
Update @tailwindcss/forms 0.5.9 → 0.5.10 (minor) (#15627) 2025-01-15 10:50:29 +01:00
Philipp Spiess
2de644b20e
Remove @property fallbacks for Firefox (#15622)
This PR removes the `@property` fallbacks added in #13655. This is
possible because we're targeting a minimum Firefox version of 128 which
[includes support for \`@property\`
rules](https://developer.mozilla.org/de/docs/Web/CSS/@property).

<img width="1284" alt="Screenshot 2025-01-14 at 11 36 44"
src="https://github.com/user-attachments/assets/ae070781-35c1-4165-be51-baa63f28db5b"
/>
2025-01-14 15:51:44 +01:00
Robin Malfait
da2da51284
Resolve values in functional utilities based on @theme options (#15623)
This PR fixes an issue where functional utilities configured via CSS
don't resolve the values correctly.

We always fully resolved the values as-if a `@theme inline` was used.

We used to compile the following code:
```css
@theme {
  --tab-size-github: 8;
}

@utility tab-* {
  tab-size: --value(--tab-size);
}
```

Into:
```css
:root {
  --tab-size-github: 8;
}

.tab-github {
  tab-size: 8;
}
```

But it should be referencing the variable instead:
```css
:root {
  --tab-size-github: 8;
}

.tab-github {
  tab-size: var(--tab-size-github);
}
```

However, if you used `@theme inline reference`, it should inline the
value:
```css
@theme inline reference {
  --tab-size-github: 8;
}

@utility tab-* {
  tab-size: --value(--tab-size);
}
```

This will now correctly compile to:
```css
.tab-github {
  tab-size: 8;
}
```
2025-01-14 12:35:04 +01:00
depfu[bot]
d2fbdf505f
Update @types/bun 1.1.14 → 1.1.16 (patch) (#15618) 2025-01-14 11:25:18 +01:00
Robin Malfait
3b033957c5
Ensure namespace reset with escaped * works (#15603)
This PR fixes an issue if you want to reset a namespace like:

```css
@theme {
  --color-*: initial;
}
```

That some formatters such as Biome won't allow this syntax. To solve
that, this PR allows you to use an escaped `*` character.

```css
@theme {
  --color-\*: initial;
}
```

Fixes: #15602
2025-01-13 10:43:22 +00:00
depfu[bot]
ae8fb146a7
Update fast-glob 3.3.2 → 3.3.3 (patch) (#15607) 2025-01-13 11:11:35 +01:00
depfu[bot]
fcee63d997
Update @types/braces 3.0.4 → 3.0.5 (patch) (#15612) 2025-01-13 10:53:47 +01:00
Robin Malfait
b4a20af4d0
Improve upgrade tool to pretty print --spacing(2) (#15596)
This PR improves the upgrade tool to make sure that newly upgraded
`--spacing(2)` CSS functions is pretty printed to prevent unambiguous
looking classes (even though it compiles correctly).

If you have a class such as `m-[calc(100dvh-theme(spacing.2))]`, then we
used to convert it to `m-[calc(100dvh-calc(var(--spacing)*2))]`. But
recently we introduced the `--spacing(2)` CSS function which means that
the output now looks like this instead: `m-[calc(100dvh---spacing(2))]`.

The triple `-` is valid because the first `-` is the minus sign, the
next two `-` characters are from the function.

One solution is to introduce spaces via underscores:

```
m-[calc(100dvh_-_--spacing(2))]
```

But a simpler solution, is to wrap the `--spacing(2)` in parens to
remove the underscores and improve the readability of the `---`
characters.

```
m-[calc(100dvh-(--spacing(2)))]
```
2025-01-10 09:07:23 -05:00
depfu[bot]
27f8bab7ab
Update @types/react 18.3.12 → 19.0.2 (major) (#15588)
Here is everything you need to know about this upgrade. Please take a
good look at what changed and the test results before merging this pull
request.

### What changed?




#### ✳️ @​types/react (18.3.12 → 19.0.2) ·
[Repo](https://github.com/DefinitelyTyped/DefinitelyTyped)





Sorry, we couldn't find anything useful about this release.











---
![Depfu
Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)

[Depfu](https://depfu.com) will automatically keep this PR
conflict-free, as long as you don't add any commits to this branch
yourself. You can also trigger a rebase manually by commenting with
`@depfu rebase`.

<details><summary>All Depfu comment commands</summary>
<blockquote><dl>
<dt>@​depfu rebase</dt><dd>Rebases against your default branch and
redoes this update</dd>
<dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
that you've made to it</dd>
<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
conflicts are resolved</dd>
<dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
PR</dd>
<dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
it's closed)</dd>
<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
and closes this PR</dd>
<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
updates for this dependency and closes this PR</dd>
<dt>@​depfu resume</dt><dd>Future versions of this dependency will
create PRs again (leaves this PR as is)</dd>
</dl></blockquote>
</details>

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2025-01-10 13:14:27 +00:00
depfu[bot]
def9bf3406
Update all of react 18.3.1 → 19.0.0 (major) (#15586)
Here is everything you need to know about this upgrade. Please take a
good look at what changed and the test results before merging this pull
request.

### What changed?




#### ✳️ react (18.3.1 → 19.0.0) ·
[Repo](https://github.com/facebook/react) ·
[Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)



<details>
<summary>Release Notes</summary>
<h4><a
href="https://github.com/facebook/react/releases/tag/v19.0.0">19.0.0</a></h4>

<blockquote><em>More info than we can show here.</em></blockquote>
<p><em>Does any of this look wrong? <a
href="https://depfu.com/packages/npm/react/feedback">Please let us
know.</a></em></p>
</details>

<details>
<summary>Commits</summary>
<p><a
href="f1338f8080...7aa5dda3b3">See
the full diff on Github</a>. The new version differs by more commits
than we can show here.</p>
</details>




#### ✳️ react-dom (18.3.1 → 19.0.0) ·
[Repo](https://github.com/facebook/react) ·
[Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)



<details>
<summary>Release Notes</summary>
<h4><a
href="https://github.com/facebook/react/releases/tag/v19.0.0">19.0.0</a></h4>

<blockquote><em>More info than we can show here.</em></blockquote>
<p><em>Does any of this look wrong? <a
href="https://depfu.com/packages/npm/react-dom/feedback">Please let us
know.</a></em></p>
</details>

<details>
<summary>Commits</summary>
<p><a
href="f1338f8080...7aa5dda3b3">See
the full diff on Github</a>. The new version differs by more commits
than we can show here.</p>
</details>












---
![Depfu
Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)

[Depfu](https://depfu.com) will automatically keep this PR
conflict-free, as long as you don't add any commits to this branch
yourself. You can also trigger a rebase manually by commenting with
`@depfu rebase`.

<details><summary>All Depfu comment commands</summary>
<blockquote><dl>
<dt>@​depfu rebase</dt><dd>Rebases against your default branch and
redoes this update</dd>
<dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
that you've made to it</dd>
<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
conflicts are resolved</dd>
<dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
PR</dd>
<dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
it's closed)</dd>
<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
and closes this PR</dd>
<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
updates for this dependency and closes this PR</dd>
<dt>@​depfu resume</dt><dd>Future versions of this dependency will
create PRs again (leaves this PR as is)</dd>
</dl></blockquote>
</details>

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2025-01-10 14:10:23 +01:00
depfu[bot]
501c59f7aa
Update @types/react-dom 18.3.1 → 19.0.2 (major) (#15587)
Here is everything you need to know about this upgrade. Please take a
good look at what changed and the test results before merging this pull
request.

### What changed?




#### ✳️ @​types/react-dom (18.3.1 → 19.0.2) ·
[Repo](https://github.com/DefinitelyTyped/DefinitelyTyped)





Sorry, we couldn't find anything useful about this release.











---
![Depfu
Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)

[Depfu](https://depfu.com) will automatically keep this PR
conflict-free, as long as you don't add any commits to this branch
yourself. You can also trigger a rebase manually by commenting with
`@depfu rebase`.

<details><summary>All Depfu comment commands</summary>
<blockquote><dl>
<dt>@​depfu rebase</dt><dd>Rebases against your default branch and
redoes this update</dd>
<dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
that you've made to it</dd>
<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
conflicts are resolved</dd>
<dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
PR</dd>
<dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
it's closed)</dd>
<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
and closes this PR</dd>
<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
updates for this dependency and closes this PR</dd>
<dt>@​depfu resume</dt><dd>Future versions of this dependency will
create PRs again (leaves this PR as is)</dd>
</dl></blockquote>
</details>

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2025-01-10 14:10:04 +01:00
Philipp Spiess
acd2da5247
Upgrade lightningcss to 1.29.1 (#15593)
Upgrading `lightningcss` to fix invalid `list-style: none` conversion.
I've also reverted the change to preflight while at it, since it's no
longer necessary.
2025-01-10 14:09:13 +01:00
Robin Malfait
5df5daa76c
Add missing main field for @tailwindcss/browser (#15594)
This PR adds a `main` and `browser` field for the `@tailwindcss/browser`
package.

In the package, we do have the `exports` field setup, which is an
alternative to the `main` field according to the docs:

> The "exports" provides a modern alternative to "main" …
>
> —
https://docs.npmjs.com/cli/v10/configuring-npm/package-json?v=true#exports

However, if you look at the unpkg link:
https://unpkg.com/@tailwindcss/browser, it tries to load the `index.js`
file. This is probably a bug in the unpkg resolver.

That said, if you look at other CDNs such as esm.sh, it does resolve
correctly: https://esm.sh/@tailwindcss/browser

According to the npm docs:

> If `main` is not set, it defaults to `index.js` in the package's root
folder.
>
> —
https://docs.npmjs.com/cli/v10/configuring-npm/package-json?v=true#main

This explains why unpkg is trying to load the `index.js` file.


Additionally, the npm docs also mention the `browser` field:

> If your module is meant to be used client-side the browser field
should be used instead of the main field. This is helpful to hint users
that it might rely on primitives that aren't available in Node.js
modules. (e.g. window)
>
> —
https://docs.npmjs.com/cli/v10/configuring-npm/package-json?v=true#browser

So this PR also adds that field just to be sure.
2025-01-10 07:39:00 -05:00
depfu[bot]
0ed4d81925
Update tree-sitter 0.22.1 → 0.22.4 (minor) (#15585) 2025-01-10 10:26:48 +01:00
Robin Malfait
aac8c5a12a
Prepare v4.0.0-beta.9 release (#15583)
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
v4.0.0-beta.9
2025-01-09 17:04:34 +00:00
depfu[bot]
2cc4864a79
Update eslint 9.15.0 → 9.17.0 (minor) (#15584)
Here is everything you need to know about this update. Please take a
good look at what changed and the test results before merging this pull
request.

### What changed?




#### ✳️ eslint (9.15.0 → 9.17.0) ·
[Repo](https://github.com/eslint/eslint) ·
[Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)



<details>
<summary>Release Notes</summary>
<h4><a
href="https://github.com/eslint/eslint/releases/tag/v9.17.0">9.17.0</a></h4>

<blockquote><h2 dir="auto">Features</h2>
<ul dir="auto">
<li>
<a
href="eed91d12d4"><code
class="notranslate">eed91d1</code></a> feat: add suggestions to <code
class="notranslate">no-unused-vars</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/18352">#18352</a>)
(Tanuj Kanti)</li>
</ul>
<h2 dir="auto">Bug Fixes</h2>
<ul dir="auto">
<li>
<a
href="67d683df29"><code
class="notranslate">67d683d</code></a> fix: fix crash when <code
class="notranslate">message.fix</code> is nullish (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19168">#19168</a>)
(ntnyq)</li>
<li>
<a
href="c61870715e"><code
class="notranslate">c618707</code></a> fix: ignore vars with
non-identifier references in no-useless-assignment (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19200">#19200</a>)
(YeonJuan)</li>
</ul>
<h2 dir="auto">Documentation</h2>
<ul dir="auto">
<li>
<a
href="3c22d2acce"><code
class="notranslate">3c22d2a</code></a> docs: update <code
class="notranslate">yoda</code> to <code class="notranslate">Yoda</code>
in <code class="notranslate">yoda.md</code> for consistency (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19230">#19230</a>)
(루밀LuMir)</li>
<li>
<a
href="e0a220355f"><code
class="notranslate">e0a2203</code></a> docs: add missing backticks to
<code class="notranslate">no-sequences</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19233">#19233</a>)
(루밀LuMir)</li>
<li>
<a
href="4cc48812cd"><code
class="notranslate">4cc4881</code></a> docs: Update README (GitHub
Actions Bot)</li>
<li>
<a
href="3db6fdf885"><code
class="notranslate">3db6fdf</code></a> docs: [no-await-in-loop] expand
on benefits and inapplicability (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19211">#19211</a>)
(Kirk Waiblinger)</li>
<li>
<a
href="bf2a4f686b"><code
class="notranslate">bf2a4f6</code></a> docs: add missing backticks to
<code class="notranslate">func-style</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19227">#19227</a>)
(루밀LuMir)</li>
<li>
<a
href="ba098bd03c"><code
class="notranslate">ba098bd</code></a> docs: add missing header to <code
class="notranslate">prefer-spread</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19224">#19224</a>)
(루밀LuMir)</li>
<li>
<a
href="b607ae6491"><code
class="notranslate">b607ae6</code></a> docs: update description of <code
class="notranslate">no-param-reassign</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19220">#19220</a>)
(루밀LuMir)</li>
<li>
<a
href="1eb424de55"><code
class="notranslate">1eb424d</code></a> docs: add missing backticks to
<code class="notranslate">prefer-destructuring</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19223">#19223</a>)
(루밀LuMir)</li>
<li>
<a
href="85998d1405"><code
class="notranslate">85998d1</code></a> docs: add missing backticks to
<code class="notranslate">no-unneeded-ternary</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19222">#19222</a>)
(루밀LuMir)</li>
<li>
<a
href="b75b32c091"><code
class="notranslate">b75b32c</code></a> docs: add missing backticks to
<code class="notranslate">no-new-func</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19219">#19219</a>)
(루밀LuMir)</li>
<li>
<a
href="a7700bcc9c"><code
class="notranslate">a7700bc</code></a> docs: add missing backticks to
<code class="notranslate">id-length</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19217">#19217</a>)
(루밀LuMir)</li>
<li>
<a
href="e2bb429974"><code
class="notranslate">e2bb429</code></a> docs: add missing backticks to
<code class="notranslate">complexity.md</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19214">#19214</a>)
(루밀LuMir)</li>
<li>
<a
href="045d716b92"><code
class="notranslate">045d716</code></a> docs: add missing <code
class="notranslate">)</code> to <code
class="notranslate">id-denylist</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19213">#19213</a>)
(루밀LuMir)</li>
<li>
<a
href="7fe4114be2"><code
class="notranslate">7fe4114</code></a> docs: Update README (GitHub
Actions Bot)</li>
<li>
<a
href="c743ba6402"><code
class="notranslate">c743ba6</code></a> docs: add CSS language to <code
class="notranslate">no-restricted-syntax</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19208">#19208</a>)
(Milos Djermanovic)</li>
<li>
<a
href="1416d70d43"><code
class="notranslate">1416d70</code></a> docs: add missing backticks to
<code class="notranslate">eqeqeq</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19207">#19207</a>)
(루밀LuMir)</li>
<li>
<a
href="b950c1b7db"><code
class="notranslate">b950c1b</code></a> docs: add missing backticks to
<code class="notranslate">prefer-object-spread</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19206">#19206</a>)
(루밀LuMir)</li>
<li>
<a
href="8a941cb776"><code
class="notranslate">8a941cb</code></a> docs: update docs and <code
class="notranslate">description</code> of <code
class="notranslate">require-unicode-regexp</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19205">#19205</a>)
(루밀LuMir)</li>
<li>
<a
href="cbab2281dd"><code
class="notranslate">cbab228</code></a> docs: Update README (GitHub
Actions Bot)</li>
<li>
<a
href="f2257ce412"><code
class="notranslate">f2257ce</code></a> docs: update comments and <code
class="notranslate">description</code> of <code
class="notranslate">no-script-url</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19203">#19203</a>)
(루밀LuMir)</li>
<li>
<a
href="365f0f4df7"><code
class="notranslate">365f0f4</code></a> docs: add missing backtick to
<code class="notranslate">default-case-last</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19202">#19202</a>)
(루밀LuMir)</li>
<li>
<a
href="e6b84f535e"><code
class="notranslate">e6b84f5</code></a> docs: add missing punctuation in
document (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19161">#19161</a>)
(루밀LuMir)</li>
<li>
<a
href="c88708e057"><code
class="notranslate">c88708e</code></a> docs: replace quote with backtick
in <code class="notranslate">description</code> of <code
class="notranslate">for-direction</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19199">#19199</a>)
(루밀LuMir)</li>
<li>
<a
href="a76f233a67"><code
class="notranslate">a76f233</code></a> docs: use higher contrast color
tokens for code comments (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19187">#19187</a>)
(Josh Goldberg )</li>
<li>
<a
href="db19502497"><code
class="notranslate">db19502</code></a> docs: Update README (GitHub
Actions Bot)</li>
</ul>
<h2 dir="auto">Chores</h2>
<ul dir="auto">
<li>
<a
href="cc243c9482"><code
class="notranslate">cc243c9</code></a> chore: upgrade to <code
class="notranslate">@eslint/js@9.17.0</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19242">#19242</a>)
(Francesco Trotta)</li>
<li>
<a
href="84c5787780"><code
class="notranslate">84c5787</code></a> chore: package.json update for
@eslint/js release (Jenkins)</li>
<li>
<a
href="4c4f53b8c9"><code
class="notranslate">4c4f53b</code></a> chore: add missing backticks to
<code class="notranslate">flags.js</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19226">#19226</a>)
(루밀LuMir)</li>
<li>
<a
href="4b3132c3f5"><code
class="notranslate">4b3132c</code></a> chore: update dependency
eslint-plugin-expect-type to ^0.6.0 (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19221">#19221</a>)
(renovate[bot])</li>
<li>
<a
href="9bf220464a"><code
class="notranslate">9bf2204</code></a> chore: add type definitions for
the <code class="notranslate">eslint-config-eslint</code> package (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19050">#19050</a>)
(Arya Emami)</li>
<li>
<a
href="ee8c2200a1"><code
class="notranslate">ee8c220</code></a> chore: fix incorrect <code
class="notranslate">name</code> property in <code
class="notranslate">integration-tutorial-code</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19218">#19218</a>)
(루밀LuMir)</li>
<li>
<a
href="cca801dd17"><code
class="notranslate">cca801d</code></a> chore: Upgrade cross-spawn to
7.0.6 (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19185">#19185</a>)
(folortin)</li>
</ul></blockquote>
<h4><a
href="https://github.com/eslint/eslint/releases/tag/v9.16.0">9.16.0</a></h4>

<blockquote><h2 dir="auto">Features</h2>
<ul dir="auto">
<li>
<a
href="8f70eb142c"><code
class="notranslate">8f70eb1</code></a> feat: Add <code
class="notranslate">ignoreComputedKeys</code> option in <code
class="notranslate">sort-keys</code> rule (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19162">#19162</a>)
(Milos Djermanovic)</li>
</ul>
<h2 dir="auto">Documentation</h2>
<ul dir="auto">
<li>
<a
href="9eefc8f813"><code
class="notranslate">9eefc8f</code></a> docs: fix typos in <code
class="notranslate">use-isnan</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19190">#19190</a>)
(루밀LuMir)</li>
<li>
<a
href="0c8cea8c80"><code
class="notranslate">0c8cea8</code></a> docs: switch the order of words
in <code class="notranslate">no-unreachable</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19189">#19189</a>)
(루밀LuMir)</li>
<li>
<a
href="0c19417c64"><code
class="notranslate">0c19417</code></a> docs: add missing backtick to
<code class="notranslate">no-async-promise-executor</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19188">#19188</a>)
(루밀LuMir)</li>
<li>
<a
href="8df927646c"><code
class="notranslate">8df9276</code></a> docs: add backtick in <code
class="notranslate">-0</code> in <code
class="notranslate">description</code> of <code
class="notranslate">no-compare-neg-zero</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19186">#19186</a>)
(루밀LuMir)</li>
<li>
<a
href="7e16e3fb85"><code
class="notranslate">7e16e3f</code></a> docs: fix <code
class="notranslate">caseSensitive</code> option's title of <code
class="notranslate">sort-keys</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19183">#19183</a>)
(Tanuj Kanti)</li>
<li>
<a
href="0c6b842121"><code
class="notranslate">0c6b842</code></a> docs: fix typos in <code
class="notranslate">migration-guide.md</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19180">#19180</a>)
(루밀LuMir)</li>
<li>
<a
href="353266edf8"><code
class="notranslate">353266e</code></a> docs: fix a typo in <code
class="notranslate">debug.md</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19179">#19179</a>)
(루밀LuMir)</li>
<li>
<a
href="5ff318a528"><code
class="notranslate">5ff318a</code></a> docs: delete unnecessary
horizontal rule(<code class="notranslate">---</code>) in <code
class="notranslate">nodejs-api</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19175">#19175</a>)
(루밀LuMir)</li>
<li>
<a
href="576bcc5461"><code
class="notranslate">576bcc5</code></a> docs: mark more rules as handled
by TypeScript (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19164">#19164</a>)
(Tanuj Kanti)</li>
<li>
<a
href="742d054ac1"><code
class="notranslate">742d054</code></a> docs: note that <code
class="notranslate">no-restricted-syntax</code> can be used with any
language (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19148">#19148</a>)
(Milos Djermanovic)</li>
</ul>
<h2 dir="auto">Chores</h2>
<ul dir="auto">
<li>
<a
href="feb703b3dc"><code
class="notranslate">feb703b</code></a> chore: upgrade to <code
class="notranslate">@eslint/js@9.16.0</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19195">#19195</a>)
(Francesco Trotta)</li>
<li>
<a
href="df9bf9519a"><code
class="notranslate">df9bf95</code></a> chore: package.json update for
@eslint/js release (Jenkins)</li>
<li>
<a
href="f831893b6e"><code
class="notranslate">f831893</code></a> chore: add type for <code
class="notranslate">ignoreComputedKeys</code> option of <code
class="notranslate">sort-keys</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19184">#19184</a>)
(Tanuj Kanti)</li>
<li>
<a
href="3afb8a1dcf"><code
class="notranslate">3afb8a1</code></a> chore: update dependency
@eslint/json to ^0.8.0 (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19177">#19177</a>)
(Milos Djermanovic)</li>
<li>
<a
href="1f77c53b12"><code
class="notranslate">1f77c53</code></a> chore: add <code
class="notranslate">repository.directory</code> property to <code
class="notranslate">package.json</code> (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19165">#19165</a>)
(루밀LuMir)</li>
<li>
<a
href="d46059410a"><code
class="notranslate">d460594</code></a> chore: update dependency
@arethetypeswrong/cli to ^0.17.0 (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19147">#19147</a>)
(renovate[bot])</li>
<li>
<a
href="45cd4ead9c"><code
class="notranslate">45cd4ea</code></a> refactor: update default options
in rules (<a
href="https://bounce.depfu.com/github.com/eslint/eslint/pull/19136">#19136</a>)
(Milos Djermanovic)</li>
</ul></blockquote>
<p><em>Does any of this look wrong? <a
href="https://depfu.com/packages/npm/eslint/feedback">Please let us
know.</a></em></p>
</details>

<details>
<summary>Commits</summary>
<p><a
href="6f37b0747a...90c1db9a96">See
the full diff on Github</a>. The new version differs by 57 commits:</p>
<ul>
<li><a
href="90c1db9a96"><code>9.17.0</code></a></li>
<li><a
href="755512d831"><code>Build:
changelog update for 9.17.0</code></a></li>
<li><a
href="cc243c9482"><code>chore:
upgrade to `@eslint/js@9.17.0` (#19242)</code></a></li>
<li><a
href="84c5787780"><code>chore:
package.json update for @eslint/js release</code></a></li>
<li><a
href="eed91d12d4"><code>feat:
add suggestions to `no-unused-vars` (#18352)</code></a></li>
<li><a
href="4c4f53b8c9"><code>chore:
add missing backticks to `flags.js` (#19226)</code></a></li>
<li><a
href="3c22d2acce"><code>docs:
update `yoda` to `Yoda` in `yoda.md` for consistency
(#19230)</code></a></li>
<li><a
href="e0a220355f"><code>docs:
add missing backticks to `no-sequences` (#19233)</code></a></li>
<li><a
href="4cc48812cd"><code>docs:
Update README</code></a></li>
<li><a
href="3db6fdf885"><code>docs:
[no-await-in-loop] expand on benefits and inapplicability
(#19211)</code></a></li>
<li><a
href="67d683df29"><code>fix:
fix crash when `message.fix` is nullish (#19168)</code></a></li>
<li><a
href="bf2a4f686b"><code>docs:
add missing backticks to `func-style` (#19227)</code></a></li>
<li><a
href="4b3132c3f5"><code>chore:
update dependency eslint-plugin-expect-type to ^0.6.0
(#19221)</code></a></li>
<li><a
href="9bf220464a"><code>chore:
add type definitions for the `eslint-config-eslint` package
(#19050)</code></a></li>
<li><a
href="ba098bd03c"><code>docs:
add missing header to `prefer-spread` (#19224)</code></a></li>
<li><a
href="b607ae6491"><code>docs:
update description of `no-param-reassign` (#19220)</code></a></li>
<li><a
href="1eb424de55"><code>docs:
add missing backticks to `prefer-destructuring` (#19223)</code></a></li>
<li><a
href="85998d1405"><code>docs:
add missing backticks to `no-unneeded-ternary` (#19222)</code></a></li>
<li><a
href="ee8c2200a1"><code>chore:
fix incorrect `name` property in `integration-tutorial-code`
(#19218)</code></a></li>
<li><a
href="b75b32c091"><code>docs:
add missing backticks to `no-new-func` (#19219)</code></a></li>
<li><a
href="a7700bcc9c"><code>docs:
add missing backticks to `id-length` (#19217)</code></a></li>
<li><a
href="c61870715e"><code>fix:
ignore vars with non-identifier references in no-useless-assignment
(#19200)</code></a></li>
<li><a
href="e2bb429974"><code>docs:
add missing backticks to `complexity.md` (#19214)</code></a></li>
<li><a
href="045d716b92"><code>docs:
add missing `)` to `id-denylist` (#19213)</code></a></li>
<li><a
href="7fe4114be2"><code>docs:
Update README</code></a></li>
<li><a
href="c743ba6402"><code>docs:
add CSS language to `no-restricted-syntax` (#19208)</code></a></li>
<li><a
href="cca801dd17"><code>chore:
Upgrade cross-spawn to 7.0.6 (#19185)</code></a></li>
<li><a
href="1416d70d43"><code>docs:
add missing backticks to `eqeqeq` (#19207)</code></a></li>
<li><a
href="b950c1b7db"><code>docs:
add missing backticks to `prefer-object-spread` (#19206)</code></a></li>
<li><a
href="8a941cb776"><code>docs:
update docs and `description` of `require-unicode-regexp`
(#19205)</code></a></li>
<li><a
href="cbab2281dd"><code>docs:
Update README</code></a></li>
<li><a
href="f2257ce412"><code>docs:
update comments and `description` of `no-script-url`
(#19203)</code></a></li>
<li><a
href="365f0f4df7"><code>docs:
add missing backtick to `default-case-last` (#19202)</code></a></li>
<li><a
href="e6b84f535e"><code>docs:
add missing punctuation in document (#19161)</code></a></li>
<li><a
href="c88708e057"><code>docs:
replace quote with backtick in `description` of `for-direction`
(#19199)</code></a></li>
<li><a
href="a76f233a67"><code>docs:
use higher contrast color tokens for code comments
(#19187)</code></a></li>
<li><a
href="db19502497"><code>docs:
Update README</code></a></li>
<li><a
href="cbf7db0ddf"><code>9.16.0</code></a></li>
<li><a
href="715ba8b5cb"><code>Build:
changelog update for 9.16.0</code></a></li>
<li><a
href="feb703b3dc"><code>chore:
upgrade to `@eslint/js@9.16.0` (#19195)</code></a></li>
<li><a
href="df9bf9519a"><code>chore:
package.json update for @eslint/js release</code></a></li>
<li><a
href="9eefc8f813"><code>docs:
fix typos in `use-isnan` (#19190)</code></a></li>
<li><a
href="0c8cea8c80"><code>docs:
switch the order of words in `no-unreachable` (#19189)</code></a></li>
<li><a
href="0c19417c64"><code>docs:
add missing backtick to `no-async-promise-executor`
(#19188)</code></a></li>
<li><a
href="8df927646c"><code>docs:
add backtick in `-0` in `description` of `no-compare-neg-zero`
(#19186)</code></a></li>
<li><a
href="7e16e3fb85"><code>docs:
fix `caseSensitive` option&#39;s title of `sort-keys`
(#19183)</code></a></li>
<li><a
href="f831893b6e"><code>chore:
add type for `ignoreComputedKeys` option of `sort-keys`
(#19184)</code></a></li>
<li><a
href="8f70eb142c"><code>feat:
Add `ignoreComputedKeys` option in `sort-keys` rule
(#19162)</code></a></li>
<li><a
href="0c6b842121"><code>docs:
fix typos in `migration-guide.md` (#19180)</code></a></li>
<li><a
href="353266edf8"><code>docs:
fix a typo in `debug.md` (#19179)</code></a></li>
<li><a
href="3afb8a1dcf"><code>chore:
update dependency @eslint/json to ^0.8.0 (#19177)</code></a></li>
<li><a
href="5ff318a528"><code>docs:
delete unnecessary horizontal rule(`---`) in `nodejs-api`
(#19175)</code></a></li>
<li><a
href="576bcc5461"><code>docs:
mark more rules as handled by TypeScript (#19164)</code></a></li>
<li><a
href="1f77c53b12"><code>chore:
add `repository.directory` property to `package.json`
(#19165)</code></a></li>
<li><a
href="d46059410a"><code>chore:
update dependency @arethetypeswrong/cli to ^0.17.0
(#19147)</code></a></li>
<li><a
href="45cd4ead9c"><code>refactor:
update default options in rules (#19136)</code></a></li>
<li><a
href="742d054ac1"><code>docs:
note that `no-restricted-syntax` can be used with any language
(#19148)</code></a></li>
</ul>
</details>












---
![Depfu
Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)

[Depfu](https://depfu.com) will automatically keep this PR
conflict-free, as long as you don't add any commits to this branch
yourself. You can also trigger a rebase manually by commenting with
`@depfu rebase`.

<details><summary>All Depfu comment commands</summary>
<blockquote><dl>
<dt>@​depfu rebase</dt><dd>Rebases against your default branch and
redoes this update</dd>
<dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
that you've made to it</dd>
<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
conflicts are resolved</dd>
<dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
PR</dd>
<dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
it's closed)</dd>
<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
and closes this PR</dd>
<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
updates for this dependency and closes this PR</dd>
<dt>@​depfu resume</dt><dd>Future versions of this dependency will
create PRs again (leaves this PR as is)</dd>
</dl></blockquote>
</details>

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2025-01-09 16:50:02 +00:00
depfu[bot]
acdb406f4f
Update prettier 3.3.3 → 3.4.2 (minor) (#15564)
Here is everything you need to know about this update. Please take a
good look at what changed and the test results before merging this pull
request.

### What changed?




#### ✳️ prettier (3.3.3 → 3.4.2) ·
[Repo](https://github.com/prettier/prettier) ·
[Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)



<details>
<summary>Release Notes</summary>
<h4><a
href="https://github.com/prettier/prettier/releases/tag/3.4.2">3.4.2</a></h4>

<blockquote><p dir="auto">🔗 <a
href="https://bounce.depfu.com/github.com/prettier/prettier/blob/main/CHANGELOG.md#342">Changelog</a></p></blockquote>
<h4><a
href="https://github.com/prettier/prettier/releases/tag/3.4.1">3.4.1</a></h4>

<blockquote><p dir="auto">🔗 <a
href="https://bounce.depfu.com/github.com/prettier/prettier/blob/main/CHANGELOG.md#341">Changelog</a></p></blockquote>
<p><em>Does any of this look wrong? <a
href="https://depfu.com/packages/npm/prettier/feedback">Please let us
know.</a></em></p>
</details>

<details>
<summary>Commits</summary>
<p><a
href="52829385bc...cca946176c">See
the full diff on Github</a>. The new version differs by more commits
than we can show here.</p>
</details>












---
![Depfu
Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)

[Depfu](https://depfu.com) will automatically keep this PR
conflict-free, as long as you don't add any commits to this branch
yourself. You can also trigger a rebase manually by commenting with
`@depfu rebase`.

<details><summary>All Depfu comment commands</summary>
<blockquote><dl>
<dt>@​depfu rebase</dt><dd>Rebases against your default branch and
redoes this update</dd>
<dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
that you've made to it</dd>
<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
conflicts are resolved</dd>
<dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
PR</dd>
<dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
it's closed)</dd>
<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
and closes this PR</dd>
<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
updates for this dependency and closes this PR</dd>
<dt>@​depfu resume</dt><dd>Future versions of this dependency will
create PRs again (leaves this PR as is)</dd>
</dl></blockquote>
</details>

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2025-01-09 17:27:12 +01:00
depfu[bot]
fd84f9d639
Update enhanced-resolve 5.17.1 → 5.18.0 (minor) (#15582)
Here is everything you need to know about this update. Please take a
good look at what changed and the test results before merging this pull
request.

### What changed?




#### ✳️ enhanced-resolve (5.17.1 → 5.18.0) ·
[Repo](https://github.com/webpack/enhanced-resolve)



<details>
<summary>Release Notes</summary>
<h4><a
href="https://github.com/webpack/enhanced-resolve/releases/tag/v5.18.0">5.18.0</a></h4>

<blockquote><h3 dir="auto">Features</h3>
<ul dir="auto">
<li>Added wildcards support for aliases</li>
</ul></blockquote>
<p><em>Does any of this look wrong? <a
href="https://depfu.com/packages/npm/enhanced-resolve/feedback">Please
let us know.</a></em></p>
</details>

<details>
<summary>Commits</summary>
<p><a
href="247edebc90...27e457a905">See
the full diff on Github</a>. The new version differs by 9 commits:</p>
<ul>
<li><a
href="27e457a905"><code>chore(release):
5.18.0</code></a></li>
<li><a
href="88ceebe3cc"><code>feat:
add wildcards support for aliases</code></a></li>
<li><a
href="35b67ce834"><code>feat:
add wildcards</code></a></li>
<li><a
href="4fbcfa1c83"><code>chore(deps):
bump cross-spawn from 7.0.3 to 7.0.6</code></a></li>
<li><a
href="572a54f0c6"><code>chore(deps):
bump cross-spawn from 7.0.3 to 7.0.6</code></a></li>
<li><a
href="af4e2fb155"><code>ci:
add Node.js v23</code></a></li>
<li><a
href="bf443c04ac"><code>ci:
add Node.js v23</code></a></li>
<li><a
href="72999caf00"><code>chore(deps):
bump micromatch from 4.0.5 to 4.0.8</code></a></li>
<li><a
href="fbee162cc2"><code>chore(deps):
bump micromatch from 4.0.5 to 4.0.8</code></a></li>
</ul>
</details>












---
![Depfu
Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)

[Depfu](https://depfu.com) will automatically keep this PR
conflict-free, as long as you don't add any commits to this branch
yourself. You can also trigger a rebase manually by commenting with
`@depfu rebase`.

<details><summary>All Depfu comment commands</summary>
<blockquote><dl>
<dt>@​depfu rebase</dt><dd>Rebases against your default branch and
redoes this update</dd>
<dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
that you've made to it</dd>
<dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
conflicts are resolved</dd>
<dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
PR</dd>
<dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
<dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
it's closed)</dd>
<dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
and closes this PR</dd>
<dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
updates for this dependency and closes this PR</dd>
<dt>@​depfu resume</dt><dd>Future versions of this dependency will
create PRs again (leaves this PR as is)</dd>
</dl></blockquote>
</details>

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2025-01-09 17:26:48 +01:00
Robin Malfait
fa2c83eb1e
Improve --theme() CSS function to only accept modern syntax (#15580)
This PR makes sure that the `--theme(…)` CSS function can only be used
with the modern syntax. For backwards compatibility, the `theme(…)`
function must be used with the older dot notation.
2025-01-09 16:25:25 +00:00
Robin Malfait
82589eb2c1
Migrate theme(…) to --theme(…), migrate calc(var(--spacing)*x) to --spacing(x) (#15579)
This PR improves the codemod tool to simplify 2 things:

1. Whenever you have a `theme(…)` call, we try to change it to a
`var(…)`, but if that doesn't work for some reason, we will make sure to
at least convert it to the more modern `--theme(…)`.
2. When converting `theme(spacing.2)`, we used to convert it to
`calc(var(--spacing)*2)`, but now we will convert it to `--spacing(2)`
instead.
2025-01-09 17:17:07 +01:00
Philipp Spiess
c766d7e274
Vite: Process <style> blocks inside Svelte files as a post-processor (#15436)
This PR changes the Svelte integration to be a post-processor similar to
what we're doing for `<style>` blocks in Astro and Vue files.

More details can be found in the GitHub discussion:
https://github.com/sveltejs/svelte/discussions/14668#discussioncomment-11620743
2025-01-09 17:16:33 +01:00