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

react-snowfall

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-snowfall - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

lib/hooks.js

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

import { useCallback, useLayoutEffect, useEffect, useRef, useState, useMemo } from 'react';
import { useCallback, useEffect, useRef, useState, useMemo } from 'react';
import isEqual from 'react-fast-compare';

@@ -17,3 +17,3 @@ import { snowfallBaseStyle } from './config';

}, [ref]);
useLayoutEffect(() => {
useEffect(() => {
const { ResizeObserver } = window;

@@ -20,0 +20,0 @@ if (!ref.current)

{
"name": "react-snowfall",
"version": "2.0.0",
"version": "2.1.0",
"description": "A react component that creates a snowfall effect",
"type": "module",
"main": "./lib/index.js",

@@ -6,0 +7,0 @@ "types": "./lib/index.d.ts",

@@ -20,3 +20,3 @@ import { useCallback, useLayoutEffect, useEffect, useRef, useState, useMemo } from 'react'

useLayoutEffect(() => {
useEffect(() => {
const { ResizeObserver } = window

@@ -23,0 +23,0 @@

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