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

react-star-rating-input

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-star-rating-input - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

8

package.json
{
"name": "react-star-rating-input",
"version": "6.0.1",
"version": "6.0.2",
"description": "React.js component for entering 0-5 stars",

@@ -12,7 +12,2 @@ "main": "index.js",

},
"browserify": {
"transform": [
"brfs"
]
},
"repository": {

@@ -46,3 +41,2 @@ "type": "git",

"devDependencies": {
"brfs": "^1.4.0",
"browserify": "^9.0.8",

@@ -49,0 +43,0 @@ "insert-css": "^0.2.0",

54

src/css.js

@@ -1,4 +0,50 @@

// That module must be really simple. Otherwise, brfs won't work.
var fs = require('fs');
module.exports = fs.readFileSync(__dirname + '/../www/styles.css', 'utf8');
module.exports = '' +
'a.star-rating-clear {' +
'text-decoration: underline;' +
'}' +
'div.star-rating-clear-container {' +
'float: left;' +
'margin-right: 4px;' +
'}' +
'div.star-rating-star-container, div.star-rating-star-container a {' +
'background: url(data:image/png;base64,' +
'iVBORw0KGgoAAAANSUhEUgAAABAAAAAwCAYAAAAYX/pXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1M' +
'OmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1l' +
'dGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8w' +
'Ni0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLX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SaQqF5solMpVSkpigz2KT/CDWD5SIcX4AQPKD//YD+zVO59tCDzt2OLrmc34gu23yg1g/UCLG+QEAv/MD' +
'8w70BLfA+E4/sA9JQzr73h1+cE5+4H+N3/eDlwADABQNfHCWrhc0AAAAAElFTkSuQmCC) no-repeat scroll 0 0 transparent;' +
'}' +
'div.star-rating-star-container {' +
'float: left;' +
'width: 16px;' +
'height: 16px;' +
'overflow: hidden;' +
'}' +
'a.star-rating-star {' +
'display: block;' +
'width: 100%;' +
'height: 100%;' +
'text-indent: -999em;' +
'}' +
'div.star-rating-star-container a.on {' +
'background-position: 0 -16px;' +
'}' +
'div.star-rating-star-container a.suggested {' +
'background-position: 0 -32px;' +
'}';
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