File: CHANGELOG.md

package info (click to toggle)
node-postcss-discard-comments 2.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 116 kB
  • sloc: makefile: 7; sh: 2
file content (70 lines) | stat: -rw-r--r-- 1,727 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# 2.0.4

* Now compiled with Babel 6.

# 2.0.3

* Fixes an issue where comments that were removed from selectors were replaced
  by a single space.

# 2.0.2

* Fixes an integration issue where comments inside values transformed by other
  processors had their values reset to their original state before the
  comments were removed.

# 2.0.1

* Replaces a dependency on node-balanced with internal comments parser.

# 2.0.0

* Upgraded to PostCSS 5 (thanks to @avanes).

# 1.2.1

* Improved performance by iterating the AST in a single pass.

# 1.2.0

* Adds support for user-directed removal of comments, with the `remove`
  option (thanks to @dmitrykiselyov).
* `removeAllButFirst` now operates on each CSS tree, rather than the first one
  passed to the plugin.
* Fixes to pass the PostCSS plugin guidelines.

# 1.1.3

* As PostCSS handles the source map content, there is no need to check for
  the existence of a '#' at position 0 of the comment. This patch fixes this
  behaviour.

# 1.1.2

* Fixes an issue where comment separated values were being incorrectly
  transformed to not have spaces separating them instead, in `decl.value`.
  e.g. `10px/*test*/20px` became `10px20px` in `decl.value` but not
  `decl._value.raw`.

# 1.1.1

* Fixes a bug where non-special comments, with an exclamation mark in any part
  of the text, were not being removed.

# 1.1.0

* Now uses the PostCSS `4.1` plugin API.
* Adds support for transforming comments inside `!important` values.

# 1.0.2

* Adds a JSHint config, tidy up unnecessary lines of code.

# 1.0.1

* Fixed a bug which affected initializing the plugin with no options.
* Stopped the plugin from trying to match comments in empty strings.

# 1.0.0

* Initial release.