Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@series-one/webpack-dts-plugin
Advanced tools
DTS 文件转换插件
webpack 编译后非原本文件,这时如果项目需要导出 d.ts
则需要通过配置 tsconfig.json
。
该插件能直接输出 d.ts
产物文件。
通过 typescript
编译 d.ts
文件。
通过 ts-patch
让编译支持别名。
tsconfig.json
别名转义# local install
$ yarn add --dev @series-one/webpack-dts-plugin
# global install
$ yarn global add @series-one/webpack-dts-plugin
import { OneWebpackDTSPlugin } from '@series-one/webpack-dts-plugin'
export default {
plugins: [
new OneWebpackDTSPlugin({
rootDir: path.join(__dirname, './src'),
}),
],
}
可以通过 Git 对项目进行贡献;
若没有本项目组权限, 项目需要权限申请, 请通过 OA Git 项目权限申请流程进行申请, 用户角色为 Developer
FAQs
DTS 文件转换插件
We found that @series-one/webpack-dts-plugin 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.