
Research
/Security News
GlassWASM: WebAssembly Malware Found in Trojanized Open VSX Extensions
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.
@dazl/patterns
Advanced tools
Useful data structures such as LRU-Cache, set-multi-map, Signal, EventEmitter, Disposable, Debouncer
Useful data structures such as LRU-Cache, set-multi-map, Signal, EventEmitter, Disposable, Debouncer
| Class | Description |
|---|---|
| Debouncer | Cancelable debouncing of calls to trigger |
| Disposable_2 | |
| Disposables | |
| EventEmitter | Basic type safe event emitter |
| LRUCache | BASIC (not optimal) implementation of the LRU cache |
| SafeDisposable | Adds dispose-safe methods to Disposables: - setInterval/setTimeout - guard |
| SetMultiMap | Maps keys to a set of values |
| Signal | Signal is a simple event emitter for one type of event. |
| Function | Description |
|---|---|
| createDisposables(name, initialGroups) | Disposables allow adding of disposal async functions, when dispose is called, these functions will be run sequentially Disposal groups: You can set disposal groups with constraints (before, after) to ensure that disposal groups are disposed in the correct order within each group disposables are disposed in the reverse order they were added |
| isDisposable(value) | |
| isSetMultiMap(x) |
| Interface | Description |
|---|---|
| DisposalGroup | |
| IDisposable | |
| LRUCacheConfig |
| Variable | Description |
|---|---|
| DEFAULT_GROUP | |
| DEFAULT_TIMEOUT |
| Type Alias | Description |
|---|---|
| DisposableItem | |
| DisposableOptions | |
| GroupConstraints | |
| IEventEmitter | |
| Listener |
FAQs
Useful data structures such as LRU-Cache, set-multi-map, Signal, EventEmitter, Disposable, Debouncer
The npm package @dazl/patterns receives a total of 2,299 weekly downloads. As such, @dazl/patterns popularity was classified as popular.
We found that @dazl/patterns demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 35 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.