Closed hcomnetworkers closed 5 years ago
objectifier is manipulating the input node, this can cause problems when calling it multiple times.
In particular when !important declarations are included, multiple calls to objectify will yield different results because the child.value is mutated: https://github.com/postcss/postcss-js/blob/master/objectifier.js#L43
!important
child.value
The objectifier should not have side effects.
Fixed 3ba9103
Released in 2.0.1
objectifier is manipulating the input node, this can cause problems when calling it multiple times.
In particular when
!important
declarations are included, multiple calls to objectify will yield different results because thechild.value
is mutated: https://github.com/postcss/postcss-js/blob/master/objectifier.js#L43The objectifier should not have side effects.