{"library":"vue-template-compiler-patched","type":"library","category":null,"description":"Security-patched fork of Vue 2's vue-template-compiler (v2.7.16) fixing CVE-2024-6783 (XSS via prototype pollution) and CVE-2024-9506 (ReDoS). Provides the same API as the original package but with sanitized output and regex hardening. Current version: 2.7.16-patch.2. Releases are tied to Vue 2.7.x LTS; no breaking changes vs original. Can be installed as a drop-in alias replacement for vue-template-compiler to automatically satisfy peer dependencies (e.g., @vue/test-utils, vue-loader). Ships TypeScript definitions.","language":"javascript","status":"active","version":"2.7.16-patch.2","tags":["javascript","vue","compiler","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install vue-template-compiler-patched","imports":["const compiler = require('vue-template-compiler-patched'); const { render } = compiler.compile(template);","import compiler from 'vue-template-compiler-patched'; compiler.compile(template);","const { compile } = require('vue-template-compiler-patched');","const { ssrCompile } = require('vue-template-compiler-patched');","import { parseComponent } from 'vue-template-compiler-patched';"]},{"cmd":"yarn add vue-template-compiler-patched","imports":[]},{"cmd":"pnpm add vue-template-compiler-patched","imports":[]}],"homepage":null,"github":"https://github.com/bio/vue-template-compiler-patched","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-template-compiler-patched","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}