nestjs / terminus

Terminus module for Nest framework (node.js) :robot:

Home Page:https://nestjs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

responseCheck "URL" type is undefined

rudemex opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I am building a centralized healtcheks module, but the URL data type is not defined and it breaks the build with pika.

image

Minimum reproduction code

-

Steps to reproduce

No response

Expected behavior

add import { URL } from 'url'; in this file https://github.com/nestjs/terminus/blob/master/lib/health-indicator/http/http.health.ts

Package version

8.0.3

NestJS version

8.2.5

Node.js version

14.15.4

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

Hi @rudemex , I advise you to leave a minimal reproduction of a clonable git repository so that the NestJS core team can evaluate the problem you have reported.

Move this issue to #1623