Skip to content

refactor: Complete refactor #290

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

Closed
wants to merge 37 commits into from
Closed

refactor: Complete refactor #290

wants to merge 37 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 17, 2019

No description provided.

pwnsdx added 7 commits August 14, 2019 16:31
- Also refactored getAsObject()
- Added a queuing system for the Proxy
- Added the ability to proxy statements calls from prepare()
@ghost ghost closed this Aug 17, 2019
@ghost
Copy link
Author

ghost commented Aug 17, 2019

My bad, sorry!

@lovasoa
Copy link
Member

lovasoa commented Aug 18, 2019

wow, it looks like you did a lot of nice work there! Why did you close the PR?

@ghost
Copy link
Author

ghost commented Aug 18, 2019

Hello, thank you for the comment! There is a a few differences that made me do a fork instead of a PR:

  • The fork uses Shared Worker which is not working on Safari, something you might want to keep (there might be a workaround by using Service Worker but the fact that they can be killed while the page is still there can be an issue), Web Workers will cause issue as they cannot communicate between each others and therefore opening multiple instances of the db (multiple tabs for example) will most likely create weird bugs, at worst corrupt the database.
  • I removed each and createFunction, which is not possible in an Shared Worker environment as you cannot pass functions when using postMessage (also I'm not using any of the two so that was easy to fix)
  • I removed ASM support, which you seems to keep
  • And to finish, I moved all the Coffeescript code to Typescript

If you are still interested in merging it in your main branch feel free to reach me at @pwnsdx on Twitter or Wire

Regards,
Sabri

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant