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

Vulnerable dependency: ansi-regex #813

Closed
2 of 4 tasks
eclecto opened this issue Oct 8, 2021 · 1 comment
Closed
2 of 4 tasks

Vulnerable dependency: ansi-regex #813

eclecto opened this issue Oct 8, 2021 · 1 comment
Labels
bug Something isn't working needs triage

Comments

@eclecto
Copy link

eclecto commented Oct 8, 2021

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

npm audit results in:

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │  Inefficient Regular Expression Complexity in                │
│               │ chalk/ansi-regex                                             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ ansi-regex                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @nestjs/schematics [dev]                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ @nestjs/schematics > @angular-devkit/schematics > ora >      │
│               │ strip-ansi > ansi-regex                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-93q8-gq69-wqmw            │
└───────────────┴──────────────────────────────────────────────────────────────┘

Minimum reproduction code

https://github.com/nestjs/schematics

Steps to reproduce

  1. npm i @nestjs/schematics
  2. npm audit

Expected behavior

npm audit passes

Package version

7.0.0

NestJS version

7.0.7

Node.js version

12.13.1

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

See also:
GHSA-93q8-gq69-wqmw
nestjs/nest-cli#1358

@eclecto eclecto added bug Something isn't working needs triage labels Oct 8, 2021
@kamilmysliwiec
Copy link
Member

Package version
7.0.0
NestJS version
7.0.7

Update to the latest version and the error should be gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants