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

postcss-preset-env

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-preset-env - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

5

CHANGELOG.md
# Changes to PostCSS Preset Env
### 6.0.2 (September 20, 2018)
- Fixed: Do not break on an empty `importFrom` object
- Fixed: Actually run `postcss-env-function`
### 6.0.1 (September 20, 2018)

@@ -4,0 +9,0 @@

14

index.cjs.js

@@ -15,2 +15,3 @@ 'use strict';

var postcssDirPseudoClass = _interopDefault(require('postcss-dir-pseudo-class'));
var postcssEnvFunction = _interopDefault(require('postcss-env-function'));
var postcssFocusVisible = _interopDefault(require('postcss-focus-visible'));

@@ -74,2 +75,3 @@ var postcssFocusWithin = _interopDefault(require('postcss-focus-within'));

'dir-pseudo-class': postcssDirPseudoClass,
'environment-variables': postcssEnvFunction,
'focus-visible-pseudo-class': postcssFocusVisible,

@@ -117,4 +119,12 @@ 'focus-within-pseudo-class': postcssFocusWithin,

// ids ordered by execution
var idsByExecutionOrder = ['custom-properties', 'custom-property-sets', 'image-set-function', 'nesting-rules', 'logical-properties-and-values', 'custom-media-queries', 'media-query-ranges', 'custom-selectors', 'case-insensitive-attributes', 'rebeccapurple-color', 'hexadecimal-alpha-notation', 'lab-function', 'color-mod-function', 'color-functional-notation', 'system-ui-font-family', 'font-variant-property', 'all-property', 'matches-pseudo-class', 'not-pseudo-class', 'any-link-pseudo-class', 'dir-pseudo-class', 'break-properties', 'gap-properties', 'overflow-property', 'overflow-wrap-property', 'place-properties', 'focus-visible-pseudo-class', 'focus-within-pseudo-class'];
// ids ordered by required execution, then alphabetically
var idsByExecutionOrder = ['custom-media-queries', 'custom-properties', 'environment-variables', // run environment-variables here to access transpiled custom media params and properties
'image-set-function', // run images-set-function before nesting-rules so that it may fix nested media
'media-query-ranges', // run media-query-range here to prevent duplicate transpilation after nesting-rules
'nesting-rules', 'custom-selectors', // run custom-selectors after nesting-rules to correctly transpile &:--custom-selector
'any-link-pseudo-class', 'case-insensitive-attributes', 'focus-visible-pseudo-class', 'focus-within-pseudo-class', 'matches-pseudo-class', 'not-pseudo-class', // run matches-pseudo-class and bit-pseudo-class after other selectors have been transpiled
'logical-properties-and-values', // run logical-properties-and-values before dir-pseudo-class
'dir-pseudo-class', 'all-property', // run all-property before other property polyfills
'color-functional-notation', 'hexadecimal-alpha-notation', 'lab-function', 'rebeccapurple-color', 'color-mod-function', // run color-mod after other color modifications have finished
'break-properties', 'font-variant-property', 'gap-properties', 'overflow-property', 'overflow-wrap-property', 'place-properties', 'system-ui-font-family'];

@@ -121,0 +131,0 @@ var index = postcss.plugin('postcss-preset-env', opts => {

10

package.json
{
"name": "postcss-preset-env",
"version": "6.0.1",
"version": "6.0.2",
"description": "Convert modern CSS into something browsers understand",

@@ -39,7 +39,7 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>",

"postcss-color-rebeccapurple": "^4.0.1",
"postcss-custom-media": "^7.0.2",
"postcss-custom-properties": "^8.0.3",
"postcss-custom-selectors": "^5.1.1",
"postcss-custom-media": "^7.0.3",
"postcss-custom-properties": "^8.0.4",
"postcss-custom-selectors": "^5.1.2",
"postcss-dir-pseudo-class": "^5.0.0",
"postcss-env-function": "^2.0.1",
"postcss-env-function": "^2.0.2",
"postcss-focus-visible": "^4.0.0",

@@ -46,0 +46,0 @@ "postcss-focus-within": "^3.0.0",

Sorry, the diff of this file is not supported yet

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