
Security News
Google’s OSV Fix Just Added 500+ New Advisories — All Thanks to One Small Policy Change
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
@artesa/feathers-file-stream
Advanced tools
npm i @artesa/feathers-file-stream
import multer from "multer"; // multer v2 (!)
import {
expressHandleIncomingStreams,
ServiceFileStreamFS,
expressSendStreamForGet
} from "@artesa/feathers-file-stream";
const multerInstance = multer();
app.use(
"/uploads",
multerInstance.array("files"),
expressHandleIncomingStreams({ field: "files", isArray: true }),
new ServiceFileStreamFS({
root: path.join(__dirname, "uploads")
}),
expressSendStreamForGet()
);
import multer from "multer"; // multer v2 (!)
import { S3Client } from "@aws-sdk/client-s3";
import {
expressHandleIncomingStreams,
ServiceFileStreamS3,
expressSendStreamForGet
} from "@artesa/feathers-file-stream";
const multerInstance = multer();
const s3 = new S3Client({
credentials: {
accessKeyId: "",
secretAccessKey: ""
}
});
app.use(
"/uploads",
multerInstance.array("files"), // looks for files and puts them in req.files
expressHandleIncomingStreams({ field: "files", isArray: true }), // looks for req.files and puts them in req.body, so that it arrives at the service data object in the create method
new ServiceFileStreamS3({
s3: new S3Client({
credentials: {
accessKeyId: "",
secretAccessKey: ""
}
}),
bucket: "my-bucket"
}),
expressSendStreamForGet() // pipes the stream for a get request to the response
);
app.service("uploads").create({
id: "my-file.txt", // the filename to save
stream: fs.createReadStream("my-file.txt") // the stream to read
});
FAQs
feathers.js plugin for file uploads and downloads with streams
The npm package @artesa/feathers-file-stream receives a total of 14 weekly downloads. As such, @artesa/feathers-file-stream popularity was classified as not popular.
We found that @artesa/feathers-file-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
Research
/Security News
175 malicious npm packages (26k+ downloads) used unpkg CDN to host redirect scripts for a credential-phishing campaign targeting 135+ organizations worldwide.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.