Skip to content

Commit b9c9ce7

Browse files
chore(deps): bump @projectwallace/css-parser from 0.14.10 to 0.15.0 (#589)
Bumps [@projectwallace/css-parser](https://github.com/projectwallace/css-parser) from 0.14.10 to 0.15.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/projectwallace/css-parser/releases">@​projectwallace/css-parser's releases</a>.</em></p> <blockquote> <h2>v0.15.0</h2> <h2>What's Changed</h2> <ul> <li>breaking/feat: parse <code>@supports</code> prelude into declarations by <a href="https://github.com/bartveneman"><code>@​bartveneman</code></a> in <a href="https://redirect.github.com/projectwallace/css-parser/pull/223">projectwallace/css-parser#223</a></li> <li>feat: add vendor-prefix support in mediafeature by <a href="https://github.com/bartveneman"><code>@​bartveneman</code></a> in <a href="https://redirect.github.com/projectwallace/css-parser/pull/225">projectwallace/css-parser#225</a></li> <li>fix: add <code>namespace</code> getter for type selectors by <a href="https://github.com/bartveneman"><code>@​bartveneman</code></a> in <a href="https://redirect.github.com/projectwallace/css-parser/pull/228">projectwallace/css-parser#228</a></li> </ul> <h2>other</h2> <ul> <li>chore(deps-dev): bump the vite group across 1 directory with 2 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/projectwallace/css-parser/pull/215">projectwallace/css-parser#215</a></li> <li>chore(deps-dev): bump the oxc group with 2 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/projectwallace/css-parser/pull/216">projectwallace/css-parser#216</a></li> <li>chore(deps-dev): bump tsdown from 0.21.5 to 0.21.10 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/projectwallace/css-parser/pull/217">projectwallace/css-parser#217</a></li> <li>chore(deps-dev): bump postcss from 8.5.8 to 8.5.13 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/projectwallace/css-parser/pull/219">projectwallace/css-parser#219</a></li> <li>chore(deps-dev): bump <code>@​types/node</code> from 24.12.0 to 24.12.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/projectwallace/css-parser/pull/218">projectwallace/css-parser#218</a></li> <li>chore: bump dependencies by <a href="https://github.com/bartveneman"><code>@​bartveneman</code></a> in <a href="https://redirect.github.com/projectwallace/css-parser/pull/224">projectwallace/css-parser#224</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/projectwallace/css-parser/compare/v0.14.10...v0.15.0">https://github.com/projectwallace/css-parser/compare/v0.14.10...v0.15.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/projectwallace/css-parser/commit/ba3c31ea9437155d0eb70e9ff982aadefe7bf505"><code>ba3c31e</code></a> fix: add <code>namespace</code> getter for type selectors (<a href="https://redirect.github.com/projectwallace/css-parser/issues/228">#228</a>)</li> <li><a href="https://github.com/projectwallace/css-parser/commit/95e119a860c79577920362b8972799f7bc54699e"><code>95e119a</code></a> feat: add vendor-prefix support in mediafeature (<a href="https://redirect.github.com/projectwallace/css-parser/issues/225">#225</a>)</li> <li><a href="https://github.com/projectwallace/css-parser/commit/ad612724c119ed3910c5ff25e285b62ce4e83778"><code>ad61272</code></a> chore: bump dependencies (<a href="https://redirect.github.com/projectwallace/css-parser/issues/224">#224</a>)</li> <li><a href="https://github.com/projectwallace/css-parser/commit/9eb0412ead644c3f81c4c07e5bdd6c84c08b5f32"><code>9eb0412</code></a> chore(deps-dev): bump <code>@​types/node</code> from 24.12.0 to 24.12.2 (<a href="https://redirect.github.com/projectwallace/css-parser/issues/218">#218</a>)</li> <li><a href="https://github.com/projectwallace/css-parser/commit/867f23b296b5d5cc28d30ac17c7e15ab99b7f7fa"><code>867f23b</code></a> chore(deps-dev): bump postcss from 8.5.8 to 8.5.13 (<a href="https://redirect.github.com/projectwallace/css-parser/issues/219">#219</a>)</li> <li><a href="https://github.com/projectwallace/css-parser/commit/a2524d6f2553b35e20c7547ef64e1fcc170ae4fd"><code>a2524d6</code></a> chore(deps-dev): bump tsdown from 0.21.5 to 0.21.10 (<a href="https://redirect.github.com/projectwallace/css-parser/issues/217">#217</a>)</li> <li><a href="https://github.com/projectwallace/css-parser/commit/6bcc077dbc7374383045b9d6bece0f5f816808c9"><code>6bcc077</code></a> chore(deps-dev): bump the oxc group with 2 updates (<a href="https://redirect.github.com/projectwallace/css-parser/issues/216">#216</a>)</li> <li><a href="https://github.com/projectwallace/css-parser/commit/2a15161fe4b9112fbec2022a4a830efff1d789f0"><code>2a15161</code></a> chore(deps-dev): bump the vite group across 1 directory with 2 updates (<a href="https://redirect.github.com/projectwallace/css-parser/issues/215">#215</a>)</li> <li><a href="https://github.com/projectwallace/css-parser/commit/0714105a99615753fcafbb70159a50fb4d0498b5"><code>0714105</code></a> breaking/feat: parse <code>@supports</code> prelude into declarations (<a href="https://redirect.github.com/projectwallace/css-parser/issues/223">#223</a>)</li> <li><a href="https://github.com/projectwallace/css-parser/commit/9512f114b774cfa1b5ad99805892b6dc595b610c"><code>9512f11</code></a> chore: bump version to v0.14.10</li> <li>See full diff in <a href="https://github.com/projectwallace/css-parser/compare/v0.14.10...v0.15.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@projectwallace/css-parser&package-manager=npm_and_yarn&previous-version=0.14.10&new-version=0.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bart Veneman <1536852+bartveneman@users.noreply.github.com> Co-authored-by: Bart Veneman <bartveneman@gmail.com>
1 parent 46b2634 commit b9c9ce7

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"knip": "knip"
6565
},
6666
"dependencies": {
67-
"@projectwallace/css-parser": "^0.14.8"
67+
"@projectwallace/css-parser": "^0.15.0"
6868
},
6969
"devDependencies": {
7070
"@codecov/rollup-plugin": "^2.0.1",

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
is_selector,
1515
is_declaration,
1616
is_supports_query,
17+
is_supports_declaration,
1718
is_layer_name,
1819
is_identifier,
1920
is_attribute_selector,
@@ -469,6 +470,9 @@ function analyzeInternal<T extends boolean>(css: string, options: Options, useLo
469470
// with :where() or :is() that contain SelectorLists
470471
// as children
471472
return SKIP
473+
} else if (is_supports_declaration(node)) {
474+
// Prevent walking into a SupportsDeclaration.Declaration
475+
return SKIP
472476
} else if (is_declaration(node)) {
473477
totalDeclarations++
474478
let declaration = node.text

0 commit comments

Comments
 (0)