postcss 8.4.37 → 8.4.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,7 +13,7 @@ and JetBrains. The [Autoprefixer] and [Stylelint] PostCSS plugins is one of
13
13
 
14
14
  ---
15
15
 
16
- <img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" />  Made in <b><a href="https://evilmartians.com/devtools?utm_source=postcss&utm_campaign=devtools-button&utm_medium=github">Evil Martians</a></b>, product consulting for <b>developer tools</b>.
16
+ <img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" />  Made at <b><a href="https://evilmartians.com/devtools?utm_source=postcss&utm_campaign=devtools-button&utm_medium=github">Evil Martians</a></b>, product consulting for <b>developer tools</b>.
17
17
 
18
18
  ---
19
19
 
@@ -49,7 +49,7 @@ declare namespace CssSyntaxError {
49
49
  * }
50
50
  * ```
51
51
  */
52
- declare class CssSyntaxError_ {
52
+ declare class CssSyntaxError_ extends Error {
53
53
  /**
54
54
  * Source column of the error.
55
55
  *
package/lib/node.js CHANGED
@@ -241,7 +241,7 @@ class Node {
241
241
  column: opts.end.column,
242
242
  line: opts.end.line
243
243
  }
244
- } else if (opts.endIndex) {
244
+ } else if (typeof opts.endIndex === 'number') {
245
245
  end = this.positionInside(opts.endIndex)
246
246
  } else if (opts.index) {
247
247
  end = this.positionInside(opts.index + 1)
package/lib/processor.js CHANGED
@@ -7,7 +7,7 @@ let Root = require('./root')
7
7
 
8
8
  class Processor {
9
9
  constructor(plugins = []) {
10
- this.version = '8.4.37'
10
+ this.version = '8.4.39'
11
11
  this.plugins = this.normalize(plugins)
12
12
  }
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.4.37",
3
+ "version": "8.4.39",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
@@ -75,7 +75,7 @@
75
75
  },
76
76
  "dependencies": {
77
77
  "nanoid": "^3.3.7",
78
- "picocolors": "^1.0.0",
78
+ "picocolors": "^1.0.1",
79
79
  "source-map-js": "^1.2.0"
80
80
  },
81
81
  "browser": {