Socket
Socket
Sign inDemoInstall

react-confetti

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-confetti - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [6.0.1](https://github.com/alampros/react-confetti/compare/v6.0.0...v6.0.1) (2021-02-22)
### Bug Fixes
* Allow react 17 in peer dependency ([266a3dd](https://github.com/alampros/react-confetti/commit/266a3dd68c37312dc63d5597695de4491cdc1623))
# [6.0.0](https://github.com/alampros/react-confetti/compare/v5.1.0...v6.0.0) (2020-07-17)

@@ -2,0 +9,0 @@

4

package.json
{
"name": "react-confetti",
"version": "6.0.0",
"version": "6.0.1",
"description": "React component to draw confetti for your party.",

@@ -48,3 +48,3 @@ "main": "dist/react-confetti.min.js",

"peerDependencies": {
"react": "^16.3.0"
"react": "^16.3.0 || ^17.0.1"
},

@@ -51,0 +51,0 @@ "dependencies": {

@@ -55,4 +55,4 @@ # react-confetti

| `gravity` | `Number` | 0.1 | |
| `initialVelocityX` | `Number | { min: Number, max: Number }` | 4 | Range of values between which confetti is emitted horizontally, positive numbers being rightward, and negative numbers being leftward. Giving a number `x` is equivalent to giving a range `{ min: -x, max: x }`. |
| `initialVelocityY` | `Number | { min: Number, max: Number }` | 10 | Range of values between which confetti is emitted vertically, positive numbers being downward, and negative numbers being upward. Giving a number `y` is equivalent to giving a range `{ min: -y, max: 0 }`.|
| `initialVelocityX` | `Number \| { min: Number, max: Number }` | 4 | Range of values between which confetti is emitted horizontally, positive numbers being rightward, and negative numbers being leftward. Giving a number `x` is equivalent to giving a range `{ min: -x, max: x }`. |
| `initialVelocityY` | `Number \| { min: Number, max: Number }` | 10 | Range of values between which confetti is emitted vertically, positive numbers being downward, and negative numbers being upward. Giving a number `y` is equivalent to giving a range `{ min: -y, max: 0 }`.|
| `colors` | `String[]` | `['#f44336'`</br>`'#e91e63'`</br>`'#9c27b0'`</br>`'#673ab7'`</br>`'#3f51b5'`</br>`'#2196f3'`</br>`'#03a9f4'`</br>`'#00bcd4'`</br>`'#009688'`</br>`'#4CAF50'`</br>`'#8BC34A'`</br>`'#CDDC39'`</br>`'#FFEB3B'`</br>`'#FFC107'`</br>`'#FF9800'`</br>`'#FF5722'`</br>`'#795548']`</br> | All available Colors for the confetti pieces. |

@@ -59,0 +59,0 @@ | `opacity` | `Number` | 1.0 | |

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