New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/component-listener

Package Overview
Dependencies
Maintainers
39
Versions
462
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/component-listener - npm Package Compare versions

Comparing version 1.1.159 to 1.1.160

11

CHANGELOG.md

@@ -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 @@

2

es/useEventListener.js

@@ -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"
}
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