@cloudflare/component-listener
Advanced tools
Comparing version 1.1.159 to 1.1.160
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.1.160](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-listener@1.1.159...@cloudflare/component-listener@1.1.160) (2020-06-22) | ||
### Bug Fixes | ||
* **component-listener:** UI-3593 clean up listeners when capture:true ([a3eb562](http://stash.cfops.it:7999/fe/stratus/commits/a3eb562)) | ||
## [1.1.159](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-listener@1.1.158...@cloudflare/component-listener@1.1.159) (2020-06-19) | ||
@@ -8,0 +19,0 @@ |
@@ -46,3 +46,3 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
return function () { | ||
isEventTarget(target) && target.removeEventListener(eventType, eventListener); | ||
isEventTarget(target) && target.removeEventListener(eventType, eventListener, opts); | ||
}; | ||
@@ -49,0 +49,0 @@ }, [eventType, target, opts]); |
@@ -54,3 +54,3 @@ "use strict"; | ||
return function () { | ||
isEventTarget(target) && target.removeEventListener(eventType, eventListener); | ||
isEventTarget(target) && target.removeEventListener(eventType, eventListener, opts); | ||
}; | ||
@@ -57,0 +57,0 @@ }, [eventType, target, opts]); |
{ | ||
"name": "@cloudflare/component-listener", | ||
"description": "", | ||
"version": "1.1.159", | ||
"version": "1.1.160", | ||
"types": "./dist/index.d.ts", | ||
@@ -40,3 +40,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "b91f4a5b251fbcef98f58cde131a10344dc3cb96" | ||
"gitHead": "7576201952b0dd034e0ca82591e9f5ecbfa8c923" | ||
} |
69463