Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

js-confetti

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-confetti - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

5

package.json
{
"name": "js-confetti",
"version": "0.10.1",
"version": "0.10.2",
"license": "MIT",

@@ -23,3 +23,4 @@ "description": "JS Confetti library with zero dependencies, works without any config, TS typings included, adapts to user screen",

"build-site": "NODE_ENV=production webpack --config webpack.config.site.ts",
"lint": "eslint src --ext .ts"
"lint": "eslint . --ignore-pattern node_modules/ --ext .ts --ext .tsx",
"lint-fix": "eslint . --ignore-pattern node_modules/ --ext .ts --ext .tsx --fix"
},

@@ -26,0 +27,0 @@ "devDependencies": {

6

typings/index.d.ts

@@ -6,2 +6,6 @@ // Type definitions for js-confetti

interface IJSConfettiConfig {
canvas?: HTMLCanvasElement,
}
interface IAddConfettiConfig {

@@ -16,5 +20,5 @@ confettiRadius?: number,

declare class JSConfetti {
constructor();
constructor(jsConfettiConfig?: IJSConfettiConfig);
addConfetti(confettiConfig?: IAddConfettiConfig): Promise<void>;
}
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