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.
- package/lib/map-generator.js +8 -2
- package/lib/processor.js +1 -1
- package/package.json +2 -2
package/lib/map-generator.js
CHANGED
@@ -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({
|
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({
|
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
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "postcss",
|
3
|
-
"version": "8.4.
|
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
|
79
|
+
"source-map-js": "^1.1.0"
|
80
80
|
},
|
81
81
|
"browser": {
|
82
82
|
"./lib/terminal-highlight": false,
|