-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: Sanitise operations on commit to ShareDB #2484
Conversation
"jsonwebtoken": "^8.5.1", | ||
"pg": "^8.11.3", | ||
"sharedb": "^3.3.1", | ||
"sharedb": "^4.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only breaking changes in v4 is dropped support for Node 14.
@@ -16,6 +18,10 @@ const sharedb = new ShareDB({ | |||
}), | |||
}); | |||
|
|||
// Setup JSDOM and DOMPurify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hadn't totally connected last week that sharedb qualifies as "on the server" and therefore was trying to use without JSDOM, but this makes much more sense in hindsight 👍
Removed vultr server and associated DNS entries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sorting this one out!
@@ -16,6 +18,10 @@ const sharedb = new ShareDB({ | |||
}), | |||
}); | |||
|
|||
// Setup JSDOM and DOMPurify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hadn't totally connected last week that sharedb qualifies as "on the server" and therefore was trying to use without JSDOM, but this makes much more sense in hindsight 👍
What does this PR do?
Next steps
Demo
Screen.Recording.2023-11-27.at.14.53.29.mov