Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-autoreset

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-autoreset - npm Package Compare versions

Comparing version 1.2.1 to 2.0.0

3

CHANGELOG.md

@@ -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!

2

dist/index.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc