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

simulate-event

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simulate-event - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

2

package.json
{
"name": "simulate-event",
"version": "1.0.2",
"version": "1.1.0",
"description": "A library for triggering DOM events.",

@@ -5,0 +5,0 @@ "main": "simulate-event.js",

@@ -308,2 +308,10 @@ var extend = require('xtend')

// Extend a new object with the default and passed in options.
if (!(options instanceof window.Event)) {
options = extend({
bubbles: true,
cancelable: true
}, eventOptions[eventType](type, options), options)
}
// Attempt the Event Constructors DOM API.

@@ -339,8 +347,2 @@ var Constructor = eventConstructors[eventType]

// Extend a new object with the default and passed in options.
options = extend({
bubbles: true,
cancelable: true
}, eventOptions[eventType](type, options), options)
// In < IE9, the `createEvent` function is not available and we have to

@@ -347,0 +349,0 @@ // resort to using `fireEvent`.

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