@wixc3/patterns
Advanced tools
Comparing version 16.0.0 to 16.1.0
{ | ||
"name": "@wixc3/patterns", | ||
"version": "16.0.0", | ||
"version": "16.1.0", | ||
"description": "A utility for saving objects to be disposed", | ||
@@ -21,5 +21,5 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"@wixc3/common": "^16.0.0", | ||
"@wixc3/common": "^16.1.0", | ||
"promise-assist": "^2.0.1" | ||
} | ||
} |
@@ -14,16 +14,20 @@ [![npm version](https://badge.fury.io/js/@wixc3%2Fpatterns.svg)](https://badge.fury.io/js/@wixc3%2Fpatterns) | ||
| 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 | | ||
| [Disposable_2](https://wixplosives.github.io/core3-utils/patterns.disposable_2) | | | ||
| [Disposables](https://wixplosives.github.io/core3-utils/patterns.disposables) | | | ||
| [EventEmitter](https://wixplosives.github.io/core3-utils/patterns.eventemitter) | Basic type safe event emitter | | ||
| [LRUCache](https://wixplosives.github.io/core3-utils/patterns.lrucache) | BASIC (not optimal) implementation of the LRU cache | | ||
| [SafeDisposable](https://wixplosives.github.io/core3-utils/patterns.safedisposable) | <p>Adds dispose-safe methods to Disposables:</p><p>- setInterval/setTimeout - guard</p> | | ||
| [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(name, initialGroups)](https://wixplosives.github.io/core3-utils/patterns.createdisposables) | <p>Disposables allow adding of disposal async functions, when dispose is called, these functions will be run sequentially</p><p>Disposal groups: You can set disposal groups with constraints (before, after) to ensure that disposal groups are disposed in the correct order</p><p>within each group disposables are disposed in the reverse order they were added</p> | | ||
| [isDisposable(value)](https://wixplosives.github.io/core3-utils/patterns.isdisposable) | | | ||
| [isSetMultiMap(x)](https://wixplosives.github.io/core3-utils/patterns.issetmultimap) | | | ||
@@ -34,12 +38,21 @@ ## Interfaces | ||
| ----------------------------------------------------------------------------------- | ----------- | | ||
| [DisposalGroup](https://wixplosives.github.io/core3-utils/patterns.disposalgroup) | | | ||
| [IDisposable](https://wixplosives.github.io/core3-utils/patterns.idisposable) | | | ||
| [LRUCacheConfig](https://wixplosives.github.io/core3-utils/patterns.lrucacheconfig) | | | ||
## Variables | ||
| Variable | Description | | ||
| ------------------------------------------------------------------------------------- | ----------- | | ||
| [DEFAULT_GROUP](https://wixplosives.github.io/core3-utils/patterns.default_group) | | | ||
| [DEFAULT_TIMEOUT](https://wixplosives.github.io/core3-utils/patterns.default_timeout) | | | ||
## 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 | | ||
| ----------------------------------------------------------------------------------------- | ----------- | | ||
| [DisposableItem](https://wixplosives.github.io/core3-utils/patterns.disposableitem) | | | ||
| [DisposableOptions](https://wixplosives.github.io/core3-utils/patterns.disposableoptions) | | | ||
| [GroupConstraints](https://wixplosives.github.io/core3-utils/patterns.groupconstraints) | | | ||
| [IEventEmitter](https://wixplosives.github.io/core3-utils/patterns.ieventemitter) | | | ||
| [Listener](https://wixplosives.github.io/core3-utils/patterns.listener) | | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
267979
57
Updated@wixc3/common@^16.1.0