tl-its-umich-edu / canvas-course-manager-next

Canvas Course Manager Next: A redesign of the existing CCM application. It extends Canvas features, makes cumbersome features easier to use, and adds new features.
8 stars 9 forks source link

Update p-limit to v5 #430

Open pushyamig opened 2 months ago

pushyamig commented 2 months ago

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: https://github.com/TypeStrong/ts-node/issues/1974 https://github.com/TypeStrong/ts-node/issues/1007#issuecomment-1373094552 https://nodejs.org/api/packages.html#subpath-imports https://github.com/sindresorhus/p-limit/blob/main/package.json#L18