Socket
Socket
Sign inDemoInstall

@wixc3/patterns

Package Overview
Dependencies
Maintainers
84
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 3.0.0 to 3.0.2

3

package.json
{
"name": "@wixc3/patterns",
"version": "3.0.0",
"version": "3.0.2",
"description": "A utility for saving objects to be disposed",

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

"dependencies": {
"@wixc3/common": "^3.0.2",
"promise-assist": "^1.3.0"
}
}
[![npm version](https://badge.fury.io/js/@wixc3%2Fpatterns.svg)](https://badge.fury.io/js/@wixc3%2Fpatterns)
[@wixc3/patterns on Github](https://github.com/wixplosives/core3-utils/tree/master/packages/patterns)
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

@@ -13,32 +14,31 @@

| Class | Description |
| --- | --- |
| [Debouncer](https://wixplosives.github.io/core3-utils/patterns.debouncer) | Cancelable debouncing of calls to trigger |
| [EventEmitter](https://wixplosives.github.io/core3-utils/patterns.eventemitter) | A simple event emitter |
| [LRUCache](https://wixplosives.github.io/core3-utils/patterns.lrucache) | BASIC (not optimal) implementation of the LRU cache |
| [SetMultiMap](https://wixplosives.github.io/core3-utils/patterns.setmultimap) | Maps keys to a set of values |
| [Signal](https://wixplosives.github.io/core3-utils/patterns.signal) | Signal is a simple event emitter for one type of event. |
| Class | Description |
| ------------------------------------------------------------------------------- | ------------------------------------------------------- |
| [Debouncer](https://wixplosives.github.io/core3-utils/patterns.debouncer) | Cancelable debouncing of calls to trigger |
| [EventEmitter](https://wixplosives.github.io/core3-utils/patterns.eventemitter) | A simple event emitter |
| [LRUCache](https://wixplosives.github.io/core3-utils/patterns.lrucache) | BASIC (not optimal) implementation of the LRU cache |
| [SetMultiMap](https://wixplosives.github.io/core3-utils/patterns.setmultimap) | Maps keys to a set of values |
| [Signal](https://wixplosives.github.io/core3-utils/patterns.signal) | Signal is a simple event emitter for one type of event. |
## Functions
| Function | Description |
| --- | --- |
| [createDisposables()](https://wixplosives.github.io/core3-utils/patterns.createdisposables) | Disposables allow adding of disposal async functions, when dispose is called, these functions will be run sequentially |
| [isSetMultiMap(x)](https://wixplosives.github.io/core3-utils/patterns.issetmultimap) | |
| Function | Description |
| ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| [createDisposables()](https://wixplosives.github.io/core3-utils/patterns.createdisposables) | Disposables allow adding of disposal async functions, when dispose is called, these functions will be run sequentially |
| [isSetMultiMap(x)](https://wixplosives.github.io/core3-utils/patterns.issetmultimap) | |
## Interfaces
| Interface | Description |
| --- | --- |
| [LRUCacheConfig](https://wixplosives.github.io/core3-utils/patterns.lrucacheconfig) | |
| Interface | Description |
| ----------------------------------------------------------------------------------- | ----------- |
| [LRUCacheConfig](https://wixplosives.github.io/core3-utils/patterns.lrucacheconfig) | |
## Type Aliases
| Type Alias | Description |
| --- | --- |
| [Disposable](https://wixplosives.github.io/core3-utils/patterns.disposable) | |
| [Disposables](https://wixplosives.github.io/core3-utils/patterns.disposables) | |
| [DisposeFunction](https://wixplosives.github.io/core3-utils/patterns.disposefunction) | |
| [IEventEmitter](https://wixplosives.github.io/core3-utils/patterns.ieventemitter) | |
| [Listener](https://wixplosives.github.io/core3-utils/patterns.listener) | |
| Type Alias | Description |
| ------------------------------------------------------------------------------------- | ----------- |
| [Disposable](https://wixplosives.github.io/core3-utils/patterns.disposable) | |
| [Disposables](https://wixplosives.github.io/core3-utils/patterns.disposables) | |
| [DisposeFunction](https://wixplosives.github.io/core3-utils/patterns.disposefunction) | |
| [IEventEmitter](https://wixplosives.github.io/core3-utils/patterns.ieventemitter) | |
| [Listener](https://wixplosives.github.io/core3-utils/patterns.listener) | |

@@ -7,5 +7,3 @@ {

},
"references": [
{ "path": "../../common/src/tsconfig.esm.json" }
]
"references": [{ "path": "../../common/src/tsconfig.esm.json" }]
}

@@ -6,5 +6,3 @@ {

},
"references": [
{ "path": "../../common/src" }
]
"references": [{ "path": "../../common/src" }]
}
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