Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@weapp-vite/volar

Latest version: v2.2.8-dev.20261128.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: icebreaker
528 Stars
33 Forks
43 Versions
28.0K Downloads
TypeScript Repo language

Scan summary

@weapp-vite/volar was last scanned on 28 Nov 2026 at version 2.2.8-dev.20261128.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 43 versions; the latest 5 were published within 6 days (23–28 Nov 2026).
  • Findings: No rules fired in version 2.2.8-dev.20261128.1.
  • Downloads: 27,964 downloads.

Versions

43 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.2.8-dev.20261128.1 LATEST 28 Nov 2026 No rules fired
2.2.8-dev.20261127.1 27 Nov 2026 No rules fired
2.2.7 25 Nov 2026 No rules fired
2.2.7-dev.20261124.1 24 Nov 2026 Not shown
2.2.6-dev.20261123.1 23 Nov 2026 Not shown

No rules fired in 2.2.8-dev.20261128.1

Findings

Findings for v2.2.8-dev.20261128.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.2.8-dev.20261128.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@weapp-vite/volar

1. 简介

@weapp-vite/volar 是 weapp-vite 的 Volar 语言服务插件,用来给小程序 Vue SFC 中的自定义块和相关宏提供更准确的类型、补全和诊断能力。

它主要覆盖:

  • <json> 自定义块的 schema 与类型提示
  • definePageJson / defineComponentJson 等配置宏配套体验
  • wxs 模块声明补全
  • script setup 中为 weapp-vite / wevu 注入的额外声明

2. 安装方式

大多数情况下不需要单独安装。

weapp-vite 已经依赖并自动启用这个插件,项目里通常只需要按文档配置 tsconfig.json / jsconfig.json 即可。

如果你要在非标准工程里单独集成,可以安装:

pnpm add -D @weapp-vite/volar @weapp-core/schematics

3. 常见配置

{
  "vueCompilerOptions": {
    "plugins": ["weapp-vite/volar"]
  }
}

注意:更完整的编辑器接入方式,请优先参考 weapp-vite 主包文档中的 Volar 章节。

4. 提供的能力

能力 说明
<json> 块诊断 根据 App / Page / Component 语义提供 schema 与类型校验
script setup 声明增强 自动补齐 weapp 相关额外声明
wxs 模块名收集 让模板与脚本中的 wxs 使用获得更稳定的类型体验
自定义块嵌入代码 让 Volar 能识别并处理额外代码片段

5. 适用场景

  • 在 .vue 文件里直接编写小程序页面 / 组件配置
  • 使用 definePageJson、defineComponentJson 等宏
  • 需要让 VS Code / Volar 正确理解 weapp-vite 的自定义块与扩展语义

6. 本地开发

pnpm --filter @weapp-vite/volar build
pnpm --filter @weapp-vite/volar test
pnpm --filter @weapp-vite/volar typecheck
pnpm --filter @weapp-vite/volar benchmark

benchmark 会为普通 SFC 和 defineOptions SFC 创建全新的 content 与 snapshot,并强制生成 service script 和全部 embedded code。对比修改前构建时可传入基线插件:

pnpm --filter @weapp-vite/volar benchmark -- --baseline /path/to/baseline/dist/index.mjs

7. 相关链接

  • 详细用法:./USAGE.md
  • 主包文档:../weapp-vite/docs/volar.md
  • weapp-vite:../weapp-vite/README.md

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @weapp-vite/volar

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229