
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
@netless/app-slide
Advanced tools
Netless App for viewing animated slides, in our new engine.
import type { Attributes as SlideAttributes } from "@netless/app-slide";
// 1. register before joining room
WindowManager.register({
kind: "Slide",
appOptions: {
// turn on to show debug controller
debug: false,
urlInterrupter: async (url: string) => {
// There will be different implementations depending on different cloud storage services.
// Generally, signatures are added to the query parameters.
const { ak, expire } = await getSTSToken(); // Customer service side implementation.
return `${url}?expire=${expire}&ak=${ak}`;
// https://github.com/netless-io/netless-slide-demo#slide-%E9%85%8D%E7%BD%AE for more options
},
},
src: async () => {
const app = await import("@netless/app-slide");
return app.default ?? app;
},
});
// 2. when joined room, add ppt to whiteboard
manager.addApp({
kind: "Slide",
options: {
scenePath: `/ppt/${uuid}`, // [1]
title: "a.pptx",
},
attributes: {
taskId: "1234567...", // [2]
url: "https://convertcdn.netless.link/dynamicConvert", // [3]
previewList: [
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/preview/1.png",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/preview/2.png",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/preview/3.png",
],
resourceList: [
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/note.json",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/overview.json",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/sheet-1-0-color.json",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/sheet-1-0-color.png",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/sheet-2-0-color.json",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/sheet-2-0-color.png",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/sheet-3-0-color.json",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/sheet-3-0-color.png",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/slide-1.json",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/slide-2.json",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/slide-3.json",
"https://convertcdn.netless.group/test/dynamicConvert/8ed5cce449874494a9ca7894b39415fb/jsonOutput/title.json",
],
} as SlideAttributes,
});
Parameters:
(required) scenePath
Which scene to be put on top of slides.
(required) taskId
The PPT conversion task id.
(optional) url
The base url of ppt resources, https://convertcdn.netless.link/dynamicConvert by default.
import { previewSlide } from "@netless/app-slide";
const previewer = previewSlide({
container: document.getElementById("preview"),
taskId: "1234567...",
});
previewer.destroy();
MIT @ netless
FAQs
Netless App for viewing animated slides, in our new engine.
The npm package @netless/app-slide receives a total of 3,797 weekly downloads. As such, @netless/app-slide popularity was classified as popular.
We found that @netless/app-slide demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.