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.
@fimbul/ve
Advanced tools
Wotan processor for Vue Single File Components (SFC)
Make sure to also read the full documentation of all available modules.
Enable wotan
to lint *.vue
files. This works by extracting the <script>
content of a single file component and feeding that into TypeScript.
The lang
attribute is respected and defaults to js
if not present. You can use every language TypeScript supports (currently js
, jsx
, ts
, tsx
).
It even works with type checking.
npm install --save-dev @fimbul/wotan @fimbul/ve
# or
yarn add -D @fimbul/wotan @fimbul/ve
Use as processor in your config:
---
overrides:
- files: "*.vue"
processor: "@fimbul/ve"
There's also a configuration preset you can extend. This preset comes without any enabled rules and just provides the processor for *.vue
files as described above.
---
extends:
- "@fimbul/ve"
Apache-2.0 © Klaus Meinhardt
v0.12.0
Features:
no-inferred-empty-object
: handle multiple JSDoc @template
tags starting from TypeScript@3.0.0no-unstable-api-use
: better error message for signaturesno-useless-initializer
: check computed names in destructuringBugfixes:
no-return-await
, await-only-promise
, no-useless-assertion
: fixer looks into tagged templates when parenthesizingprefer-dot-notation
: fixer adds parens around numeric literalstype-assertion
: no longer emit invalid code when fixing to classic styleFAQs
Vue processor for wotan
The npm package @fimbul/ve receives a total of 82 weekly downloads. As such, @fimbul/ve popularity was classified as not popular.
We found that @fimbul/ve demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
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.