postcss 8.4.35 → 8.4.36

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.
@@ -100,7 +100,10 @@ class MapGenerator {
100
100
  prev.file = this.outputFile()
101
101
  this.map = SourceMapGenerator.fromSourceMap(prev)
102
102
  } else {
103
- this.map = new SourceMapGenerator({ file: this.outputFile() })
103
+ this.map = new SourceMapGenerator({
104
+ file: this.outputFile(),
105
+ ignoreInvalidMapping: true
106
+ })
104
107
  this.map.addMapping({
105
108
  generated: { column: 0, line: 1 },
106
109
  original: { column: 0, line: 1 },
@@ -123,7 +126,10 @@ class MapGenerator {
123
126
 
124
127
  generateString() {
125
128
  this.css = ''
126
- this.map = new SourceMapGenerator({ file: this.outputFile() })
129
+ this.map = new SourceMapGenerator({
130
+ file: this.outputFile(),
131
+ ignoreInvalidMapping: true
132
+ })
127
133
 
128
134
  let line = 1
129
135
  let column = 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.35'
10
+ this.version = '8.4.36'
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.35",
3
+ "version": "8.4.36",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
@@ -76,7 +76,7 @@
76
76
  "dependencies": {
77
77
  "nanoid": "^3.3.7",
78
78
  "picocolors": "^1.0.0",
79
- "source-map-js": "^1.0.2"
79
+ "source-map-js": "^1.1.0"
80
80
  },
81
81
  "browser": {
82
82
  "./lib/terminal-highlight": false,