This repository has been archived by the owner on Dec 27, 2023. It is now read-only.
Update css-loader in packages/oc-template-react-compiler/package.json from 1.0.1 to 3.4.1 #618
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
The following dependencies have been updated by dependencies.io:
css-loader
inpackages/oc-template-react-compiler/package.json
from "1.0.1" to "3.4.1"Details
css-loader
This dependency is located in
packages/oc-template-react-compiler/package.json
and was updated from "1.0.1" to "3.4.1".2.0.0
2.0.0 (2018-12-07)
The main BREAKING CHANGES:
modules
option. You can setup their usinglocal
(true
is alias for this value) andglobal
(previous behaviour) value. Why it is disabled by default? A lot of developers usecss
without css modules features and they get performance problems duepostcss
plugins spend time on analyze and processing file.uls()
andimport
at-rules works the same everywhere, it does not matter whether css modules are enabled (withglobal
andlocal
module) or not. Examples -url('image.png')
asrequire('./image.png')
,url('./image.png')
asrequire('./image.png')
,url('~module/image.png')
asrequire('module/image.png')
.Bug Fixes
urls()
with?#hash
(#803) (417d105)import
at-rules (#806) (4bdf08b)URL
inimport
at-rules (#818) (3ebdcd5)require
forurls()
(#854) (3338656)composes
(#845) (453248f)urls()
resolving logic formodules
(local
andglobal
) and without modules (#843) (fdcf687)Features
import
option doesn't affect oncomposes
(#822) (f9aa73c)urls
(#856) (5e702e7)import
at-rules (#857) (5e6034c)urls()
(#832) (da95db8)exportOnlyLocals
option (#824) (e9327c0)postcss
ast from other loaders (i.epostcss-loader
) (#840) (1dad1fb)BREAKING CHANGES
uls()
andimport
at-rules works the same everywhere, it does not matter whether css modules are enabled (withglobal
andlocal
module) or not. Examples -url('image.png')
asrequire('./image.png')
,url('./image.png')
asrequire('./image.png')
,url('~module/image.png')
asrequire('module/image.png')
.modules: false
disable all css modules features), you can return old behaviour change this onmodules: 'global'
css-loader/locals
was dropped in favorexportOnlyLocals
optionimport
option only affect onimport
at-rules and doesn't affect oncomposes
declarations@import
at rules now emit warningspostcss@7
Bonus
postcss
ast increase performance2.0.1
2.0.1 (2018-12-14)
Bug Fixes
getLocalIdent
now acceptsfalse
value (#865) (1825e8a)2.0.2
2.0.2 (2018-12-21)
Bug Fixes
2.1.0
2.1.0 (2018-12-25)
Features
image-set
withouturl
(#879) (21884e2)2.1.1
2.1.1 (2019-03-07)
Bug Fixes
sourceRoot
is present (#901) (e9ce745)3.0.0
3.0.0 (2019-06-11)
Bug Fixes
Function
behavior forurl
andimport
options (#939) (e9eb5ad)Features
@value
at-rule in selectors (#941) (05a42e2)BREAKING CHANGES
@value
at rules now support inselector
, 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){Function}
behavior forurl
andimport
options (need returntrue
when you want handleurl
/@import
and returnfalse
if not)exportLocalsStyle
option was remove in favorlocalsConvention
option, also it is accept only{String}
value (usecamelCase
value if you previously value wastrue
andasIs
if you previously value wasfalse
)exportOnlyLocals
option was remove in favoronlyLocals
optionmodules
option now can be{Object}
and allow to setupCSS Modules
options:localIdentName
option was removed in favormodules.localIdentName
optioncontext
option was remove in favormodules.context
optionhashPrefix
option was removed in favormodules.hashPrefix
optiongetLocalIdent
option was removed in favormodules.getLocalIdent
optionlocalIdentRegExp
option was removed in favormodules.localIdentRegExp
option3.1.0
3.1.0 (2019-07-18)
Bug Fixes
-
(it was regression in3.0.0
version) (#972) (f51859b)Features
modules.getLocalIdent
to return a falsy value (#963) (9c3571c)3.2.0
Bug Fixes
.
characters in localIndent to-
character (regression) (#982) (967fb66)Features
3.2.1
3.2.1 (2019-12-02)
Bug Fixes
url
function (#1001) (8f4d6f5)3.3.0
3.3.0 (2019-12-09)
Features
pure
css modules (#1008) (6177af5)Bug Fixes
null
orundefined
(#1006) (6769783)require
(#1004) (80e9662)3.3.1
3.3.1 (2019-12-12)
Bug Fixes
@import
at-rulesrequire
(#1014) (e091d27)3.3.2
3.3.2 (2019-12-12)
Bug Fixes
3.4.0
3.4.0 (2019-12-17)
Features
esModule
option (#1026) (d358cdb)Bug Fixes
3.4.1
3.4.1 (2020-01-03)
Bug Fixes
undefined
when sourceRoot is unavailable (#1036) (ded2a79)