Last 12 weeks · 0 commits
4 of 6 standards met
Upgrading from to , I get errors in my console: It seems the same error that #18 solved. I see in the diff that goes back to calling directly (instead of calling via ), so I'm guessing that's the issue. No idea what's the correct approach, though. Additional context My usage of is pretty vanilla: Screenshots of my console:
I just saw a couple node Node 18-related notes in the code. I'll add a couple more: Add support for in , even if unused locally https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1342 Use public fields instead of the constructor (this actually fixes the above issue automatically too) https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1993 Ensure that the type for matches these changes, since d.ts file is maintained manually
Repository: sindresorhus/p-timeout. Description: Timeout a promise after a specified amount of time Stars: 302, Forks: 36. Primary language: JavaScript. Languages: JavaScript (82%), TypeScript (18%). License: MIT. Latest release: v7.0.1 (9mo ago). Open PRs: 0, open issues: 0. Last activity: 9mo ago. Community health: 85%. Top contributors: sindresorhus, ronami, BendingBender, fregante, jopemachine, Kikobeats, buschtoens, jonidelv, kevva, zikaari and others.