postcss 8.5.23 → 8.5.24

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.23'
10
+ this.version = '8.5.24'
11
11
  this.plugins = this.normalize(plugins)
12
12
  }
13
13
 
@@ -424,6 +424,9 @@ class Stringifier {
424
424
  }
425
425
 
426
426
  root(node) {
427
+ if (node.source && node.source.input.hasBOM) {
428
+ this.builder('\uFEFF', node, 'start')
429
+ }
427
430
  this.body(node)
428
431
  if (node.raws.after) {
429
432
  let after = node.raws.after
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.5.23",
3
+ "version": "8.5.24",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "keywords": [
6
6
  "css",