Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vitejs/plugin-vue-jsx

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitejs/plugin-vue-jsx - npm Package Compare versions

Comparing version 1.3.7 to 1.3.8

7

index.js

@@ -98,6 +98,9 @@ // @ts-check

const filter = createFilter(include || /\.[jt]sx$/, exclude)
const [filepath] = id.split('?')
if (filter(id)) {
// use id for script blocks in Vue SFCs (e.g. `App.vue?vue&type=script&lang.jsx`)
// use filepath for plain jsx files (e.g. App.jsx)
if (filter(id) || filter(filepath)) {
const plugins = [importMeta, [jsx, babelPluginOptions], ...babelPlugins]
if (id.endsWith('.tsx')) {
if (id.endsWith('.tsx') || filepath.endsWith('.tsx')) {
plugins.push([

@@ -104,0 +107,0 @@ require('@babel/plugin-transform-typescript'),

{
"name": "@vitejs/plugin-vue-jsx",
"version": "1.3.7",
"version": "1.3.8",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Evan You",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc