Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

fix: enable :where selector #93

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

jeripeierSBB
Copy link
Contributor

Closes #90

@developit developit merged commit 34c82dd into GoogleChromeLabs:main Jan 5, 2022
@jeripeierSBB jeripeierSBB deleted the patch-1 branch January 5, 2022 15:31
kodiakhq bot referenced this pull request in X-oss-byte/Canary-nextjs Sep 22, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [critters](https://togithub.com/GoogleChromeLabs/critters) | [`0.0.6` -> `0.0.20`](https://renovatebot.com/diffs/npm/critters/0.0.6/0.0.20) | [![age](https://developer.mend.io/api/mc/badges/age/npm/critters/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/critters/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/critters/0.0.6/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/critters/0.0.6/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>GoogleChromeLabs/critters (critters)</summary>

### [`v0.0.20`](https://togithub.com/GoogleChromeLabs/critters/compare/3b3ea7b1ad8ca4d5e40cdf793aecc1b4dcaa5e1c...0.0.20)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/3b3ea7b1ad8ca4d5e40cdf793aecc1b4dcaa5e1c...0.0.20)

### [`v0.0.19`](https://togithub.com/GoogleChromeLabs/critters/compare/bcce3103f9e754cd8c3d8b1681f7e1cf6e536282...3b3ea7b1ad8ca4d5e40cdf793aecc1b4dcaa5e1c)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/bcce3103f9e754cd8c3d8b1681f7e1cf6e536282...3b3ea7b1ad8ca4d5e40cdf793aecc1b4dcaa5e1c)

### [`v0.0.18`](https://togithub.com/GoogleChromeLabs/critters/compare/1f8a941a069cfeb68450d33a42187c5398496fd7...bcce3103f9e754cd8c3d8b1681f7e1cf6e536282)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/1f8a941a069cfeb68450d33a42187c5398496fd7...bcce3103f9e754cd8c3d8b1681f7e1cf6e536282)

### [`v0.0.17`](https://togithub.com/GoogleChromeLabs/critters/blob/HEAD/CHANGELOG.md#v0017)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.16...1f8a941a069cfeb68450d33a42187c5398496fd7)

-   Updated the HTML parser from parse5 to htmlparser2
-   Implemented caching to improve speed of matching class and id based selectors
-   Added option `includeSelectors`
-   Added option `reduceInlineStyles`

Feature
Include/Exclude CSS rules via comments in CSS

Feature
Adding Critters containers. Wrap the HTML contents in a `data-critters-container` container to indicate above the fold HTML.

### [`v0.0.16`](https://togithub.com/GoogleChromeLabs/critters/releases/tag/critters-0.0.16)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.15...critters-0.0.16)

#### What's Changed

-   Add support for `:where` selector by [@&#8203;jeripeierSBB](https://togithub.com/jeripeierSBB) in [https://github.com/GoogleChromeLabs/critters/pull/93](https://togithub.com/GoogleChromeLabs/critters/pull/93)
-   Fix inlining of `-webkit-keyframes` (often generated by scss) by [@&#8203;JessicaSachs](https://togithub.com/JessicaSachs) in [https://github.com/GoogleChromeLabs/critters/pull/96](https://togithub.com/GoogleChromeLabs/critters/pull/96) (see [#&#8203;86](https://togithub.com/GoogleChromeLabs/critters/issues/86))
-   Fix fs import breaking in ESM builds by [@&#8203;developit](https://togithub.com/developit) in [https://github.com/GoogleChromeLabs/critters/pull/97](https://togithub.com/GoogleChromeLabs/critters/pull/97)
-   Document `preload:false` option by [@&#8203;kurtextrem](https://togithub.com/kurtextrem) in [https://github.com/GoogleChromeLabs/critters/pull/95](https://togithub.com/GoogleChromeLabs/critters/pull/95)

#### New Contributors

-   [@&#8203;JessicaSachs](https://togithub.com/JessicaSachs) made their first contribution in [https://github.com/GoogleChromeLabs/critters/pull/96](https://togithub.com/GoogleChromeLabs/critters/pull/96)
-   [@&#8203;kurtextrem](https://togithub.com/kurtextrem) made their first contribution in [https://github.com/GoogleChromeLabs/critters/pull/95](https://togithub.com/GoogleChromeLabs/critters/pull/95)
-   [@&#8203;jeripeierSBB](https://togithub.com/jeripeierSBB) made their first contribution in [https://github.com/GoogleChromeLabs/critters/pull/93](https://togithub.com/GoogleChromeLabs/critters/pull/93)

**Full Changelog**: GoogleChromeLabs/critters@critters-0.0.15...critters-0.0.16

### [`v0.0.15`](https://togithub.com/GoogleChromeLabs/critters/releases/tag/critters-0.0.15): critters 0.0.15

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.14...critters-0.0.15)

-   Bugfix: add missing getter for `document.head` ([#&#8203;87](https://togithub.com/GoogleChromeLabs/critters/issues/87), thanks [@&#8203;rschristian](https://togithub.com/rschristian)!)

### [`v0.0.14`](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.13...critters-0.0.14)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.13...critters-0.0.14)

### [`v0.0.13`](https://togithub.com/GoogleChromeLabs/critters/releases/tag/critters-0.0.13)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.12...critters-0.0.13)

This fixes a bug in `critters@0.0.12` where HTTP (as opposed to HTTPS) remote stylesheets were not skipped (thanks [@&#8203;alan-agius4](https://togithub.com/alan-agius4) - [#&#8203;83](https://togithub.com/GoogleChromeLabs/critters/issues/83))

**Full Changelog**: GoogleChromeLabs/critters@critters-0.0.12...critters-0.0.13

### [`v0.0.12`](https://togithub.com/GoogleChromeLabs/critters/releases/tag/critters-0.0.12): Critters 0.0.12

#### What's Changed

-   Update parser to postcss by [@&#8203;janicklas-ralph](https://togithub.com/janicklas-ralph) in [https://github.com/GoogleChromeLabs/critters/pull/80](https://togithub.com/GoogleChromeLabs/critters/pull/80)
-   fix: update css-select to version 4 by [@&#8203;alan-agius4](https://togithub.com/alan-agius4) in [https://github.com/GoogleChromeLabs/critters/pull/82](https://togithub.com/GoogleChromeLabs/critters/pull/82)
-   fix: skip processing of remote stylesheets by [@&#8203;alan-agius4](https://togithub.com/alan-agius4) in [https://github.com/GoogleChromeLabs/critters/pull/75](https://togithub.com/GoogleChromeLabs/critters/pull/75)
-   Improve TypeScript typings by [@&#8203;developit](https://togithub.com/developit) in [https://github.com/GoogleChromeLabs/critters/pull/76](https://togithub.com/GoogleChromeLabs/critters/pull/76)
-   Add swap-high preload mode by [@&#8203;developit](https://togithub.com/developit) in [https://github.com/GoogleChromeLabs/critters/pull/56](https://togithub.com/GoogleChromeLabs/critters/pull/56)

**Full Changelog**: GoogleChromeLabs/critters@57c4b40...critters-0.0.12

### [`v0.0.10`](https://togithub.com/GoogleChromeLabs/critters/compare/e9a687265cd003fcbf27e7802d7b8c72168c8a14...1f23cb5b488effe0f782cc6855013fdaec38924c)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/e9a687265cd003fcbf27e7802d7b8c72168c8a14...1f23cb5b488effe0f782cc6855013fdaec38924c)

### [`v0.0.9`](https://togithub.com/GoogleChromeLabs/critters/compare/0524b2e297eb995238b29cad01fadd49524d98bd...e9a687265cd003fcbf27e7802d7b8c72168c8a14)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/0524b2e297eb995238b29cad01fadd49524d98bd...e9a687265cd003fcbf27e7802d7b8c72168c8a14)

### [`v0.0.8`](https://togithub.com/GoogleChromeLabs/critters/compare/0524b2e297eb995238b29cad01fadd49524d98bd...0524b2e297eb995238b29cad01fadd49524d98bd)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/0524b2e297eb995238b29cad01fadd49524d98bd...0524b2e297eb995238b29cad01fadd49524d98bd)

### [`v0.0.7`](https://togithub.com/GoogleChromeLabs/critters/compare/99d5070b58e5edc861f5ac6cdc8fc15223a04bfc...0524b2e297eb995238b29cad01fadd49524d98bd)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/99d5070b58e5edc861f5ac6cdc8fc15223a04bfc...0524b2e297eb995238b29cad01fadd49524d98bd)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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.

---

 - [ ] 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/sammyfilly/Canary-nextjs).
kodiakhq bot referenced this pull request in X-oss-byte/Nextjs Sep 25, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [critters](https://togithub.com/GoogleChromeLabs/critters) | [`0.0.6` -> `0.0.20`](https://renovatebot.com/diffs/npm/critters/0.0.6/0.0.20) | [![age](https://developer.mend.io/api/mc/badges/age/npm/critters/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/critters/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/critters/0.0.6/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/critters/0.0.6/0.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>GoogleChromeLabs/critters (critters)</summary>

### [`v0.0.20`](https://togithub.com/GoogleChromeLabs/critters/compare/3b3ea7b1ad8ca4d5e40cdf793aecc1b4dcaa5e1c...0.0.20)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/3b3ea7b1ad8ca4d5e40cdf793aecc1b4dcaa5e1c...0.0.20)

### [`v0.0.19`](https://togithub.com/GoogleChromeLabs/critters/compare/bcce3103f9e754cd8c3d8b1681f7e1cf6e536282...3b3ea7b1ad8ca4d5e40cdf793aecc1b4dcaa5e1c)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/bcce3103f9e754cd8c3d8b1681f7e1cf6e536282...3b3ea7b1ad8ca4d5e40cdf793aecc1b4dcaa5e1c)

### [`v0.0.18`](https://togithub.com/GoogleChromeLabs/critters/compare/1f8a941a069cfeb68450d33a42187c5398496fd7...bcce3103f9e754cd8c3d8b1681f7e1cf6e536282)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/1f8a941a069cfeb68450d33a42187c5398496fd7...bcce3103f9e754cd8c3d8b1681f7e1cf6e536282)

### [`v0.0.17`](https://togithub.com/GoogleChromeLabs/critters/blob/HEAD/CHANGELOG.md#v0017)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.16...1f8a941a069cfeb68450d33a42187c5398496fd7)

-   Updated the HTML parser from parse5 to htmlparser2
-   Implemented caching to improve speed of matching class and id based selectors
-   Added option `includeSelectors`
-   Added option `reduceInlineStyles`

Feature
Include/Exclude CSS rules via comments in CSS

Feature
Adding Critters containers. Wrap the HTML contents in a `data-critters-container` container to indicate above the fold HTML.

### [`v0.0.16`](https://togithub.com/GoogleChromeLabs/critters/releases/tag/critters-0.0.16)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.15...critters-0.0.16)

#### What's Changed

-   Add support for `:where` selector by [@&#8203;jeripeierSBB](https://togithub.com/jeripeierSBB) in [https://github.com/GoogleChromeLabs/critters/pull/93](https://togithub.com/GoogleChromeLabs/critters/pull/93)
-   Fix inlining of `-webkit-keyframes` (often generated by scss) by [@&#8203;JessicaSachs](https://togithub.com/JessicaSachs) in [https://github.com/GoogleChromeLabs/critters/pull/96](https://togithub.com/GoogleChromeLabs/critters/pull/96) (see [#&#8203;86](https://togithub.com/GoogleChromeLabs/critters/issues/86))
-   Fix fs import breaking in ESM builds by [@&#8203;developit](https://togithub.com/developit) in [https://github.com/GoogleChromeLabs/critters/pull/97](https://togithub.com/GoogleChromeLabs/critters/pull/97)
-   Document `preload:false` option by [@&#8203;kurtextrem](https://togithub.com/kurtextrem) in [https://github.com/GoogleChromeLabs/critters/pull/95](https://togithub.com/GoogleChromeLabs/critters/pull/95)

#### New Contributors

-   [@&#8203;JessicaSachs](https://togithub.com/JessicaSachs) made their first contribution in [https://github.com/GoogleChromeLabs/critters/pull/96](https://togithub.com/GoogleChromeLabs/critters/pull/96)
-   [@&#8203;kurtextrem](https://togithub.com/kurtextrem) made their first contribution in [https://github.com/GoogleChromeLabs/critters/pull/95](https://togithub.com/GoogleChromeLabs/critters/pull/95)
-   [@&#8203;jeripeierSBB](https://togithub.com/jeripeierSBB) made their first contribution in [https://github.com/GoogleChromeLabs/critters/pull/93](https://togithub.com/GoogleChromeLabs/critters/pull/93)

**Full Changelog**: GoogleChromeLabs/critters@critters-0.0.15...critters-0.0.16

### [`v0.0.15`](https://togithub.com/GoogleChromeLabs/critters/releases/tag/critters-0.0.15): critters 0.0.15

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.14...critters-0.0.15)

-   Bugfix: add missing getter for `document.head` ([#&#8203;87](https://togithub.com/GoogleChromeLabs/critters/issues/87), thanks [@&#8203;rschristian](https://togithub.com/rschristian)!)

### [`v0.0.14`](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.13...critters-0.0.14)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.13...critters-0.0.14)

### [`v0.0.13`](https://togithub.com/GoogleChromeLabs/critters/releases/tag/critters-0.0.13)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/critters-0.0.12...critters-0.0.13)

This fixes a bug in `critters@0.0.12` where HTTP (as opposed to HTTPS) remote stylesheets were not skipped (thanks [@&#8203;alan-agius4](https://togithub.com/alan-agius4) - [#&#8203;83](https://togithub.com/GoogleChromeLabs/critters/issues/83))

**Full Changelog**: GoogleChromeLabs/critters@critters-0.0.12...critters-0.0.13

### [`v0.0.12`](https://togithub.com/GoogleChromeLabs/critters/releases/tag/critters-0.0.12): Critters 0.0.12

#### What's Changed

-   Update parser to postcss by [@&#8203;janicklas-ralph](https://togithub.com/janicklas-ralph) in [https://github.com/GoogleChromeLabs/critters/pull/80](https://togithub.com/GoogleChromeLabs/critters/pull/80)
-   fix: update css-select to version 4 by [@&#8203;alan-agius4](https://togithub.com/alan-agius4) in [https://github.com/GoogleChromeLabs/critters/pull/82](https://togithub.com/GoogleChromeLabs/critters/pull/82)
-   fix: skip processing of remote stylesheets by [@&#8203;alan-agius4](https://togithub.com/alan-agius4) in [https://github.com/GoogleChromeLabs/critters/pull/75](https://togithub.com/GoogleChromeLabs/critters/pull/75)
-   Improve TypeScript typings by [@&#8203;developit](https://togithub.com/developit) in [https://github.com/GoogleChromeLabs/critters/pull/76](https://togithub.com/GoogleChromeLabs/critters/pull/76)
-   Add swap-high preload mode by [@&#8203;developit](https://togithub.com/developit) in [https://github.com/GoogleChromeLabs/critters/pull/56](https://togithub.com/GoogleChromeLabs/critters/pull/56)

**Full Changelog**: GoogleChromeLabs/critters@57c4b40...critters-0.0.12

### [`v0.0.10`](https://togithub.com/GoogleChromeLabs/critters/compare/e9a687265cd003fcbf27e7802d7b8c72168c8a14...1f23cb5b488effe0f782cc6855013fdaec38924c)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/e9a687265cd003fcbf27e7802d7b8c72168c8a14...1f23cb5b488effe0f782cc6855013fdaec38924c)

### [`v0.0.9`](https://togithub.com/GoogleChromeLabs/critters/compare/0524b2e297eb995238b29cad01fadd49524d98bd...e9a687265cd003fcbf27e7802d7b8c72168c8a14)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/0524b2e297eb995238b29cad01fadd49524d98bd...e9a687265cd003fcbf27e7802d7b8c72168c8a14)

### [`v0.0.8`](https://togithub.com/GoogleChromeLabs/critters/compare/0524b2e297eb995238b29cad01fadd49524d98bd...0524b2e297eb995238b29cad01fadd49524d98bd)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/0524b2e297eb995238b29cad01fadd49524d98bd...0524b2e297eb995238b29cad01fadd49524d98bd)

### [`v0.0.7`](https://togithub.com/GoogleChromeLabs/critters/compare/99d5070b58e5edc861f5ac6cdc8fc15223a04bfc...0524b2e297eb995238b29cad01fadd49524d98bd)

[Compare Source](https://togithub.com/GoogleChromeLabs/critters/compare/99d5070b58e5edc861f5ac6cdc8fc15223a04bfc...0524b2e297eb995238b29cad01fadd49524d98bd)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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.

---

 - [ ] 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/X-oss-byte/Nextjs).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when using :where - subselects_1.subselects[name]
2 participants