-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
refactor: replace synckit
with make-synchronized
#1366
Conversation
92f05b7
to
e44ca59
Compare
Again, performance should be taken into account, This is not really cool. |
I don't really care people using my package or not, just trying to help. I don't even know what "TypeScript and native PnP support" mean, as I understand they all use Node.js loaders, and worker automatically inherit them, libs don't need do anything. Anyway, Feel feel to revert. |
See jest failng test case: jestjs/jest#15546 |
That's not related at all... |
This is not the right place to discuss this. Feel free to open an issue at |
Not sure what's your meaning: /Users/runner/work/jest/jest/packages/jest-snapshot/src/__tests__/printSnapshot.test.ts
● Test suite failed to run
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /Users/runner/work/jest/jest/packages/jest-snapshot/src/prettier.ts
This is incorrect for PnP at least. There is no auto inherit at all. |
)" This reverts commit f8e9960.
Before I revert, do we have some benchmarks showing the better performance? |
🎉 This issue has been resolved in version 50.6.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I found something interesting when playing with
I understand it should wait for let parse = functionSynchronizedWithWhatever
wasmLoadPromise.then(() => {
// Swith parse to the original one
pares = parseImportsPackage.parseImportsSync
})
const parseImports = code => parse(code) |
|
No, I'd rather use the battle-tested I created the proposal months ago, but haven't got time to get my hands on implementing it. un-ts/eslint-plugin-import-x#201 |
make-synchronized
has a simpler API to use.