
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@cuberqaq/network-side
Advanced tools
Polyfill of network.download API for ZeppOS 1.0/2.0/2.1 app-side.
This project include @cuberqaq/fs-side module. It use settings storage api to storage data, not a true file system, so don't save many big files. Welcome to send issues and PR to make this project better!
Corrently not support segmented download, timeout, onProgress event. Some of the functions have not been tested yet,
Using whatwg-fetch(polyfill of fetch) as fetch api, which uses XMLHttpRequest to access the network.
Based to @cuberqaq/fs-side module to storage files, you should also access the files by it. see CuberQAQ/zepp-fs-side: Simple Lib for ZeppOS 1.0/2.0/2.1 app-side to build a vitual file system.
Use Command npm i @cuberqaq/network-side --save to install network-side in your ZeppOS Miniapp project.
The network-side module export a download object, not global one.
In your app-side JavaScript source file, use this to import network-side:
import { network } from "@cuberqaq/network-side";
Then you can use the methods in the same way you do with ZeppOS 3.0 network.download. API Document see Zepp OS Developers Documentation For example:
const downloadTask = network.downloader.downloadFile({
url: "https://docs.zepp.com/img/logo.png",
filePath: "data://test.png",
});
downloadTask.onSuccess = (event) => {
console.log(event.filePath); // data://test.png
console.log(event.tempFilePath); // undefined
console.log(event.statusCode); // 200
};
FAQs
Polyfill of network.download API for ZeppOS 2.0 app-side
The npm package @cuberqaq/network-side receives a total of 31 weekly downloads. As such, @cuberqaq/network-side popularity was classified as not popular.
We found that @cuberqaq/network-side demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.