New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@siddhantmadhur/react-rating

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@siddhantmadhur/react-rating - npm Package Compare versions

Comparing version 1.2.10 to 1.3.0

2

dist/Rating.d.ts
import React, { SetStateAction } from "react";
import "./Rating.css";
interface RatingProps {
export interface RatingProps {
length?: number;

@@ -5,0 +5,0 @@ size?: number;

@@ -42,3 +42,3 @@ /* eslint-disable @typescript-eslint/no-unused-vars */

cursor: !readOnly ? "pointer" : "",
}, onClick: () => (props.setValue ? props.setValue(key + 0.5) : null), onMouseEnter: () => {
}, onClick: () => (props.setValue ? props.setValue(key + 1) : null), onMouseEnter: () => {
if (!readOnly) {

@@ -45,0 +45,0 @@ setHoverValue(key + 1);

{
"name": "@siddhantmadhur/react-rating",
"private": false,
"version": "1.2.10",
"version": "1.3.0",
"type": "module",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/SiddhantMadhur/react-rating",

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