Tags: DonsWayo/redwood
Tags
chore(deps): update dependency tailwindcss to v3.3.5 (redwoodjs#9378) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tailwindcss](https://tailwindcss.com) ([source](https://togithub.com/tailwindlabs/tailwindcss)) | [`3.3.2` -> `3.3.5`](https://renovatebot.com/diffs/npm/tailwindcss/3.3.2/3.3.5) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>tailwindlabs/tailwindcss (tailwindcss)</summary> ### [`v3.3.5`](https://togithub.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#335---2023-10-25) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v3.3.4...v3.3.5) ##### Fixed - Fix incorrect spaces around `-` in `calc()` expression ([#&redwoodjs#8203;12283](https://togithub.com/tailwindlabs/tailwindcss/pull/12283)) ### [`v3.3.4`](https://togithub.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#334---2023-10-24) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v3.3.3...v3.3.4) ##### Fixed - Improve normalisation of `calc()`-like functions ([#&redwoodjs#8203;11686](https://togithub.com/tailwindlabs/tailwindcss/pull/11686)) - Skip `calc()` normalisation in nested `theme()` calls ([#&redwoodjs#8203;11705](https://togithub.com/tailwindlabs/tailwindcss/pull/11705)) - Fix incorrectly generated CSS when using square brackets inside arbitrary properties ([#&redwoodjs#8203;11709](https://togithub.com/tailwindlabs/tailwindcss/pull/11709)) - Make `content` optional for presets in TypeScript types ([#&redwoodjs#8203;11730](https://togithub.com/tailwindlabs/tailwindcss/pull/11730)) - Handle variable colors that have variable fallback values ([#&redwoodjs#8203;12049](https://togithub.com/tailwindlabs/tailwindcss/pull/12049)) - Batch reading content files to prevent `too many open files` error ([#&redwoodjs#8203;12079](https://togithub.com/tailwindlabs/tailwindcss/pull/12079)) - Skip over classes inside `:not(…)` when nested in an at-rule ([#&redwoodjs#8203;12105](https://togithub.com/tailwindlabs/tailwindcss/pull/12105)) - Update types to work with `Node16` module resolution ([#&redwoodjs#8203;12097](https://togithub.com/tailwindlabs/tailwindcss/pull/12097)) - Don’t crash when important and parent selectors are equal in `@apply` ([#&redwoodjs#8203;12112](https://togithub.com/tailwindlabs/tailwindcss/pull/12112)) - Eliminate irrelevant rules when applying variants ([#&redwoodjs#8203;12113](https://togithub.com/tailwindlabs/tailwindcss/pull/12113)) - Improve RegEx parser, reduce possibilities as the key for arbitrary properties ([#&redwoodjs#8203;12121](https://togithub.com/tailwindlabs/tailwindcss/pull/12121)) - Fix sorting of utilities that share multiple candidates ([#&redwoodjs#8203;12173](https://togithub.com/tailwindlabs/tailwindcss/pull/12173)) - Ensure variants with arbitrary values and a modifier are correctly matched in the RegEx based parser ([#&redwoodjs#8203;12179](https://togithub.com/tailwindlabs/tailwindcss/pull/12179)) - Fix crash when watching renamed files on FreeBSD ([#&redwoodjs#8203;12193](https://togithub.com/tailwindlabs/tailwindcss/pull/12193)) - Allow plugins from a parent document to be used in an iframe ([#&redwoodjs#8203;12208](https://togithub.com/tailwindlabs/tailwindcss/pull/12208)) - Add types for `tailwindcss/nesting` ([#&redwoodjs#8203;12269](https://togithub.com/tailwindlabs/tailwindcss/pull/12269)) - Bump `jiti`, `fast-glob`, and `browserlist` dependencies ([#&redwoodjs#8203;11550](https://togithub.com/tailwindlabs/tailwindcss/pull/11550)) - Improve automatic `var` injection for properties that accept a `<dashed-ident>` ([#&redwoodjs#8203;12236](https://togithub.com/tailwindlabs/tailwindcss/pull/12236)) ### [`v3.3.3`](https://togithub.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#333---2023-07-13) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v3.3.2...v3.3.3) ##### Fixed - Fix issue where some pseudo-element variants generated the wrong selector ([#&redwoodjs#8203;10943](https://togithub.com/tailwindlabs/tailwindcss/pull/10943), [#&redwoodjs#8203;10962](https://togithub.com/tailwindlabs/tailwindcss/pull/10962), [#&redwoodjs#8203;11111](https://togithub.com/tailwindlabs/tailwindcss/pull/11111)) - Make font settings propagate into buttons, inputs, etc. ([#&redwoodjs#8203;10940](https://togithub.com/tailwindlabs/tailwindcss/pull/10940)) - Fix parsing of `theme()` inside `calc()` when there are no spaces around operators ([#&redwoodjs#8203;11157](https://togithub.com/tailwindlabs/tailwindcss/pull/11157)) - Ensure `repeating-conic-gradient` is detected as an image ([#&redwoodjs#8203;11180](https://togithub.com/tailwindlabs/tailwindcss/pull/11180)) - Move unknown pseudo-elements outside of `:is` by default ([#&redwoodjs#8203;11345](https://togithub.com/tailwindlabs/tailwindcss/pull/11345)) - Escape animation names when prefixes contain special characters ([#&redwoodjs#8203;11470](https://togithub.com/tailwindlabs/tailwindcss/pull/11470)) - Don't prefix arbitrary classes in `group` and `peer` variants ([#&redwoodjs#8203;11454](https://togithub.com/tailwindlabs/tailwindcss/pull/11454)) - Sort classes using position of first matching rule ([#&redwoodjs#8203;11504](https://togithub.com/tailwindlabs/tailwindcss/pull/11504)) - Allow variant to be an at-rule without a prelude ([#&redwoodjs#8203;11589](https://togithub.com/tailwindlabs/tailwindcss/pull/11589)) - Make PostCSS plugin async to improve performance ([#&redwoodjs#8203;11548](https://togithub.com/tailwindlabs/tailwindcss/pull/11548)) - Don’t error when a config file is missing ([f97759f](https://togithub.com/tailwindlabs/tailwindcss/commit/f97759f808d15ace66647b1405744fcf95a392e5)) ##### Added - Add `aria-busy` utility ([#&redwoodjs#8203;10966](https://togithub.com/tailwindlabs/tailwindcss/pull/10966)) ##### Changed - Reset padding for `<dialog>` elements in preflight ([#&redwoodjs#8203;11069](https://togithub.com/tailwindlabs/tailwindcss/pull/11069)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix(server-file): prefix `MODULE_NOT_FOUND` with `ERR_` (redwoodjs#9372) If you try to `await import` a module and it can't be found, it turns out Node throws a different error than if you try to `require` a module and it can't be found: - `require(mod)` -> `MODULE_NOT_FOUND` - `await import(mod)` -> `ERR_MODULE_NOT_FOUND` We used to tranpsile `await import`s to `require`. When we stopped doing that, we forgot to change the error codes we were checking.
fix(api-sever): stop infinite loop on large projects (redwoodjs#9270) Fixes redwoodjs#9237, using @shivghai's solution. At first I thought this solution was (borrowing his term) kludgy because we didn't know why it was happening. But after a few hours I was able to reproduce it on my machine in an app that wasn't his. (I think) I was able to isolate the problem to the `transpileApi` step, which uses esbuild's `buildSync` method. This actually writes to disk, populating the `api/dist` directory. This must happen so slowly on his project that the "change" event from the original filesystem change becomes separate from the "addDir" event. (The more details I go into, the more I'm speculating, so I'll stop there for now.) All I can say is that at first we thought this problem was isolated tho Shiv's project and machine, and since I've disproven both, it's a bug. I still think there are "better" solutions, but they require considerably more work. Like 1) diving into the chokidar codebase or esbuild codebase, 3) replacing chokidar with something else like `@parcel/watcher`, or 4) being smarter about building the api so that it's not completely rebuilt every time.
fix(cli): Remove extraneous console.log from debugging (redwoodjs#9188) **Problem** I left in a console.log in redwoodjs#8920 which should have been removed before merging **Changes** 1. Removes the offending console.log
PreviousNext