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

@wixc3/patterns

Package Overview
Dependencies
Maintainers
69
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/patterns - npm Package Compare versions

Comparing version 11.2.0 to 11.3.0

2

dist/cjs/signal.d.ts

@@ -38,3 +38,3 @@ export type Listener<T> = (data: T) => void;

*/
subscribe: (handler: Listener<T>) => () => void;
subscribe: (handler: Listener<T>) => void;
/**

@@ -41,0 +41,0 @@ * Unsubscribe an existing callback

@@ -44,3 +44,2 @@ "use strict";

this.add(handler);
return () => this.unsubscribe(handler);
};

@@ -47,0 +46,0 @@ /**

@@ -38,3 +38,3 @@ export type Listener<T> = (data: T) => void;

*/
subscribe: (handler: Listener<T>) => () => void;
subscribe: (handler: Listener<T>) => void;
/**

@@ -41,0 +41,0 @@ * Unsubscribe an existing callback

@@ -41,3 +41,2 @@ /**

this.add(handler);
return () => this.unsubscribe(handler);
};

@@ -44,0 +43,0 @@ /**

{
"name": "@wixc3/patterns",
"version": "11.2.0",
"version": "11.3.0",
"description": "A utility for saving objects to be disposed",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

@@ -41,3 +41,2 @@ export type Listener<T> = (data: T) => void;

this.add(handler);
return () => this.unsubscribe(handler);
};

@@ -44,0 +43,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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