New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

canvas-confetti

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-confetti - npm Package Compare versions

Comparing version

to
1.9.3

6

dist/confetti.browser.js

@@ -1,2 +0,2 @@

// canvas-confetti v1.9.2 built on 2023-11-25T06:01:06.267Z
// canvas-confetti v1.9.3 built on 2024-04-30T22:19:17.794Z
!(function (window, module) {

@@ -689,3 +689,5 @@ // source content

if (isLibCanvas && canvas) {
document.body.removeChild(canvas);
if (document.body.contains(canvas)) {
document.body.removeChild(canvas);
}
canvas = null;

@@ -692,0 +694,0 @@ initialized = false;

{
"name": "canvas-confetti",
"version": "1.9.2",
"version": "1.9.3",
"description": "performant confetti animation in the browser",

@@ -5,0 +5,0 @@ "main": "src/confetti.js",

@@ -33,3 +33,3 @@ # [![Canvas Confetti](https://cdn.jsdelivr.net/gh/catdad-experiments/catdad-experiments-org@5ed78b/canvas-confetti/logo.jpg)](https://github.com/catdad/canvas-confetti/)

```html
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.2/dist/confetti.browser.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.3/dist/confetti.browser.min.js"></script>
```

@@ -36,0 +36,0 @@

@@ -686,3 +686,5 @@ /* globals Map */

if (isLibCanvas && canvas) {
document.body.removeChild(canvas);
if (document.body.contains(canvas)) {
document.body.removeChild(canvas);
}
canvas = null;

@@ -689,0 +691,0 @@ initialized = false;

Sorry, the diff of this file is not supported yet