@quilted/threads
Advanced tools
Comparing version 1.0.3 to 2.0.0
# @quilted/threads | ||
## 2.0.0 | ||
### Major Changes | ||
- [#645](https://github.com/lemonmade/quilt/pull/645) [`302ed847`](https://github.com/lemonmade/quilt/commit/302ed8479f9c035ef39d48137de958dba50690ca) Thanks [@lemonmade](https://github.com/lemonmade)! - Removed CommonJS support | ||
The `require` export condition is no longer provided by any package. Quilt only supports ESModules, so if you need to use the CommonJS version, you will need to pre-process Quilt’s output code on your own. | ||
### Patch Changes | ||
- Updated dependencies [[`302ed847`](https://github.com/lemonmade/quilt/commit/302ed8479f9c035ef39d48137de958dba50690ca)]: | ||
- @quilted/events@2.0.0 | ||
## 1.0.3 | ||
@@ -4,0 +17,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "1.0.3", | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
@@ -25,4 +25,3 @@ "engines": { | ||
"quilt:esnext": "./build/esnext/index.esnext", | ||
"import": "./build/esm/index.mjs", | ||
"require": "./build/cjs/index.cjs" | ||
"import": "./build/esm/index.mjs" | ||
}, | ||
@@ -33,4 +32,3 @@ "./signals": { | ||
"quilt:esnext": "./build/esnext/signals.esnext", | ||
"import": "./build/esm/signals.mjs", | ||
"require": "./build/cjs/signals.cjs" | ||
"import": "./build/esm/signals.mjs" | ||
} | ||
@@ -48,3 +46,3 @@ }, | ||
"dependencies": { | ||
"@quilted/events": "^1.0.0" | ||
"@quilted/events": "^2.0.0" | ||
}, | ||
@@ -60,4 +58,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@preact/signals-core": "^1.5.0", | ||
"@quilted/testing": "0.1.6" | ||
"@preact/signals-core": "^1.5.0" | ||
}, | ||
@@ -68,3 +65,6 @@ "eslintConfig": { | ||
] | ||
}, | ||
"scripts": { | ||
"build": "rollup --config configuration/rollup.config.js" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import {describe, it, expect} from '@quilted/testing'; | ||
import {describe, it, expect} from 'vitest'; | ||
import {createThreadFromMessagePort, type ThreadCallable} from '../index.ts'; | ||
@@ -141,3 +141,2 @@ import {MessageChannel} from './utilities.ts'; | ||
expose: { | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
greet: () => new Promise(() => {}), | ||
@@ -170,3 +169,2 @@ }, | ||
expose: { | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
greet: () => new Promise(() => {}), | ||
@@ -173,0 +171,0 @@ }, |
@@ -8,4 +8,4 @@ { | ||
"include": ["source"], | ||
"exclude": ["quilt.project.ts", "*.test.ts", "*.test.tsx"], | ||
"references": [{"path": "../events"}, {"path": "../testing"}] | ||
"exclude": ["*.test.ts", "*.test.tsx"], | ||
"references": [{"path": "../events"}] | ||
} |
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
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
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
1
222530
111
3358
+ Added@quilted/events@2.1.1(transitive)
- Removed@quilted/events@1.0.1(transitive)
Updated@quilted/events@^2.0.0