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

Update p-limit to v5 #430

Open
pushyamig opened this issue Apr 12, 2024 · 0 comments
Open

Update p-limit to v5 #430

pushyamig opened this issue Apr 12, 2024 · 0 comments

Comments

@pushyamig
Copy link
Contributor

pushyamig commented Apr 12, 2024

Currently p-limit is on v4 and the latest v5. The Pkg uses a Node feature called sub-path imports and doesn't yet supported for ts-node. So the Development instance throw error but Prod works fine since we transpile the code using tsc

I felt rather than going for a workaround rather wait and see when ts-node community will do

Resources:
TypeStrong/ts-node#1974
TypeStrong/ts-node#1007 (comment)
https://nodejs.org/api/packages.html#subpath-imports
https://github.com/sindresorhus/p-limit/blob/main/package.json#L18

@pushyamig pushyamig added this to To Do in CCM Features via automation Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant