Socket
Socket
Sign inDemoInstall

svelte-star-rating

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.0.1

Diff

Changelog

Source

[2.0.1] - 2022-09-29

Changed

  • Added a warning in readme about rating numbers not being handled by the component.
  • Updated dependencies.
  • Locked sveltejs/kit version to 1.0.0-next.405 until the API is more stable.

Fixed

  • Fixed last star disappearing if rating had more than one decimal 0, ie 3.00002 or 4.001.
rubenvara
published 2.0.0 •

Changelog

Source

[2.0.0] - 2022-07-21

Changed

  • Package rewritten to use SvelteKit and Vite instead of Rollup. Packaged with svelte-kit package.
  • Fully typed.

Removed

  • Removed the id prop.
rubenvara
published 1.3.3-2 •

rubenvara
published 1.3.3-1 •

rubenvara
published 1.3.2 •

Changelog

Source

[1.3.2] - 2022-03-22

Changed

  • Updated rollup plugins.
rubenvara
published 1.3.0 •

Changelog

Source

[1.3.0] - 2021-03-22

Changed

  • Make rating display (svg stars and text) reactive.
  • Throw Error if rating value is not valid (higher than 5, lower than 0, or not a number).
  • Refactor code (svelte eslint) a little.
  • Readme.

Fixed

  • Fixed typo.
rubenvara
published 1.2.1 •

Changelog

Source

[1.2.1] - 2020-11-29

Fixed

  • Fix problem with build
rubenvara
published 1.2.0 •

Changelog

Source

[1.2.0] - 2020-11-29

Added

  • The component creates a unique id, so it is not needed from the user anymore when the component is used many times.

Deprecated

  • The id prop is no longer needed in any case, so it will be removed in the next major version.
rubenvara
published 1.1.1 •

Changelog

Source

[1.1.1] - 2020-06-19

Fixed

  • Fixed typos in comments.
rubenvara
published 1.1.0 •

Changelog

Source

[1.1.0] - 2020-06-16

Added

  • style config option to pass css styles directly to the component.
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc