Socket
Socket
Sign inDemoInstall

@ernane/svelte-star-rating

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ernane/svelte-star-rating - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

package.json
{
"name": "@ernane/svelte-star-rating",
"version": "1.1.3",
"version": "1.1.4",
"description": "Simple component to assign scores based on stars.",

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

@@ -48,3 +48,5 @@ <h1 align="center">

| scoreFormat| `function` | false | precent |
| name | `String` | false | "" |
In addition, we have two other nested attributes that specify distinct settings.

@@ -84,2 +86,3 @@

scoreFormat: function(){ return `(${this.score.toFixed(0)}/${this.countStars})` },
name: "",
starConfig: {

@@ -86,0 +89,0 @@ size: 30,

Sorry, the diff of this file is not supported yet

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