
Security News
GitHub Actions Adds cache-mode to Limit Cache Poisoning Risk
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.
@jsonjoy.com/fs-node-to-fsa
Advanced tools
Adapter to convert Node.js fs API to File System Access API (FSA).
npm install @jsonjoy.com/fs-node-to-fsa
import { nodeToFsa } from '@jsonjoy.com/fs-node-to-fsa';
import * as fs from 'fs';
const dir = nodeToFsa(fs, '/path/to/directory', { mode: 'readwrite' });
// Now use the FSA API
for await (const [name, handle] of dir.entries()) {
console.log(name, handle.kind);
}
NodeFileSystemObserver implements the FileSystemObserver proposal
on top of the Node.js fs.watch API. It is a best-effort implementation, per
the proposal's allowance for local file systems: rename events are classified
into "appeared"/"disappeared" records by stat-ing the path, and no
"moved" records are ever produced.
import { nodeToFsa, NodeFileSystemObserver } from '@jsonjoy.com/fs-node-to-fsa';
import * as fs from 'fs';
const dir = nodeToFsa(fs, '/path/to/directory', { mode: 'readwrite' });
const observer = new NodeFileSystemObserver(fs, records => console.log(records));
await observer.observe(dir, { recursive: true });
nodeToFsa(fs, path, ctx) - Converts a Node.js fs module to a FileSystemDirectoryHandle.NodeFileSystemObserver - A FileSystemObserver implementation backed by fs.watch.FAQs
Adapter to convert Node.js fs API to File System Access API
The npm package @jsonjoy.com/fs-node-to-fsa receives a total of 7,535,290 weekly downloads. As such, @jsonjoy.com/fs-node-to-fsa popularity was classified as popular.
We found that @jsonjoy.com/fs-node-to-fsa demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.