diff --git a/package-lock.json b/package-lock.json index a391c4085..01583e138 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "license": "MIT", "dependencies": { "jose": "^4.13.2", + "undici-types": "^6.15.0", "uuid": "^9.0.0" }, "devDependencies": { @@ -7257,6 +7258,11 @@ "node": ">=18.17" } }, + "node_modules/undici-types": { + "version": "6.18.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.1.tgz", + "integrity": "sha512-yay8kaNGEGjUrGtW1ubEVqeWDHFpEdB7Pw/v+n7b5clmBkTTZJJpAEYtRtaCJ5wTDpTLR/Dn9nPgjGBRaIhvFg==" + }, "node_modules/update-browserslist-db": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", @@ -12891,6 +12897,11 @@ "integrity": "sha512-VviMt2tlMg1BvQ0FKXxrz1eJuyrcISrL2sPfBf7ZskX/FCEc/7LeThQaoygsMJpNqrATWQIsRVx+1Dpe4jaYuQ==", "dev": true }, + "undici-types": { + "version": "6.18.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.1.tgz", + "integrity": "sha512-yay8kaNGEGjUrGtW1ubEVqeWDHFpEdB7Pw/v+n7b5clmBkTTZJJpAEYtRtaCJ5wTDpTLR/Dn9nPgjGBRaIhvFg==" + }, "update-browserslist-db": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", diff --git a/package.json b/package.json index 9c801a72d..2e57912fe 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,8 @@ "homepage": "https://github.com/auth0/node-auth0", "dependencies": { "jose": "^4.13.2", - "uuid": "^9.0.0" + "uuid": "^9.0.0", + "undici-types": "^6.15.0" }, "devDependencies": { "@types/jest": "^29.5.0", diff --git a/src/lib/models.ts b/src/lib/models.ts index 9c72c0539..70851b8f8 100644 --- a/src/lib/models.ts +++ b/src/lib/models.ts @@ -1,5 +1,5 @@ import { RetryConfiguration } from './retry.js'; -import { Dispatcher } from 'undici'; +import { Dispatcher } from 'undici-types'; /** * @private