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

toasterhea

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toasterhea - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

index.js

@@ -33,2 +33,3 @@ import EventEmitter from 'eventemitter3';

useEffect(() => {
let mounted = true;
async function innerFn() {

@@ -42,2 +43,5 @@ try {

}
if (!mounted) {
return;
}
if (fnRef.current) {

@@ -49,2 +53,5 @@ return void fnRef.current(discard);

innerFn();
return () => {
mounted = false;
};
}, [discard, promise]);

@@ -51,0 +58,0 @@ }

4

package.json
{
"name": "toasterhea",
"version": "1.0.0",
"version": "1.0.1",
"description": "Promise-driven toast poppin' library.",
"main": "index.js",
"types": "index.d.ts",
"types": "./index.d.ts",
"type": "module",

@@ -8,0 +8,0 @@ "exports": {

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