opencomponents / oc-template-react

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

Update css-loader in packages/oc-template-react-compiler/package.json from 1.0.1 to 3.0.0 #493

Closed dependencies[bot] closed 5 years ago

dependencies[bot] commented 5 years ago

Overview

The following dependencies have been updated by dependencies.io:

Details

css-loader

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

2.0.0 # [2.0.0](https://github.com/webpack-contrib/css-loader/compare/v1.0.1...v2.0.0) (2018-12-07) The main **BREAKING CHANGES**: - css modules **are disabled by default**, you need setup their use `modules` option. You can setup their using `local` (`true` is alias for this value) and `global` (previous behaviour) value. Why it is disabled by default? A lot of developers use `css` without css modules features and they get performance problems due `postcss` plugins spend time on analyze and processing file. - resolving logic for `uls()` and `import` at-rules works the same everywhere, it does not matter whether css modules are enabled (with `global` and `local` module) or not. Examples - `url('image.png')` as `require('./image.png')`, `url('./image.png')` as `require('./image.png')`, `url('~module/image.png')` as `require('module/image.png')`. ### Bug Fixes * broken unucode characters ([#850](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/850)) ([f599c70](https://github.com/webpack-contrib/css-loader/commit/f599c70)) * correctly processing `urls()` with `?#hash` ([#803](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/803)) ([417d105](https://github.com/webpack-contrib/css-loader/commit/417d105)) * don't break loader on invalid or not exists url or import token ([#827](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/827)) ([9e52d26](https://github.com/webpack-contrib/css-loader/commit/9e52d26)) * don't duplicate import with same media in different case ([#819](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/819)) ([9f66e33](https://github.com/webpack-contrib/css-loader/commit/9f66e33)) * emit warnings on broken `import` at-rules ([#806](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/806)) ([4bdf08b](https://github.com/webpack-contrib/css-loader/commit/4bdf08b)) * handle uppercase `URL` in `import` at-rules ([#818](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/818)) ([3ebdcd5](https://github.com/webpack-contrib/css-loader/commit/3ebdcd5)) * inconsistent generate class names for css modules on difference os ([#812](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/812)) ([0bdf9b7](https://github.com/webpack-contrib/css-loader/commit/0bdf9b7)) * reduce number of `require` for `urls()` ([#854](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/854)) ([3338656](https://github.com/webpack-contrib/css-loader/commit/3338656)) * support deduplication of string module ids (optimization.namedModules) ([#789](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/789)) ([e3bb83a](https://github.com/webpack-contrib/css-loader/commit/e3bb83a)) * support module resolution in `composes` ([#845](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/845)) ([453248f](https://github.com/webpack-contrib/css-loader/commit/453248f)) * same `urls()` resolving logic for `modules` (`local` and `global`) and without modules ([#843](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/843)) ([fdcf687](https://github.com/webpack-contrib/css-loader/commit/fdcf687)) ### Features * allow to disable css modules and **disable their by default** ([#842](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/842)) ([889dc7f](https://github.com/webpack-contrib/css-loader/commit/889dc7f)) * disable `import` option doesn't affect on `composes` ([#822](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/822)) ([f9aa73c](https://github.com/webpack-contrib/css-loader/commit/f9aa73c)) * allow to filter `urls` ([#856](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/856)) ([5e702e7](https://github.com/webpack-contrib/css-loader/commit/5e702e7)) * allow to filter `import` at-rules ([#857](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/857)) ([5e6034c](https://github.com/webpack-contrib/css-loader/commit/5e6034c)) * emit warning on invalid `urls()` ([#832](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/832)) ([da95db8](https://github.com/webpack-contrib/css-loader/commit/da95db8)) * added `exportOnlyLocals` option ([#824](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/824)) ([e9327c0](https://github.com/webpack-contrib/css-loader/commit/e9327c0)) * reuse `postcss` ast from other loaders (i.e `postcss-loader`) ([#840](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/840)) ([1dad1fb](https://github.com/webpack-contrib/css-loader/commit/1dad1fb)) * schema options ([b97d997](https://github.com/webpack-contrib/css-loader/commit/b97d997)) ### BREAKING CHANGES * resolving logic for `uls()` and `import` at-rules works the same everywhere, it does not matter whether css modules are enabled (with `global` and `local` module) or not. Examples - `url('image.png')` as `require('./image.png')`, `url('./image.png')` as `require('./image.png')`, `url('~module/image.png')` as `require('module/image.png')`. * by default css modules are disabled (now `modules: false` disable all css modules features), you can return old behaviour change this on `modules: 'global'` * `css-loader/locals` was dropped in favor `exportOnlyLocals` option * `import` option only affect on `import` at-rules and doesn't affect on `composes` declarations * invalid `@import` at rules now emit warnings * use `postcss@7` ### Bonus * code refactoring, updating deps and reusing `postcss` ast increase performance
2.0.1 # [2.0.1](https://github.com/webpack-contrib/css-loader/compare/v2.0.0...v2.0.1) (2018-12-14) ### Bug Fixes * safe checking if params are present for at rule ([#871](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/871)) ([a88fed1](https://github.com/webpack-contrib/css-loader/commit/a88fed1)) * `getLocalIdent` now accepts `false` value ([#865](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/865)) ([1825e8a](https://github.com/webpack-contrib/css-loader/commit/1825e8a))
2.0.2 ## [2.0.2](https://github.com/webpack-contrib/css-loader/compare/v2.0.1...v2.0.2) (2018-12-21) ### Bug Fixes * inappropriate modification of animation keywords ([#876](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/876)) ([dfb2f8e](https://github.com/webpack-contrib/css-loader/commit/dfb2f8e))
2.1.0 # [2.1.0](https://github.com/webpack-contrib/css-loader/compare/v2.0.2...v2.1.0) (2018-12-25) ### Features * support `image-set` without `url` ([#879](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/879)) ([21884e2](https://github.com/webpack-contrib/css-loader/commit/21884e2))
2.1.1 ## [2.1.1](https://github.com/webpack-contrib/css-loader/compare/v2.1.0...v2.1.1) (2019-03-07) ### Bug Fixes * do not break selector with escaping ([#896](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/896)) ([0ba8c66](https://github.com/webpack-contrib/css-loader/commit/0ba8c66)) * source map generation when `sourceRoot` is present ([#901](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/901)) ([e9ce745](https://github.com/webpack-contrib/css-loader/commit/e9ce745)) * sourcemap generating when previous loader pass sourcemap as string ([#905](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/905)) ([3797e4d](https://github.com/webpack-contrib/css-loader/commit/3797e4d))
3.0.0 ## [3.0.0](https://github.com/webpack-contrib/css-loader/compare/v2.1.1...v3.0.0) (2019-06-11) ### Bug Fixes * avoid the "from" argument must be of type string error ([#908](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/908)) ([e5dfd23](https://github.com/webpack-contrib/css-loader/commit/e5dfd23)) * invert `Function` behavior for `url` and `import` options ([#939](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/939)) ([e9eb5ad](https://github.com/webpack-contrib/css-loader/commit/e9eb5ad)) * properly export locals with escaped characters ([#917](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/917)) ([a0efcda](https://github.com/webpack-contrib/css-loader/commit/a0efcda)) * property handle non css characters in localIdentName ([#920](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/920)) ([d3a0a3c](https://github.com/webpack-contrib/css-loader/commit/d3a0a3c)) ### Features * modules options now accepts object config ([#937](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/937)) ([1d7a464](https://github.com/webpack-contrib/css-loader/commit/1d7a464)) * support `@value` at-rule in selectors ([#941](https://www.dependencies.io/github-redirect/webpack-contrib/css-loader/issues/941)) ([05a42e2](https://github.com/webpack-contrib/css-loader/commit/05a42e2)) ### BREAKING CHANGES * minimum required nodejs version is 8.9.0 * `@value` at rules now support in `selector`, recommends checking all `@values` at-rule usage (hint: you can add prefix to all `@value` at-rules, for example `@value v-foo: black;` or `@value m-foo: screen and (max-width: 12450px)`, and then do upgrade) * invert `{Function}` behavior for `url` and `import` options (need return `true` when you want handle `url`/`@import` and return `false` if not) * `exportLocalsStyle` option was remove in favor `localsConvention` option, also it is accept only `{String}` value (use `camelCase` value if you previously value was `true` and `asIs` if you previously value was `false`) * `exportOnlyLocals` option was remove in favor `onlyLocals` option * `modules` option now can be `{Object}` and allow to setup `CSS Modules` options: * `localIdentName` option was removed in favor `modules.localIdentName` option * `context` option was remove in favor `modules.context` option * `hashPrefix` option was removed in favor `modules.hashPrefix` option * `getLocalIdent` option was removed in favor `modules.getLocalIdent` option * `localIdentRegExp` option was removed in favor `modules.localIdentRegExp` option
dependencies[bot] commented 5 years ago

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