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

browser-monkey

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-monkey - npm Package Compare versions

Comparing version 1.29.1 to 1.29.2

2

package.json
{
"name": "browser-monkey",
"version": "1.29.1",
"version": "1.29.2",
"description": "reliable dom testing",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -24,4 +24,4 @@ function dispatchEvent(el, type, char) {

if (text.length === 0) {
el.value = '';
sendkey(el, '');
el.value = '';
} else {

@@ -28,0 +28,0 @@ for (var n = 0; n < text.length; ++n) {

@@ -282,7 +282,7 @@ var browser = require('..');

dom.insert('<input type="text" class="element" value="good bye">')
.on('input', function(){ firedEvents.push('input'); });
.on('input', function(ev){ firedEvents.push('input: ' + JSON.stringify(ev.target.value)); });
return browser.find('.element').typeIn('').then(function () {
expect(dom.el.find('input.element').val()).to.equal('');
expect(firedEvents).to.eql(['input'])
expect(firedEvents).to.eql(['input: ""'])
});

@@ -289,0 +289,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