Security update for permissions_by_term
[yaffs-website] / node_modules / uncss / node_modules / postcss / CHANGELOG.md
1 # Change Log
2 All notable changes to this project will be documented in this file.
3 This project adheres to [Semantic Versioning](http://semver.org/).
4
5 ## 5.0.21
6 * Fix support with input source mao with `utf8` encoding name.
7
8 ## 5.0.20
9 * Fix between raw value parsing (by David Clark).
10 * Update TypeScript definitions (by Jed Mao).
11 * Clean fake node.source after `append(string)`.
12
13 ## 5.0.19
14 * Fix indent-based syntaxes support.
15
16 ## 5.0.18
17 * Parse new lines according W3C CSS syntax specification.
18
19 ## 5.0.17
20 * Fix options argument in `Node#warn` (by Ben Briggs).
21 * Fix TypeScript definitions (by Jed Mao).
22
23 ## 5.0.16
24 * Fix CSS syntax error position on unclosed quotes.
25
26 ## 5.0.15
27 * Fix `Node#clone()` on `null` value somewhere in node.
28
29 ## 5.0.14
30 * Allow to use PostCSS in webpack bundle without JSON loader.
31
32 ## 5.0.13
33 * Fix `index` and `word` options in `Warning#toString` (by Bogdan Chadkin).
34 * Fix input source content loading in errors.
35 * Fix map options on using `LazyResult` as input CSS.
36 * 100% test coverage.
37 * Use Babel 6.
38
39 ## 5.0.12
40 * Allow passing a previous map with no mappings (by Andreas Lind).
41
42 ## 5.0.11
43 * Increase plugins performance by 1.5 times.
44
45 ## 5.0.10
46 * Fix warning from nodes without source.
47
48 ## 5.0.9
49 * Fix source map type detection (by @asan).
50
51 ## 5.0.8
52 * Fixed a missed step in `5.0.7` that caused the module to be published as
53   ES6 code.
54
55 ## 5.0.7
56 * PostCSS now requires that node 0.12 is installed via the engines property
57   in package.json (by Howard Zuo).
58
59 ## 5.0.6
60 * Fix parsing nested at-rule without semicolon (by Matt Drake).
61 * Trim `Declaration#value` (by Bogdan Chadkin).
62
63 ## 5.0.5
64 * Fix multi-tokens property parsing (by Matt Drake).
65
66 ## 5.0.4
67 * Fix start position in `Root#source`.
68 * Fix source map annotation, when CSS uses `\r\n` (by Mohammad Younes).
69
70 ## 5.0.3
71 * Fix `url()` parsing.
72 * Fix using `selectors` in `Rule` constructor.
73 * Add start source to `Root` node.
74
75 ## 5.0.2
76 * Fix `remove(index)` to be compatible with 4.x plugin.
77
78 ## 5.0.1
79 * Fix PostCSS 4.x plugins compatibility.
80 * Fix type definition loading (by Jed Mao).
81
82 ## 5.0 “President Valac”
83 * Remove `safe` option. Move Safe Parser to separate project.
84 * `Node#toString` does not include `before` for root nodes.
85 * Remove plugin returning `Root` API.
86 * Remove Promise polyfill for node.js 0.10.
87 * Deprecate `eachInside`, `eachDecl`, `eachRule`, `eachAtRule` and `eachComment`
88   in favor of `walk`, `walkDecls`, `walkRules`, `walkAtRules` and `walkComments`
89   (by Jed Mao).
90 * Deprecate `Container#remove` and `Node#removeSelf`
91   in favor of `Container#removeChild` and `Node#remove` (by Ben Briggs).
92 * Deprecate `Node#replace` in favor of `replaceWith` (by Ben Briggs).
93 * Deprecate raw properties in favor of `Node#raws` object.
94 * Deprecate `Node#style` in favor of `raw`.
95 * Deprecate `CssSyntaxError#generated` in favor of `input`.
96 * Deprecate `Node#cleanStyles` in favor of `cleanRaws`.
97 * Deprecate `Root#prevMap` in favor of `Root.source.input.map`.
98 * Add `syntax`, `parser` and `stringifier` options for Custom Syntaxes.
99 * Add stringifier option to `Node#toString`.
100 * Add `Result#content` alias for non-CSS syntaxes.
101 * Add `plugin.process(css)` shortcut to every plugin function (by Ben Briggs).
102 * Add multiple nodes support to insert methods (by Jonathan Neal).
103 * Add `Node#warn` shortcut (by Ben Briggs).
104 * Add `word` and `index` options to errors and warnings (by David Clark).
105 * Add `line`, `column` properties to `Warning`.
106 * Use `supports-color` library to detect color support in error output.
107 * Add type definitions for TypeScript plugin developers (by Jed Mao).
108 * `Rule#selectors` setter detects separators.
109 * Add `postcss.stringify` method.
110 * Throw descriptive errors for incorrectly formatted plugins.
111 * Add docs to npm release.
112 * Fix `url()` parsing.
113 * Fix Windows support (by Jed Mao).
114
115 ## 4.1.16
116 * Fix errors without stack trace.
117
118 ## 4.1.15
119 * Allow asynchronous plugins to change processor plugins list (by Ben Briggs).
120
121 ## 4.1.14
122 * Fix for plugins packs defined by `postcss.plugin`.
123
124 ## 4.1.13
125 * Fix input inlined source maps with UTF-8 encoding.
126
127 ## 4.1.12
128 * Update Promise polyfill.
129
130 ## 4.1.11
131 * Fix error message on wrong plugin format.
132
133 ## 4.1.10
134 * Fix Promise behavior on sync plugin errors.
135 * Automatically fill `plugin` field in `CssSyntaxError`.
136 * Fix warning message (by Ben Briggs).
137
138 ## 4.1.9
139 * Speed up `node.clone()`.
140
141 ## 4.1.8
142 * Accepts `Processor` instance in `postcss()` constructor too.
143
144 ## 4.1.7
145 * Speed up `postcss.list` (by Bogdan Chadkin).
146
147 ## 4.1.6
148 * Fix Promise behavior on parsing error.
149
150 ## 4.1.5
151 * Parse at-words in declaration values.
152
153 ## 4.1.4
154 * Fix Promise polyfill dependency (by Anton Yakushev and Matija Marohnić).
155
156 ## 4.1.3
157 * Add Promise polyfill for node.js 0.10 and IE.
158
159 ## 4.1.2
160 * List helpers can be accessed independently `var space = postcss.list.space`.
161
162 ## 4.1.1
163 * Show deprecated message only once.
164
165 ## 4.1 “Marquis Andras”
166 * Asynchronous plugin support.
167 * Add warnings from plugins and `Result#messages`.
168 * Add `postcss.plugin()` to create plugins with a standard API.
169 * Insert nodes by CSS string.
170 * Show version warning message on error from an outdated plugin.
171 * Send `Result` instance to plugins as the second argument.
172 * Add `CssSyntaxError#plugin`.
173 * Add `CssSyntaxError#showSourceCode()`.
174 * Add `postcss.list` and `postcss.vendor` aliases.
175 * Add `Processor#version`.
176 * Parse wrong closing bracket.
177 * Parse `!important` statement with spaces and comments inside (by Ben Briggs).
178 * Throw an error on declaration without `prop` or `value` (by Philip Peterson).
179 * Fix source map mappings position.
180 * Add indexed source map support.
181 * Always set `error.generated`.
182 * Clean all source map annotation comments.
183
184 ## 4.0.6
185 * Remove `babel` from released package dependencies (by Andres Suarez).
186
187 ## 4.0.5
188 * Fix error message on double colon in declaration.
189
190 ## 4.0.4
191 * Fix indent detection in some rare cases.
192
193 ## 4.0.3
194 * Faster API with 6to5 Loose mode.
195 * Fix indexed source maps support.
196
197 ## 4.0.2
198 * Do not copy IE hacks to code style.
199
200 ## 4.0.1
201 * Add `source.input` to `Root` too.
202
203 ## 4.0 “Duke Flauros”
204 * Rename `Container#childs` to `nodes`.
205 * Rename `PostCSS#processors` to `plugins`.
206 * Add `Node#replaceValues()` method.
207 * Add `Node#moveTo()`, `moveBefore()` and `moveAfter()` methods.
208 * Add `Node#cloneBefore()` and `cloneAfter()` shortcuts.
209 * Add `Node#next()`, `prev()` and `root()` shortcuts.
210 * Add `Node#replaceWith()` method.
211 * Add `Node#error()` method.
212 * Add `Container#removeAll()` method.
213 * Add filter argument to `eachDecl()` and `eachAtRule()`.
214 * Add `Node#source.input` and move `source.file` or `source.id` to `input`.
215 * Change code indent, when node was moved.
216 * Better fix code style on `Rule`, `AtRule` and `Comment` nodes changes.
217 * Allow to create rules and at-rules by hash shortcut in append methods.
218 * Add class name to CSS syntax error output.
219
220 ## 3.0.7
221 * Fix IE filter parsing with multiple commands.
222 * Safer way to consume PostCSS object as plugin (by Maxime Thirouin).
223
224 ## 3.0.6
225 * Fix missing semicolon when comment comes after last declaration.
226 * Fix Safe Mode declaration parsing on unclosed blocks.
227
228 ## 3.0.5
229 * Fix parser to support difficult cases with backslash escape and brackets.
230 * Add `CssSyntaxError#stack` (by Maxime Thirouin).
231
232 ## 3.0.4
233 * Fix Safe Mode on unknown word before declaration.
234
235 ## 3.0.3
236 * Increase tokenizer speed (by Roman Dvornov).
237
238 ## 3.0.2
239 * Fix empty comment parsing.
240 * Fix `Root#normalize` in some inserts.
241
242 ## 3.0.1
243 * Fix Rhino JS runtime support.
244 * Typo in deprecated warning (by Maxime Thirouin).
245
246 ## 3.0 “Marquis Andrealphus”
247 * New parser, which become the fastest ever CSS parser written in JavaScript.
248 * Parser can now parse declarations and rules in one parent (like in `@page`)
249   and nested declarations for plugins like `postcss-nested`.
250 * Child nodes array is now in `childs` property, instead of `decls` and `rules`.
251 * `map.inline` and `map.sourcesContent` options are now `true` by default.
252 * Fix iterators (`each`, `insertAfter`) on children array changes.
253 * Use previous source map to show origin source of CSS syntax error.
254 * Use 6to5 ES6 compiler, instead of ES6 Transpiler.
255 * Use code style for manually added rules from existing rules.
256 * Use `from` option from previous source map `file` field.
257 * Set `to` value to `from` if `to` option is missing.
258 * Use better node source name when missing `from` option.
259 * Show a syntax error when `;` is missed between declarations.
260 * Allow to pass `PostCSS` instance or list of plugins to `use()` method.
261 * Allow to pass `Result` instance to `process()` method.
262 * Trim Unicode BOM on source maps parsing.
263 * Parse at-rules without spaces like `@import"file"`.
264 * Better previous `sourceMappingURL` annotation comment cleaning.
265 * Do not remove previous `sourceMappingURL` comment on `map.annotation: false`.
266 * Parse nameless at-rules in Safe Mode.
267 * Fix source map generation for nodes without source.
268 * Fix next child `before` if `Root` first child got removed.
269
270 ## 2.2.6
271 * Fix map generation for nodes without source (by Josiah Savary).
272
273 ## 2.2.5
274 * Fix source map with BOM marker support (by Mohammad Younes).
275 * Fix source map paths (by Mohammad Younes).
276
277 ## 2.2.4
278 * Fix `prepend()` on empty `Root`.
279
280 ## 2.2.3
281 * Allow to use object shortcut in `use()` with functions like `autoprefixer`.
282
283 ## 2.2.2
284 * Add shortcut to set processors in `use()` via object with `.postcss` property.
285
286 ## 2.2.1
287 * Send `opts` from `Processor#process(css, opts)` to processors.
288
289 ## 2.2 “Marquis Cimeies”
290 * Use GNU style syntax error messages.
291 * Add `Node#replace` method.
292 * Add `CssSyntaxError#reason` property.
293
294 ## 2.1.2
295 * Fix UTF-8 support in inline source map.
296 * Fix source map `sourcesContent` if there is no `from` and `to` options.
297
298 ## 2.1.1
299 * Allow to miss `to` and `from` options for inline source maps.
300 * Add `Node#source.id` if file name is unknown.
301 * Better detect splitter between rules in CSS concatenation tools.
302 * Automatically clone node in insert methods.
303
304 ## 2.1 “King Amdusias”
305 * Change Traceur ES6 compiler to ES6 Transpiler.
306 * Show broken CSS line in syntax error.
307
308 ## 2.0 “King Belial”
309 * Project was rewritten from CoffeeScript to ES6.
310 * Add Safe Mode to works with live input or with hacks from legacy code.
311 * More safer parser to pass all hacks from Browserhacks.com.
312 * Use real properties instead of magic getter/setter for raw properties.
313
314 ## 1.0 “Marquis Decarabia”
315 * Save previous source map for each node to support CSS concatenation
316   with multiple previous maps.
317 * Add `map.sourcesContent` option to add origin content to `sourcesContent`
318   inside map.
319 * Allow to set different place of output map in annotation comment.
320 * Allow to use arrays and `Root` in `Container#append` and same methods.
321 * Add `Root#prevMap` with information about previous map.
322 * Allow to use latest PostCSS from GitHub by npm.
323 * `Result` now is lazy and it will generate output CSS only if you use `css`
324   or `map` property.
325 * Use separated `map.prev` option to set previous map.
326 * Rename `inlineMap` option to `map.inline`.
327 * Rename `mapAnnotation` option to `map.annotation`.
328 * `Result#map` now return `SourceMapGenerator` object, instead of string.
329 * Run previous map autodetect only if input CSS contains annotation comment.
330 * Add `map: 'inline'` shortcut for `map: { inline: true }` option.
331 * `Node#source.file` now will contains absolute path.
332 * Clean `Declaration#between` style on node clone.
333
334 ## 0.3.5
335 * Allow to use `Root` or `Result` as first argument in `process()`.
336 * Save parsed AST to `Result#root`.
337
338 ## 0.3.4
339 * Better space symbol detect to read UTF-8 BOM correctly.
340
341 ## 0.3.3
342 * Remove source map hacks by using new Mozilla’s `source-map` (by Simon Lydell).
343
344 ## 0.3.2
345 * Add URI encoding support for inline source maps.
346
347 ## 0.3.1
348 * Fix relative paths from previous source map.
349 * Safer space split in `Rule#selectors` (by Simon Lydell).
350
351 ## 0.3 “Prince Seere”
352 * Add `Comment` node for comments between declarations or rules.
353 * Add source map annotation comment to output CSS.
354 * Allow to inline source map to annotation comment by data:uri.
355 * Fix source maps on Windows.
356 * Fix source maps for subdirectory (by Dmitry Nikitenko and Simon Lydell).
357 * Autodetect previous source map.
358 * Add `first` and `last` shortcuts to container nodes.
359 * Parse `!important` to separated property in `Declaration`.
360 * Allow to break iteration by returning `false`.
361 * Copy code style to new nodes.
362 * Add `eachInside` method to recursively iterate all nodes.
363 * Add `selectors` shortcut to get selectors array.
364 * Add `toResult` method to `Rule` to simplify work with several input files.
365 * Clean declaration’s `value`, rule’s `selector` and at-rule’s `params`
366   by storing spaces in `between` property.
367
368 ## 0.2 “Duke Dantalion”
369 * Add source map support.
370 * Add shortcuts to create nodes.
371 * Method `process()` now returns object with `css` and `map` keys.
372 * Origin CSS file option was renamed from `file` to `from`.
373 * Rename `Node#remove()` method to `removeSelf()` to fix name conflict.
374 * Node source was moved to `source` property with origin file
375   and node end position.
376 * You can set own CSS generate function.
377
378 ## 0.1 “Count Andromalius”
379 * Initial release.