Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crossvent

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crossvent - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

3

CHANGELOG.md

@@ -1,5 +0,4 @@

# v1.3.0 Fire Bug
# v1.3.1 Fire Bug
- Use `fireEvent` and `createEventObject` when their modern counterparts are missing
- Use `setCapture` and `releaseCapture` when modern event handling methods are missing

@@ -6,0 +5,0 @@ # v1.2.0 Flag The Bug

{
"name": "crossvent",
"description": "Cross-platform browser event handling",
"version": "1.3.0",
"version": "1.3.1",
"homepage": "https://github.com/bevacqua/crossvent",

@@ -6,0 +6,0 @@ "author": {

@@ -17,6 +17,3 @@ 'use strict';

function addEventHard (el, type, fn, capturing) {
if (capturing) {
el.setCapture();
}
function addEventHard (el, type, fn) {
return el.attachEvent('on' + type, wrap(el, type, fn));

@@ -29,6 +26,3 @@ }

function removeEventHard (el, type, fn, capturing) {
if (capturing) {
el.releaseCapture();
}
function removeEventHard (el, type, fn) {
return el.detachEvent('on' + type, unwrap(el, type, fn));

@@ -35,0 +29,0 @@ }

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