Skip to content

Commit c94f93c

Browse files
chore(deps): bump postcss from 8.4.24 to 8.4.31 (#303)
* chore(deps): bump postcss from 8.4.24 to 8.4.31 Bumps [postcss](https://github.com/postcss/postcss) from 8.4.24 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.4.24...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * fix * Create beige-ties-perform.md --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ota-meshi <[email protected]>
1 parent 22d2b7d commit c94f93c

File tree

4 files changed

+18
-9
lines changed

4 files changed

+18
-9
lines changed

.changeset/beige-ties-perform.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-vue-scoped-css": patch
3+
---
4+
5+
fix(deps): bump postcss to 8.4.31

lib/styles/parser/css-parser.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,11 @@ function getESLintLineAndColumnFromPostCSSNode(
485485
offsetLocation,
486486
sourceLoc,
487487
);
488-
if (locName === "end") {
488+
if (
489+
locName === "end" &&
490+
// The end location of the PostCSS root node has a different position than other nodes.
491+
node.type !== "root"
492+
) {
489493
// End column is shifted by one.
490494
return { line, column: column + 1 };
491495
}

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"dependencies": {
9696
"eslint-utils": "^3.0.0",
9797
"lodash": "^4.17.21",
98-
"postcss": "^8.4.6",
98+
"postcss": "^8.4.31",
9999
"postcss-safe-parser": "^6.0.0",
100100
"postcss-scss": "^4.0.3",
101101
"postcss-selector-parser": "^6.0.9",

0 commit comments

Comments
 (0)