postcss 8.1.6 → 8.1.7

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 CHANGED
@@ -1,6 +1,9 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
+ ## 8.1.7
5
+ * Fix `import` support in TypeScript (by Remco Haszing).
6
+
4
7
  ## 8.1.6
5
8
  * Reverted `package.exports` Node.js 15 fix.
6
9
 
package/lib/at-rule.js CHANGED
@@ -20,5 +20,6 @@ class AtRule extends Container {
20
20
  }
21
21
 
22
22
  module.exports = AtRule
23
+ AtRule.default = AtRule
23
24
 
24
25
  Container.registerAtRule(AtRule)
package/lib/comment.js CHANGED
@@ -10,3 +10,4 @@ class Comment extends Node {
10
10
  }
11
11
 
12
12
  module.exports = Comment
13
+ Comment.default = Comment
package/lib/container.js CHANGED
@@ -426,3 +426,4 @@ Container.registerAtRule = dependant => {
426
426
  }
427
427
 
428
428
  module.exports = Container
429
+ Container.default = Container
@@ -89,3 +89,4 @@ class CssSyntaxError extends Error {
89
89
  }
90
90
 
91
91
  module.exports = CssSyntaxError
92
+ CssSyntaxError.default = CssSyntaxError
@@ -21,3 +21,4 @@ class Declaration extends Node {
21
21
  }
22
22
 
23
23
  module.exports = Declaration
24
+ Declaration.default = Declaration
package/lib/input.js CHANGED
@@ -139,6 +139,7 @@ class Input {
139
139
  }
140
140
 
141
141
  module.exports = Input
142
+ Input.default = Input
142
143
 
143
144
  if (terminalHighlight && terminalHighlight.registerInput) {
144
145
  terminalHighlight.registerInput(Input)
@@ -475,5 +475,6 @@ LazyResult.registerPostcss = dependant => {
475
475
  }
476
476
 
477
477
  module.exports = LazyResult
478
+ LazyResult.default = LazyResult
478
479
 
479
480
  Root.registerLazyResult(LazyResult)
package/lib/list.js CHANGED
@@ -53,3 +53,4 @@ let list = {
53
53
  }
54
54
 
55
55
  module.exports = list
56
+ list.default = list
package/lib/node.js CHANGED
@@ -288,3 +288,4 @@ class Node {
288
288
  }
289
289
 
290
290
  module.exports = Node
291
+ Node.default = Node
package/lib/parse.js CHANGED
@@ -37,5 +37,6 @@ function parse (css, opts) {
37
37
  }
38
38
 
39
39
  module.exports = parse
40
+ parse.default = parse
40
41
 
41
42
  Container.registerParse(parse)
package/lib/postcss.js CHANGED
@@ -85,3 +85,4 @@ postcss.Node = Node
85
85
  LazyResult.registerPostcss(postcss)
86
86
 
87
87
  module.exports = postcss
88
+ postcss.default = postcss
@@ -140,3 +140,4 @@ class PreviousMap {
140
140
  }
141
141
 
142
142
  module.exports = PreviousMap
143
+ PreviousMap.default = PreviousMap
package/lib/processor.js CHANGED
@@ -5,7 +5,7 @@ let Root = require('./root')
5
5
 
6
6
  class Processor {
7
7
  constructor (plugins = []) {
8
- this.version = '8.1.6'
8
+ this.version = '8.1.7'
9
9
  this.plugins = this.normalize(plugins)
10
10
  }
11
11
 
@@ -65,5 +65,6 @@ class Processor {
65
65
  }
66
66
 
67
67
  module.exports = Processor
68
+ Processor.default = Processor
68
69
 
69
70
  Root.registerProcessor(Processor)
package/lib/result.js CHANGED
@@ -39,3 +39,4 @@ class Result {
39
39
  }
40
40
 
41
41
  module.exports = Result
42
+ Result.default = Result
package/lib/root.js CHANGED
@@ -56,3 +56,4 @@ Root.registerProcessor = dependant => {
56
56
  }
57
57
 
58
58
  module.exports = Root
59
+ Root.default = Root
package/lib/rule.js CHANGED
@@ -22,5 +22,6 @@ class Rule extends Container {
22
22
  }
23
23
 
24
24
  module.exports = Rule
25
+ Rule.default = Rule
25
26
 
26
27
  Container.registerRule(Rule)
package/lib/stringify.js CHANGED
@@ -2,7 +2,10 @@
2
2
 
3
3
  let Stringifier = require('./stringifier')
4
4
 
5
- module.exports = function stringify (node, builder) {
5
+ function stringify (node, builder) {
6
6
  let str = new Stringifier(builder)
7
7
  str.stringify(node)
8
8
  }
9
+
10
+ module.exports = stringify
11
+ stringify.default = stringify
package/lib/warning.js CHANGED
@@ -32,3 +32,4 @@ class Warning {
32
32
  }
33
33
 
34
34
  module.exports = Warning
35
+ Warning.default = Warning
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.1.6",
3
+ "version": "8.1.7",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"