Socket
Socket
Sign inDemoInstall

rater-js

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rater-js - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

.travis.yml

2

index.js

@@ -12,3 +12,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.raterJs = f()}})(function(){var define,module,exports;return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(require,module,exports){

var stars = options.max || 5;
var starWidth = 18;
var starWidth = options.starWidth || 18;

@@ -15,0 +15,0 @@ var rating;

@@ -11,3 +11,3 @@ var css = require('./style.css');

var stars = options.max || 5;
var starWidth = options || 18;
var starWidth = options.starWidth || 18;

@@ -14,0 +14,0 @@ var rating;

{
"name": "rater-js",
"description": "Star rating widget for the browser.",
"version": "0.3.0",
"version": "0.3.1",
"repository": {

@@ -13,3 +13,4 @@ "type": "git",

"scripts": {
"build": "browserify -t [ browserify-css --inlineImages ] ./lib/rater-js -o index.js --standalone rater-js"
"build": "browserify -t [ browserify-css --inlineImages ] ./lib/rater-js -o index.js --standalone rater-js",
"test": "mocha --require ignore-styles"
},

@@ -32,5 +33,8 @@ "keywords": [

"devDependencies": {
"browserify": "^16.1.1",
"browserify-css": "^0.14.0",
"browserify": "^16.1.1"
"ignore-styles": "^5.0.1",
"jsdom": "^11.6.2",
"mocha": "^5.0.5"
}
}

@@ -9,2 +9,3 @@ Rater Js

[![Downloads][downloads-image]][downloads-url]
[![Build Status](https://travis-ci.org/fredolss/rater-js.svg?branch=master)](https://travis-ci.org/fredolss/rater-js)

@@ -11,0 +12,0 @@ **rater-js** is a star rating widget for the browser.

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