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

@quilted/threads

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quilted/threads - npm Package Compare versions

Comparing version 0.0.0-preview-20230803030928 to 0.0.0-preview-20230803052231

12

CHANGELOG.md
# @quilted/threads
## 0.0.0-preview-20230803030928
## 0.0.0-preview-20230803052231
### Patch Changes
- First major version for `@quilted/events`
- Simplify thread creation and add helpers for transferring signals over threads
- Updated dependencies []:
- @quilted/events@0.0.0-preview-20230803052231
## 0.1.16

@@ -13,4 +18,9 @@

- [#587](https://github.com/lemonmade/quilt/pull/587) [`1180dde2`](https://github.com/lemonmade/quilt/commit/1180dde278793006b8ae153804130cad6dab36c2) Thanks [@lemonmade](https://github.com/lemonmade)! - First major version for `@quilted/events`
- [`e45f766b`](https://github.com/lemonmade/quilt/commit/e45f766bce9e8632fe17d9e9c2e3d446d0783feb) Thanks [@lemonmade](https://github.com/lemonmade)! - Simplify thread creation and add helpers for transferring signals over threads
- Updated dependencies [[`1180dde2`](https://github.com/lemonmade/quilt/commit/1180dde278793006b8ae153804130cad6dab36c2)]:
- @quilted/events@1.0.0
## 0.1.15

@@ -17,0 +27,0 @@

4

package.json

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

"type": "module",
"version": "0.0.0-preview-20230803030928",
"version": "0.0.0-preview-20230803052231",
"license": "MIT",

@@ -46,3 +46,3 @@ "engines": {

"dependencies": {
"@quilted/events": "^0.1.0"
"@quilted/events": "0.0.0-preview-20230803052231"
},

@@ -49,0 +49,0 @@ "peerDependencies": {

import {type Signal} from '@preact/signals-core';
import {anyAbortSignal} from '@quilted/events';
import {NestedAbortController} from '@quilted/events';

@@ -38,3 +38,3 @@ import {retain, release} from '../memory.ts';

abortSignal && teardownAbortSignal
? anyAbortSignal(abortSignal, teardownAbortSignal)
? new NestedAbortController(abortSignal, teardownAbortSignal).signal
: abortSignal ?? teardownAbortSignal;

@@ -41,0 +41,0 @@

import {type Signal} from '@preact/signals-core';
import {createEmitter} from '@quilted/events';
import {EventEmitter} from '@quilted/events';

@@ -8,3 +8,3 @@ export function signalToIterator<T>(

) {
const emitter = createEmitter<{value: T}>();
const emitter = new EventEmitter<{value: T}>();

@@ -11,0 +11,0 @@ const unsubscribe = signal.subscribe((value) => {

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

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