
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@nebulars/bury
Advanced tools
yarn add @nebular.js/bury
# or
npm install @nebular.js/bury
import { bury, increase } from "@nebular.js/bury";
bury({
// 环境参数,布尔
agent: {
// 平台
platform: true,
// 网络
net: true,
// 系统 OS
os: true,
// 内核
core: true,
// 浏览器
browser: true,
// 外壳(如:QQ、360等)
shell: true,
// 屏幕尺寸
screen: true,
// 原始 UA 信息
ua: true,
// 拓展参数
extend: {
// 示例
uuid: `uuid`
}
},
process: {
// 心跳时长(毫秒)
heart: 10000,
// 存储命名空间,默认:bury
namespace: `burning`
},
// 事件行为
event: {
// 属性标记名
attr: `action`
},
http: {
// 默认地址,可以不填
uri: `http://commerce.xytest.qjclouds.com/`,
// 参数预设,可用于修改请求对象的初始化行为
preset: {
headers: {
hello: `world`
}
},
// 参数拓展,将合并于每次请求
extend: {
custom: `value`
}
}
});
<!-- 配置 action 信息,用于信息统计 -->
<div action="information">press me to save info into storage</div>
// 项目数据可由 increase 函数提交
increase({ name: `joker` });
// 隐藏用法:increase 能接收一个 function 作为参数,并将其运行结果作为 提交参数
increase(params => {
// params 为环境自带参数
return {
name: `joker`
}
});
<!-- 引入依赖包 -->
<script src="https://nebular.oss-cn-shanghai.aliyuncs.com/bury/nebular.bury.js"></script>
<script>
// 初始化
window.bury({
/* 参数配置 */
});
// 项目数据
window.increase({
name: `joker`
});
</script>
{
/* start、heart */
"type": "heart",
/* event for commit */
"event": [
{
/* Timestamp */
"time": "stamp",
/* encode by JSON.stringify */
"info": "information"
}
]
}
FAQs
Bury Package
The npm package @nebulars/bury receives a total of 0 weekly downloads. As such, @nebulars/bury popularity was classified as not popular.
We found that @nebulars/bury demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.