Skip to content

Unable to clone value with quotes characters #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
marcalexiei opened this issue Nov 17, 2021 · 0 comments · Fixed by #142
Closed

Unable to clone value with quotes characters #141

marcalexiei opened this issue Nov 17, 2021 · 0 comments · Fixed by #142

Comments

@marcalexiei
Copy link
Contributor

  • Operating System (or Browser): MacOS
  • Node Version: 14
  • postcss-values-parser Version: 6.0.0

How Do We Reproduce?

require("postcss");
const { parse } = require('postcss-values-parser');
 
const root = parse('attr("test")');
const node = root.clone();

You can reproduce the issue on this Runkit example

Expected Behavior

Node is clone correctly.

Actual Behavior.

An error is thrown: Cannot read property 'value' of undefined from Quoted class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant