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
57
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.0.2 to 4.0.3

11

dist/refreshUtils.js

@@ -1,11 +0,1 @@

/* eslint-disable no-undef */
if (typeof window !== 'undefined') {
if (window.__vite_plugin_react_runtime_loaded__) {
throw new Error(
'React refresh runtime was loaded twice. Maybe you forgot the base path?',
)
}
window.__vite_plugin_react_runtime_loaded__ = true
}
function debounce(fn, delay) {

@@ -19,2 +9,3 @@ let handle

/* eslint-disable no-undef */
const enqueueUpdate = debounce(exports.performReactRefresh, 16)

@@ -21,0 +12,0 @@

2

package.json
{
"name": "@vitejs/plugin-react",
"version": "4.0.2",
"version": "4.0.3",
"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