postcss 8.5.29 → 8.5.30

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/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.5.29'
10
+ this.version = '8.5.30'
11
11
  this.plugins = this.normalize(plugins)
12
12
  }
13
13
 
package/lib/stringify.js CHANGED
@@ -39,8 +39,10 @@ class SafeStringifier extends Stringifier {
39
39
  builder(chunks[i], chunks[i + 1], chunks[i + 2])
40
40
  }
41
41
  } else {
42
- // Escaping happens only on a hack attempt, source map is not important
43
- builder(escaped, node)
42
+ // Escaping happens only on a hack attempt, source map is not important.
43
+ // Map only the node start: the end mapping expects the node’s last
44
+ // char at the end of the string, which is wrong for Root raws.after.
45
+ builder(escaped, node, 'start')
44
46
  }
45
47
  }
46
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.5.29",
3
+ "version": "8.5.30",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "keywords": [
6
6
  "css",
@@ -78,7 +78,7 @@
78
78
  "./package.json": "./package.json"
79
79
  },
80
80
  "dependencies": {
81
- "nanoid": "^3.3.19",
81
+ "nanoid": "^3.3.20",
82
82
  "picocolors": "^1.1.1",
83
83
  "source-map-js": "^1.2.2"
84
84
  },