Skip to content

Bug: Examples at https://www.npmjs.com/package/vuln-regex-detector#example not working #81

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

Open
thernstig opened this issue Feb 13, 2023 · 1 comment

Comments

@thernstig
Copy link

thernstig commented Feb 13, 2023

Trying the examples at https://www.npmjs.com/package/vuln-regex-detector#example we see it take a long time (more than 2 minutes) in .testSync() and .test() throws an error with reason INVALID.

Is this expected?

image

Run in:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
Node.js v18.12.1

@Pranav2612000
Copy link

Encountering the same error.
The Implementation Document says

This module queries a server hosted at Virginia Tech. When you use it, your regex will be shipped (via HTTPS) to the server and tested there.

So maybe the server at Virginia is down?

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

2 participants