opencomponents / oc-template-react

⚛️ Module for handling React templates in OC
MIT License
23 stars 16 forks source link

Update autoprefixer in packages/oc-template-react-compiler/package.json from 9.6.2 to 9.7.3 #602

Closed dependencies[bot] closed 4 years ago

dependencies[bot] commented 4 years ago

Overview

The following dependencies have been updated by dependencies.io:

Details

autoprefixer

This dependency is located in packages/oc-template-react-compiler/package.json and was updated from "9.6.2" to "9.7.3".

9.6.3 * Fix `Cannot read property 'startsWith' of undefined` error.
9.6.4 * Now the real fix for `'startsWith' of undefined` error.
9.6.5 * Fix selector prefixing (by fanich37).
9.7.0 Brotherhood of Steel coat of arms Autoprefixer 9.7 brings `AUTOPREFIXER_GRID` environment variable and huge performance improvments. ## Grid Environment Variable Autoprefixer can add [CSS Grid polyfills for IE](https://github.com/postcss/autoprefixer#does-autoprefixer-polyfill-grid-layout-for-ie). You need to manually enable it to prove that you understand the limits of polyfill. In previous versions you can enable Grid polyfill by `grid: 'autoplace'` option or by `/* autoprefixer grid: autoplace */` control comment. But in some cases, developers were not able to use both methods. For instance, during [work with Material UI’ CSS-in-JS in Create React App](https://www.dependencies.io/github-redirect/postcss/autoprefixer/issues/1257). Now Autoprefixer supports environment variable to enable CSS Grid polyfill: ```sh AUTOPREFIXER_GRID=autoplace npm build ``` ## Performance Improvements Knagis [found](https://www.dependencies.io/github-redirect/postcss/autoprefixer/issues/1256) that Browserslist takes 70% of the Autoprefixer time. ![Autoprefixer 9.6.5 profiling](https://user-images.githubusercontent.com/19343/67489064-e0a10400-f6ab-11e9-895b-1507608e2446.png) We did a lot of improvements in Browserslist and now Autoprefixer should work much faster. ![67417985-a283e180-f5d2-11e9-879a-e364c9acccf1](https://user-images.githubusercontent.com/19343/67489142-01695980-f6ac-11e9-96a2-c2cc169b6767.png) ## Other * Fix [`Cannot read property 'grid' of undefined`](https://www.dependencies.io/github-redirect/postcss/autoprefixer/issues/1244) error
9.7.1 * Avoid unnecessary transitions in prefixed selectors (by fanich37). * Fix `fit-content` for Firefox.
9.7.2 * Add `-ms-user-select: element` support. * Add funding link for `npm fund`.
9.7.3 * Fix compatibility with PostCSS Modules.
dependencies[bot] commented 4 years ago

This PR has been automatically closed in favor of #627.