Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
qcloud-iot-panel-component
Advanced tools
腾讯连连标准面板组件库
yarn #安装依赖
yarn dev #开发组件
yarn build #打包组件
# 最后执行 yarn docs 可以实时预览组件效果
yarn docs
在小程序中使用本地包时,可以执行以下命令:
# 在组件库目录
yarn build
yarn pack # 生成 qcloud-iot-panel-component-v0.0.xx.tgz
# 在小程序目录下
yarn add path/to/qcloud-iot-panel-component-v0.0.xx.tgz
yarn add qcloud-iot-panel-component
开始引用组件:
/* panel.tsx */
// 引入组件库的css
import 'qcloud-iot-panel-component/lib/index.css';
import { BoolWidget } from 'qcloud-iot-panel-component';
使用 Taro 的HTML编译功能,我们可以将包使用在小程序中,在这之前需要先将 Taro 版本升级到 3.3 以上。
plugins: [
['@tarojs/plugin-html', {
// 包含 `iotp-` 的类名选择器中的 px 单位不会被解析
pxtransformBlackList: [/iotp-/]
}]
],
除了上述配置外,使用方法上与h5相同:
// 引入组件库的css
import 'qcloud-iot-panel-component/lib/index.css';
import { BoolWidget } from 'qcloud-iot-panel-component';
FAQs
The npm package qcloud-iot-panel-component receives a total of 0 weekly downloads. As such, qcloud-iot-panel-component popularity was classified as not popular.
We found that qcloud-iot-panel-component demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.