autoprefixer 7.2.2 → 7.2.6

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.
Files changed (59) hide show
  1. package/AUTHORS +24 -1
  2. package/CHANGELOG.md +12 -0
  3. package/README.md +18 -7
  4. package/lib/at-rule.js +3 -1
  5. package/lib/declaration.js +3 -1
  6. package/lib/hacks/align-content.js +3 -1
  7. package/lib/hacks/align-items.js +3 -1
  8. package/lib/hacks/align-self.js +3 -1
  9. package/lib/hacks/animation.js +3 -1
  10. package/lib/hacks/appearance.js +3 -1
  11. package/lib/hacks/background-size.js +3 -1
  12. package/lib/hacks/block-logical.js +3 -1
  13. package/lib/hacks/border-image.js +3 -1
  14. package/lib/hacks/border-radius.js +3 -1
  15. package/lib/hacks/break-props.js +3 -1
  16. package/lib/hacks/cross-fade.js +4 -2
  17. package/lib/hacks/display-flex.js +3 -1
  18. package/lib/hacks/display-grid.js +3 -1
  19. package/lib/hacks/filter-value.js +3 -1
  20. package/lib/hacks/filter.js +3 -1
  21. package/lib/hacks/flex-basis.js +3 -1
  22. package/lib/hacks/flex-direction.js +3 -1
  23. package/lib/hacks/flex-flow.js +3 -1
  24. package/lib/hacks/flex-grow.js +3 -1
  25. package/lib/hacks/flex-shrink.js +3 -1
  26. package/lib/hacks/flex-wrap.js +3 -1
  27. package/lib/hacks/flex.js +4 -2
  28. package/lib/hacks/fullscreen.js +3 -1
  29. package/lib/hacks/gradient.js +4 -2
  30. package/lib/hacks/grid-area.js +3 -1
  31. package/lib/hacks/grid-column-align.js +3 -1
  32. package/lib/hacks/grid-end.js +3 -1
  33. package/lib/hacks/grid-row-align.js +3 -1
  34. package/lib/hacks/grid-row-column.js +3 -1
  35. package/lib/hacks/grid-rows-columns.js +3 -1
  36. package/lib/hacks/grid-start.js +3 -1
  37. package/lib/hacks/grid-template-areas.js +22 -9
  38. package/lib/hacks/grid-template.js +3 -1
  39. package/lib/hacks/image-rendering.js +3 -1
  40. package/lib/hacks/image-set.js +3 -1
  41. package/lib/hacks/inline-logical.js +3 -1
  42. package/lib/hacks/intrinsic.js +3 -1
  43. package/lib/hacks/justify-content.js +3 -1
  44. package/lib/hacks/mask-border.js +3 -1
  45. package/lib/hacks/order.js +3 -1
  46. package/lib/hacks/pixelated.js +3 -1
  47. package/lib/hacks/placeholder.js +3 -1
  48. package/lib/hacks/text-decoration.js +3 -1
  49. package/lib/hacks/text-emphasis-position.js +3 -1
  50. package/lib/hacks/transform-decl.js +3 -1
  51. package/lib/hacks/writing-mode.js +3 -1
  52. package/lib/prefixer.js +1 -1
  53. package/lib/prefixes.js +1 -1
  54. package/lib/resolution.js +3 -1
  55. package/lib/selector.js +3 -1
  56. package/lib/transition.js +2 -2
  57. package/lib/utils.js +1 -1
  58. package/lib/value.js +13 -6
  59. package/package.json +4 -86
package/AUTHORS CHANGED
@@ -15,8 +15,10 @@ Adriaan <https://github.com/harianus>
15
15
  Aleksei Androsov <aandrosov@yandex-team.ru>
16
16
  Aleksey Shvayka <shvaikalesh@gmail.com>
17
17
  Aleks Hudochenkov <aleks@hudochenkov.com>
18
+ Alexey Komarov <alex7kom@gmail.com>
18
19
  Alexey Plutalov <demiazz.py@gmail.com>
19
20
  Anders Olsen Sandvik <https://github.com/Andersos>
21
+ Andreas Haller <Andreas.Haller@invision.de>
20
22
  Andreas Lind <andreas@one.com>
21
23
  Andrew Rhoads <andrew.c.rhoads@gmail.com
22
24
  Andrey Deryabin <deriabin@gmail.com>
@@ -24,6 +26,7 @@ Andrey Sitnik <andrey@sitnik.ru>
24
26
  Andrey Taritsyn <taritsyn@gmail.com>
25
27
  Andy Trevorah <a.trevorah@gmail.com>
26
28
  Anton Khlynovskiy <subzey@gmail.com>
29
+ Artem Yavorsky <info@yavorsky.org>
27
30
  aruseni <aruseni.magiku@gmail.com>
28
31
  Ben Briggs <beneb.info@gmail.com>
29
32
  bernig <https://github.com/bernig>
@@ -38,6 +41,9 @@ Craig Martin <https://github.com/craigmichaelmartin>
38
41
  Damon <motoxer4533@gmail.com>
39
42
  Daniel Garcia-Carrillo <garciacarrillo.daniel@gmail.com>
40
43
  Daniel Tschinder <daniel@tschinder.de>
44
+ Danny Pule <kojikusan@gmail.com>
45
+ Darius
46
+ David Narbutovich <vamnemne@gmail.com>
41
47
  David Pike <david@evolution7.com.au>
42
48
  Denis Sokolov <denis@sokolov.cc>
43
49
  Dominik Porada <dominik@porada.co>
@@ -48,7 +54,9 @@ Efremov Alexey <lexich121@gmail.com>
48
54
  eitanr <eitanr@wix.com>
49
55
  Erik Sundahl <esundahl@gmail.com>
50
56
  Eugene Datsky <eugene@datsky.ru>
57
+ Evgeny Petukhov <petukhov.yevgeny@gmail.com>
51
58
  Evilebot Tnawi <sheo13666q@gmail.com>
59
+ Fangzhou Li <riophaelee@gmail.com>
52
60
  Forrest York <https://github.com/badisa>
53
61
  Google Inc.
54
62
  Gregory Eremin <magnolia_fan@me.com>
@@ -60,17 +68,22 @@ Igor Adamenko <https://github.com/igoradamenko>
60
68
  Jack Moore <hello@jacklmoore.com>
61
69
  Jason Kuhrt <jasonkuhrt@me.com>
62
70
  Jeff Escalante <hello@jenius.me>
71
+ Joan León <joan.leon@gmail.com>
63
72
  Johannes J. Schmidt <schmidt@netzmerk.com>
64
73
  John Kreitlow <jkreitlow@deepfocus.net>
65
74
  Jonathan Ong <jonathanrichardong@gmail.com>
66
75
  Josh Gillies <github@joshgilli.es>
76
+ Junliang Huang
67
77
  jvdanilo <jvdanilo@gmail.com>
78
+ Kevin Pfefferle <kevin@rebaseinteractive.com>
68
79
  Kieran <Kieranju@gmail.com>
69
80
  Kir Shatrov <shatrov@me.com>
81
+ Kiwi <vinh@wikiwi.io>
70
82
  kizu <kizmarh@gmail.com>
71
83
  Leonya Khachaturov <leonidkhachaturov@gmail.com>
72
84
  Lovchikov Anton <besyanya@yandex.ru>
73
85
  L.T <ec.huyinghuan@gmail.com>
86
+ Lucas Caton <lucascaton@gmail.com>
74
87
  Luciano Battagliero <lucianobattagliero+git@gmail.com>
75
88
  Luke Page <luke.a.page@gmail.com>
76
89
  martco <martco@gmail.com>
@@ -79,17 +92,22 @@ Maxime Thirouin <m@moox.io>
79
92
  Max Mechanic <max@philo.com>
80
93
  Michael Beil <michaelbeil@me.com>
