supertokens / supertokens-node

Node SDK for SuperTokens core
https://supertokens.com
Other
304 stars 82 forks source link

fix: failing tests for domain parse util function #931

Closed deepjyoti30-st closed 1 month ago

deepjyoti30-st commented 1 month ago

Summary of change

This commit fixes the updated domain parse util function (that uses tldts) to make sure all tests pass.

Tests were failing as a side effect of #930 due to some behavioural changes between psl and tldts.

Related issues

Test Plan

Both config.test.js and utils.test.js should pass

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)

Checklist for important updates

cloudflare-workers-and-pages[bot] commented 1 month ago

Deploying supertokens-node-pr-check-for-edge-function-compat with  Cloudflare Pages  Cloudflare Pages

Latest commit: 352e58a
Status: ✅  Deploy successful!
Preview URL: https://57541fbe.supertokens-node-b95.pages.dev

View logs