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

@vitejs/plugin-react

Package Overview
Dependencies
Maintainers
5
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitejs/plugin-react - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

20

dist/index.d.ts
import { TransformOptions, ParserOptions } from '@babel/core';
import { ResolvedConfig, PluginOption } from 'vite';
import { PluginOption, ResolvedConfig } from 'vite';

@@ -43,12 +43,8 @@ interface Options {

};
declare module 'vite' {
interface Plugin {
api?: {
/**
* Manipulate the Babel options of `@vitejs/plugin-react`
*/
reactBabel?: ReactBabelHook;
};
}
}
type ViteReactPluginApi = {
/**
* Manipulate the Babel options of `@vitejs/plugin-react`
*/
reactBabel?: ReactBabelHook;
};
declare function viteReact(opts?: Options): PluginOption[];

@@ -59,2 +55,2 @@ declare namespace viteReact {

export { type BabelOptions, type Options, type ReactBabelOptions, viteReact as default };
export { type BabelOptions, type Options, type ReactBabelOptions, type ViteReactPluginApi, viteReact as default };

6

package.json
{
"name": "@vitejs/plugin-react",
"version": "4.2.0",
"version": "4.2.1",
"license": "MIT",

@@ -41,6 +41,6 @@ "author": "Evan You",

"dependencies": {
"@babel/core": "^7.23.3",
"@babel/core": "^7.23.5",
"@babel/plugin-transform-react-jsx-self": "^7.23.3",
"@babel/plugin-transform-react-jsx-source": "^7.23.3",
"@types/babel__core": "^7.20.4",
"@types/babel__core": "^7.20.5",
"react-refresh": "^0.14.0"

@@ -47,0 +47,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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