postcss 8.1.1 → 8.1.2
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.
Potentially problematic release.
This version of postcss might be problematic. Click here for more details.
- package/CHANGELOG.md +5 -0
- package/lib/comment.d.ts +1 -1
- package/lib/container.js +1 -1
- package/lib/lazy-result.js +1 -1
- package/lib/parse.js +1 -1
- package/lib/previous-map.js +3 -3
- package/lib/processor.js +1 -1
- package/lib/symbols.js +1 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# Change Log
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
3
3
|
|
4
|
+
## 8.1.2
|
5
|
+
* Fix API docs (by Arthur Petrie).
|
6
|
+
* Improve plugin guide (by Yunus Gaziev).
|
7
|
+
* Prepare code base for Deno support (by Oscar Otero).
|
8
|
+
|
4
9
|
## 8.1.1
|
5
10
|
* Update funding link.
|
6
11
|
|
package/lib/comment.d.ts
CHANGED
package/lib/container.js
CHANGED
package/lib/lazy-result.js
CHANGED
package/lib/parse.js
CHANGED
package/lib/previous-map.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
'use strict'
|
2
2
|
|
3
|
+
let { existsSync, readFileSync } = require('fs')
|
3
4
|
let { dirname, join } = require('path')
|
4
5
|
let mozilla = require('source-map')
|
5
|
-
let fs = require('fs')
|
6
6
|
|
7
7
|
function fromBase64 (str) {
|
8
8
|
if (Buffer) {
|
@@ -86,9 +86,9 @@ class PreviousMap {
|
|
86
86
|
|
87
87
|
loadFile (path) {
|
88
88
|
this.root = dirname(path)
|
89
|
-
if (
|
89
|
+
if (existsSync(path)) {
|
90
90
|
this.mapFile = path
|
91
|
-
return
|
91
|
+
return readFileSync(path, 'utf-8').toString().trim()
|
92
92
|
}
|
93
93
|
}
|
94
94
|
|
package/lib/processor.js
CHANGED
package/lib/symbols.js
CHANGED