
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
slate-vue3
Advanced tools
slate-react library implemented with vue
Check out the live demo of all of the examples
const useFocused: () => Ref<boolean, boolean>
Get the current composing state of the editor. It deals with compositionstart, compositionupdate, compositionend events.
Composition events are triggered by typing (composing) with a language that uses a composition character (e.g. Chinese, Japanese, Korean, etc.) example. Some basic Git commands are:
const useFocused: () => Ref<boolean, boolean>
Get the current focused state of the editor.
const useReadOnly: () => Ref<boolean, boolean>
Get the current readOnly state of the editor.
const useSelected: () => ComputedRef<boolean>
Get the current selected state of an element.
const useSlate: () => Editor;
Get the current editor object from the React context. Re-renders the context whenever changes occur in the editor.
const useSelection: () => ComputedRef<boolean>
Get the current editor selection from the React context.
slate's codebase is monorepo managed with pnpm workspace
reactive implement
remove immer
rewrite implement for WeakMap
import types from globalThis in slate-dom
FAQs
slate-react library implemented with vue3
The npm package slate-vue3 receives a total of 112 weekly downloads. As such, slate-vue3 popularity was classified as not popular.
We found that slate-vue3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.