postcss 2.2.2 → 2.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.

Potentially problematic release.


This version of postcss might be problematic. Click here for more details.

package/lib/rule.js CHANGED
@@ -3,24 +3,24 @@ var Declaration = require('./declaration');
3
3
  var list = require('./list');
4
4
 
5
5
  // CSS rule like “a { }”
6
- var Rule = (function(super$0){var DP$0 = Object.defineProperty;var MIXIN$0 = function(t,s){for(var p in s){if(s.hasOwnProperty(p)){DP$0(t,p,Object.getOwnPropertyDescriptor(s,p));}}return t};"use strict";MIXIN$0(Rule, super$0);
6
+ var Rule = (function(super$0){"use strict";var PRS$0 = (function(o,t){o["__proto__"]={"a":t};return o["a"]===t})({},{});var DP$0 = Object.defineProperty;var GOPD$0 = Object.getOwnPropertyDescriptor;var MIXIN$0 = function(t,s){for(var p in s){if(s.hasOwnProperty(p)){DP$0(t,p,GOPD$0(s,p));}}return t};var SP$0 = Object.setPrototypeOf||function(o,p){o["__proto__"]=p;return o};var OC$0 = Object.create;if(!PRS$0)MIXIN$0(Rule, super$0);var proto$0={};
7
7
  function Rule(defaults) {
8
8
  this.type = 'rule';
9
9
  super$0.call(this, defaults);
10
- }Rule.prototype = Object.create(super$0.prototype, {"constructor": {"value": Rule, "configurable": true, "writable": true}, selectors: {"get": selectors$get$0, "set": selectors$set$0, "configurable": true, "enumerable": true} });DP$0(Rule, "prototype", {"configurable": false, "enumerable": false, "writable": false});
10
+ }if(super$0!==null)SP$0(Rule,super$0);Rule.prototype = OC$0(super$0!==null?super$0.prototype:null,{"constructor":{"value":Rule,"configurable":true,"writable":true}, selectors: {"get": selectors$get$0, "set": selectors$set$0, "configurable":true,"enumerable":true}});DP$0(Rule,"prototype",{"configurable":false,"enumerable":false,"writable":false});
11
11
 
12
12
  // Different style for empty and non-empty rules
13
- Rule.prototype.styleType = function() {
13
+ proto$0.styleType = function() {
14
14
  return this.type + (this.decls.length ? '-body' : '-empty');
15
- }
15
+ };
16
16
 
17
- Rule.prototype.defaultStyle = function(type) {
17
+ proto$0.defaultStyle = function(type) {
18
18
  if ( type == 'rule-body' ) {
19
19
  return { between: ' ', after: this.defaultAfter() };
20
20
  } else {
21
21
  return { between: ' ', after: '' };
22
22
  }
23
- }
23
+ };
24
24
 
25
25
  // Shortcut to get selectors as array
26
26
 
@@ -33,10 +33,10 @@ var Rule = (function(super$0){var DP$0 = Object.defineProperty;var MIXIN$0 = fun
33
33
  }
34
34
 
35
35
  // Stringify rule
36
- Rule.prototype.stringify = function(builder) {
36
+ proto$0.stringify = function(builder) {
37
37
  this.stringifyBlock(builder,
38
38
  this.stringifyRaw('selector') + this.style().between + '{');
39
- }
40
- ;return Rule;})(Container.WithDecls);
39
+ };
40
+ MIXIN$0(Rule.prototype,proto$0);proto$0=void 0;return Rule;})(Container.WithDecls);
41
41
 
42
42
  module.exports = Rule;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "2.2.2",
3
+ "version": "2.2.6",
4
4
  "description": "Framework for CSS postprocessors with full source map support",
5
5
  "keywords": ["css", "parser", "postproccessor", "source map"],
6
6
  "author": "Andrey Sitnik <andrey@sitnik.ru>",
@@ -10,26 +10,26 @@
10
10
  "url": "https://github.com/postcss/postcss.git"
11
11
  },
12
12
  "dependencies": {
13
- "source-map": "~0.1.38",
13
+ "source-map": "~0.1.40",
14
14
  "js-base64": "~2.1.5"
15
15
  },
16
16
  "devDependencies": {
17
17
  "gulp-es6-transpiler": "1.0.0",
18
18
  "gulp-json-editor": "2.0.2",
19
- "jshint-stylish": "0.4.0",
19
+ "jshint-stylish": "1.0.0",
20
20
  "gulp-jshint": "1.8.4",
21
21
  "gonzales-pe": "3.0.0-10",
22
- "gulp-mocha": "1.0.0",
23
- "gulp-util": "3.0.0",
24
- "fs-extra": "0.11.0",
22
+ "gulp-mocha": "1.1.0",
23
+ "gulp-util": "3.0.1",
24
+ "fs-extra": "0.12.0",
25
25
  "gonzales": "1.0.7",
26
- "request": "2.40.0",
27
- "rework": "1.0.0",
26
+ "request": "2.44.0",
27
+ "rework": "1.0.1",
28
28
  "should": "4.0.4",
29
29
  "mocha": "1.21.4",
30
30
  "cssom": "0.3.0",
31
- "gulp": "3.8.7",
32
- "es6-transpiler": "~0.7.14-2"
31
+ "gulp": "3.8.8",
32
+ "es6-transpiler": "0.7.16"
33
33
  },
34
34
  "scripts": {
35
35
  "test": "gulp"