Skip to content
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

.validate() false-positive #327

Closed
5 of 6 tasks
sindresorhus opened this issue Mar 16, 2021 · 1 comment
Closed
5 of 6 tasks

.validate() false-positive #327

sindresorhus opened this issue Mar 16, 2021 · 1 comment

Comments

@sindresorhus
Copy link

  • Are you running the latest version?
  • Have you included sample input, output, error, and expected output?
  • Have you checked if you are using correct configuration?
  • Did you try online tool?

Description

Input

<svg></svg> foo bar

Code

const parser = require('fast-xml-parser');

console.log(parser.validate('<svg></svg> foo bar'));

Output

true

expected data

Expected it to be false or an object describing the error.

Would you like to work on this issue?

  • Yes
  • No

Bookmark this repository for further updates.

@github-actions
Copy link

I'm glad you find this repository helpful. I'll try to address your issue ASAP. You can watch the repo for new changes or star it.

ludofischer added a commit to cssnano/cssnano that referenced this issue Apr 1, 2021
Cannot update is-svg past 4.2.2 because of a regression
caused by NaturalIntelligence/fast-xml-parser#327
ludofischer added a commit to cssnano/cssnano that referenced this issue Apr 1, 2021
Cannot update is-svg past 4.2.2 because of a regression
caused by NaturalIntelligence/fast-xml-parser#327
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

No branches or pull requests

1 participant