@quilted/events
Advanced tools
Comparing version 0.0.0-preview-20231031044205 to 0.0.0-preview-20240731033135
# @quilted/events | ||
## 0.0.0-preview-20231031044205 | ||
## 0.0.0-preview-20240731033135 | ||
### Major Changes | ||
### Minor Changes | ||
- Removed CommonJS support | ||
- Add `EventTargetSignal` class for converting an `EventTarget` into a Preact signal | ||
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. | ||
## 2.1.0 | ||
### Minor Changes | ||
- [`bbfd7c2`](https://github.com/lemonmade/quilt/commit/bbfd7c27ab2db3363af441f8e029f0a8bd53455e) Thanks [@lemonmade](https://github.com/lemonmade)! - Add `EventTargetSignal` class for converting an `EventTarget` into a Preact signal | ||
## 2.0.0 | ||
@@ -12,0 +16,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "0.0.0-preview-20231031044205", | ||
"version": "0.0.0-preview-20240731033135", | ||
"license": "MIT", | ||
@@ -26,11 +26,22 @@ "engines": { | ||
"import": "./build/esm/index.mjs" | ||
}, | ||
"./signals": { | ||
"types": "./build/typescript/signals.d.ts", | ||
"quilt:source": "./source/signals.ts", | ||
"quilt:esnext": "./build/esnext/signals.esnext", | ||
"import": "./build/esm/signals.mjs" | ||
} | ||
}, | ||
"dependencies": { | ||
"@preact/signals-core": "^1.6.0" | ||
}, | ||
"types": "./build/typescript/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"signals": [ | ||
"./build/typescript/signals.d.ts" | ||
] | ||
} | ||
}, | ||
"sideEffects": false, | ||
"eslintConfig": { | ||
"extends": [ | ||
"@quilted/eslint-config/project" | ||
] | ||
}, | ||
"scripts": { | ||
@@ -37,0 +48,0 @@ "build": "rollup --config configuration/rollup.config.js" |
@@ -173,5 +173,4 @@ import {addEventHandler} from './handler.ts'; | ||
// eslint-disable-next-line require-yield | ||
async function* noopThrow(error: Error) { | ||
throw error; | ||
} |
{ | ||
"extends": "@quilted/typescript/project.json", | ||
"compilerOptions": { | ||
"rootDir": "source", | ||
"outDir": "build/typescript" | ||
}, | ||
"include": ["source"], | ||
"exclude": ["*.test.ts", "*.test.tsx"], | ||
"extends": "@quilted/typescript/tsconfig.package.json", | ||
"references": [] | ||
} |
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
159672
72
2225
1
+ Added@preact/signals-core@^1.6.0
+ Added@preact/signals-core@1.8.0(transitive)