postcss-autoreset
Advanced tools
Comparing version 1.2.1 to 2.0.0
@@ -8,2 +8,5 @@ # Change Log | ||
## [2.0.0] - 2017-07-30 | ||
- Update to PostCSS 6 | ||
## [1.2.1] - 2016-10-09 | ||
@@ -10,0 +13,0 @@ Thnx to @giuseppeg and simonsmith for contribution! |
@@ -30,3 +30,3 @@ 'use strict'; | ||
exports.default = _postcss2.default.plugin('postcss-autoreset', function () { | ||
var opts = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; | ||
var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
@@ -33,0 +33,0 @@ opts.rulesMatcher = opts.rulesMatcher || 'bem'; |
'use strict'; | ||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | ||
var resetSizes = { | ||
@@ -22,3 +23,3 @@ margin: 0, | ||
function getReset() { | ||
var value = arguments.length <= 0 || arguments[0] === undefined ? 'initial' : arguments[0]; | ||
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'initial'; | ||
@@ -25,0 +26,0 @@ if (isObject(value)) { |
@@ -25,3 +25,3 @@ 'use strict'; | ||
function getRulesMatcher() { | ||
var value = arguments.length <= 0 || arguments[0] === undefined ? 'bem' : arguments[0]; | ||
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'bem'; | ||
@@ -28,0 +28,0 @@ if (typeof value === 'function') { |
{ | ||
"name": "postcss-autoreset", | ||
"version": "1.2.1", | ||
"version": "2.0.0", | ||
"description": "PostCSS plugin for partial styles reset", | ||
@@ -40,14 +40,14 @@ "main": "dist/index.js", | ||
"babel-cli": "^6.4.0", | ||
"babel-eslint": "^5.0.0-beta6", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-eslint": "^7.2.3", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-register": "^6.3.13", | ||
"eslint": "^1.2.1", | ||
"husky": "^0.10.2", | ||
"mocha": "^2.3.4" | ||
"eslint": "^3.19.0", | ||
"husky": "^0.13.4", | ||
"mocha": "^3.4.2" | ||
}, | ||
"dependencies": { | ||
"postcss": "^5.0.14", | ||
"postcss-js": "^0.1.1" | ||
"postcss": "^6.0.1", | ||
"postcss-js": "^1.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11827
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedpostcss@6.0.23(transitive)
+ Addedpostcss-js@1.0.1(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsupports-color@5.5.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedjs-base64@2.6.4(transitive)
- Removedpostcss@5.2.18(transitive)
- Removedpostcss-js@0.1.3(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.03.2.3(transitive)
Updatedpostcss@^6.0.1
Updatedpostcss-js@^1.0.0