Skip to content

Commit fbd14ba

Browse files
authored
fix error for Node.toString() (#24)
1 parent 012f9f5 commit fbd14ba

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-syntax",
3-
"version": "0.26.1",
3+
"version": "0.27.0",
44
"description": "Automatically switch PostCSS syntax by file extensions",
55
"repository": {
66
"type": "git",
@@ -37,12 +37,12 @@
3737
"chai": "^4.1.2",
3838
"codecov": "^3.0.2",
3939
"mocha": "^5.2.0",
40-
"nyc": "^11.8.0",
40+
"nyc": "^12.0.2",
4141
"postcss": "^6.0.22",
42-
"postcss-html": ">=0.26.0",
43-
"postcss-jsx": ">=0.26.0",
44-
"postcss-less": "^1.1.5",
45-
"postcss-markdown": ">=0.26.0",
42+
"postcss-html": ">=0.27.0",
43+
"postcss-jsx": ">=0.27.0",
44+
"postcss-less": "^2.0.0",
45+
"postcss-markdown": ">=0.27.0",
4646
"postcss-safe-parser": "^3.0.1",
4747
"postcss-scss": "^1.0.5",
4848
"sugarss": "^1.0.1"

patch-postcss.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ function patch (Document) {
4444
let fn;
4545
let file;
4646
if (Document) {
47+
patch();
4748
fn = patchDocument.bind(this, Document);
4849
file = "lazy-result";
4950
} else {

0 commit comments

Comments
 (0)