81
94
  Michael Scott Hertzberg <mshertzberg@gmail.com>
82
- Michał Gołębiowski <m.goleb@gmail.com>
95
+ Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
83
96
  Mikael Jorhult <mikael@jorhult.se>
84
97
  Morton Fox <github@qslw.com>
85
98
  mvasilkov <mvasilkov@gmail.com>
86
99
  Nick Howes <nick@nickhowes.co.uk>
100
+ Nick Marchenko <n30n1ck@gmail.com>
87
101
  Nick Schonning <nschonni@gmail.com>
88
102
  nickspielgist <dev@nickspiel.me>
89
103
  Niels Dequeker <niels.dequeker@gmail.com>
90
104
  Nikolay Burlov <kohgpat@gmail.com>
105
+ Oleksandr Sergiienko <sigerello@gmail.com>
106
+ Pavel Pustovalov <pustovalov.pavel@gmail.com>
91
107
  Paul Statezny <Paulstatezny@gmail.com>
108
+ Peter van Westen <info@regularlabs.com>
92
109
  Peter Zotov <whitequark@whitequark.org>
110
+ Phil Dokas <phil@jetless.org>
93
111
  Rafael Silva <rafael@rafaelsilva.net>
94
112
  Ray Lehnhoff <raymond.lehnhoff@gmail.com>
95
113
  ReadmeCritic <frankensteinbot@gmail.com>
@@ -98,6 +116,9 @@ René Stalder <rene@whatwedo.ch>
98
116
  Richard Wang <richardwa@google.com>
99
117
  Rob Howell <rob@robhowell.com>
100
118
  Roland Warmerdam <rowno@webspirited.com>
119
+ Roman Dvornov <rdvornov@gmail.com>
120
+ Ryan Zimmerman
121
+ Sami Suo-Heikki <suoheikki.sami@gmail.com>
101
122
  Sasha Koss <koss@nocorp.me>
102
123
  Sean Anderson <Sean.Palmer.Anderson@gmail.com>
103
124
  Sergey Belov <peimei@ya.ru>
@@ -119,6 +140,8 @@ Vincent De Oliveira <vincent@iamvdo.me>
119
140
  Vishnu Ravi <vishnu@vishnu.io>
120
141
  Vladimir Pouzanov <farcaller@gmail.com>
121
142
  vladkens <vladkens@yandex.ru>
143
+ Yet Another Minion <yam@thinkalexandria.com>
122
144
  Даниил Пронин <mail@grawl.ru>
123
145
  一丝 <jie.lijie@alibaba-inc.com>
124
146
  刘祺 <gucong@gmail.com>
147
+ 忆初 <baby@justjavac.com>
package/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
+ ## 7.2.6
5
+ * Fix `-ms-` prefix for grid cells with same `grid-area` (by Evgeny Petukhov).
6
+
7
+ ## 7.2.5
8
+ * Fix multiple prefixes in declaration value.
9
+
10
+ ## 7.2.4
11
+ * Fix IE 10 support.
12
+
13
+ ## 7.2.3
14
+ * Fix `grid-template-areas` in `@media` (by Evgeny Petukhov).
15
+
4
16
  ## 7.2.2
5
17
  * Fix `_autoprefixerDisabled is undefined` issue.
6
18
 
package/README.md CHANGED
@@ -125,10 +125,10 @@ Autoprefixer uses [Browserslist], so you can specify the browsers
125
125
  you want to target in your project by queries like `last 2 versions`
126
126
  or `> 5%`.
127
127
 
128
- The best way to provide browsers is `browserslist` config
128
+ The best way to provide browsers is `.browserslistrc` config
129
129
  or `package.json` with `browserslist` key. Put it in your project root.
130
130
 
131
- We recommend to avoid Autoprefixer option and use `browserslist` config
131
+ We recommend to avoid Autoprefixer option and use `.browserslistrc` config
132
132
  or `package.json`. In this case browsers will be shared with other tools
133
133
  like [babel-preset-env] or [Stylelint].
134
134
 
@@ -480,6 +480,8 @@ Every Autoprefixer runner should display this warnings.
480
480
 
481
481
  ## Disabling
482
482
 
483
+ ### Prefixes
484
+
483
485
  Autoprefixer was designed to have no interface – it just works.
484
486
  If you need some browser specific hack just write a prefixed property
485
487
  after the unprefixed one.
@@ -494,14 +496,23 @@ a {
494
496
  If some prefixes were generated in a wrong way,
495
497
  please create an issue on GitHub.
496
498
 
497
- Autoprefixer has 4 features, which can be enabled or disabled by options:
499
+ ### Features
500
+
501
+ There are 4 plugin’s options to disable some Autoprefixer features.
498
502
 
499
503
  * `supports: false` will disable `@supports` parameters prefixing.
500
504
  * `flexbox: false` will disable flexbox properties prefixing.
501
505
  Or `flexbox: "no-2009"` will add prefixes only for final and IE
502
506
  versions of specification.
503
507
  * `remove: false` will disable cleaning outdated prefixes.
504
- * `grid: true` will enable Grid Layout prefixes for IE.
508
+
509
+ You shoud set them to the plugin:
510
+
511
+ ```js
512
+ autoprefixer({ grid: true });
513
+ ```
514
+
515
+ ### Control Comments
505
516
 
506
517
  If you do not need Autoprefixer in some part of your CSS,
507
518
  you can use control comments to disable Autoprefixer.
@@ -542,7 +553,7 @@ Function `autoprefixer(options)` returns new PostCSS plugin.
542
553
  See [PostCSS API] for plugin usage documentation.
543
554
 
544
555
  ```js
545
- var plugin = autoprefixer({ cascade: false });
556
+ autoprefixer({ cascade: false })
546
557
  ```
547
558
 
548
559
  There are 8 options:
@@ -578,11 +589,11 @@ to increase performance.
578
589
 
579
590
  ## Debug
580
591
 
581
- Run `npx autoprefixer-info` in your project directory to check
592
+ Run `npx autoprefixer-info --package autoprefixer` in your project directory to check
582
593
  which browsers are selected and which properties will be prefixed:
583
594
 
584
595
  ```
585
- $ npx autoprefixer-info
596
+ $ npx autoprefixer-info --package autoprefixer
586
597
  Browsers:
587
598
  Edge: 16
588
599
 
package/lib/at-rule.js CHANGED
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Prefixer = require('./prefixer');
10
12
 
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Prefixer = require('./prefixer');
10
12
  var Browsers = require('./browsers');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Declaration = require('../declaration');
10
12
 
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Declaration = require('../declaration');
10
12
  var utils = require('../utils');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Declaration = require('../declaration');
10
12
 
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Declaration = require('../declaration');
10
12
 
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Declaration = require('../declaration');
10
12
 
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Declaration = require('../declaration');
10
12
 
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Declaration = require('../declaration');
10
12
 
@@ -1,13 +1,15 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Value = require('../value');
10
- var list = require('postcss/lib/list');
12
+ var list = require('postcss').list;
11
13
 
12
14
  var CrossFade = function (_Value) {
13
15
  _inherits(CrossFade, _Value);
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var OldValue = require('../old-value');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Value = require('../value');
10
12
 
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Value = require('../value');
10
12
 
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var Declaration = require('../declaration');
10
12
 
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
package/lib/hacks/flex.js CHANGED
@@ -1,15 +1,17 @@
1
1
  'use strict';
2
2
 
3
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
+
3
5
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
6
 
5
7
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6
8
 
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
8
10
 
9
11
  var flexSpec = require('./flex-spec');
10
12
  var Declaration = require('../declaration');
11
13
 
12
- var list = require('postcss/lib/list');
14
+ var list = require('postcss').list;
13
15
 
14
16
  var Flex = function (_Declaration) {
15
17
  _inherits(Flex, _Declaration);