@vitejs/plugin-vue-jsx
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -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 @@ |
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 |
{ | ||
"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 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14816
252
1