From 4782f797322c7046fc34f82976f7fd06ab204266 Mon Sep 17 00:00:00 2001 From: Romain Menke <11521496+romainmenke@users.noreply.github.com> Date: Fri, 11 Nov 2022 12:51:03 +0100 Subject: [PATCH] update postcss to 8.4.19 (#1485) --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- test/cases/example.out.css | 4 +++- test/cases/file-selector-button.out.css | 4 +++- test/cases/fullscreen.out.css | 3 ++- test/cases/keyframes.out.css | 6 ++++-- test/cases/placeholder-shown.out.css | 3 ++- test/cases/placeholder.out.css | 15 ++++++++++----- test/cases/viewport.out.css | 3 ++- 9 files changed, 31 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 44bd94293..92e4cd7d5 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "eslint-plugin-prefer-let": "^3.0.1", "eslint-plugin-promise": "^6.1.1", "nanospy": "^0.5.0", - "postcss": "^8.4.18", + "postcss": "^8.4.19", "size-limit": "^8.1.0", "uvu": "^0.5.6" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d6133cfb7..fbe649689 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,7 +17,7 @@ specifiers: nanospy: ^0.5.0 normalize-range: ^0.1.2 picocolors: ^1.0.0 - postcss: ^8.4.18 + postcss: ^8.4.19 postcss-value-parser: ^4.2.0 size-limit: ^8.1.0 uvu: ^0.5.6 @@ -42,7 +42,7 @@ devDependencies: eslint-plugin-prefer-let: 3.0.1 eslint-plugin-promise: 6.1.1_eslint@8.26.0 nanospy: 0.5.0 - postcss: 8.4.18 + postcss: 8.4.19 size-limit: 8.1.0 uvu: 0.5.6 @@ -1670,8 +1670,8 @@ packages: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} dev: false - /postcss/8.4.18: - resolution: {integrity: sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==} + /postcss/8.4.19: + resolution: {integrity: sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA==} engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.4 diff --git a/test/cases/example.out.css b/test/cases/example.out.css index 57e12debb..4de4de5f8 100644 --- a/test/cases/example.out.css +++ b/test/cases/example.out.css @@ -1,6 +1,8 @@ ::-moz-placeholder { color: gray; -}::placeholder { +} + +::placeholder { color: gray; } diff --git a/test/cases/file-selector-button.out.css b/test/cases/file-selector-button.out.css index d7b4ab6bc..8dcb632bb 100644 --- a/test/cases/file-selector-button.out.css +++ b/test/cases/file-selector-button.out.css @@ -1,6 +1,8 @@ ::-webkit-file-upload-button { background: black -}::file-selector-button { +} + +::file-selector-button { background: black } diff --git a/test/cases/fullscreen.out.css b/test/cases/fullscreen.out.css index ac6a62c74..350311046 100644 --- a/test/cases/fullscreen.out.css +++ b/test/cases/fullscreen.out.css @@ -1,5 +1,6 @@ :-webkit-full-screen { background: black -}:fullscreen { +} +:fullscreen { background: black } diff --git a/test/cases/keyframes.out.css b/test/cases/keyframes.out.css index 4fcf0cfae..ad7a7a6fc 100644 --- a/test/cases/keyframes.out.css +++ b/test/cases/keyframes.out.css @@ -17,7 +17,8 @@ -webkit-transform: rotate(0); transform: rotate(0) } -}@-o-keyframes anim { +} +@-o-keyframes anim { from { top: calc(10% + 10px); -o-transform: rotate(10deg); @@ -32,7 +33,8 @@ -o-transform: rotate(0); transform: rotate(0) } -}@keyframes anim { +} +@keyframes anim { from { top: -webkit-calc(10% + 10px); top: calc(10% + 10px); diff --git a/test/cases/placeholder-shown.out.css b/test/cases/placeholder-shown.out.css index 550413935..a22c988e4 100644 --- a/test/cases/placeholder-shown.out.css +++ b/test/cases/placeholder-shown.out.css @@ -1,5 +1,6 @@ :-ms-input-placeholder { background: #eee -}:placeholder-shown { +} +:placeholder-shown { background: #eee } diff --git a/test/cases/placeholder.out.css b/test/cases/placeholder.out.css index fccd81ee4..a3dc80cad 100644 --- a/test/cases/placeholder.out.css +++ b/test/cases/placeholder.out.css @@ -1,13 +1,18 @@ ::-webkit-input-placeholder { color: #999 -}:-moz-placeholder { +} +:-moz-placeholder { color: #999 -}::-moz-placeholder { +} +::-moz-placeholder { color: #999 -}:-ms-input-placeholder { +} +:-ms-input-placeholder { color: #999 -}::-ms-input-placeholder { +} +::-ms-input-placeholder { color: #999 -}::placeholder { +} +::placeholder { color: #999 } diff --git a/test/cases/viewport.out.css b/test/cases/viewport.out.css index e18e7689c..2f2030ad1 100644 --- a/test/cases/viewport.out.css +++ b/test/cases/viewport.out.css @@ -1,5 +1,6 @@ @-ms-viewport { width: device-width; -}@viewport { +} +@viewport { width: device-width; }