
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@cloudbase/js-sdk
Advanced tools
云开发 Cloudbase JavaScript SDK。
@cloudbase/js-sdk分为两种形式:
# npm
npm install @cloudbase/js-sdk -S
# yarn
yarn add @cloudbase/js-sdk
引入时可选择全量引入:
import cloudbase from '@cloudbase/js-sdk';
或者按需分模块引入:
// 内核
import cloudbase from '@cloudbase/js-sdk/app';
// 登录模块
import cloudbase from '@cloudbase/js-sdk/auth';
// 函数模块
import cloudbase from '@cloudbase/js-sdk/functions';
// 云存储模块
import cloudbase from '@cloudbase/js-sdk/storage';
// 数据库模块
import cloudbase from '@cloudbase/js-sdk/database';
引入全量js文件
<!-- 全量js文件 -->
<script src="/cloudbase.full.js"></script>
分模块引入
<!-- 主js文件 -->
<script src="/cloudbase.js"></script>
<!-- 登录模块 -->
<script src="/cloudbase.auth.js"></script>
<!-- 函数模块 -->
<script src="/cloudbase.functions.js"></script>
<!-- 云存储模块 -->
<script src="/cloudbase.storage.js"></script>
<!-- 数据库模块 -->
<script src="/cloudbase.database.js"></script>
构建分为两部分:
cdnjs目录,按版本划分npm run build
FAQs
cloudbase javascript sdk
The npm package @cloudbase/js-sdk receives a total of 6,910 weekly downloads. As such, @cloudbase/js-sdk popularity was classified as popular.
We found that @cloudbase/js-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 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
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.