Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
automerge-repo-storage-origin-private-file-system
Advanced tools
An [Automerge](https://automerge.org/) [Repo](https://automerge.org/docs/repositories) [Storage adapter](https://automerge.org/docs/repositories/storage/) for using the browser's [Origin private file system](https://developer.mozilla.org/en-US/docs/Web/AP
An Automerge Repo Storage adapter for using the browser's Origin private file system as storage.
it uses the same speedy optimized filesystem layout as Automerge's own nodefs adapter, and is tested against the same storage adapter tests as the adapters that come with automerge-repo in Chromium and Firefox.
pnpm add automerge-repo-storage-origin-private-file-system
import {BrowserWebSocketClientAdapter} from "@automerge/automerge-repo-network-websocket"
import OriginPrivateFileSystemAdapter from "automerge-repo-storage-origin-private-file-system"
import {Repo} from "@automerge/automerge-repo"
export default async function startAutomerge() {
const repo = new Repo({
storage: new OriginPrivateFileSystemAdapter("automerge"),
network: [new BrowserWebSocketClientAdapter("wss://sync.automerge.org")],
})
return repo
}
for more info see the fabulous automerge website
because of a missing API in Safari's implementation of the Origin private file system, this storage mechanism does not currently work in Safari. there appears to be no indication that they will ever add support for it, but who knows.
perhaps you would find it enjoyable to submit a pull request that uses a WebWorker to do the writing in Safari?
FAQs
An [Automerge](https://automerge.org/) [Repo](https://automerge.org/docs/repositories) [Storage adapter](https://automerge.org/docs/repositories/storage/) for using the browser's [Origin private file system](https://developer.mozilla.org/en-US/docs/Web/AP
The npm package automerge-repo-storage-origin-private-file-system receives a total of 0 weekly downloads. As such, automerge-repo-storage-origin-private-file-system popularity was classified as not popular.
We found that automerge-repo-storage-origin-private-file-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.