MadLittleMods / postcss-css-variables

PostCSS plugin to transform CSS Custom Properties(CSS variables) syntax into a static representation
https://madlittlemods.github.io/postcss-css-variables/playground/
Other
536 stars 62 forks source link

Using deprecated PostCSS methods #20

Closed mike-marcacci closed 8 years ago

mike-marcacci commented 8 years ago

Hey there! Just a heads-up that this is using some deprecated PostCSS methods (or so my logs tell me)!

Container#eachDecl is deprecated. Use Container#walkDecls instead.
Node#removeSelf is deprecated. Use Node#remove.
Container#eachRule is deprecated. Use Container#walkRules instead.
Container#eachAtRule is deprecated. Use Container#walkAtRules instead.
Node#style() is deprecated. Use Node#raw()
Node#before is deprecated. Use Node#raws.before
Node#_value was deprecated. Use Node#raws.value
MadLittleMods commented 8 years ago

Hey @mike-marcacci,

We need to update the PostCSS dependency to 5.x and use the new API methods.

MadLittleMods commented 8 years ago

postcss-css-variables@0.5.0 now uses PostCSS v5

mike-marcacci commented 8 years ago

Beautiful! Thanks for that!