
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
wepy-plugin-bootstrap
Advanced tools
wepy 插件,为前段开发者提供基于bootstrap开发微信小程序的供能
$ npm i -D wepy-plugin-bootstrap
在 wepy.config.js 中添加以下代码:
plugins: {
'bootstrap': {
filter: /app\.(wxss)$/, // 匹配需转换的wxss文件,默认只转换app.wxss
// 示例: 如果需要转换 index.wxss 和 app.wxss 两个文件, 则将filter设为下面的形式
// filter: /(app|index)\.(wxss)$/,
remToRpx: 35// 这个参数可以用来调整转换rem单位到rpx单位时使用的比例
},
'htmltag': {
filter: /\.(wxml)$/, // 文件后缀匹配
}
}
需要和wepy-plugin-htmltag 一起使用
FAQs
Introduce bootstrap in wepy project
The npm package wepy-plugin-bootstrap receives a total of 0 weekly downloads. As such, wepy-plugin-bootstrap popularity was classified as not popular.
We found that wepy-plugin-bootstrap 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.