Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update lightningcss 1.22.0 → 1.22.1 (patch) #12417

Merged
merged 6 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
244 changes: 122 additions & 122 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"glob-parent": "^6.0.2",
"is-glob": "^4.0.3",
"jiti": "^1.21.0",
"lightningcss": "^1.22.0",
"lightningcss": "^1.22.1",
"lilconfig": "^2.1.0",
"micromatch": "^4.0.5",
"normalize-path": "^3.0.0",
Expand All @@ -88,6 +88,7 @@
},
"browserslist": [
"defaults and supports css-variables and supports css-matches-pseudo",
"not android <= 117",
"safari >= 14"
],
"jest": {
Expand Down
5 changes: 4 additions & 1 deletion tests/collapse-duplicate-declarations.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,18 @@ it('should work on a real world example', () => {
.h-available {
height: 100%;
height: 100vh;
height: -moz-available;
height: -webkit-fill-available;
}
}
`

// TODO: This seems like a bug with compat data
// `-moz-available` should still be listed
// and most like `100vh` as well
return run(input, config).then((result) => {
expect(result.css).toMatchFormattedCss(css`
.h-available {
height: 100vh;
height: -webkit-fill-available;
}
`)
Expand Down
6 changes: 0 additions & 6 deletions tests/kitchen-sink.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,6 @@ test('it works', () => {
:after {
padding: 5px;
}
::-webkit-backdrop {
padding: 5px;
}
::backdrop {
padding: 5px;
}
Expand Down Expand Up @@ -581,9 +578,6 @@ test('it works', () => {
:after {
margin: 10px;
}
::-webkit-backdrop {
margin: 10px;
}
::backdrop {
margin: 10px;
}
Expand Down
12 changes: 0 additions & 12 deletions tests/plugins/__snapshots__/backdropFilter.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,6 @@ exports[`should test the 'backdropFilter' plugin 1`] = `
--tw-backdrop-sepia: ;
}

::-webkit-backdrop {
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
}

::backdrop {
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
Expand Down
5 changes: 0 additions & 5 deletions tests/plugins/__snapshots__/borderSpacing.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ exports[`should test the 'borderSpacing' plugin 1`] = `
--tw-border-spacing-y: 0;
}

::-webkit-backdrop {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
}

::backdrop {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
Expand Down
7 changes: 0 additions & 7 deletions tests/plugins/__snapshots__/boxShadow.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ exports[`should test the 'boxShadow' plugin 1`] = `
--tw-shadow-colored: 0 0 #0000;
}

::-webkit-backdrop {
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
}

::backdrop {
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
Expand Down
12 changes: 0 additions & 12 deletions tests/plugins/__snapshots__/filter.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,6 @@ exports[`should test the 'filter' plugin 1`] = `
--tw-drop-shadow: ;
}

::-webkit-backdrop {
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
}

::backdrop {
--tw-blur: ;
--tw-brightness: ;
Expand Down
8 changes: 0 additions & 8 deletions tests/plugins/__snapshots__/fontVariantNumeric.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ exports[`should test the 'fontVariantNumeric' plugin 1`] = `
--tw-numeric-fraction: ;
}

::-webkit-backdrop {
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
}

::backdrop {
--tw-ordinal: ;
--tw-slashed-zero: ;
Expand Down
33 changes: 0 additions & 33 deletions tests/plugins/__snapshots__/ringWidth.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ exports[`should test the 'ringWidth' plugin 1`] = `
--tw-shadow-colored: 0 0 #0000;
}

::-webkit-backdrop {
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #3b82f680;
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
}

::backdrop {
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
Expand Down Expand Up @@ -96,17 +85,6 @@ exports[`should test the 'ringWidth' plugin 2`] = `
--tw-shadow-colored: 0 0 #0000;
}

::-webkit-backdrop {
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #3b82f67f;
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
}

::backdrop {
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
Expand Down Expand Up @@ -179,17 +157,6 @@ exports[`should test the 'ringWidth' plugin 3`] = `
--tw-shadow-colored: 0 0 #0000;
}

::-webkit-backdrop {
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #3b82f67f;
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
}

::backdrop {
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
Expand Down
4 changes: 0 additions & 4 deletions tests/plugins/__snapshots__/scrollSnapType.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ exports[`should test the 'scrollSnapType' plugin 1`] = `
--tw-scroll-snap-strictness: proximity;
}

::-webkit-backdrop {
--tw-scroll-snap-strictness: proximity;
}

::backdrop {
--tw-scroll-snap-strictness: proximity;
}
Expand Down
6 changes: 0 additions & 6 deletions tests/plugins/__snapshots__/touchAction.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ exports[`should test the 'touchAction' plugin 1`] = `
--tw-pinch-zoom: ;
}

::-webkit-backdrop {
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
}

::backdrop {
--tw-pan-x: ;
--tw-pan-y: ;
Expand Down
10 changes: 0 additions & 10 deletions tests/plugins/__snapshots__/transform.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ exports[`should test the 'transform' plugin 1`] = `
--tw-scale-y: 1;
}

::-webkit-backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
}

::backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ exports[`should test the 'pseudoElementVariants' plugin 1`] = `
display: flex;
}

.backdrop\\:flex::-webkit-backdrop {
display: flex;
}

.backdrop\\:flex::backdrop {
display: flex;
}
Expand Down
82 changes: 0 additions & 82 deletions tests/resolve-defaults-at-rules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ test('basic utilities', async () => {
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::-webkit-backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
Expand Down Expand Up @@ -92,15 +83,6 @@ test('with pseudo-class variants', async () => {
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::-webkit-backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
Expand Down Expand Up @@ -157,15 +139,6 @@ test('with pseudo-element variants', async () => {
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::-webkit-backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
Expand Down Expand Up @@ -218,15 +191,6 @@ test('with multi-class variants', async () => {
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::-webkit-backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
Expand Down Expand Up @@ -279,15 +243,6 @@ test('with multi-class pseudo-element variants', async () => {
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::-webkit-backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
Expand Down Expand Up @@ -346,15 +301,6 @@ test('with multi-class pseudo-element and pseudo-class variants', async () => {
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::-webkit-backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
Expand Down Expand Up @@ -449,15 +395,6 @@ test('with apply', async () => {
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::-webkit-backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
Expand Down Expand Up @@ -660,16 +597,6 @@ test('with shadows', async () => {
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
}
::-webkit-backdrop {
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #3b82f680;
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
}
::backdrop {
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
Expand Down Expand Up @@ -735,15 +662,6 @@ test('when no utilities that need the defaults are used', async () => {
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::-webkit-backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
}
::backdrop {
--tw-translate-x: 0;
--tw-translate-y: 0;
Expand Down
Loading