File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " yieldmachine" ,
3
- "version" : " 0.3 .0" ,
3
+ "version" : " 0.4 .0" ,
4
4
"description" : " Declarative state machines using generator functions" ,
5
5
"source" : " src/index.ts" ,
6
6
"main" : " dist/yieldmachine.js" ,
Original file line number Diff line number Diff line change 3
3
<p >Define State Machines using Generator Functions</p >
4
4
<div >
5
5
<a href="https://bundlephobia.com/result?p=yieldmachine">
6
- <img src="https://badgen.net/bundlephobia/minzip/yieldmachine@0.3 .0" alt="minified and gzipped size">
7
- <img src="https://badgen.net/bundlephobia/min/yieldmachine@0.3 .0" alt="minified size">
8
- <img src="https://badgen.net/bundlephobia/dependency-count/yieldmachine@0.3 .0" alt="zero dependencies">
6
+ <img src="https://badgen.net/bundlephobia/minzip/yieldmachine@0.4 .0" alt="minified and gzipped size">
7
+ <img src="https://badgen.net/bundlephobia/min/yieldmachine@0.4 .0" alt="minified size">
8
+ <img src="https://badgen.net/bundlephobia/dependency-count/yieldmachine@0.4 .0" alt="zero dependencies">
9
9
</a>
10
10
</div >
11
11
</div >
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ class InternalInstance {
312
312
}
313
313
314
314
for ( const [ event , target ] of this . globalHandlers . eventsToListenTo ) {
315
- target . addEventListener ( event , this , { signal : this . eventAborter . signal } ) ;
315
+ target . addEventListener ( event , this , { signal : this . eventAborter . signal } as AddEventListenerOptions ) ;
316
316
}
317
317
318
318
} else if ( typeof initialReturn === 'function' ) {
You can’t perform that action at this time.
0 commit comments