Skip to content

v7 Changelog #152

@tiwe-ppi

Description

@tiwe-ppi

Documentation Is:

  • Missing
  • Needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

I tried to update from v6.0.2 to v7.0.0 and noticed that there are breaking change since this is no longer possible:

import { parse } from 'postcss-values-parser';

parse(`var(--foo)`).walkWords((word) => {
  if (word.isVariable) {
    console.log(word.value);
  }
});

Property 'walkWords' does not exist on type 'Root'.

Unfortunately, I could not find a list of changes or instructions for migration. Thanks for creating this, it has been really helpful :)

Your Proposal for Changes

Provide a changelog / maybe even a migration guide for v6 -> v7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions