Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
fis3-parser-typescript-x
Advanced tools
A parser plugin for fis3 to compile typescript(ts) file.
typescript parser for fis3
npm install -g fis3-parser-typescript
fis.match('**.ts', {
parser: fis.plugin('typescript', {
// options
}),
rExt: '.js'
});
如果你的 fis 版本小于 3.2.2 请加以下配置。
fis.set('project.fileType.text', 'ts,tsx');
jsx
默认为 2, 解析 <xml>
为对应的 react
语句。如果设置 1, 则保留。
showNotices
默认为 false, 如果要提示所有提示信息,请开启。
module
默认为 1.
1
: commonjs2
: amd3
: umd4
: systemtarget
默认为 0, es3.
0
: es31
: es52
: es6sourceMap
默认为 false
配置是否输出 sourcemap
PS:Fork出来,解决了无法加载@types/xxx的问题,由于没有单元测试,还不能保证对其他功能没有影响
FAQs
A parser plugin for fis3 to compile typescript(ts) file.
The npm package fis3-parser-typescript-x receives a total of 0 weekly downloads. As such, fis3-parser-typescript-x popularity was classified as not popular.
We found that fis3-parser-typescript-x 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.