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

keypad

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keypad - npm Package Compare versions

Comparing version 0.6.1 to 0.6.3

lib/MapSiemens.js

1

bower.json

@@ -9,2 +9,3 @@ {

"keypad",
"numpad",
"keyboard",

@@ -11,0 +12,0 @@ "alphanumeric",

32

lib/Keypad.js

@@ -149,3 +149,4 @@ // Generated by CoffeeScript 1.8.0

nokia: require('./MapNokia.js'),
sonyericsson: require('./MapSonyericsson.js')
sonyericsson: require('./MapSonyericsson.js'),
siemens: require('./MapSiemens.js')
};

@@ -159,2 +160,3 @@ }

this.on('hold', this.ProcessKeyHold);
this.on('timeout', this.Timeout);
}

@@ -230,3 +232,3 @@

if (current_index >= 0) {
this.ResetTimeout();
this.RestartTimeout();
if (this.mapping[key][current_index + 1] != null) {

@@ -246,3 +248,3 @@ return this.character = this.mapping[key][current_index + 1];

}
return this.ResetTimeout();
return this.RestartTimeout();
};

@@ -340,13 +342,12 @@

Resetting typing tymeout
@method ResetTimeout
@method RestartTimeout
*/
_Class.prototype.ResetTimeout = function() {
_Class.prototype.RestartTimeout = function() {
this.ClearTimeout();
return this.timeout = setTimeout((function(_this) {
return this.timeout = setTimeout(((function(_this) {
return function() {
_this.InsertCharacter();
return _this.timeout = null;
return _this.Timeout();
};
})(this), this.delay);
})(this)), this.delay);
};

@@ -356,2 +357,13 @@

/**
When timeout happens, inserting new character and clearing the timeout
@method Timeout
*/
_Class.prototype.Timeout = function() {
this.InsertCharacter();
return this.ClearTimeout();
};
/**
Clear current keys timeout

@@ -364,4 +376,4 @@ @method ClearTimeout

clearTimeout(this.timeout);
return this.timeout = null;
}
return this.timeout = null;
};

@@ -368,0 +380,0 @@

@@ -25,2 +25,17 @@ // Generated by CoffeeScript 1.8.0

exports.de = {
'1': ['.', ',', '?', '!', '\'', '"', '1', '-', '(', ')', '@', '/', ':', '_'],
'2': ['a', 'b', 'c', '2', 'ä', 'à', 'á', 'ã', 'â', 'å', 'æ', 'ç'],
'3': ['d', 'e', 'f', '3', 'è', 'é', 'ë', 'ê', 'ð'],
'4': ['g', 'h', 'i', '4', 'ì', 'í', 'î', 'ï'],
'5': ['j', 'k', 'l', '5', '£'],
'6': ['m', 'n', 'o', '6', 'ò', 'ó', 'ô', 'õ', 'ö', 'ø', 'ñ'],
'7': ['p', 'q', 'r', 's', '7', 'ß', '$'],
'8': ['t', 'u', 'v', '8', 'ü', 'ù', 'ú', 'û'],
'9': ['w', 'x', 'y', 'z', '9', 'ý', 'þ'],
'*': [],
'0': [' ', '0', '\n'],
'#': ['CASE']
};
}).call(this);
{
"name": "keypad",
"description": "12-key keyboard layout emulation, similar to one that is used in mobile phones",
"version": "0.6.1",
"version": "0.6.3",
"repository": "https://github.com/muchweb/keypad",

@@ -23,2 +23,3 @@ "license": "GPL-3.0+",

"keypad",
"numpad",
"keyboard",

@@ -25,0 +26,0 @@ "alphanumeric",

@@ -1,3 +0,2 @@

# Keypad
[![Build Status](https://travis-ci.org/muchweb/keypad.svg)](https://travis-ci.org/muchweb/keypad) [![Coverage Status](https://img.shields.io/coveralls/muchweb/keypad.svg)](https://coveralls.io/r/muchweb/keypad) [![Dependency Status](https://gemnasium.com/muchweb/keypad.svg)](https://gemnasium.com/muchweb/keypad) [![NPM version](https://badge.fury.io/js/keypad.svg)](http://badge.fury.io/js/keypad) ![License: GPLv3+](http://img.shields.io/badge/license-GPLv3%2B-brightgreen.svg)
# Keypad [![Build Status](https://travis-ci.org/muchweb/keypad.svg)](https://travis-ci.org/muchweb/keypad) [![Coverage Status](https://img.shields.io/coveralls/muchweb/keypad.svg)](https://coveralls.io/r/muchweb/keypad) [![Dependency Status](https://gemnasium.com/muchweb/keypad.svg)](https://gemnasium.com/muchweb/keypad) [![NPM version](https://badge.fury.io/js/keypad.svg)](http://badge.fury.io/js/keypad) [![Bower version](https://badge.fury.io/bo/keypad.svg)](http://badge.fury.io/bo/keypad) ![License: GPLv3+](http://img.shields.io/badge/license-GPLv3%2B-brightgreen.svg)

@@ -11,6 +10,10 @@ 12-key keyboard layout emulation, similar to one that is used in mobile phones.

Sony Ericsson mappings are compatible with these models:
Sony Ericsson mapping is compatible with this model:
- Sony Ericsson C902
Sony Siemens mapping is compatible with this model:
- Siemens A35
## Usage

@@ -17,0 +20,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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