Socket
Socket
Sign inDemoInstall

input-sim

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

.npmignore

7

package.json
{
"name": "input-sim",
"version": "2.0.0",
"version": "2.0.1",
"description": "Simulate keyboard events and selection ranges for inputs",
"main": "lib/index.js",
"scripts": {
"build": "make",
"test": "make test"

@@ -31,8 +32,6 @@ },

"esnext": "^0.11.1",
"jsdom": "^1.0.3",
"jshint": "^2.5.6",
"jsdoc": "git://github.com/eventualbuddha/jsdoc.git#add-support-for-es6-classes",
"karma": "^0.12.24",
"karma-mocha": "^0.1.9",
"karma-phantomjs-launcher": "^0.1.4",
"keysim": "^1.0.1",
"mocha": "^2.0.1",

@@ -39,0 +38,0 @@ "string-selection": "^1.0.0"

@@ -5,3 +5,2 @@ import Selection from './selection';

utils.addMethod(chai.Assertion.prototype, 'selected', function (description) {
var selection = Selection.parseDescription(description).caret;
var inputText = this._obj.text();

@@ -8,0 +7,0 @@ var inputSelectedRange = this._obj.selectedRange();

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc