commit | 4cb097430f46c61ce039562fef92a5d97a4c729c | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <tvanderlippe@chromium.org> | Fri Jan 07 14:25:03 2022 +0100 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 07 14:36:30 2022 +0000 |
tree | 0b7b0430c1766c63559affe711fe0fd2e04e467b | |
parent | 0150c2a641d2ac42f79e52e3162d782854e07ec9 [diff] [blame] |
Update Stylelint and Postcss R=jacktfranklin@chromium.org Bug: none Change-Id: I961be18530d3ccbc4efed0c2cda9bd603b14e27b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3372931 Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org>
diff --git a/node_modules/postcss/lib/css-syntax-error.js b/node_modules/postcss/lib/css-syntax-error.js index 3161f21..d6b369b 100644 --- a/node_modules/postcss/lib/css-syntax-error.js +++ b/node_modules/postcss/lib/css-syntax-error.js
@@ -20,8 +20,15 @@ this.plugin = plugin } if (typeof line !== 'undefined' && typeof column !== 'undefined') { - this.line = line - this.column = column + if (typeof line === 'number') { + this.line = line + this.column = column + } else { + this.line = line.line + this.column = line.column + this.endLine = column.line + this.endColumn = column.column + } } this.setMessage()