Socket
Socket
Sign inDemoInstall

react-stars

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-stars - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

16

dist/react-stars.js

@@ -229,9 +229,10 @@ 'use strict';

stars = _state5.stars,
uniqueness = _state5.uniqueness;
var _state$config = this.state.config,
color1 = _state$config.color1,
color2 = _state$config.color2,
size = _state$config.size,
char = _state$config.char,
half = _state$config.half;
uniqueness = _state5.uniqueness,
config = _state5.config;
var color1 = config.color1,
color2 = config.color2,
size = config.size,
char = config.char,
half = config.half,
edit = config.edit;

@@ -245,2 +246,3 @@ return stars.map(function (star, i) {

color: star.active ? color2 : color1,
cursor: edit ? 'pointer' : 'default',
fontSize: size + 'px'

@@ -247,0 +249,0 @@ });

{
"name": "react-stars",
"version": "2.2.2",
"version": "2.2.3",
"description": "Simple star rating component for your React projects",

@@ -5,0 +5,0 @@ "main": "dist/react-stars.js",

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