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
3
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.1.4 to 1.1.5

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [1.1.5](https://github.com/vitejs/vite/compare/plugin-vue-jsx@1.1.4...plugin-vue-jsx@1.1.5) (2021-06-01)
### Bug Fixes
* include/exclude options for vue-jsx .d.ts ([#3573](https://github.com/vitejs/vite/issues/3573)) ([82ec0ca](https://github.com/vitejs/vite/commit/82ec0ca69c1f077cf518073edca4e6580ebd4892))
## [1.1.4](https://github.com/vitejs/vite/compare/plugin-vue-jsx@1.1.3...plugin-vue-jsx@1.1.4) (2021-05-03)

@@ -2,0 +11,0 @@

10

index.d.ts
import { Plugin } from 'vite'
import { VueJSXPluginOptions } from '@vue/babel-plugin-jsx'
import { FilterPattern } from '@rollup/pluginutils'
declare function createPlugin(options?: VueJSXPluginOptions): Plugin
declare interface FilterOptions {
include?: FilterPattern
exclude?: FilterPattern
}
declare function createPlugin(
options?: VueJSXPluginOptions & FilterOptions
): Plugin
export default createPlugin

2

package.json
{
"name": "@vitejs/plugin-vue-jsx",
"version": "1.1.4",
"version": "1.1.5",
"license": "MIT",

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

@@ -35,13 +35,13 @@ # @vitejs/plugin-vue-jsx [![npm](https://img.shields.io/npm/v/@vitejs/plugin-vue-jsx.svg)](https://npmjs.com/package/@vitejs/plugin-vue-jsx)

// named exports w/ variable declaration: ok
export const Foo = defineComponent(...)
export const Foo = defineComponent({})
// named exports referencing variable declaration: ok
const Bar = defineComponent(...)
const Bar = defineComponent({ render() { return <div>Test</div> }})
export { Bar }
// default export call: ok
export default defineComponent(...)
export default defineComponent({ render() { return <div>Test</div> }})
// default export referencing variable declaration: ok
const Baz = defineComponent(...)
const Baz = defineComponent({ render() { return <div>Test</div> }})
export default Baz

@@ -48,0 +48,0 @@ ```

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