From 71a3f7c7ab59a7a16706ccbb1055cbf55bbc7b2c Mon Sep 17 00:00:00 2001 From: Bradley Heubel Date: Wed, 12 Jul 2023 23:38:22 +1000 Subject: [PATCH] Update index.ts Fix issue NodeJS cannot find module regenerator-runtime/runtime #32 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 25fe39f..4a3a3e4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import type perftools from 'pprof/proto/profile' import debug from 'debug' import axios, { AxiosBasicCredentials, AxiosError } from 'axios' import FormData from 'form-data' -import 'regenerator-runtime/runtime' +import 'regenerator-runtime/runtime.js' type TagList = Record