Socket
Socket
Sign inDemoInstall

@vitejs/plugin-react

Package Overview
Dependencies
Maintainers
3
Versions
56
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 1.0.0-beta.0 to 1.0.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# [1.0.0](https://github.com/vitejs/vite/compare/plugin-react@1.0.0-beta.0...plugin-react@1.0.0) (2021-09-22)
# 1.0.0-beta.0 (2021-09-20)

@@ -2,0 +6,0 @@

2

dist/index.js

@@ -104,3 +104,3 @@ var __create = Object.create;

const props = node.arguments.map(getJSXProps);
if (props.every((prop) => prop !== null)) {
if (props.every((prop) => prop != null)) {
return [].concat(...props);

@@ -107,0 +107,0 @@ }

{
"name": "@vitejs/plugin-react",
"version": "1.0.0-beta.0",
"version": "1.0.0",
"license": "MIT",

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

@@ -111,3 +111,3 @@ /**

//if calling this recursively works, flatten.
if (props.every((prop) => prop !== null)) {
if (props.every((prop) => prop != null)) {
return [].concat(...props)

@@ -114,0 +114,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